-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
65 lines (56 loc) · 1.14 KB
/
index.d.ts
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
declare module "*.svg" {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
export default content;
}
declare module "@obsidian/type" {
export type IUser = {
id?: string
firstname: string
lastname: string
email: string
permissions: IPermission[]
roles: IRole[]
}
export type IReponse = {
body: string
valide: boolean
}
export type ITypeQuestion = {
name: string
icon: ForwardRefExoticComponent<SVGProps<SVGSVGElement> & { title?: string | undefined; titleId?: string | undefined; }>
value: string
}
export type IRole = {
id?: string
label: string
power: number
permissions: IPermission[]
}
export type IPermission = {
id?: string
key: string
label: string
}
export type IEtiquette = {
id?: string
label: string
color: string
}
export type IColor = {
label: string
value: string
}
export type IQuestion = {
id?: string
label: string
type: string
enonce: string
etiquettes: IEtiquette[]
reponses: IReponse[]
}
export type IBlock = {
id: string
html: string
tag: string
}
}