@communecter/cocolight-api-client 1.0.125 → 1.0.126
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/dist/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/api/EndpointApi.types.ts +7 -2
- package/src/api/serverDataType/Answer.ts +10 -2
- package/src/api/serverDataType/Project.ts +2 -0
- package/src/endpoints.module.ts +1 -1
- package/types/api/EndpointApi.types.d.ts +7 -2
- package/types/api/serverDataType/Answer.d.ts +9 -2
- package/types/api/serverDataType/Project.d.ts +2 -0
- package/types/endpoints.module.d.ts +104 -97
package/package.json
CHANGED
|
@@ -5516,9 +5516,14 @@ export interface CostumProjectActionRequestNewData {
|
|
|
5516
5516
|
*/
|
|
5517
5517
|
credits: number;
|
|
5518
5518
|
/**
|
|
5519
|
-
*
|
|
5519
|
+
* Jalon associé à l'action
|
|
5520
5520
|
*/
|
|
5521
|
-
|
|
5521
|
+
milestone: {
|
|
5522
|
+
/**
|
|
5523
|
+
* ID du jalon associé
|
|
5524
|
+
*/
|
|
5525
|
+
milestoneId: string;
|
|
5526
|
+
};
|
|
5522
5527
|
[k: string]: unknown;
|
|
5523
5528
|
}
|
|
5524
5529
|
|
|
@@ -12,6 +12,12 @@ export interface AnswerLinksBlock {
|
|
|
12
12
|
answered: string[];
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
export interface AnswerProjectRef {
|
|
16
|
+
id?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
15
21
|
export interface AnswerItemJson {
|
|
16
22
|
_id: IdObject;
|
|
17
23
|
collection: "answers";
|
|
@@ -25,10 +31,11 @@ export interface AnswerItemJson {
|
|
|
25
31
|
form?: string;
|
|
26
32
|
modified?: DateValue;
|
|
27
33
|
voteCount?: Record<string, number>;
|
|
28
|
-
vote
|
|
34
|
+
vote?: Record<string, {
|
|
29
35
|
status: string;
|
|
30
36
|
date: DateValue;
|
|
31
37
|
}>;
|
|
38
|
+
project?: AnswerProjectRef;
|
|
32
39
|
[key: string]: unknown;
|
|
33
40
|
}
|
|
34
41
|
|
|
@@ -46,9 +53,10 @@ export interface AnswerItemNormalized {
|
|
|
46
53
|
form?: string;
|
|
47
54
|
modified?: Date;
|
|
48
55
|
voteCount?: Record<string, number>;
|
|
49
|
-
vote
|
|
56
|
+
vote?: Record<string, {
|
|
50
57
|
status: string;
|
|
51
58
|
date: Date;
|
|
52
59
|
}>;
|
|
60
|
+
project?: AnswerProjectRef;
|
|
53
61
|
[key: string]: unknown;
|
|
54
62
|
}
|
|
@@ -65,6 +65,7 @@ export interface ProjectItemJson {
|
|
|
65
65
|
socialNetwork?: SocialNetwork;
|
|
66
66
|
email?: string;
|
|
67
67
|
url?: string;
|
|
68
|
+
answer?: string;
|
|
68
69
|
[key: string]: unknown;
|
|
69
70
|
}
|
|
70
71
|
|
|
@@ -94,5 +95,6 @@ export interface ProjectItemNormalized {
|
|
|
94
95
|
socialNetwork?: SocialNetwork;
|
|
95
96
|
email?: string;
|
|
96
97
|
url?: string;
|
|
98
|
+
answer?: string;
|
|
97
99
|
[key: string]: unknown;
|
|
98
100
|
}
|