jamespot-front-business 1.1.88 → 1.1.89

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
@@ -1,7 +1,7 @@
1
1
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
2
  import { EntityState, PayloadAction, Dispatch, Action as Action$1 } from '@reduxjs/toolkit';
3
3
  import * as jamespot_user_api from 'jamespot-user-api';
4
- import { jUserLittle, Filters, Orders, AdminLogNavigation, AdminLogObject, AdminLogSearch, AnimationConfigurationType, AnimationStats, ApplicationType, ApiWrapper, BookableAssetList, AssetReservationConfiguration, ReservationList, WithExtension, jCommentList, PagingResults, ContentReportStatus, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, AudienceAutocomplete, JLandMap, AdminLicensesNotAssigned, jArticleView, MediaLibraryList, MediaLibraryStats, MediaLibraryFolderStats, MediaLibraryFilesStats, ApiPagingResults, Model as Model$1, NetworkType, WedocFileType, TVChannelList, TinyMCECommonOptions, TinyMCEExtendedOptions, jUserList, WidgetKeys, WidgetDefinitionProps, WidgetWrapperProps, WidgetsRootState, WidgetDisplayMode, CombinedWidgetContent, SocialAction, ValueOf, StudioApplicationBase, jTaxonomyLittle, JamespotUserApi } from 'jamespot-user-api';
4
+ import { jUserLittle, Filters, Orders, AdminLogNavigation, AdminLogObject, AdminLogSearch, AnimationConfigurationType, AnimationStats, ApplicationType, ApiWrapper, BookableAssetList, AssetReservationConfiguration, ReservationList, CommentWithExtensions, jCommentList, PagingResults, ContentReportStatus, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, AudienceAutocomplete, JLandMap, AdminLicensesNotAssigned, jArticleView, MediaLibraryList, MediaLibraryStats, MediaLibraryFolderStats, MediaLibraryFilesStats, ApiPagingResults, Model as Model$1, NetworkType, WedocFileType, TVChannelList, TinyMCECommonOptions, TinyMCEExtendedOptions, jUserList, WidgetKeys, WidgetDefinitionProps, WidgetWrapperProps, WidgetsRootState, WidgetDisplayMode, CombinedWidgetContent, SocialAction, ValueOf, StudioApplicationBase, jTaxonomyLittle, JamespotUserApi } from 'jamespot-user-api';
5
5
  import * as redux from 'redux';
6
6
  import { Dispatch as Dispatch$1 } from 'redux';
7
7
  import * as _reduxjs_toolkit_dist_tsHelpers from '@reduxjs/toolkit/dist/tsHelpers';
@@ -4256,7 +4256,7 @@ type CommentRootState = {
4256
4256
  };
4257
4257
  type CommentsList = {
4258
4258
  idArticle: number;
4259
- list: Array<WithExtension<jCommentList> & {
4259
+ list: Array<CommentWithExtensions<jCommentList, ['actions']> & {
4260
4260
  pending?: boolean;
4261
4261
  }>;
4262
4262
  };
@@ -4280,7 +4280,7 @@ declare const Comment: {
4280
4280
  }, "commentList/discardComments">;
4281
4281
  hydrateComment: _reduxjs_toolkit.ActionCreatorWithPayload<{
4282
4282
  idArticle: number;
4283
- list: ({
4283
+ list: jamespot_user_api.CommentWithExtensions<{
4284
4284
  type: string;
4285
4285
  id: number;
4286
4286
  mainType: string;
@@ -4318,9 +4318,9 @@ declare const Comment: {
4318
4318
  stats: {
4319
4319
  total: number;
4320
4320
  };
4321
+ isActive: boolean;
4321
4322
  cssClass: string;
4322
4323
  cssColor: string;
4323
- isActive: boolean;
4324
4324
  struct: {
4325
4325
  type: string;
4326
4326
  targetId: number;
@@ -4400,165 +4400,7 @@ declare const Comment: {
4400
4400
  emailsLimitValue?: number | undefined;
4401
4401
  emailsPromptStatus?: string | undefined;
4402
4402
  }>)>[] | undefined;
4403
- } & {
4404
- _extend: {
4405
- comments?: ({
4406
- type: string;
4407
- id: number;
4408
- mainType: string;
4409
- uri: string;
4410
- dateCreation: string;
4411
- dateModified: string | null;
4412
- description: string | null;
4413
- _user: jamespot_user_api.jObjectBase & {
4414
- title: string;
4415
- _url: string;
4416
- } & {
4417
- [key: string]: string | number | null;
4418
- level: 0 | 9 | 3 | 5;
4419
- dateCreation: string;
4420
- dateModified: string;
4421
- };
4422
- _right: jamespot_user_api.Rights;
4423
- _attachedFiles?: {
4424
- type: string;
4425
- id: number;
4426
- mainType: string;
4427
- uri: string;
4428
- dateCreation: string;
4429
- dateModified: string | null;
4430
- title: string;
4431
- _url: string;
4432
- mimetype: string;
4433
- size: number;
4434
- path?: string | undefined;
4435
- }[] | undefined;
4436
- _actions?: Record<string, {
4437
- type: string;
4438
- class: string;
4439
- label: string;
4440
- stats: {
4441
- total: number;
4442
- };
4443
- cssClass: string;
4444
- cssColor: string;
4445
- isActive: boolean;
4446
- struct: {
4447
- type: string;
4448
- targetId: number;
4449
- targetType: string;
4450
- action: string;
4451
- do: string;
4452
- };
4453
- }> | undefined;
4454
- _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
4455
- layers?: string[] | undefined;
4456
- } & jamespot_user_api.WidgetArticleAttachmentType) | ({
4457
- layers?: string[] | undefined;
4458
- } & jamespot_user_api.WidgetArticleButtonType) | ({
4459
- layers?: string[] | undefined;
4460
- } & jamespot_user_api.WidgetArticleGalleryType) | ({
4461
- layers?: string[] | undefined;
4462
- } & jamespot_user_api.WidgetArticleImageType) | ({
4463
- layers?: string[] | undefined;
4464
- } & jamespot_user_api.WidgetArticleTitleType) | ({
4465
- layers?: string[] | undefined;
4466
- } & jamespot_user_api.WidgetArticleTextType) | ({
4467
- layers?: string[] | undefined;
4468
- } & jamespot_user_api.WidgetArticleSliderType) | ({
4469
- layers?: string[] | undefined;
4470
- } & jamespot_user_api.WidgetType<{
4471
- widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
4472
- arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
4473
- css?: Record<string, string> | undefined;
4474
- edit?: boolean | undefined;
4475
- }>) | ({
4476
- layers?: string[] | undefined;
4477
- } & jamespot_user_api.WidgetDatasourceTableType) | ({
4478
- layers?: string[] | undefined;
4479
- } & {
4480
- name: jamespot_user_api.WidgetsName.ExcelDatasourceTable;
4481
- uniqid: string;
4482
- content: {
4483
- uri?: string | undefined;
4484
- limit?: number | boolean | undefined;
4485
- tableColumnsData?: {
4486
- name?: string | undefined;
4487
- label?: string | undefined;
4488
- isVisible?: boolean | undefined;
4489
- textEllipsis?: boolean | undefined;
4490
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
4491
- numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
4492
- }[] | undefined;
4493
- tableHeadColor?: string | undefined;
4494
- tableHeadTextColor?: string | undefined;
4495
- tableHeadIconColor?: string | undefined;
4496
- tableRowColor?: string | undefined;
4497
- tableRowTextColor?: string | undefined;
4498
- tableBorderRadius?: number | undefined;
4499
- tableSizedColumns?: boolean | undefined;
4500
- tableSizedColumnsWidth?: number | undefined;
4501
- };
4502
- }) | ({
4503
- layers?: string[] | undefined;
4504
- } & jamespot_user_api.WidgetPresenceType) | ({
4505
- layers?: string[] | undefined;
4506
- } & jamespot_user_api.WidgetQuickSurveyType) | ({
4507
- layers?: string[] | undefined;
4508
- } & jamespot_user_api.WidgetType<{
4509
- calEventsLimit?: boolean | undefined;
4510
- calEventsLimitValue?: number | undefined;
4511
- calEventsPromptStatus?: string | undefined;
4512
- }>) | ({
4513
- layers?: string[] | undefined;
4514
- } & jamespot_user_api.WidgetType<{
4515
- contactLimit?: boolean | undefined;
4516
- contactLimitValue?: number | undefined;
4517
- contactPromptStatus?: string | undefined;
4518
- }>) | ({
4519
- layers?: string[] | undefined;
4520
- } & jamespot_user_api.WidgetType<{
4521
- emailsLimit?: boolean | undefined;
4522
- emailsLimitValue?: number | undefined;
4523
- emailsPromptStatus?: string | undefined;
4524
- }>)>[] | undefined;
4525
- } & {
4526
- _extend: {
4527
- actions?: {
4528
- type: string;
4529
- targetId: number;
4530
- targetType: string;
4531
- label: string;
4532
- icon: string | null;
4533
- isActive?: boolean | undefined;
4534
- count?: number | undefined;
4535
- }[] | undefined;
4536
- };
4537
- })[] | undefined;
4538
- attachments?: {
4539
- type: string;
4540
- id: number;
4541
- mainType: string;
4542
- uri: string;
4543
- dateCreation: string;
4544
- dateModified: string | null;
4545
- title: string;
4546
- _url: string;
4547
- mimetype: string;
4548
- size: number;
4549
- path?: string | undefined;
4550
- }[] | undefined;
4551
- actions?: {
4552
- type: string;
4553
- targetId: number;
4554
- targetType: string;
4555
- label: string;
4556
- icon: string | null;
4557
- isActive?: boolean | undefined;
4558
- count?: number | undefined;
4559
- }[] | undefined;
4560
- };
4561
- })[];
4403
+ }, ["actions"]>[];
4562
4404
  }, "commentList/hydrateComment">;
4563
4405
  updateComment: _reduxjs_toolkit.ActionCreatorWithPayload<{
4564
4406
  idArticle: number;
@@ -5065,9 +4907,9 @@ declare const Comment: {
5065
4907
  stats: {
5066
4908
  total: number;
5067
4909
  };
4910
+ isActive: boolean;
5068
4911
  cssClass: string;
5069
4912
  cssColor: string;
5070
- isActive: boolean;
5071
4913
  struct: {
5072
4914
  type: string;
5073
4915
  targetId: number;
@@ -5148,7 +4990,24 @@ declare const Comment: {
5148
4990
  emailsPromptStatus?: string | undefined;
5149
4991
  }>)>[] | undefined;
5150
4992
  } & {
5151
- _extend: {
4993
+ _extend: Pick<{
4994
+ licenses: never;
4995
+ search: never;
4996
+ bookmark: never;
4997
+ contact: never;
4998
+ quizFieldDefinitions: never;
4999
+ quizResponseRecord: never;
5000
+ socialEventRecord: never;
5001
+ surveyDateRecord: never;
5002
+ actions?: {
5003
+ type: string;
5004
+ targetId: number;
5005
+ targetType: string;
5006
+ label: string;
5007
+ icon: string | null;
5008
+ isActive?: boolean | undefined;
5009
+ count?: number | undefined;
5010
+ }[] | undefined;
5152
5011
  comments?: ({
5153
5012
  type: string;
5154
5013
  id: number;
@@ -5187,9 +5046,9 @@ declare const Comment: {
5187
5046
  stats: {
5188
5047
  total: number;
5189
5048
  };
5049
+ isActive: boolean;
5190
5050
  cssClass: string;
5191
5051
  cssColor: string;
5192
- isActive: boolean;
5193
5052
  struct: {
5194
5053
  type: string;
5195
5054
  targetId: number;
@@ -5295,16 +5154,7 @@ declare const Comment: {
5295
5154
  size: number;
5296
5155
  path?: string | undefined;
5297
5156
  }[] | undefined;
5298
- actions?: {
5299
- type: string;
5300
- targetId: number;
5301
- targetType: string;
5302
- label: string;
5303
- icon: string | null;
5304
- isActive?: boolean | undefined;
5305
- count?: number | undefined;
5306
- }[] | undefined;
5307
- };
5157
+ }, "actions">;
5308
5158
  } & {
5309
5159
  pending?: boolean;
5310
5160
  })[];
@@ -9985,6 +9835,19 @@ declare const fetchPads: _reduxjs_toolkit.AsyncThunk<PagingResults<{
9985
9835
  dateModified: string;
9986
9836
  };
9987
9837
  _right: jamespot_user_api.Rights;
9838
+ _attachedFiles: {
9839
+ type: string;
9840
+ id: number;
9841
+ mainType: string;
9842
+ uri: string;
9843
+ dateCreation: string;
9844
+ dateModified: string | null;
9845
+ title: string;
9846
+ _url: string;
9847
+ mimetype: string;
9848
+ size: number;
9849
+ path?: string | undefined;
9850
+ }[];
9988
9851
  _audience: (jamespot_user_api.jUserLittle | {
9989
9852
  type: string;
9990
9853
  id: number;
@@ -10007,19 +9870,6 @@ declare const fetchPads: _reduxjs_toolkit.AsyncThunk<PagingResults<{
10007
9870
  dateModified?: string | null | undefined;
10008
9871
  folderColor?: string | undefined;
10009
9872
  })[];
10010
- _attachedFiles: {
10011
- type: string;
10012
- id: number;
10013
- mainType: string;
10014
- uri: string;
10015
- dateCreation: string;
10016
- dateModified: string | null;
10017
- title: string;
10018
- _url: string;
10019
- mimetype: string;
10020
- size: number;
10021
- path?: string | undefined;
10022
- }[];
10023
9873
  description?: string | null | undefined;
10024
9874
  image?: {
10025
9875
  width: number;
@@ -10350,6 +10200,19 @@ declare const MagicPad: {
10350
10200
  dateModified: string;
10351
10201
  };
10352
10202
  _right: jamespot_user_api.Rights;
10203
+ _attachedFiles: {
10204
+ type: string;
10205
+ id: number;
10206
+ mainType: string;
10207
+ uri: string;
10208
+ dateCreation: string;
10209
+ dateModified: string | null;
10210
+ title: string;
10211
+ _url: string;
10212
+ mimetype: string;
10213
+ size: number;
10214
+ path?: string | undefined;
10215
+ }[];
10353
10216
  _audience: (jamespot_user_api.jUserLittle | {
10354
10217
  type: string;
10355
10218
  id: number;
@@ -10372,19 +10235,6 @@ declare const MagicPad: {
10372
10235
  dateModified?: string | null | undefined;
10373
10236
  folderColor?: string | undefined;
10374
10237
  })[];
10375
- _attachedFiles: {
10376
- type: string;
10377
- id: number;
10378
- mainType: string;
10379
- uri: string;
10380
- dateCreation: string;
10381
- dateModified: string | null;
10382
- title: string;
10383
- _url: string;
10384
- mimetype: string;
10385
- size: number;
10386
- path?: string | undefined;
10387
- }[];
10388
10238
  description?: string | null | undefined;
10389
10239
  image?: {
10390
10240
  width: number;
@@ -10753,9 +10603,9 @@ declare const fetchMediaLibraryFolders: _reduxjs_toolkit.AsyncThunk<ApiPagingRes
10753
10603
  name: string;
10754
10604
  class: string;
10755
10605
  label: string;
10756
- shortUri: string;
10757
10606
  cssClass: string;
10758
10607
  cssColor: string;
10608
+ shortUri: string;
10759
10609
  } | {
10760
10610
  type: string;
10761
10611
  id: string;
@@ -10767,9 +10617,9 @@ declare const fetchMediaLibraryFolders: _reduxjs_toolkit.AsyncThunk<ApiPagingRes
10767
10617
  Pseudo: string;
10768
10618
  class: string;
10769
10619
  label: string;
10770
- shortUri: string;
10771
10620
  cssClass: string;
10772
10621
  cssColor: string;
10622
+ shortUri: string;
10773
10623
  } | {
10774
10624
  type: string;
10775
10625
  id: string;
@@ -10779,9 +10629,9 @@ declare const fetchMediaLibraryFolders: _reduxjs_toolkit.AsyncThunk<ApiPagingRes
10779
10629
  name: string;
10780
10630
  class: string;
10781
10631
  label: string;
10782
- shortUri: string;
10783
10632
  cssClass: string;
10784
10633
  cssColor: string;
10634
+ shortUri: string;
10785
10635
  idspot: string;
10786
10636
  })[];
10787
10637
  attachment: {
@@ -11122,9 +10972,9 @@ declare const fetchMediaLibraryUnclassifiedFiles: _reduxjs_toolkit.AsyncThunk<Ap
11122
10972
  name: string;
11123
10973
  class: string;
11124
10974
  label: string;
11125
- shortUri: string;
11126
10975
  cssClass: string;
11127
10976
  cssColor: string;
10977
+ shortUri: string;
11128
10978
  } | {
11129
10979
  type: string;
11130
10980
  id: string;
@@ -11136,9 +10986,9 @@ declare const fetchMediaLibraryUnclassifiedFiles: _reduxjs_toolkit.AsyncThunk<Ap
11136
10986
  Pseudo: string;
11137
10987
  class: string;
11138
10988
  label: string;
11139
- shortUri: string;
11140
10989
  cssClass: string;
11141
10990
  cssColor: string;
10991
+ shortUri: string;
11142
10992
  } | {
11143
10993
  type: string;
11144
10994
  id: string;
@@ -11148,9 +10998,9 @@ declare const fetchMediaLibraryUnclassifiedFiles: _reduxjs_toolkit.AsyncThunk<Ap
11148
10998
  name: string;
11149
10999
  class: string;
11150
11000
  label: string;
11151
- shortUri: string;
11152
11001
  cssClass: string;
11153
11002
  cssColor: string;
11003
+ shortUri: string;
11154
11004
  idspot: string;
11155
11005
  })[];
11156
11006
  attachment: {
@@ -12450,9 +12300,9 @@ declare const MediaLibrary: {
12450
12300
  name: string;
12451
12301
  class: string;
12452
12302
  label: string;
12453
- shortUri: string;
12454
12303
  cssClass: string;
12455
12304
  cssColor: string;
12305
+ shortUri: string;
12456
12306
  } | {
12457
12307
  type: string;
12458
12308
  id: string;
@@ -12464,9 +12314,9 @@ declare const MediaLibrary: {
12464
12314
  Pseudo: string;
12465
12315
  class: string;
12466
12316
  label: string;
12467
- shortUri: string;
12468
12317
  cssClass: string;
12469
12318
  cssColor: string;
12319
+ shortUri: string;
12470
12320
  } | {
12471
12321
  type: string;
12472
12322
  id: string;
@@ -12476,9 +12326,9 @@ declare const MediaLibrary: {
12476
12326
  name: string;
12477
12327
  class: string;
12478
12328
  label: string;
12479
- shortUri: string;
12480
12329
  cssClass: string;
12481
12330
  cssColor: string;
12331
+ shortUri: string;
12482
12332
  idspot: string;
12483
12333
  })[];
12484
12334
  attachment: {
@@ -12819,9 +12669,9 @@ declare const MediaLibrary: {
12819
12669
  name: string;
12820
12670
  class: string;
12821
12671
  label: string;
12822
- shortUri: string;
12823
12672
  cssClass: string;
12824
12673
  cssColor: string;
12674
+ shortUri: string;
12825
12675
  } | {
12826
12676
  type: string;
12827
12677
  id: string;
@@ -12833,9 +12683,9 @@ declare const MediaLibrary: {
12833
12683
  Pseudo: string;
12834
12684
  class: string;
12835
12685
  label: string;
12836
- shortUri: string;
12837
12686
  cssClass: string;
12838
12687
  cssColor: string;
12688
+ shortUri: string;
12839
12689
  } | {
12840
12690
  type: string;
12841
12691
  id: string;
@@ -12845,9 +12695,9 @@ declare const MediaLibrary: {
12845
12695
  name: string;
12846
12696
  class: string;
12847
12697
  label: string;
12848
- shortUri: string;
12849
12698
  cssClass: string;
12850
12699
  cssColor: string;
12700
+ shortUri: string;
12851
12701
  idspot: string;
12852
12702
  })[];
12853
12703
  attachment: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.88",
3
+ "version": "1.1.89",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@reduxjs/toolkit": "1.9.0",
45
45
  "@types/uuid": "^10.0.0",
46
- "jamespot-user-api": "^1.0.216",
46
+ "jamespot-user-api": "^1.0.217",
47
47
  "react-redux": "7.2.9",
48
48
  "redux": "4.2.0",
49
49
  "uuid": "^10.0.0"