jamespot-user-api 1.0.118 → 1.0.120
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +6 -6
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +9 -9
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +4 -4
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +14 -9
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/article/article.d.ts +3 -11
- package/lib/src/apis/article/article.mock.d.ts +3 -3
- package/lib/src/apis/faq/faq.d.ts +7 -4
- package/lib/src/apis/faq/faq.mock.d.ts +6 -1
- package/lib/src/apis/file/file.d.ts +68 -0
- package/lib/src/apis/file/file.mock.d.ts +8 -0
- package/lib/src/apis/file/file.test.d.ts +1 -0
- package/lib/src/apis/index.d.ts +1 -1
- package/lib/src/apis/jamespotUserApi.d.ts +1 -1
- package/lib/src/types/faq.d.ts +24 -3
- package/lib/src/types/file.d.ts +9 -20
- package/lib/src/types/mediaLibrary.d.ts +3 -7
- package/lib/src/types/utils.d.ts +1 -1
- package/lib/src/types/widgets.d.ts +9 -10
- package/lib/src/util/Test.d.ts +23 -0
- package/lib/src/util/file.d.ts +23 -7
- package/lib/src/util/file.mock.d.ts +312 -0
- package/lib/src/util/network.d.ts +16 -2
- package/package.json +1 -1
- package/phpunitMock/articleCreate-faq-category.json +3 -4
- package/phpunitMock/articleGet-faq-category.json +7 -9
- package/phpunitMock/articleGet-mpArticle-list.json +1 -2
- package/phpunitMock/articleGet-with-widgets.json +161 -0
- package/phpunitMock/articleGetAttachment-success.json +19 -18
- package/phpunitMock/articleUpdate-faq-category.json +3 -4
- package/phpunitMock/faqAccess-success.json +9 -0
- package/phpunitMock/faqCheckItem-success.json +89 -0
- package/phpunitMock/fileCreate-rawLittle.json +17 -0
- package/phpunitMock/fileDelete-default.json +1 -0
- package/phpunitMock/fileDeleteImage-default.json +1 -0
- package/phpunitMock/fileGet-default.json +17 -0
- package/phpunitMock/fileUpdate-rawLittle.json +18 -0
- package/phpunitMock/objectListFaqQueryList-faq-success.json +192 -0
- package/phpunitMock/tvDisplayGetChannel-dynamic.json +16 -16
- package/phpunitMock/tvDisplayGetChannel-slideshow.json +16 -14
- package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +16 -16
- package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +16 -14
- package/lib/src/apis/file.d.ts +0 -62
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
export declare const FileDocx: {
|
|
2
|
+
title: string;
|
|
3
|
+
mimetype: string;
|
|
4
|
+
uri: string;
|
|
5
|
+
id: number;
|
|
6
|
+
mainType: string;
|
|
7
|
+
type: string;
|
|
8
|
+
dateCreation: string;
|
|
9
|
+
_url: string;
|
|
10
|
+
dateModified: string | null;
|
|
11
|
+
path?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const FileXlsx: {
|
|
14
|
+
title: string;
|
|
15
|
+
mimetype: string;
|
|
16
|
+
uri: string;
|
|
17
|
+
id: number;
|
|
18
|
+
mainType: string;
|
|
19
|
+
type: string;
|
|
20
|
+
dateCreation: string;
|
|
21
|
+
_url: string;
|
|
22
|
+
dateModified: string | null;
|
|
23
|
+
path?: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const FilePptx: {
|
|
26
|
+
title: string;
|
|
27
|
+
mimetype: string;
|
|
28
|
+
uri: string;
|
|
29
|
+
id: number;
|
|
30
|
+
mainType: string;
|
|
31
|
+
type: string;
|
|
32
|
+
dateCreation: string;
|
|
33
|
+
_url: string;
|
|
34
|
+
dateModified: string | null;
|
|
35
|
+
path?: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const FileOdt: {
|
|
38
|
+
title: string;
|
|
39
|
+
mimetype: string;
|
|
40
|
+
uri: string;
|
|
41
|
+
id: number;
|
|
42
|
+
mainType: string;
|
|
43
|
+
type: string;
|
|
44
|
+
dateCreation: string;
|
|
45
|
+
_url: string;
|
|
46
|
+
dateModified: string | null;
|
|
47
|
+
path?: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const FilePdf: {
|
|
50
|
+
title: string;
|
|
51
|
+
mimetype: string;
|
|
52
|
+
uri: string;
|
|
53
|
+
id: number;
|
|
54
|
+
mainType: string;
|
|
55
|
+
type: string;
|
|
56
|
+
dateCreation: string;
|
|
57
|
+
_url: string;
|
|
58
|
+
dateModified: string | null;
|
|
59
|
+
path?: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const FileZip: {
|
|
62
|
+
title: string;
|
|
63
|
+
mimetype: string;
|
|
64
|
+
uri: string;
|
|
65
|
+
id: number;
|
|
66
|
+
mainType: string;
|
|
67
|
+
type: string;
|
|
68
|
+
dateCreation: string;
|
|
69
|
+
_url: string;
|
|
70
|
+
dateModified: string | null;
|
|
71
|
+
path?: string;
|
|
72
|
+
};
|
|
73
|
+
export declare const FileZip2: {
|
|
74
|
+
title: string;
|
|
75
|
+
mimetype: string;
|
|
76
|
+
uri: string;
|
|
77
|
+
id: number;
|
|
78
|
+
mainType: string;
|
|
79
|
+
type: string;
|
|
80
|
+
dateCreation: string;
|
|
81
|
+
_url: string;
|
|
82
|
+
dateModified: string | null;
|
|
83
|
+
path?: string;
|
|
84
|
+
};
|
|
85
|
+
export declare const FileAi: {
|
|
86
|
+
title: string;
|
|
87
|
+
mimetype: string;
|
|
88
|
+
uri: string;
|
|
89
|
+
id: number;
|
|
90
|
+
mainType: string;
|
|
91
|
+
type: string;
|
|
92
|
+
dateCreation: string;
|
|
93
|
+
_url: string;
|
|
94
|
+
dateModified: string | null;
|
|
95
|
+
path?: string;
|
|
96
|
+
};
|
|
97
|
+
export declare const FileAi2: {
|
|
98
|
+
title: string;
|
|
99
|
+
mimetype: string;
|
|
100
|
+
uri: string;
|
|
101
|
+
id: number;
|
|
102
|
+
mainType: string;
|
|
103
|
+
type: string;
|
|
104
|
+
dateCreation: string;
|
|
105
|
+
_url: string;
|
|
106
|
+
dateModified: string | null;
|
|
107
|
+
path?: string;
|
|
108
|
+
};
|
|
109
|
+
export declare const FileMp3: {
|
|
110
|
+
title: string;
|
|
111
|
+
mimetype: string;
|
|
112
|
+
uri: string;
|
|
113
|
+
id: number;
|
|
114
|
+
mainType: string;
|
|
115
|
+
type: string;
|
|
116
|
+
dateCreation: string;
|
|
117
|
+
_url: string;
|
|
118
|
+
dateModified: string | null;
|
|
119
|
+
path?: string;
|
|
120
|
+
};
|
|
121
|
+
export declare const FileMp4: {
|
|
122
|
+
title: string;
|
|
123
|
+
mimetype: string;
|
|
124
|
+
uri: string;
|
|
125
|
+
id: number;
|
|
126
|
+
mainType: string;
|
|
127
|
+
type: string;
|
|
128
|
+
dateCreation: string;
|
|
129
|
+
_url: string;
|
|
130
|
+
dateModified: string | null;
|
|
131
|
+
path?: string;
|
|
132
|
+
};
|
|
133
|
+
export declare const FileMpeg: {
|
|
134
|
+
title: string;
|
|
135
|
+
mimetype: string;
|
|
136
|
+
uri: string;
|
|
137
|
+
id: number;
|
|
138
|
+
mainType: string;
|
|
139
|
+
type: string;
|
|
140
|
+
dateCreation: string;
|
|
141
|
+
_url: string;
|
|
142
|
+
dateModified: string | null;
|
|
143
|
+
path?: string;
|
|
144
|
+
};
|
|
145
|
+
export declare const FileTtf: {
|
|
146
|
+
title: string;
|
|
147
|
+
mimetype: string;
|
|
148
|
+
uri: string;
|
|
149
|
+
id: number;
|
|
150
|
+
mainType: string;
|
|
151
|
+
type: string;
|
|
152
|
+
dateCreation: string;
|
|
153
|
+
_url: string;
|
|
154
|
+
dateModified: string | null;
|
|
155
|
+
path?: string;
|
|
156
|
+
};
|
|
157
|
+
export declare const FileTtf2: {
|
|
158
|
+
title: string;
|
|
159
|
+
mimetype: string;
|
|
160
|
+
uri: string;
|
|
161
|
+
id: number;
|
|
162
|
+
mainType: string;
|
|
163
|
+
type: string;
|
|
164
|
+
dateCreation: string;
|
|
165
|
+
_url: string;
|
|
166
|
+
dateModified: string | null;
|
|
167
|
+
path?: string;
|
|
168
|
+
};
|
|
169
|
+
export declare const FileOtf: {
|
|
170
|
+
title: string;
|
|
171
|
+
mimetype: string;
|
|
172
|
+
uri: string;
|
|
173
|
+
id: number;
|
|
174
|
+
mainType: string;
|
|
175
|
+
type: string;
|
|
176
|
+
dateCreation: string;
|
|
177
|
+
_url: string;
|
|
178
|
+
dateModified: string | null;
|
|
179
|
+
path?: string;
|
|
180
|
+
};
|
|
181
|
+
export declare const FileOtf2: {
|
|
182
|
+
title: string;
|
|
183
|
+
mimetype: string;
|
|
184
|
+
uri: string;
|
|
185
|
+
id: number;
|
|
186
|
+
mainType: string;
|
|
187
|
+
type: string;
|
|
188
|
+
dateCreation: string;
|
|
189
|
+
_url: string;
|
|
190
|
+
dateModified: string | null;
|
|
191
|
+
path?: string;
|
|
192
|
+
};
|
|
193
|
+
export declare const FileJpeg: {
|
|
194
|
+
title: string;
|
|
195
|
+
mimetype: string;
|
|
196
|
+
uri: string;
|
|
197
|
+
id: number;
|
|
198
|
+
mainType: string;
|
|
199
|
+
type: string;
|
|
200
|
+
dateCreation: string;
|
|
201
|
+
_url: string;
|
|
202
|
+
dateModified: string | null;
|
|
203
|
+
path?: string;
|
|
204
|
+
};
|
|
205
|
+
export declare const FileJpg: {
|
|
206
|
+
title: string;
|
|
207
|
+
mimetype: string;
|
|
208
|
+
uri: string;
|
|
209
|
+
id: number;
|
|
210
|
+
mainType: string;
|
|
211
|
+
type: string;
|
|
212
|
+
dateCreation: string;
|
|
213
|
+
_url: string;
|
|
214
|
+
dateModified: string | null;
|
|
215
|
+
path?: string;
|
|
216
|
+
};
|
|
217
|
+
export declare const FilePng: {
|
|
218
|
+
title: string;
|
|
219
|
+
mimetype: string;
|
|
220
|
+
uri: string;
|
|
221
|
+
id: number;
|
|
222
|
+
mainType: string;
|
|
223
|
+
type: string;
|
|
224
|
+
dateCreation: string;
|
|
225
|
+
_url: string;
|
|
226
|
+
dateModified: string | null;
|
|
227
|
+
path?: string;
|
|
228
|
+
};
|
|
229
|
+
export declare const FileGif: {
|
|
230
|
+
title: string;
|
|
231
|
+
mimetype: string;
|
|
232
|
+
uri: string;
|
|
233
|
+
id: number;
|
|
234
|
+
mainType: string;
|
|
235
|
+
type: string;
|
|
236
|
+
dateCreation: string;
|
|
237
|
+
_url: string;
|
|
238
|
+
dateModified: string | null;
|
|
239
|
+
path?: string;
|
|
240
|
+
};
|
|
241
|
+
export declare const FilePsd: {
|
|
242
|
+
title: string;
|
|
243
|
+
mimetype: string;
|
|
244
|
+
uri: string;
|
|
245
|
+
id: number;
|
|
246
|
+
mainType: string;
|
|
247
|
+
type: string;
|
|
248
|
+
dateCreation: string;
|
|
249
|
+
_url: string;
|
|
250
|
+
dateModified: string | null;
|
|
251
|
+
path?: string;
|
|
252
|
+
};
|
|
253
|
+
export declare const FileSvg: {
|
|
254
|
+
title: string;
|
|
255
|
+
mimetype: string;
|
|
256
|
+
uri: string;
|
|
257
|
+
id: number;
|
|
258
|
+
mainType: string;
|
|
259
|
+
type: string;
|
|
260
|
+
dateCreation: string;
|
|
261
|
+
_url: string;
|
|
262
|
+
dateModified: string | null;
|
|
263
|
+
path?: string;
|
|
264
|
+
};
|
|
265
|
+
export declare const FileTxt: {
|
|
266
|
+
title: string;
|
|
267
|
+
mimetype: string;
|
|
268
|
+
uri: string;
|
|
269
|
+
id: number;
|
|
270
|
+
mainType: string;
|
|
271
|
+
type: string;
|
|
272
|
+
dateCreation: string;
|
|
273
|
+
_url: string;
|
|
274
|
+
dateModified: string | null;
|
|
275
|
+
path?: string;
|
|
276
|
+
};
|
|
277
|
+
export declare const FileCsv: {
|
|
278
|
+
title: string;
|
|
279
|
+
mimetype: string;
|
|
280
|
+
uri: string;
|
|
281
|
+
id: number;
|
|
282
|
+
mainType: string;
|
|
283
|
+
type: string;
|
|
284
|
+
dateCreation: string;
|
|
285
|
+
_url: string;
|
|
286
|
+
dateModified: string | null;
|
|
287
|
+
path?: string;
|
|
288
|
+
};
|
|
289
|
+
export declare const FileWebm: {
|
|
290
|
+
title: string;
|
|
291
|
+
mimetype: string;
|
|
292
|
+
uri: string;
|
|
293
|
+
id: number;
|
|
294
|
+
mainType: string;
|
|
295
|
+
type: string;
|
|
296
|
+
dateCreation: string;
|
|
297
|
+
_url: string;
|
|
298
|
+
dateModified: string | null;
|
|
299
|
+
path?: string;
|
|
300
|
+
};
|
|
301
|
+
export declare const FileUnknownPsd: {
|
|
302
|
+
title: string;
|
|
303
|
+
mimetype: string;
|
|
304
|
+
uri: string;
|
|
305
|
+
id: number;
|
|
306
|
+
mainType: string;
|
|
307
|
+
type: string;
|
|
308
|
+
dateCreation: string;
|
|
309
|
+
_url: string;
|
|
310
|
+
dateModified: string | null;
|
|
311
|
+
path?: string;
|
|
312
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiWrapper, BaseMessages,
|
|
1
|
+
import { ApiWrapper, BaseMessages, MaybeWithToken } from '../types';
|
|
2
2
|
import { WindowInterface } from '../window/Window';
|
|
3
3
|
export interface OF {
|
|
4
4
|
o: string;
|
|
@@ -27,7 +27,21 @@ export declare class Network {
|
|
|
27
27
|
getHostname(): Promise<string>;
|
|
28
28
|
fetch<T>({ o, f, ...body }: OF, signal?: AbortSignal | null): Promise<import("../window/Window").FetchResponseType<T>>;
|
|
29
29
|
post<T, U = BaseMessages>(body: OF, signal?: AbortSignal): Promise<ApiWrapper<T, U>>;
|
|
30
|
-
postFile(body: FormData): Promise<
|
|
30
|
+
postFile(body: FormData): Promise<{
|
|
31
|
+
response: ApiWrapper<{
|
|
32
|
+
uri: string;
|
|
33
|
+
id: number;
|
|
34
|
+
mainType: string;
|
|
35
|
+
type: string;
|
|
36
|
+
dateCreation: string;
|
|
37
|
+
title: string;
|
|
38
|
+
_url: string;
|
|
39
|
+
dateModified: string | null;
|
|
40
|
+
mimetype: string;
|
|
41
|
+
path?: string;
|
|
42
|
+
}, BaseMessages>;
|
|
43
|
+
token: string;
|
|
44
|
+
}>;
|
|
31
45
|
postCSRF<T, U = BaseMessages>(body: OF): Promise<ApiWrapper<T, U>>;
|
|
32
46
|
postToken<T, U = BaseMessages>(body: OF): Promise<ApiWrapper<T, U>>;
|
|
33
47
|
maybePostToken<T, U = BaseMessages, P extends MaybeWithToken<OF> = MaybeWithToken<OF>>(body: P): Promise<ApiWrapper<T, U>>;
|
package/package.json
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"mainType": "article",
|
|
15
15
|
"type": "faq",
|
|
16
16
|
"uri": "faq/19",
|
|
17
|
-
"dateCreation": "2023-
|
|
18
|
-
"dateModified": "2023-
|
|
17
|
+
"dateCreation": "2023-09-20 11:03:55",
|
|
18
|
+
"dateModified": "2023-09-20 11:03:55",
|
|
19
19
|
"title": "FAQ test",
|
|
20
20
|
"_url": "/ng/app/faq/c/19",
|
|
21
21
|
"_right": {
|
|
@@ -40,10 +40,9 @@
|
|
|
40
40
|
"_url": "/user/4",
|
|
41
41
|
"level": 9
|
|
42
42
|
},
|
|
43
|
-
"processContext": null,
|
|
44
43
|
"faqColor": "#111111",
|
|
44
|
+
"processContext": null,
|
|
45
45
|
"_audience": [],
|
|
46
|
-
"image": null,
|
|
47
46
|
"tags": [],
|
|
48
47
|
"isWeb": false
|
|
49
48
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
"error": 0,
|
|
5
5
|
"messages": [],
|
|
6
6
|
"result": {
|
|
7
|
-
"id":
|
|
7
|
+
"id": 13,
|
|
8
8
|
"mainType": "article",
|
|
9
9
|
"type": "faq",
|
|
10
|
-
"uri": "faq/
|
|
11
|
-
"dateCreation": "2023-09-
|
|
12
|
-
"dateModified": "2023-09-
|
|
10
|
+
"uri": "faq/13",
|
|
11
|
+
"dateCreation": "2023-09-20 11:03:38",
|
|
12
|
+
"dateModified": "2023-09-20 11:03:38",
|
|
13
13
|
"title": "CATEGORY 1",
|
|
14
|
-
"_url": "/ng/app/faq/c/
|
|
14
|
+
"_url": "/ng/app/faq/c/13",
|
|
15
15
|
"_right": {
|
|
16
16
|
"create": true,
|
|
17
17
|
"read": true,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "user",
|
|
30
30
|
"uri": "user/4",
|
|
31
31
|
"dateCreation": "2019-07-09 15:48:26",
|
|
32
|
-
"dateModified": "
|
|
32
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
33
33
|
"title": "Admin1",
|
|
34
34
|
"_url": "/user/4",
|
|
35
35
|
"level": 9
|
|
@@ -37,9 +37,7 @@
|
|
|
37
37
|
"processContext": null,
|
|
38
38
|
"faqColor": "",
|
|
39
39
|
"_audience": [],
|
|
40
|
-
"image": null,
|
|
41
40
|
"tags": [],
|
|
42
|
-
"isWeb": false
|
|
43
|
-
"_nbAttachedFiles": 0
|
|
41
|
+
"isWeb": false
|
|
44
42
|
}
|
|
45
43
|
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "article",
|
|
3
|
+
"f": "get",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 191,
|
|
8
|
+
"mainType": "article",
|
|
9
|
+
"type": "articleWidget",
|
|
10
|
+
"uri": "articleWidget/191",
|
|
11
|
+
"dateCreation": "2023-09-21 11:40:50",
|
|
12
|
+
"dateModified": "2023-09-21 11:40:50",
|
|
13
|
+
"title": "Article with widgets",
|
|
14
|
+
"_url": "/article/191",
|
|
15
|
+
"articleWidgets": [
|
|
16
|
+
{
|
|
17
|
+
"title": "",
|
|
18
|
+
"widget": {
|
|
19
|
+
"name": "widget-article-attachment",
|
|
20
|
+
"uniqid": "650c0fa2c1c89",
|
|
21
|
+
"content": {
|
|
22
|
+
"files": [
|
|
23
|
+
{
|
|
24
|
+
"id": 93,
|
|
25
|
+
"mainType": "file",
|
|
26
|
+
"type": "fileTmp",
|
|
27
|
+
"uri": "fileTmp/93",
|
|
28
|
+
"dateCreation": "2023-09-21 11:40:50",
|
|
29
|
+
"dateModified": "2023-09-21 11:40:50",
|
|
30
|
+
"title": "txtTest.docx",
|
|
31
|
+
"mimetype": "application/octet-stream",
|
|
32
|
+
"_url": "javascript:void(0);"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"fileDisplay": "list"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "",
|
|
41
|
+
"widget": {
|
|
42
|
+
"name": "widget-article-text",
|
|
43
|
+
"uniqid": "650c0fa2c1c8d",
|
|
44
|
+
"content": {
|
|
45
|
+
"text": "Hello world",
|
|
46
|
+
"color": "white",
|
|
47
|
+
"fontSize": "12",
|
|
48
|
+
"lineHeight": "12",
|
|
49
|
+
"linkColor": "red"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"title": "",
|
|
55
|
+
"widget": {
|
|
56
|
+
"name": "widget-article-title",
|
|
57
|
+
"uniqid": "650c0fa2c1c8e",
|
|
58
|
+
"content": {
|
|
59
|
+
"text": "This is my title",
|
|
60
|
+
"textAlign": "center",
|
|
61
|
+
"heading": "h1",
|
|
62
|
+
"color": "white",
|
|
63
|
+
"backgroundColor": "red"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"title": "",
|
|
69
|
+
"widget": {
|
|
70
|
+
"name": "widget-article-button",
|
|
71
|
+
"uniqid": "650c0fa2c1c8f",
|
|
72
|
+
"content": {
|
|
73
|
+
"text": "This is a button",
|
|
74
|
+
"color": "white",
|
|
75
|
+
"backgroundColor": "#4dbf96",
|
|
76
|
+
"borderRadius": "10",
|
|
77
|
+
"fontSize": "12",
|
|
78
|
+
"buttonSize": "sm",
|
|
79
|
+
"variant": "contained",
|
|
80
|
+
"openingType": "link",
|
|
81
|
+
"openingTypeLink": {
|
|
82
|
+
"url": "https://ecosysteme.jamespot.pro/",
|
|
83
|
+
"target": "_blank"
|
|
84
|
+
},
|
|
85
|
+
"openingTypeAnchor": {
|
|
86
|
+
"uniqid": "id"
|
|
87
|
+
},
|
|
88
|
+
"openingTypePopup": {
|
|
89
|
+
"title": "Popup title",
|
|
90
|
+
"widgets": [
|
|
91
|
+
{
|
|
92
|
+
"title": "",
|
|
93
|
+
"widget": {
|
|
94
|
+
"name": "widget-article-text",
|
|
95
|
+
"uniqid": "650c0fa2c1c8d",
|
|
96
|
+
"content": {
|
|
97
|
+
"text": "Hello world",
|
|
98
|
+
"color": "white",
|
|
99
|
+
"fontSize": "12",
|
|
100
|
+
"lineHeight": "12",
|
|
101
|
+
"linkColor": "red"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"title": "",
|
|
112
|
+
"widget": {
|
|
113
|
+
"name": "widget-article-image",
|
|
114
|
+
"uniqid": "650c0fa2c1c92",
|
|
115
|
+
"content": {
|
|
116
|
+
"file": {
|
|
117
|
+
"id": 93,
|
|
118
|
+
"mainType": "file",
|
|
119
|
+
"type": "fileTmp",
|
|
120
|
+
"uri": "fileTmp/93",
|
|
121
|
+
"dateCreation": "2023-09-21 11:40:50",
|
|
122
|
+
"dateModified": "2023-09-21 11:40:50",
|
|
123
|
+
"title": "txtTest.docx",
|
|
124
|
+
"mimetype": "application/octet-stream",
|
|
125
|
+
"_url": "javascript:void(0);"
|
|
126
|
+
},
|
|
127
|
+
"useFilter": true,
|
|
128
|
+
"displayAs": "image",
|
|
129
|
+
"backgroundPosition": "center",
|
|
130
|
+
"backgroundSize": "cover",
|
|
131
|
+
"borderRadius": "10"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"title": "",
|
|
137
|
+
"widget": {
|
|
138
|
+
"name": "widget-article-gallery",
|
|
139
|
+
"uniqid": "650c0fa2c1c93",
|
|
140
|
+
"content": {
|
|
141
|
+
"files": [
|
|
142
|
+
{
|
|
143
|
+
"id": 93,
|
|
144
|
+
"mainType": "file",
|
|
145
|
+
"type": "fileTmp",
|
|
146
|
+
"uri": "fileTmp/93",
|
|
147
|
+
"dateCreation": "2023-09-21 11:40:50",
|
|
148
|
+
"dateModified": "2023-09-21 11:40:50",
|
|
149
|
+
"title": "txtTest.docx",
|
|
150
|
+
"mimetype": "application/octet-stream",
|
|
151
|
+
"_url": "javascript:void(0);"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"gap": "4",
|
|
155
|
+
"column": "3"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
{
|
|
2
|
-
"o": "article",
|
|
3
|
-
"f": "getAttachment",
|
|
4
|
-
"error": 0,
|
|
5
|
-
"messages": [],
|
|
6
|
-
"result": [
|
|
7
|
-
{
|
|
8
|
-
"id":
|
|
9
|
-
"mainType": "fileArticle",
|
|
10
|
-
"type": "fileArticle",
|
|
11
|
-
"uri": "fileArticle/
|
|
12
|
-
"dateCreation": "2023-09-
|
|
13
|
-
"dateModified": "2023-09-
|
|
14
|
-
"title": "imgTest.jpg",
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
{
|
|
2
|
+
"o": "article",
|
|
3
|
+
"f": "getAttachment",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"id": 4,
|
|
9
|
+
"mainType": "fileArticle",
|
|
10
|
+
"type": "fileArticle",
|
|
11
|
+
"uri": "fileArticle/4",
|
|
12
|
+
"dateCreation": "2023-09-21 10:09:45",
|
|
13
|
+
"dateModified": "2023-09-21 10:09:45",
|
|
14
|
+
"title": "imgTest.jpg",
|
|
15
|
+
"mimetype": "image/jpeg",
|
|
16
|
+
"_url": "/article/13"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"mainType": "article",
|
|
14
14
|
"type": "faq",
|
|
15
15
|
"uri": "faq/20",
|
|
16
|
-
"dateCreation": "2023-
|
|
17
|
-
"dateModified": "2023-
|
|
16
|
+
"dateCreation": "2023-09-20 11:03:55",
|
|
17
|
+
"dateModified": "2023-09-20 11:03:55",
|
|
18
18
|
"title": "New title",
|
|
19
19
|
"_url": "/ng/app/faq/c/20",
|
|
20
20
|
"_right": {
|
|
@@ -39,10 +39,9 @@
|
|
|
39
39
|
"_url": "/user/4",
|
|
40
40
|
"level": 9
|
|
41
41
|
},
|
|
42
|
-
"processContext": null,
|
|
43
42
|
"faqColor": "#111111",
|
|
43
|
+
"processContext": null,
|
|
44
44
|
"_audience": [],
|
|
45
|
-
"image": null,
|
|
46
45
|
"tags": [],
|
|
47
46
|
"isWeb": false
|
|
48
47
|
}
|