Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 1x 1x 1x 1x 1x 4x 4x 4x 4x | import { Model } from './model';
import { Game } from './game';
import { Namespace } from './namespace';
import { User } from './user';
export namespace IGameAuthorization {
export enum GameAuthorizationStatus {
Granted = 'granted',
Pending = 'pending',
Revoked = 'revoked',
}
}
export class GameAuthorization extends Model {
public game: Game;
public gameId: string;
public namespace: Namespace;
public namespaceId: string;
public status: IGameAuthorization.GameAuthorizationStatus;
public user: User;
public userId: string;
constructor(params?: Partial<GameAuthorization>) {
super(params);
this.game = this.game ? new Game(this.game) : null;
this.namespace = this.namespace ? new Namespace(this.namespace) : null;
this.user = this.user ? new User(this.user) : null;
}
}
|