-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
82 lines (76 loc) · 1.35 KB
/
types.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
export type Quiz = {
id: string
title: string,
image: string,
questions_count: number,
difficulty: string,
description: string,
time: number,
is_active: number,
category_id:number,
category: any,
user_id:number,
}
export type Personal = {
name:string,
surname: string,
email: string,
phone: number,
}
export type Company = {
name: string,
nip: number,
regon: number,
address: {
city: string,
postcode: string,
street: string,
building_number: number,
house_number: number,
}
}
export type Financial = {
iban: string;
bank_name: string;
swift: string;
}
export type User = {
id:any
name: string,
surname: string,
phone: null | string,
email: string,
points: number,
avatar_path: null | string,
}
export type InvitedUser = {
name: string
is_premium: boolean,
avatar_path: null | string,
}
export type selectOption ={
value: string | number,
label: string,
}
export type whiteRetangle = {
text?: string;
text1?: string;
notext?: string;
istextNo?: boolean;
mode?: string;
des?: string;
link?: string;
maxlength?: any;
lastIcon?:string;
firstIcon?:string;
wrap?:string
question?: string
answer?: {
answer: string,
correct: number,
}[];
type?: string,
placeholder: string,
value?: any;
template?:string
}