@communecter/cocolight-api-client 1.0.124 → 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 +10 -3
- 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 +10 -3
- 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
|
@@ -1493,7 +1493,9 @@ export interface GetOrganizationsAdminData {
|
|
|
1493
1493
|
* Flag pour ne pas filtrer sur une clé de source spécifique
|
|
1494
1494
|
*/
|
|
1495
1495
|
notSourceKey: true;
|
|
1496
|
-
filters: {
|
|
1496
|
+
filters: {
|
|
1497
|
+
[k: string]: unknown;
|
|
1498
|
+
};
|
|
1497
1499
|
/**
|
|
1498
1500
|
* Localité vide ou spécifique
|
|
1499
1501
|
*/
|
|
@@ -5057,9 +5059,14 @@ export interface CostumProjectActionRequestNewData {
|
|
|
5057
5059
|
*/
|
|
5058
5060
|
credits: number;
|
|
5059
5061
|
/**
|
|
5060
|
-
*
|
|
5062
|
+
* Jalon associé à l'action
|
|
5061
5063
|
*/
|
|
5062
|
-
|
|
5064
|
+
milestone: {
|
|
5065
|
+
/**
|
|
5066
|
+
* ID du jalon associé
|
|
5067
|
+
*/
|
|
5068
|
+
milestoneId: string;
|
|
5069
|
+
};
|
|
5063
5070
|
[k: string]: unknown;
|
|
5064
5071
|
}
|
|
5065
5072
|
export interface LinkDiscourseAccountData {
|
|
@@ -8,6 +8,11 @@ type ObjectID = InstanceType<ObjectIDCtor>;
|
|
|
8
8
|
export interface AnswerLinksBlock {
|
|
9
9
|
answered: string[];
|
|
10
10
|
}
|
|
11
|
+
export interface AnswerProjectRef {
|
|
12
|
+
id?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
}
|
|
11
16
|
export interface AnswerItemJson {
|
|
12
17
|
_id: IdObject;
|
|
13
18
|
collection: "answers";
|
|
@@ -21,10 +26,11 @@ export interface AnswerItemJson {
|
|
|
21
26
|
form?: string;
|
|
22
27
|
modified?: DateValue;
|
|
23
28
|
voteCount?: Record<string, number>;
|
|
24
|
-
vote
|
|
29
|
+
vote?: Record<string, {
|
|
25
30
|
status: string;
|
|
26
31
|
date: DateValue;
|
|
27
32
|
}>;
|
|
33
|
+
project?: AnswerProjectRef;
|
|
28
34
|
[key: string]: unknown;
|
|
29
35
|
}
|
|
30
36
|
export interface AnswerItemNormalized {
|
|
@@ -41,10 +47,11 @@ export interface AnswerItemNormalized {
|
|
|
41
47
|
form?: string;
|
|
42
48
|
modified?: Date;
|
|
43
49
|
voteCount?: Record<string, number>;
|
|
44
|
-
vote
|
|
50
|
+
vote?: Record<string, {
|
|
45
51
|
status: string;
|
|
46
52
|
date: Date;
|
|
47
53
|
}>;
|
|
54
|
+
project?: AnswerProjectRef;
|
|
48
55
|
[key: string]: unknown;
|
|
49
56
|
}
|
|
50
57
|
export {};
|
|
@@ -38,6 +38,7 @@ export interface ProjectItemJson {
|
|
|
38
38
|
socialNetwork?: SocialNetwork;
|
|
39
39
|
email?: string;
|
|
40
40
|
url?: string;
|
|
41
|
+
answer?: string;
|
|
41
42
|
[key: string]: unknown;
|
|
42
43
|
}
|
|
43
44
|
export interface ProjectItemNormalized {
|
|
@@ -66,6 +67,7 @@ export interface ProjectItemNormalized {
|
|
|
66
67
|
socialNetwork?: SocialNetwork;
|
|
67
68
|
email?: string;
|
|
68
69
|
url?: string;
|
|
70
|
+
answer?: string;
|
|
69
71
|
[key: string]: unknown;
|
|
70
72
|
}
|
|
71
73
|
export {};
|