Updated definitions for API
This commit is contained in:
parent
cc47e21a31
commit
7fe59f67f5
|
@ -15,6 +15,7 @@ declare namespace FG {
|
||||||
mail: string;
|
mail: string;
|
||||||
birthday?: Date;
|
birthday?: Date;
|
||||||
roles: Array<string>;
|
roles: Array<string>;
|
||||||
|
permissions?: list;
|
||||||
avatar_url?: string;
|
avatar_url?: string;
|
||||||
}
|
}
|
||||||
type Permission = string;
|
type Permission = string;
|
||||||
|
@ -36,8 +37,9 @@ declare namespace FG {
|
||||||
interface Event {
|
interface Event {
|
||||||
id: number;
|
id: number;
|
||||||
start: Date;
|
start: Date;
|
||||||
|
end: Date;
|
||||||
description?: string;
|
description?: string;
|
||||||
type?: EventType;
|
type: EventType;
|
||||||
jobs: Array<Job>;
|
jobs: Array<Job>;
|
||||||
}
|
}
|
||||||
interface EventType {
|
interface EventType {
|
||||||
|
|
Loading…
Reference in New Issue