release v2.0.0 #4
|
@ -15,6 +15,7 @@ declare namespace FG {
|
|||
mail: string;
|
||||
birthday?: Date;
|
||||
roles: Array<string>;
|
||||
permissions?: list;
|
||||
avatar_url?: string;
|
||||
}
|
||||
type Permission = string;
|
||||
|
@ -36,8 +37,9 @@ declare namespace FG {
|
|||
interface Event {
|
||||
id: number;
|
||||
start: Date;
|
||||
end: Date;
|
||||
description?: string;
|
||||
type?: EventType;
|
||||
type: EventType;
|
||||
jobs: Array<Job>;
|
||||
}
|
||||
interface EventType {
|
||||
|
|
Loading…
Reference in New Issue