@la-main-verte/shared-types 1.0.33 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apiError.d.ts +1 -0
- package/src/member.d.ts +1 -0
- package/src/task.d.ts +55 -1
package/package.json
CHANGED
package/src/apiError.d.ts
CHANGED
package/src/member.d.ts
CHANGED
package/src/task.d.ts
CHANGED
|
@@ -1,7 +1,61 @@
|
|
|
1
1
|
export interface TaskI {
|
|
2
|
+
/** Unique identifier of the task */
|
|
3
|
+
id: number
|
|
4
|
+
/** Name of the task */
|
|
2
5
|
name: string
|
|
6
|
+
/** Name of the icon associated with the task */
|
|
7
|
+
iconName: string
|
|
8
|
+
/** Color code of the task */
|
|
9
|
+
colourCode: string
|
|
10
|
+
/** Start date of the task */
|
|
3
11
|
startDate: Date
|
|
12
|
+
/** End date of the task */
|
|
13
|
+
endDate: Date
|
|
14
|
+
/** Indicates if the task is private */
|
|
15
|
+
private: boolean
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TaskTagI {
|
|
19
|
+
/**
|
|
20
|
+
* Name of the task's tag
|
|
21
|
+
*/
|
|
22
|
+
name: string
|
|
23
|
+
/**
|
|
24
|
+
* Color code of the task's tag
|
|
25
|
+
*/
|
|
26
|
+
colourCode: string
|
|
27
|
+
/**
|
|
28
|
+
* Name of the icon associated with the task's tag
|
|
29
|
+
*/
|
|
30
|
+
iconName?: string
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Data used to create or edit a task
|
|
35
|
+
*/
|
|
36
|
+
export interface TaskFormDataI {
|
|
37
|
+
/**
|
|
38
|
+
* Name of the task
|
|
39
|
+
*/
|
|
40
|
+
name: string
|
|
41
|
+
/**
|
|
42
|
+
* Start date of the task
|
|
43
|
+
*/
|
|
44
|
+
startDate: Date
|
|
45
|
+
/**
|
|
46
|
+
* End date of the task
|
|
47
|
+
*/
|
|
4
48
|
endDate?: Date
|
|
5
|
-
|
|
49
|
+
/**
|
|
50
|
+
* Color code of the task
|
|
51
|
+
*/
|
|
52
|
+
colourCode: string
|
|
53
|
+
/**
|
|
54
|
+
* Name of the icon associated with the task
|
|
55
|
+
*/
|
|
6
56
|
iconName?: string
|
|
57
|
+
/**
|
|
58
|
+
* Indicates if the task is private
|
|
59
|
+
*/
|
|
60
|
+
private: boolean
|
|
7
61
|
}
|