jamespot-front-business 1.1.29 → 1.1.30

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/types.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
2
  import { EntityState, Action, Dispatch as Dispatch$1, PayloadAction } from '@reduxjs/toolkit';
3
3
  import * as _reduxjs_toolkit_dist_tsHelpers from '@reduxjs/toolkit/dist/tsHelpers';
4
4
  import * as jamespot_user_api from 'jamespot-user-api';
5
- import { ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, JLandMap, AdminLicensesNotAssigned, Model as Model$1, NetworkType, WedocFileType, jUserLittle, PagingResults, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, WidgetsState, CombinedWidgetContent, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
5
+ import { ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, Taxonomy, jObjectLittle, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, JLandMap, AdminLicensesNotAssigned, Model as Model$1, NetworkType, WedocFileType, jUserLittle, PagingResults, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, WidgetsState, CombinedWidgetContent, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
6
6
  import * as redux from 'redux';
7
7
  import { Dispatch } from 'redux';
8
8
  import React from 'react';
@@ -46,7 +46,7 @@ declare const Application: {
46
46
  selectors: _reduxjs_toolkit.EntitySelectors<ApplicationType, ApplicationRootState>;
47
47
  };
48
48
 
49
- declare type RootState = Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & WidgetsRootState & WidgetsRootState & WedocAppRootState & ShareRootState>;
49
+ declare type RootState = Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & WidgetsRootState & WidgetsRootState & WedocAppRootState>;
50
50
  declare type RootDispatch = Dispatch<Action>;
51
51
  declare type ThunkApiConfig<T> = {
52
52
  dispatch: any;
@@ -74,6 +74,409 @@ declare type MapCreationFront = {
74
74
  assignLicense: boolean;
75
75
  };
76
76
 
77
+ declare const AUDIENCE: {
78
+ readonly ALL: "1";
79
+ readonly CUSTOM: "0";
80
+ };
81
+ declare type StudioAudienceType = typeof AUDIENCE.ALL | typeof AUDIENCE.CUSTOM;
82
+ declare enum StatusType {
83
+ draft = "draft",
84
+ installed = "installed",
85
+ suspended = "suspended"
86
+ }
87
+ declare const APP_STATUS_TYPE: {
88
+ DRAFT: StatusType;
89
+ INSTALLED: StatusType;
90
+ SUSPENDED: StatusType;
91
+ };
92
+ declare type AppStatusKeys = keyof typeof APP_STATUS_TYPE;
93
+ declare type AppStatusType = StatusType.draft | StatusType.installed | StatusType.suspended;
94
+ interface StudioApplication {
95
+ idApp: string;
96
+ status: AppStatusType;
97
+ author?: string;
98
+ manifest: StudioAppManifest;
99
+ inWorkVersion?: StudioApplication;
100
+ }
101
+ interface AppManifest {
102
+ appShortName: string;
103
+ appName: string;
104
+ description: string;
105
+ author?: string;
106
+ typeLabel: string;
107
+ cssColor: string;
108
+ cssClass: {
109
+ label: string;
110
+ value: string;
111
+ };
112
+ version: number;
113
+ dateCreation: Date;
114
+ viewSolr: string;
115
+ checkAccess: boolean;
116
+ accessRightList?: string;
117
+ attrExposed: Array<string>;
118
+ }
119
+ interface StudioAppManifest {
120
+ appShortName: string;
121
+ appName: string;
122
+ description: string;
123
+ author?: string;
124
+ typeLabel: string;
125
+ cssColor: string;
126
+ cssClass: {
127
+ label: string;
128
+ value: string;
129
+ };
130
+ version: number;
131
+ dateCreation: string;
132
+ viewSolr: string;
133
+ checkAccess: boolean;
134
+ accessRightList?: string;
135
+ attrExposed: Array<string>;
136
+ }
137
+ interface AppForm {
138
+ formItems: AppFormItem[];
139
+ }
140
+ interface AppFormItem {
141
+ id: string;
142
+ type: AppFormItemType;
143
+ name: string;
144
+ labels?: AppLabelsType;
145
+ mandatory?: boolean;
146
+ fixed: boolean;
147
+ views: AppViewsType;
148
+ table?: string;
149
+ properties?: AppFormProperties;
150
+ }
151
+ declare type AppFormProperties = AbstractAppFormProperties;
152
+ interface AppLabelsType {
153
+ label?: AppLabelContentType;
154
+ description?: AppLabelContentType;
155
+ }
156
+ interface AppLabelContentType {
157
+ content: string;
158
+ mode: labelMode;
159
+ display?: string;
160
+ }
161
+ declare type labelMode = 'SERVER' | 'GLOBAL' | 'RESOURCES' | 'APP';
162
+ interface AppViewsType {
163
+ create: boolean;
164
+ popup: boolean;
165
+ edit: boolean;
166
+ list: boolean;
167
+ filter: boolean;
168
+ view: boolean;
169
+ }
170
+ interface AppFormDescriptionProperties {
171
+ labels: AppLabelsType;
172
+ mandatory: boolean;
173
+ }
174
+ interface AppFormTextProperties {
175
+ labels: AppLabelsType;
176
+ mandatory: boolean;
177
+ }
178
+ interface AppFormAddFileAttachmentProperties {
179
+ labels: AppLabelsType | undefined;
180
+ mandatory: boolean;
181
+ }
182
+ interface AppFormTextAreaProperties {
183
+ labels: AppLabelsType;
184
+ mandatory: boolean;
185
+ }
186
+ interface AppFormTextAreaHTMLProperties {
187
+ labels: AppLabelsType;
188
+ mandatory: boolean;
189
+ }
190
+ interface AppFormDateProperties {
191
+ labels: AppLabelsType;
192
+ mandatory: boolean;
193
+ }
194
+ interface AppFormDateTimeProperties {
195
+ labels: AppLabelsType;
196
+ mandatory: boolean;
197
+ }
198
+ interface AppFormURLProperties {
199
+ labels: AppLabelsType;
200
+ mandatory: boolean;
201
+ }
202
+ interface AppFormEmailProperties {
203
+ labels: AppLabelsType;
204
+ mandatory: boolean;
205
+ }
206
+ interface AppFormNumberProperties {
207
+ labels: AppLabelsType;
208
+ mandatory: boolean;
209
+ digits: boolean;
210
+ }
211
+ interface AppFormRangeProperties {
212
+ labels: AppLabelsType;
213
+ mandatory: boolean;
214
+ minMaxType: 'number';
215
+ min: string;
216
+ max: string;
217
+ }
218
+ interface AppFormCodeHTMLProperties {
219
+ code: HtmlValue;
220
+ }
221
+ declare type AppFormOptionsProperties = Array<AppFormOption>;
222
+ interface AppFormOption {
223
+ label: string;
224
+ mode?: labelMode;
225
+ value: string | number;
226
+ }
227
+ interface AppFormRadioProperties {
228
+ labels: AppLabelsType;
229
+ mandatory: boolean;
230
+ options: AppFormOptionsProperties;
231
+ }
232
+ interface AppFormSelectProperties {
233
+ labels: AppLabelsType;
234
+ mandatory: boolean;
235
+ multiple: boolean;
236
+ explain: boolean;
237
+ options: AppFormOptionsProperties;
238
+ hasDefaultValue: boolean;
239
+ defaultValue?: AppFormOption;
240
+ }
241
+ interface AppFormToggleProperties {
242
+ labels: AppLabelsType;
243
+ mandatory: boolean;
244
+ }
245
+ interface AppFormCheckboxProperties {
246
+ labels: AppLabelsType;
247
+ mandatory: boolean;
248
+ options: AppFormOptionsProperties;
249
+ }
250
+ interface AppFormTagsProperties {
251
+ labels: AppLabelsType;
252
+ mandatory: boolean;
253
+ taxonomy: Partial<Taxonomy> | false;
254
+ }
255
+ interface AppFormIdUserProperties {
256
+ labels: AppLabelsType;
257
+ mandatory: boolean;
258
+ }
259
+ interface AppFormUserLinkProperties {
260
+ labels: AppLabelsType;
261
+ mandatory: boolean;
262
+ }
263
+ interface AppFormContentLinkProperties {
264
+ labels: AppLabelsType;
265
+ mandatory: boolean;
266
+ contentType: {
267
+ label: string;
268
+ value: string;
269
+ };
270
+ }
271
+ interface AppFormAudienceProperties {
272
+ labels: AppLabelsType;
273
+ mandatory: boolean;
274
+ }
275
+ interface AbstractAppFormProperties {
276
+ labels?: AppLabelsType;
277
+ mandatory?: boolean;
278
+ explain?: boolean;
279
+ minMaxType?: 'number' | 'Date' | 'DateTime';
280
+ min?: string;
281
+ max?: string;
282
+ multiple?: boolean;
283
+ options?: AppFormOptionsProperties;
284
+ code?: HtmlValue;
285
+ hasDefaultValue?: boolean;
286
+ defaultValue?: AppFormFieldValueType;
287
+ taxonomy?: Partial<Taxonomy> | false;
288
+ digits?: boolean;
289
+ contentType?: {
290
+ label: string;
291
+ value: string;
292
+ };
293
+ }
294
+ interface HtmlValue {
295
+ html: string;
296
+ text: string;
297
+ }
298
+ interface AppFormItemsView {
299
+ view: ViewName;
300
+ orderChanged: boolean;
301
+ formItemRefs: AppFormItemRefInView[];
302
+ }
303
+ declare type ViewName = 'create' | 'popup' | 'edit' | 'list' | 'filter' | 'view';
304
+ interface AppFormItemRefInView {
305
+ ref: string | AppFormItemType;
306
+ fixedPos?: boolean;
307
+ fixedValue?: AppFormFieldValueType;
308
+ }
309
+ declare type AppFormFieldValueType = string | boolean | string[] | HtmlValue | AppFormOption | AppFormOption[] | AppInstallForType[] | jObjectLittle[];
310
+ declare type AppInstallForType = Partial<{
311
+ id: string;
312
+ uri: string;
313
+ shortUri: string;
314
+ title: string;
315
+ name: string;
316
+ mainType: string;
317
+ type: string;
318
+ label: string;
319
+ cssClass: string;
320
+ cssColor: string;
321
+ class: string;
322
+ Pseudo: string;
323
+ }>;
324
+ declare enum AppFormItemType {
325
+ TITLE = "TITLE",
326
+ IMAGE = "IMAGE",
327
+ DESCRIPTION = "DESCRIPTION",
328
+ IDUSER = "IDUSER",
329
+ PUBLISHTO = "PUBLISHTO",
330
+ SENDALERTTOSUBSCRIBERS = "SENDALERTTOSUBSCRIBERS",
331
+ RECEIVEACOPY = "RECEIVEACOPY",
332
+ TEXT = "TEXT",
333
+ TEXTAREA = "TEXTAREA",
334
+ TEXTAREAHTML = "TEXTAREAHTML",
335
+ DATE = "DATE",
336
+ DATETIME = "DATETIME",
337
+ RANGE = "RANGE",
338
+ NUMBER = "NUMBER",
339
+ URL = "URL",
340
+ EMAIL = "EMAIL",
341
+ SELECT = "SELECT",
342
+ CHECKBOX = "CHECKBOX",
343
+ TOGGLE = "TOGGLE",
344
+ RADIO = "RADIO",
345
+ TAGS = "TAGS",
346
+ ADDFILEATTACHMENT = "ADDFILEATTACHMENT",
347
+ AUDIENCE = "AUDIENCE",
348
+ CODEHTML = "CODEHTML",
349
+ DATECREATION = "DATECREATION",
350
+ USERLINK = "USERLINK",
351
+ CONTENTLINK = "CONTENTLINK"
352
+ }
353
+ declare const AppFormPrimaryList: AppFormItemType[];
354
+ declare const AppFormNotFields: AppFormItemType[];
355
+ declare const AppFormFixedHeadList: {
356
+ create: AppFormItemType[];
357
+ popup: AppFormItemType[];
358
+ edit: AppFormItemType[];
359
+ list: AppFormItemType[];
360
+ filter: AppFormItemType[];
361
+ view: AppFormItemType[];
362
+ };
363
+ declare const AppFormFixedFootList4View: {
364
+ create: AppFormItemType[];
365
+ popup: AppFormItemType[];
366
+ edit: AppFormItemType[];
367
+ list: AppFormItemType[];
368
+ filter: AppFormItemType[];
369
+ view: never[];
370
+ };
371
+ declare const AppFormFixedList: AppFormItemType[];
372
+ declare const AppFormUniqueList: AppFormItemType[];
373
+ declare const AppFormBannedFromViews: Map<AppFormItemType, ViewName[]>;
374
+ declare const AppFormNoFixedValueList: {
375
+ create: AppFormItemType[];
376
+ popup: AppFormItemType[];
377
+ edit: AppFormItemType[];
378
+ list: AppFormItemType[];
379
+ filter: AppFormItemType[];
380
+ view: AppFormItemType[];
381
+ };
382
+ declare const AppFormNoAsFieldList: AppFormItemType[];
383
+ declare const AppFormFieldOnlyInView: AppFormItemType[];
384
+ declare const AppFormNonPrimaryList: AppFormItemType[];
385
+ interface AppTypeServerModel {
386
+ typeName: string;
387
+ typeLabel: string;
388
+ author: string;
389
+ typeLabelPlural: string;
390
+ typeLabelLinkSingular: string;
391
+ typeLabelLinkPlural: string;
392
+ buttonLabel: string;
393
+ buttonLinkLabel: string;
394
+ buttonLinkUrl: string;
395
+ cssClass: string;
396
+ cssColor: string;
397
+ searchTab: string;
398
+ searchTabLabel: string;
399
+ jadAction: string;
400
+ supportedTypes: string;
401
+ mainType: string;
402
+ classImpl: string;
403
+ classCodeLocation: string;
404
+ capture: string;
405
+ tables: Array<AppTableModel>;
406
+ displays?: AppServerDisplaysModel;
407
+ }
408
+ interface AppTableModel {
409
+ tableType: string;
410
+ typeSqlName: string;
411
+ sqlNameColumn: string;
412
+ sqlValueColumn: string;
413
+ joinFieldName: string;
414
+ tablename: string;
415
+ idSqlName: string;
416
+ idFieldName: string;
417
+ attributes: Array<AppTableAttributesModel>;
418
+ }
419
+ interface AppTableAttributesModel {
420
+ attrType: string;
421
+ formatSolr: string;
422
+ label: string;
423
+ description: string;
424
+ mandatory: boolean;
425
+ taxonomy: Taxonomy;
426
+ display: boolean;
427
+ teaser: boolean;
428
+ col: string;
429
+ supportedTypes: string;
430
+ column: string;
431
+ name: string;
432
+ widget: AppAttrWidgetModel;
433
+ solr: AppAttrSolrModel;
434
+ }
435
+ interface AppAttrWidgetModel {
436
+ type: string;
437
+ typeFile: string;
438
+ format: string;
439
+ multiple: string;
440
+ digits: string;
441
+ params: any;
442
+ options: Array<string>;
443
+ }
444
+ interface AppAttrSolrModel {
445
+ type: string;
446
+ indexed: boolean;
447
+ stored: boolean;
448
+ required: boolean;
449
+ multiValued: boolean;
450
+ searchable: boolean;
451
+ used: boolean;
452
+ name: string;
453
+ }
454
+ interface AppServerDisplaysModel {
455
+ create?: AppServerDisplayModel;
456
+ 'create-popup': AppServerDisplayModel;
457
+ edit?: AppServerDisplayModel;
458
+ list?: AppServerDisplayModel;
459
+ display?: AppServerDisplayModel;
460
+ }
461
+ interface AppServerDisplayModel {
462
+ type: string;
463
+ view: string;
464
+ mode: string;
465
+ format: string;
466
+ composants: Array<AppServerViewModel>;
467
+ }
468
+ interface AppServerViewModel {
469
+ element: 'attr' | 'html';
470
+ composants: [];
471
+ name?: string;
472
+ format?: string;
473
+ html?: string;
474
+ }
475
+ declare const STUDIO_VIEW: {
476
+ SOLR: string;
477
+ NOT_SOLR: string;
478
+ };
479
+
77
480
  declare type Loading = {
78
481
  loading: 'idle' | 'pending';
79
482
  };
@@ -115,7 +518,7 @@ declare const AssetReservation: {
115
518
  actions: {
116
519
  fetchBookableAsset: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiPagingResults<jamespot_user_api.BookableAssetList, jamespot_user_api.BaseMessages>, void, {
117
520
  dispatch: any;
118
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & BookableAssetRootState;
521
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & BookableAssetRootState;
119
522
  extra: {
120
523
  jApi: jamespot_user_api.JamespotUserApi;
121
524
  };
@@ -127,7 +530,7 @@ declare const AssetReservation: {
127
530
  }>;
128
531
  fetchConfiguration: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<jamespot_user_api.AssetReservationConfiguration, jamespot_user_api.BaseMessages>, void, {
129
532
  dispatch: any;
130
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & jamespot_user_api.AssetReservationConfiguration & Loading;
533
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & jamespot_user_api.AssetReservationConfiguration & Loading;
131
534
  extra: {
132
535
  jApi: jamespot_user_api.JamespotUserApi;
133
536
  };
@@ -139,7 +542,7 @@ declare const AssetReservation: {
139
542
  }>;
140
543
  fetchReservation: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiPagingResults<jamespot_user_api.ReservationList, jamespot_user_api.BaseMessages>, "history" | undefined, {
141
544
  dispatch: any;
142
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & ReservationRootState;
545
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & ReservationRootState;
143
546
  extra: {
144
547
  jApi: jamespot_user_api.JamespotUserApi;
145
548
  };
@@ -277,7 +680,7 @@ declare const Bookmark: {
277
680
  resetStatus: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/resetStatus">;
278
681
  fetchBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiPagingResults<jamespot_user_api.BookmarkRawList<jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle>, jamespot_user_api.BaseMessages>, void, {
279
682
  dispatch: any;
280
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & BookmarkRootState;
683
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & BookmarkRootState;
281
684
  extra: {
282
685
  jApi: jamespot_user_api.JamespotUserApi;
283
686
  };
@@ -294,7 +697,7 @@ declare const Bookmark: {
294
697
  requestId?: string | undefined;
295
698
  }, {
296
699
  dispatch: any;
297
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & BookmarkRootState;
700
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & BookmarkRootState;
298
701
  extra: {
299
702
  jApi: jamespot_user_api.JamespotUserApi;
300
703
  };
@@ -313,7 +716,7 @@ declare const Bookmark: {
313
716
  position: "after" | "before";
314
717
  }, {
315
718
  dispatch: any;
316
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & BookmarkRootState;
719
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & BookmarkRootState;
317
720
  extra: {
318
721
  jApi: jamespot_user_api.JamespotUserApi;
319
722
  };
@@ -330,7 +733,7 @@ declare const Bookmark: {
330
733
  requestId?: string | undefined;
331
734
  }, {
332
735
  dispatch: any;
333
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & BookmarkRootState;
736
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & BookmarkRootState;
334
737
  extra: {
335
738
  jApi: jamespot_user_api.JamespotUserApi;
336
739
  };
@@ -345,7 +748,7 @@ declare const Bookmark: {
345
748
  }>;
346
749
  editBookmark: _reduxjs_toolkit.AsyncThunk<void, Partial<jamespot_user_api.BookmarkRawList<jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle>>, {
347
750
  dispatch: any;
348
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & BookmarkRootState;
751
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & BookmarkRootState;
349
752
  extra: {
350
753
  jApi: jamespot_user_api.JamespotUserApi;
351
754
  };
@@ -408,7 +811,7 @@ declare const Faq: {
408
811
  };
409
812
  actions: {
410
813
  fetchFaqConfig: _reduxjs_toolkit.AsyncThunk<{
411
- _web: "" | "0" | "1" | undefined;
814
+ _web: "" | "1" | "0" | undefined;
412
815
  appImage: string | {
413
816
  image: {
414
817
  id: string;
@@ -506,7 +909,7 @@ declare const jland: {
506
909
  retrieveAllMaps: boolean;
507
910
  }, {
508
911
  dispatch: any;
509
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & JLandRootState;
912
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & JLandRootState;
510
913
  extra: {
511
914
  jApi: jamespot_user_api.JamespotUserApi;
512
915
  };
@@ -521,7 +924,7 @@ declare const jland: {
521
924
  retrieveAllMaps: boolean;
522
925
  }, {
523
926
  dispatch: any;
524
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & JLandRootState;
927
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & JLandRootState;
525
928
  extra: {
526
929
  jApi: jamespot_user_api.JamespotUserApi;
527
930
  };
@@ -536,7 +939,7 @@ declare const jland: {
536
939
  retrieveAllMaps: boolean;
537
940
  }, {
538
941
  dispatch: any;
539
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & JLandRootState;
942
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & JLandRootState;
540
943
  extra: {
541
944
  jApi: jamespot_user_api.JamespotUserApi;
542
945
  };
@@ -551,7 +954,7 @@ declare const jland: {
551
954
  retrieveAllMaps: boolean;
552
955
  }, {
553
956
  dispatch: any;
554
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & JLandRootState;
957
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & JLandRootState;
555
958
  extra: {
556
959
  jApi: jamespot_user_api.JamespotUserApi;
557
960
  };
@@ -563,7 +966,7 @@ declare const jland: {
563
966
  }>;
564
967
  fetchJLandAvailableLicenses: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.AdminLicensesNotAssigned, void, {
565
968
  dispatch: any;
566
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & JLandRootState;
969
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & JLandRootState;
567
970
  extra: {
568
971
  jApi: jamespot_user_api.JamespotUserApi;
569
972
  };
@@ -578,7 +981,7 @@ declare const jland: {
578
981
  map: MapCreationFront;
579
982
  }, {
580
983
  dispatch: any;
581
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & JLandRootState;
984
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & JLandRootState;
582
985
  extra: {
583
986
  jApi: jamespot_user_api.JamespotUserApi;
584
987
  };
@@ -736,7 +1139,7 @@ declare const WedocApp: {
736
1139
  sort: "DESC" | "ASC";
737
1140
  }, {
738
1141
  dispatch: any;
739
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & WedocAppRootState;
1142
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & WedocAppRootState;
740
1143
  extra: {
741
1144
  jApi: jamespot_user_api.JamespotUserApi;
742
1145
  };
@@ -748,7 +1151,7 @@ declare const WedocApp: {
748
1151
  }>;
749
1152
  fetchRecentFiles: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<jamespot_user_api.PagingResults<jamespot_user_api.WedocFileType>, jamespot_user_api.BaseMessages>, void, {
750
1153
  dispatch: any;
751
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & WedocAppRootState;
1154
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & WedocAppRootState;
752
1155
  extra: {
753
1156
  jApi: jamespot_user_api.JamespotUserApi;
754
1157
  };
@@ -789,7 +1192,7 @@ declare const Share: {
789
1192
  idUser?: number;
790
1193
  }, {
791
1194
  dispatch: any;
792
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & ShareRootState;
1195
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & ShareRootState;
793
1196
  extra: {
794
1197
  jApi: jamespot_user_api.JamespotUserApi;
795
1198
  };
@@ -829,7 +1232,7 @@ declare const TVDisplay: {
829
1232
  actions: {
830
1233
  fetchChannels: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.PagingResults<jamespot_user_api.TVChannelList>, number | void, {
831
1234
  dispatch: any;
832
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & TVDisplayRootState;
1235
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & TVDisplayRootState;
833
1236
  extra: {
834
1237
  jApi: jamespot_user_api.JamespotUserApi;
835
1238
  };
@@ -843,7 +1246,7 @@ declare const TVDisplay: {
843
1246
  channel: Pick<jamespot_user_api.TVChannelList, "id">;
844
1247
  }, {
845
1248
  dispatch: any;
846
- state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & ShareRootState> & TVDisplayRootState;
1249
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & TVDisplayRootState;
847
1250
  extra: {
848
1251
  jApi: jamespot_user_api.JamespotUserApi;
849
1252
  };
@@ -1074,4 +1477,41 @@ declare const WidgetEditor: {
1074
1477
  };
1075
1478
  };
1076
1479
 
1077
- export { Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, EditorProps, EditorsRootState, EditorsState, Faq, FaqRootState, JLandMapFront, JLandRootState, MODE_EDIT, MODE_VIEW, MapCreationFront, Model, ModelRootState, Network, NetworkRootState, ReservationForm, RootDispatch, RootState, Share, ShareRootState, TVDisplay, TVDisplayRootState, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, jland, slice };
1480
+ declare type StudioAppsListState = {
1481
+ studioAppsList: StudioApplication[];
1482
+ loadingStudioAppsList: 'idle' | 'pending';
1483
+ };
1484
+ declare type StudioAppsListRootState = {
1485
+ studioAppsList: StudioAppsListState;
1486
+ };
1487
+
1488
+ declare type StudioRootState = {
1489
+ studio: StudioAppsListRootState;
1490
+ };
1491
+ declare const studio: {
1492
+ slice: {
1493
+ name: "studio";
1494
+ reducer: redux.Reducer<redux.CombinedState<{
1495
+ studioAppsList: StudioAppsListState;
1496
+ }>, redux.AnyAction>;
1497
+ };
1498
+ actions: {
1499
+ fetchStudioAppsList: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.StudioApplicationBase[], undefined, {
1500
+ dispatch: any;
1501
+ state: Partial<ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState> & StudioRootState;
1502
+ extra: {
1503
+ jApi: jamespot_user_api.JamespotUserApi;
1504
+ };
1505
+ rejectValue?: unknown;
1506
+ serializedErrorType?: unknown;
1507
+ pendingMeta?: unknown;
1508
+ fulfilledMeta?: unknown;
1509
+ rejectedMeta?: unknown;
1510
+ }>;
1511
+ };
1512
+ selectors: {
1513
+ selectStudioAppsList: (state: StudioRootState) => StudioAppsListState;
1514
+ };
1515
+ };
1516
+
1517
+ export { APP_STATUS_TYPE, AUDIENCE, AbstractAppFormProperties, AppAttrSolrModel, AppAttrWidgetModel, AppForm, AppFormAddFileAttachmentProperties, AppFormAudienceProperties, AppFormBannedFromViews, AppFormCheckboxProperties, AppFormCodeHTMLProperties, AppFormContentLinkProperties, AppFormDateProperties, AppFormDateTimeProperties, AppFormDescriptionProperties, AppFormEmailProperties, AppFormFieldOnlyInView, AppFormFieldValueType, AppFormFixedFootList4View, AppFormFixedHeadList, AppFormFixedList, AppFormIdUserProperties, AppFormItem, AppFormItemRefInView, AppFormItemType, AppFormItemsView, AppFormNoAsFieldList, AppFormNoFixedValueList, AppFormNonPrimaryList, AppFormNotFields, AppFormNumberProperties, AppFormOption, AppFormOptionsProperties, AppFormPrimaryList, AppFormProperties, AppFormRadioProperties, AppFormRangeProperties, AppFormSelectProperties, AppFormTagsProperties, AppFormTextAreaHTMLProperties, AppFormTextAreaProperties, AppFormTextProperties, AppFormToggleProperties, AppFormURLProperties, AppFormUniqueList, AppFormUserLinkProperties, AppInstallForType, AppLabelContentType, AppLabelsType, AppManifest, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewsType, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, EditorProps, EditorsRootState, EditorsState, Faq, FaqRootState, HtmlValue, JLandMapFront, JLandRootState, MODE_EDIT, MODE_VIEW, MapCreationFront, Model, ModelRootState, Network, NetworkRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, jland, slice, studio };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@reduxjs/toolkit": "1.9.0",
40
- "jamespot-user-api": "^1.0.132",
40
+ "jamespot-user-api": "^1.0.137",
41
41
  "react-redux": "7.2.9",
42
42
  "redux": "4.2.0"
43
43
  },