jamespot-front-business 1.1.100 → 1.1.101

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;
@@ -19005,6 +19027,7 @@ declare const WedocApp: {
19005
19027
  dateCreation: string;
19006
19028
  dateModified: string;
19007
19029
  _url: string;
19030
+ parentType: string;
19008
19031
  generalAccessRule: string;
19009
19032
  fileInfo: {
19010
19033
  color: string;
@@ -19014,7 +19037,6 @@ declare const WedocApp: {
19014
19037
  extension: string;
19015
19038
  };
19016
19039
  parentId: number;
19017
- parentType: string;
19018
19040
  parentFiles: number[];
19019
19041
  generalAccessHash?: string | undefined;
19020
19042
  };
@@ -19057,6 +19079,7 @@ declare const WedocApp: {
19057
19079
  dateCreation: string;
19058
19080
  dateModified: string;
19059
19081
  _url: string;
19082
+ parentType: string;
19060
19083
  generalAccessRule: string;
19061
19084
  fileInfo: {
19062
19085
  color: string;
@@ -19066,7 +19089,6 @@ declare const WedocApp: {
19066
19089
  extension: string;
19067
19090
  };
19068
19091
  parentId: number;
19069
- parentType: string;
19070
19092
  parentFiles: number[];
19071
19093
  generalAccessHash?: string | undefined;
19072
19094
  };
@@ -19103,6 +19125,7 @@ declare const WedocApp: {
19103
19125
  dateCreation: string;
19104
19126
  dateModified: string;
19105
19127
  _url: string;
19128
+ parentType: string;
19106
19129
  generalAccessRule: string;
19107
19130
  fileInfo: {
19108
19131
  color: string;
@@ -19112,7 +19135,6 @@ declare const WedocApp: {
19112
19135
  extension: string;
19113
19136
  };
19114
19137
  parentId: number;
19115
- parentType: string;
19116
19138
  parentFiles: number[];
19117
19139
  generalAccessHash?: string | undefined;
19118
19140
  };
@@ -19147,6 +19169,7 @@ declare const WedocApp: {
19147
19169
  dateCreation: string;
19148
19170
  dateModified: string;
19149
19171
  _url: string;
19172
+ parentType: string;
19150
19173
  generalAccessRule: string;
19151
19174
  fileInfo: {
19152
19175
  color: string;
@@ -19156,7 +19179,6 @@ declare const WedocApp: {
19156
19179
  extension: string;
19157
19180
  };
19158
19181
  parentId: number;
19159
- parentType: string;
19160
19182
  parentFiles: number[];
19161
19183
  generalAccessHash?: string | undefined;
19162
19184
  };
@@ -19419,6 +19441,7 @@ declare const WedocApp: {
19419
19441
  dateCreation: string;
19420
19442
  dateModified: string;
19421
19443
  _url: string;
19444
+ parentType: string;
19422
19445
  generalAccessRule: string;
19423
19446
  fileInfo: {
19424
19447
  color: string;
@@ -19428,7 +19451,6 @@ declare const WedocApp: {
19428
19451
  extension: string;
19429
19452
  };
19430
19453
  parentId: number;
19431
- parentType: string;
19432
19454
  parentFiles: number[];
19433
19455
  generalAccessHash?: string | undefined;
19434
19456
  };
@@ -23041,6 +23063,9 @@ type AppStatusType = ValueOf<typeof StatusType>;
23041
23063
  interface StudioAppBase extends StudioApplicationBase {
23042
23064
  articlesCount?: number;
23043
23065
  }
23066
+ type AppSyncViewFieldOrder = {
23067
+ [key in ViewName]: boolean;
23068
+ };
23044
23069
  interface StudioApplication {
23045
23070
  idApp: string;
23046
23071
  status: AppStatusType;
@@ -23049,9 +23074,7 @@ interface StudioApplication {
23049
23074
  migratedFrom?: number;
23050
23075
  manifest: StudioAppManifest;
23051
23076
  inWorkVersion?: StudioApplication;
23052
- syncViewFieldOrder?: {
23053
- [key in ViewName]: boolean;
23054
- };
23077
+ syncViewFieldOrder?: AppSyncViewFieldOrder;
23055
23078
  fields: AppFieldsFormItem[];
23056
23079
  views: AppViewsFields;
23057
23080
  audience: StudioAudienceType;
@@ -23166,6 +23189,14 @@ declare const ExtraAppFieldsItemViews: {
23166
23189
  readonly CREATIONDATE: "CREATIONDATE";
23167
23190
  };
23168
23191
  type ExtraAppFieldsItemViewsValues = ValueOf<typeof ExtraAppFieldsItemViews>;
23192
+ declare const ExtraAppFieldsItemName: {
23193
+ TITLE: string;
23194
+ USER: string;
23195
+ PUBLISHTO: string;
23196
+ SENDALERTTOSUBSCRIBERS: string;
23197
+ RECEIVEACOPY: string;
23198
+ CREATIONDATE: string;
23199
+ };
23169
23200
  type CheckBoxOption = {
23170
23201
  label: string;
23171
23202
  value: any;
@@ -23587,7 +23618,7 @@ type ThunkApiConfig<T> = {
23587
23618
  };
23588
23619
  };
23589
23620
 
23590
- declare function updateViewsFromFields(clonedApp: StudioApplication, appFields: AppFieldsFormItem[]): any;
23621
+ declare function updateViewsFromFields(views: AppViewsFields, syncViewFieldOrder: AppSyncViewFieldOrder | undefined, appFields: AppFieldsFormItem[]): any;
23591
23622
 
23592
23623
  declare function generateNewFormField(type: AppFormItemTypesValues, viewsDefault?: boolean): AppFieldsFormItem;
23593
23624
 
@@ -25937,4 +25968,4 @@ declare const studio: {
25937
25968
  };
25938
25969
  };
25939
25970
 
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 };
25971
+ 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.101",
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.227",
47
47
  "react-redux": "7.2.9",
48
48
  "redux": "4.2.0",
49
49
  "uuid": "^10.0.0"