release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 12 additions and 14 deletions
Showing only changes of commit 7612ccde7b - Show all commits

View File

@ -13,9 +13,9 @@ declare namespace FG {
firstname: string; firstname: string;
lastname: string; lastname: string;
mail: string; mail: string;
avatar_url?: string;
birthday?: Date; birthday?: Date;
roles: Array<string>; roles: Array<string>;
avatar_url?: string;
} }
type Permission = string; type Permission = string;
interface Role { interface Role {
@ -37,26 +37,24 @@ declare namespace FG {
start: Date; start: Date;
description?: string; description?: string;
type: EventType; type: EventType;
slots: Array<EventSlot>; jobs: Array<Job>;
}
interface EventSlot {
id: number;
start: Date;
end?: Date;
jobs: Array<JobSlot>;
} }
type EventType = string; type EventType = string;
interface Job { interface Job {
userid: string; id: number;
value: number; start: Date;
} end?: Date;
interface JobSlot { comment: string;
type: JobType; type: JobType;
users: Array<Job>; services: Array<Service>;
required_jobs: number; required_services: number;
} }
interface JobType { interface JobType {
id: number; id: number;
name: string; name: string;
} }
interface Service {
userid: string;
value: number;
}
} }