jamespot-front-business 1.1.45 → 1.1.46
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/README.md +1 -1
- package/dist/cjs.js +140 -21
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +135 -22
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +116 -2
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as redux from 'redux';
|
|
2
2
|
import { Dispatch as Dispatch$1 } from 'redux';
|
|
3
3
|
import * as jamespot_user_api from 'jamespot-user-api';
|
|
4
|
-
import { AnimationConfigurationType, ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, StudioApplicationBase, jTaxonomyLittle, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, JLandMap, AdminLicensesNotAssigned, Model as Model$1, NetworkType, WedocFileType, jUserLittle, PagingResults, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, CombinedWidgetContent, WidgetsState, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
|
|
4
|
+
import { AnimationConfigurationType, ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, StudioApplicationBase, jTaxonomyLittle, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, JLandMap, AdminLicensesNotAssigned, MediaLibraryList, ApiPagingResults, ApiWrapper, Model as Model$1, NetworkType, WedocFileType, jUserLittle, PagingResults, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, CombinedWidgetContent, WidgetsState, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
|
|
5
5
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
6
6
|
import { EntityState, Dispatch, Action, PayloadAction } from '@reduxjs/toolkit';
|
|
7
7
|
import * as _reduxjs_toolkit_dist_tsHelpers from '@reduxjs/toolkit/dist/tsHelpers';
|
|
@@ -1523,6 +1523,120 @@ declare const jland: {
|
|
|
1523
1523
|
};
|
|
1524
1524
|
};
|
|
1525
1525
|
|
|
1526
|
+
declare type MediaLibraryRootState = {
|
|
1527
|
+
mediaLibrary: MediaLibraryState;
|
|
1528
|
+
};
|
|
1529
|
+
declare type MediaLibraryState = {
|
|
1530
|
+
loading: 'idle' | 'pending';
|
|
1531
|
+
page: number;
|
|
1532
|
+
nbResults: number;
|
|
1533
|
+
folders: Array<MediaLibraryList>;
|
|
1534
|
+
unclassifiedFiles: {
|
|
1535
|
+
list: Array<MediaLibraryList>;
|
|
1536
|
+
page: number;
|
|
1537
|
+
totalPages: number;
|
|
1538
|
+
};
|
|
1539
|
+
mediaLibraryAccess: boolean;
|
|
1540
|
+
};
|
|
1541
|
+
declare const mediaLibrarySlice: _reduxjs_toolkit.Slice<MediaLibraryState, {
|
|
1542
|
+
setPage(state: Draft<S>, action: PayloadAction<number>): any;
|
|
1543
|
+
setFolderList(state: Draft<S>, action: PayloadAction<Array<MediaLibraryList>>): any;
|
|
1544
|
+
setFileUnclassifiedList(state: Draft<S>, action: PayloadAction<{
|
|
1545
|
+
list: Array<MediaLibraryList>;
|
|
1546
|
+
page: number;
|
|
1547
|
+
totalPages: number;
|
|
1548
|
+
}>): any;
|
|
1549
|
+
}, "mediaLibrary">;
|
|
1550
|
+
declare const fetchMediaLibraryFolders: _reduxjs_toolkit.AsyncThunk<ApiPagingResults<MediaLibraryList, jamespot_user_api.BaseMessages>, void, {
|
|
1551
|
+
dispatch: any;
|
|
1552
|
+
state: Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & UserCurrentRootState> & MediaLibraryRootState;
|
|
1553
|
+
extra: {
|
|
1554
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
1555
|
+
};
|
|
1556
|
+
rejectValue?: unknown;
|
|
1557
|
+
serializedErrorType?: unknown;
|
|
1558
|
+
pendingMeta?: unknown;
|
|
1559
|
+
fulfilledMeta?: unknown;
|
|
1560
|
+
rejectedMeta?: unknown;
|
|
1561
|
+
}>;
|
|
1562
|
+
declare const fetchMediaLibraryUnclassifiedFiles: _reduxjs_toolkit.AsyncThunk<ApiPagingResults<MediaLibraryList, jamespot_user_api.BaseMessages>, number, {
|
|
1563
|
+
dispatch: any;
|
|
1564
|
+
state: Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & UserCurrentRootState> & MediaLibraryRootState;
|
|
1565
|
+
extra: {
|
|
1566
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
1567
|
+
};
|
|
1568
|
+
rejectValue?: unknown;
|
|
1569
|
+
serializedErrorType?: unknown;
|
|
1570
|
+
pendingMeta?: unknown;
|
|
1571
|
+
fulfilledMeta?: unknown;
|
|
1572
|
+
rejectedMeta?: unknown;
|
|
1573
|
+
}>;
|
|
1574
|
+
declare const fetchMediaLibraryConfig: _reduxjs_toolkit.AsyncThunk<ApiWrapper<boolean, jamespot_user_api.BaseMessages>, void, {
|
|
1575
|
+
dispatch: any;
|
|
1576
|
+
state: Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & UserCurrentRootState> & MediaLibraryRootState;
|
|
1577
|
+
extra: {
|
|
1578
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
1579
|
+
};
|
|
1580
|
+
rejectValue?: unknown;
|
|
1581
|
+
serializedErrorType?: unknown;
|
|
1582
|
+
pendingMeta?: unknown;
|
|
1583
|
+
fulfilledMeta?: unknown;
|
|
1584
|
+
rejectedMeta?: unknown;
|
|
1585
|
+
}>;
|
|
1586
|
+
declare const mediaLibraryReducer: redux.Reducer<MediaLibraryState, redux.AnyAction>;
|
|
1587
|
+
declare const MediaLibrary: {
|
|
1588
|
+
slice: _reduxjs_toolkit.Slice<MediaLibraryState, {
|
|
1589
|
+
setPage(state: Draft<S>, action: PayloadAction<number>): any;
|
|
1590
|
+
setFolderList(state: Draft<S>, action: PayloadAction<Array<MediaLibraryList>>): any;
|
|
1591
|
+
setFileUnclassifiedList(state: Draft<S>, action: PayloadAction<{
|
|
1592
|
+
list: Array<MediaLibraryList>;
|
|
1593
|
+
page: number;
|
|
1594
|
+
totalPages: number;
|
|
1595
|
+
}>): any;
|
|
1596
|
+
}, "mediaLibrary">;
|
|
1597
|
+
actions: {
|
|
1598
|
+
fetchMediaLibraryFolders: _reduxjs_toolkit.AsyncThunk<ApiPagingResults<MediaLibraryList, jamespot_user_api.BaseMessages>, void, {
|
|
1599
|
+
dispatch: any;
|
|
1600
|
+
state: Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & UserCurrentRootState> & MediaLibraryRootState;
|
|
1601
|
+
extra: {
|
|
1602
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
1603
|
+
};
|
|
1604
|
+
rejectValue?: unknown;
|
|
1605
|
+
serializedErrorType?: unknown;
|
|
1606
|
+
pendingMeta?: unknown;
|
|
1607
|
+
fulfilledMeta?: unknown;
|
|
1608
|
+
rejectedMeta?: unknown;
|
|
1609
|
+
}>;
|
|
1610
|
+
fetchMediaLibraryUnclassifiedFiles: _reduxjs_toolkit.AsyncThunk<ApiPagingResults<MediaLibraryList, jamespot_user_api.BaseMessages>, number, {
|
|
1611
|
+
dispatch: any;
|
|
1612
|
+
state: Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & UserCurrentRootState> & MediaLibraryRootState;
|
|
1613
|
+
extra: {
|
|
1614
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
1615
|
+
};
|
|
1616
|
+
rejectValue?: unknown;
|
|
1617
|
+
serializedErrorType?: unknown;
|
|
1618
|
+
pendingMeta?: unknown;
|
|
1619
|
+
fulfilledMeta?: unknown;
|
|
1620
|
+
rejectedMeta?: unknown;
|
|
1621
|
+
}>;
|
|
1622
|
+
fetchMediaLibraryConfig: _reduxjs_toolkit.AsyncThunk<ApiWrapper<boolean, jamespot_user_api.BaseMessages>, void, {
|
|
1623
|
+
dispatch: any;
|
|
1624
|
+
state: Partial<AnimationsRootState & ApplicationRootState & AssetReservationRootState & EditorsRootState & JLandRootState & ModelRootState & ShareRootState & StudioRootState & ToastRootState & TVDisplayRootState & jamespot_user_api.WidgetsRootState & WedocAppRootState & UserCurrentRootState> & MediaLibraryRootState;
|
|
1625
|
+
extra: {
|
|
1626
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
1627
|
+
};
|
|
1628
|
+
rejectValue?: unknown;
|
|
1629
|
+
serializedErrorType?: unknown;
|
|
1630
|
+
pendingMeta?: unknown;
|
|
1631
|
+
fulfilledMeta?: unknown;
|
|
1632
|
+
rejectedMeta?: unknown;
|
|
1633
|
+
}>;
|
|
1634
|
+
};
|
|
1635
|
+
selectors: {
|
|
1636
|
+
selectMediaLibrary: (state: MediaLibraryRootState) => MediaLibraryState;
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1526
1640
|
declare type ModelRootState = {
|
|
1527
1641
|
entities: {
|
|
1528
1642
|
models: EntityState<Model$1>;
|
|
@@ -2340,4 +2454,4 @@ declare const studio: {
|
|
|
2340
2454
|
};
|
|
2341
2455
|
};
|
|
2342
2456
|
|
|
2343
|
-
export { APP_STATUS_TYPE, AUDIENCE, AnimationSliceRootState, Animations, AnimationsRootState, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormUniqueList, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Comment, CommentRootState, ContentTypePropertyValue, EditorProps, EditorsRootState, EditorsState, ExtraAppFieldsItemViews, Faq, FaqRootState, Hook, HookRootState, JLandMapFront, JLandRootState, JType, MODE_EDIT, MODE_VIEW, MapCreationFront, MapExtraFieldsWithView, Model, ModelRootState, Network, NetworkRootState, Platform, PlatformRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, animationsReducer, animationsSlice, deleteCurrentAnimation, fetchCurrentAnimation, fetchCurrentAnimationApp, jland, saveCurrentAnimation, slice, studio, toggleAnimationIsActive, updateWidgetContent, viewsList };
|
|
2457
|
+
export { APP_STATUS_TYPE, AUDIENCE, AnimationSliceRootState, Animations, AnimationsRootState, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormUniqueList, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Comment, CommentRootState, ContentTypePropertyValue, EditorProps, EditorsRootState, EditorsState, ExtraAppFieldsItemViews, Faq, FaqRootState, Hook, HookRootState, JLandMapFront, JLandRootState, JType, MODE_EDIT, MODE_VIEW, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, Platform, PlatformRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, animationsReducer, animationsSlice, deleteCurrentAnimation, fetchCurrentAnimation, fetchCurrentAnimationApp, fetchMediaLibraryConfig, fetchMediaLibraryFolders, fetchMediaLibraryUnclassifiedFiles, jland, mediaLibraryReducer, mediaLibrarySlice, saveCurrentAnimation, slice, studio, toggleAnimationIsActive, updateWidgetContent, viewsList };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.46",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/cjs.js",
|
|
6
6
|
"module": "dist/esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@reduxjs/toolkit": "1.9.0",
|
|
41
41
|
"@types/uuid": "^9.0.8",
|
|
42
|
-
"jamespot-user-api": "^1.0.
|
|
42
|
+
"jamespot-user-api": "^1.0.156",
|
|
43
43
|
"react-redux": "7.2.9",
|
|
44
44
|
"redux": "4.2.0",
|
|
45
45
|
"uuid": "^9.0.1"
|