Files
CoreID/app/assets/app/resource/reflect/Scope.resource.js
garrettmills f06ff83dce
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Move all front-end public field definitions into constructors for iOS support
2020-10-28 19:53:07 -05:00

18 lines
400 B
JavaScript

import CRUDBase from '../CRUDBase.js'
class ScopeResource extends CRUDBase {
constructor() {
super()
this.endpoint = '/api/v1/reflect/scopes'
this.required_fields = ['scope']
this.permission_base = 'v1:reflect:scopes'
this.item = 'API Scope'
this.plural = 'API Scopes'
}
}
const reflect_scope = new ScopeResource()
export { reflect_scope }