Comment all the things!
This commit is contained in:
@@ -17,6 +17,8 @@ const Model = require('flitter-auth/model/KeyAction')
|
||||
*
|
||||
* See: module:flitter-auth/SecurityContext~SecurityContext#keyaction
|
||||
* See: module:flitter-auth/model/KeyAction~KeyAction
|
||||
*
|
||||
* This file was automatically generated by the Flitter Framework.
|
||||
*/
|
||||
class KeyAction extends Model {
|
||||
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
const AuthUser = require('flitter-auth/model/User')
|
||||
|
||||
/*
|
||||
/**
|
||||
* Auth user model. This inherits fields and methods from the default
|
||||
* flitter-auth/model/User model, however you can override methods and
|
||||
* properties here as you need.
|
||||
*
|
||||
* This file was automatically generated by the Flitter Framework.
|
||||
*
|
||||
* @extends AuthUser
|
||||
*/
|
||||
class User extends AuthUser {
|
||||
static get services() {
|
||||
@@ -17,6 +21,11 @@ class User extends AuthUser {
|
||||
}
|
||||
|
||||
// Other members and methods here
|
||||
|
||||
/**
|
||||
* Get the team associated with this user.
|
||||
* @return {Promise<Team>}
|
||||
*/
|
||||
async team() {
|
||||
const Team = this.models.get('Team')
|
||||
return Team.getForUser(this)
|
||||
|
||||
Reference in New Issue
Block a user