jamespot-front-business 1.1.100 → 1.1.102

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
@@ -7231,9 +7231,9 @@ declare const Comment: {
7231
7231
  action: string;
7232
7232
  do: string;
7233
7233
  };
7234
- stats: {
7234
+ stats?: {
7235
7235
  total: number;
7236
- };
7236
+ } | undefined;
7237
7237
  }> | undefined;
7238
7238
  _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
7239
7239
  layers?: string[] | undefined;
@@ -7843,9 +7843,9 @@ declare const Comment: {
7843
7843
  action: string;
7844
7844
  do: string;
7845
7845
  };
7846
- stats: {
7846
+ stats?: {
7847
7847
  total: number;
7848
- };
7848
+ } | undefined;
7849
7849
  }> | undefined;
7850
7850
  _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
7851
7851
  layers?: string[] | undefined;
@@ -7924,12 +7924,34 @@ declare const Comment: {
7924
7924
  }>)>[] | undefined;
7925
7925
  } & {
7926
7926
  _extend: Pick<{
7927
+ socialEventRecord: {
7928
+ userResponseStatus: 0 | 1 | "unknown" | "onSpot" | "visio" | "available" | "unavailable";
7929
+ subscribersTotal: number;
7930
+ subscribeAction: {
7931
+ type: string;
7932
+ class: string;
7933
+ label: string;
7934
+ isActive: boolean;
7935
+ cssClass: string;
7936
+ cssColor: string;
7937
+ struct: {
7938
+ type: string;
7939
+ targetId: number;
7940
+ targetType: string;
7941
+ action: string;
7942
+ do: string;
7943
+ };
7944
+ stats?: {
7945
+ total: number;
7946
+ } | undefined;
7947
+ };
7948
+ subscribers: jamespot_user_api.jUserLittle[];
7949
+ };
7927
7950
  search: never;
7928
7951
  bookmark: never;
7929
7952
  contact: never;
7930
7953
  quizFieldDefinitions: never;
7931
7954
  quizResponseRecord: never;
7932
- socialEventRecord: never;
7933
7955
  surveyDateRecord: never;
7934
7956
  actions?: {
7935
7957
  type: string;
@@ -7986,9 +8008,9 @@ declare const Comment: {
7986
8008
  action: string;
7987
8009
  do: string;
7988
8010
  };
7989
- stats: {
8011
+ stats?: {
7990
8012
  total: number;
7991
- };
8013
+ } | undefined;
7992
8014
  }> | undefined;
7993
8015
  _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
7994
8016
  layers?: string[] | undefined;
@@ -12422,6 +12444,10 @@ declare const slice$1: _reduxjs_toolkit.Slice<{}, {
12422
12444
  actions: string;
12423
12445
  }[] | null;
12424
12446
  } | undefined;
12447
+ MediaLibraryHook?: {
12448
+ isActive: boolean;
12449
+ hasLicense: boolean;
12450
+ } | undefined;
12425
12451
  OfficeHook?: {
12426
12452
  label: string;
12427
12453
  isActive: boolean;
@@ -12543,6 +12569,10 @@ declare const Hook: {
12543
12569
  actions: string;
12544
12570
  }[] | null;
12545
12571
  } | undefined;
12572
+ MediaLibraryHook?: {
12573
+ isActive: boolean;
12574
+ hasLicense: boolean;
12575
+ } | undefined;
12546
12576
  OfficeHook?: {
12547
12577
  label: string;
12548
12578
  isActive: boolean;
@@ -12660,6 +12690,10 @@ declare const Hook: {
12660
12690
  actions: string;
12661
12691
  }[] | null;
12662
12692
  } | undefined;
12693
+ MediaLibraryHook?: {
12694
+ isActive: boolean;
12695
+ hasLicense: boolean;
12696
+ } | undefined;
12663
12697
  OfficeHook?: {
12664
12698
  label: string;
12665
12699
  isActive: boolean;
@@ -12777,6 +12811,10 @@ declare const Hook: {
12777
12811
  actions: string;
12778
12812
  }[] | null;
12779
12813
  } | undefined;
12814
+ MediaLibraryHook?: {
12815
+ isActive: boolean;
12816
+ hasLicense: boolean;
12817
+ } | undefined;
12780
12818
  OfficeHook?: {
12781
12819
  label: string;
12782
12820
  isActive: boolean;
@@ -12819,7 +12857,7 @@ declare const Hook: {
12819
12857
  hasLicense: boolean;
12820
12858
  } | undefined;
12821
12859
  };
12822
- selectHook: <T extends "ExtraBotHook" | "AdminAdvancedHook" | "AnimatedMeetingHook" | "calendarHook" | "DriveHook" | "FAQHook" | "FileBankHook" | "JitsiHook" | "spotRssFeed" | "WidgetHook" | "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "LuccaAbsenceHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T) => ({
12860
+ selectHook: <T extends "ExtraBotHook" | "AdminAdvancedHook" | "AnimatedMeetingHook" | "calendarHook" | "DriveHook" | "FAQHook" | "FileBankHook" | "JitsiHook" | "spotRssFeed" | "WidgetHook" | "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "MediaLibraryHook" | "OfficeHook" | "LuccaAbsenceHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T) => ({
12823
12861
  AdminAdvancedHook?: {
12824
12862
  isActive: boolean;
12825
12863
  sendAlert: boolean;
@@ -12892,6 +12930,10 @@ declare const Hook: {
12892
12930
  actions: string;
12893
12931
  }[] | null;
12894
12932
  } | undefined;
12933
+ MediaLibraryHook?: {
12934
+ isActive: boolean;
12935
+ hasLicense: boolean;
12936
+ } | undefined;
12895
12937
  OfficeHook?: {
12896
12938
  label: string;
12897
12939
  isActive: boolean;
@@ -12934,7 +12976,7 @@ declare const Hook: {
12934
12976
  hasLicense: boolean;
12935
12977
  } | undefined;
12936
12978
  })[T] | undefined;
12937
- hasHookLicense: <T_1 extends "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "LuccaAbsenceHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T_1) => boolean;
12979
+ hasHookLicense: <T_1 extends "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "MediaLibraryHook" | "OfficeHook" | "LuccaAbsenceHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T_1) => boolean;
12938
12980
  };
12939
12981
  utils: {
12940
12982
  buildDrivesArrayFromObject: (drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>> | undefined) => string[];
@@ -19005,6 +19047,7 @@ declare const WedocApp: {
19005
19047
  dateCreation: string;
19006
19048
  dateModified: string;
19007
19049
  _url: string;
19050
+ parentType: string;
19008
19051
  generalAccessRule: string;
19009
19052
  fileInfo: {
19010
19053
  color: string;
@@ -19014,7 +19057,6 @@ declare const WedocApp: {
19014
19057
  extension: string;
19015
19058
  };
19016
19059
  parentId: number;
19017
- parentType: string;
19018
19060
  parentFiles: number[];
19019
19061
  generalAccessHash?: string | undefined;
19020
19062
  };
@@ -19057,6 +19099,7 @@ declare const WedocApp: {
19057
19099
  dateCreation: string;
19058
19100
  dateModified: string;
19059
19101
  _url: string;
19102
+ parentType: string;
19060
19103
  generalAccessRule: string;
19061
19104
  fileInfo: {
19062
19105
  color: string;
@@ -19066,7 +19109,6 @@ declare const WedocApp: {
19066
19109
  extension: string;
19067
19110
  };
19068
19111
  parentId: number;
19069
- parentType: string;
19070
19112
  parentFiles: number[];
19071
19113
  generalAccessHash?: string | undefined;
19072
19114
  };
@@ -19103,6 +19145,7 @@ declare const WedocApp: {
19103
19145
  dateCreation: string;
19104
19146
  dateModified: string;
19105
19147
  _url: string;
19148
+ parentType: string;
19106
19149
  generalAccessRule: string;
19107
19150
  fileInfo: {
19108
19151
  color: string;
@@ -19112,7 +19155,6 @@ declare const WedocApp: {
19112
19155
  extension: string;
19113
19156
  };
19114
19157
  parentId: number;
19115
- parentType: string;
19116
19158
  parentFiles: number[];
19117
19159
  generalAccessHash?: string | undefined;
19118
19160
  };
@@ -19147,6 +19189,7 @@ declare const WedocApp: {
19147
19189
  dateCreation: string;
19148
19190
  dateModified: string;
19149
19191
  _url: string;
19192
+ parentType: string;
19150
19193
  generalAccessRule: string;
19151
19194
  fileInfo: {
19152
19195
  color: string;
@@ -19156,7 +19199,6 @@ declare const WedocApp: {
19156
19199
  extension: string;
19157
19200
  };
19158
19201
  parentId: number;
19159
- parentType: string;
19160
19202
  parentFiles: number[];
19161
19203
  generalAccessHash?: string | undefined;
19162
19204
  };
@@ -19419,6 +19461,7 @@ declare const WedocApp: {
19419
19461
  dateCreation: string;
19420
19462
  dateModified: string;
19421
19463
  _url: string;
19464
+ parentType: string;
19422
19465
  generalAccessRule: string;
19423
19466
  fileInfo: {
19424
19467
  color: string;
@@ -19428,7 +19471,6 @@ declare const WedocApp: {
19428
19471
  extension: string;
19429
19472
  };
19430
19473
  parentId: number;
19431
- parentType: string;
19432
19474
  parentFiles: number[];
19433
19475
  generalAccessHash?: string | undefined;
19434
19476
  };
@@ -23041,6 +23083,9 @@ type AppStatusType = ValueOf<typeof StatusType>;
23041
23083
  interface StudioAppBase extends StudioApplicationBase {
23042
23084
  articlesCount?: number;
23043
23085
  }
23086
+ type AppSyncViewFieldOrder = {
23087
+ [key in ViewName]: boolean;
23088
+ };
23044
23089
  interface StudioApplication {
23045
23090
  idApp: string;
23046
23091
  status: AppStatusType;
@@ -23049,9 +23094,7 @@ interface StudioApplication {
23049
23094
  migratedFrom?: number;
23050
23095
  manifest: StudioAppManifest;
23051
23096
  inWorkVersion?: StudioApplication;
23052
- syncViewFieldOrder?: {
23053
- [key in ViewName]: boolean;
23054
- };
23097
+ syncViewFieldOrder?: AppSyncViewFieldOrder;
23055
23098
  fields: AppFieldsFormItem[];
23056
23099
  views: AppViewsFields;
23057
23100
  audience: StudioAudienceType;
@@ -23166,6 +23209,14 @@ declare const ExtraAppFieldsItemViews: {
23166
23209
  readonly CREATIONDATE: "CREATIONDATE";
23167
23210
  };
23168
23211
  type ExtraAppFieldsItemViewsValues = ValueOf<typeof ExtraAppFieldsItemViews>;
23212
+ declare const ExtraAppFieldsItemName: {
23213
+ TITLE: string;
23214
+ USER: string;
23215
+ PUBLISHTO: string;
23216
+ SENDALERTTOSUBSCRIBERS: string;
23217
+ RECEIVEACOPY: string;
23218
+ CREATIONDATE: string;
23219
+ };
23169
23220
  type CheckBoxOption = {
23170
23221
  label: string;
23171
23222
  value: any;
@@ -23587,7 +23638,7 @@ type ThunkApiConfig<T> = {
23587
23638
  };
23588
23639
  };
23589
23640
 
23590
- declare function updateViewsFromFields(clonedApp: StudioApplication, appFields: AppFieldsFormItem[]): any;
23641
+ declare function updateViewsFromFields(views: AppViewsFields, syncViewFieldOrder: AppSyncViewFieldOrder | undefined, appFields: AppFieldsFormItem[]): any;
23591
23642
 
23592
23643
  declare function generateNewFormField(type: AppFormItemTypesValues, viewsDefault?: boolean): AppFieldsFormItem;
23593
23644
 
@@ -25937,4 +25988,4 @@ declare const studio: {
25937
25988
  };
25938
25989
  };
25939
25990
 
25940
- export { APP_STATUS_TYPE, AUDIENCE, AccessRightObjectList, Action, AdminLogs, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, Animations, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormItemTypesValues, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReport, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Description, Display, DisplayComposant, Displays, EditorProps, EditorsRootState, EditorsState, Element, ExtraAppFieldsItemViews, ExtraAppFieldsItemViewsValues, ExtraBot, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, Faq, FaqRootState, HTMLInfo, Hook, HookRootState, InstalledApp, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPad, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, OptionsClass, PagingState, ParamsClass, Platform, PlatformRootState, RTDispatch, ReservationForm, ReservationRootState, ReservationState, Right, RootDispatch, RootState, STUDIO_VIEW, Share, SocialActions, Solr, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplay, TVDisplayRootState, Table, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, UserCurrent, UserCurrentRootState, Values, ViewName, WedocApp, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState, contentReportSlice, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, slice, studio, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
25991
+ export { APP_STATUS_TYPE, AUDIENCE, AccessRightObjectList, Action, AdminLogs, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, Animations, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormItemTypesValues, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppSyncViewFieldOrder, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReport, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Description, Display, DisplayComposant, Displays, EditorProps, EditorsRootState, EditorsState, Element, ExtraAppFieldsItemName, ExtraAppFieldsItemViews, ExtraAppFieldsItemViewsValues, ExtraBot, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, Faq, FaqRootState, HTMLInfo, Hook, HookRootState, InstalledApp, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPad, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, OptionsClass, PagingState, ParamsClass, Platform, PlatformRootState, RTDispatch, ReservationForm, ReservationRootState, ReservationState, Right, RootDispatch, RootState, STUDIO_VIEW, Share, SocialActions, Solr, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplay, TVDisplayRootState, Table, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, UserCurrent, UserCurrentRootState, Values, ViewName, WedocApp, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState, contentReportSlice, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, slice, studio, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.100",
3
+ "version": "1.1.102",
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.226",
46
+ "jamespot-user-api": "^1.0.228",
47
47
  "react-redux": "7.2.9",
48
48
  "redux": "4.2.0",
49
49
  "uuid": "^10.0.0"