jamespot-front-business 1.2.51 → 1.2.53
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/cjs.js +166 -32
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +160 -33
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +177 -20
- package/package.json +2 -2
- package/rollup.config.mjs +13 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as jamespot_user_api from 'jamespot-user-api';
|
|
2
|
-
import { Filters, Orders, AnimationConfigurationType, AnimationStats, ApplicationType, BookableAssetList, AssetReservationConfiguration, ReservationList, WedocFileType, PagingResults, TVChannelList, ValueOf, StudioApplicationBase, jTaxonomyLittle, jUserLittle, ArticleWithExtensions, Articles, AdminLicensesNotAssigned, AudienceAutocomplete, ArticlesView, jUserList, AdminLogNavigation, AdminLogObject, AdminLogSearch, jExtraBotView, CommentWithExtensions, FormatComments, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, MediaLibraryList, MediaLibraryStats, MediaLibraryFolderStats, MediaLibraryFilesStats, NetworkType, TeamWorkTaskStatus, TinyMCECommonOptions, TinyMCEExtendedOptions, WidgetKeys, WidgetDisplayMode, CombinedWidgetContent, Model as Model$1, CalendarEventWithExtensions, CalendarEventViewAbstractType, EventStatusFilter, UserResponseStatus, WidgetsRootState, JamespotUserApi, ApiWrapper, ContentReportStatus, LicenseHookListType, ApiPagingResults, MediaLibraryFolderList, WidgetDefinitionProps, WidgetWrapperProps, SocialAction } from 'jamespot-user-api';
|
|
2
|
+
import { Filters, Orders, AnimationConfigurationType, AnimationStats, ApplicationType, BookableAssetList, AssetReservationConfiguration, ReservationList, WedocFileType, PagingResults, TVChannelList, ValueOf, StudioApplicationBase, jTaxonomyLittle, jUserLittle, ArticleWithExtensions, Articles, AdminLicensesNotAssigned, AudienceAutocomplete, ArticlesView, jUserList, AdminLogNavigation, AdminLogObject, AdminLogSearch, jExtraBotView, CommentWithExtensions, FormatComments, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, HookListType, MediaLibraryList, MediaLibraryStats, MediaLibraryFolderStats, MediaLibraryFilesStats, NetworkType, TeamWorkTaskStatus, TinyMCECommonOptions, TinyMCEExtendedOptions, WidgetKeys, WidgetDisplayMode, CombinedWidgetContent, Model as Model$1, CalendarEventWithExtensions, CalendarEventViewAbstractType, EventStatusFilter, UserResponseStatus, jQuarantineList, WidgetsRootState, JamespotUserApi, ApiWrapper, ContentReportStatus, jArticleLittle, LicenseHookListType, ApiPagingResults, MediaLibraryFolderList, WidgetDefinitionProps, WidgetWrapperProps, SocialAction } from 'jamespot-user-api';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
4
|
import { EntityState, ThunkDispatch, AnyAction, PayloadAction } from '@reduxjs/toolkit';
|
|
5
5
|
import { ContentReportList } from 'jamespot-user-api/lib/src/types/contentReport';
|
|
@@ -984,7 +984,18 @@ type CalendarRootState = {
|
|
|
984
984
|
};
|
|
985
985
|
};
|
|
986
986
|
|
|
987
|
-
type
|
|
987
|
+
type FileIntegrityGlobalState = Loading;
|
|
988
|
+
type FileIntegrityListState = PagingState$1<jQuarantineList>;
|
|
989
|
+
type FileIntegrityReleaseState = Loading;
|
|
990
|
+
type FileIntegrityState = {
|
|
991
|
+
list: FileIntegrityListState;
|
|
992
|
+
action: FileIntegrityReleaseState;
|
|
993
|
+
};
|
|
994
|
+
type FileIntegrityRootState = {
|
|
995
|
+
fileIntegrity: FileIntegrityState;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
type AsyncReducers = AdminLogsRootState & AnimationsRootState & AssetReservationRootState & BookmarkRootState & CalendarRootState & ContentReportRootState & EditorsRootState & ExtraBotRootState & FaqRootState & FileIntegrityRootState & JLandRootState & MagicPadRootState & MediaLibraryRootState & ShareRootState & StudioRootState & TeamWorkRootState & TinyMCERootState & TVDisplayRootState & WedocAppRootState & WidgetsRootState;
|
|
988
999
|
type StaticReducers = {
|
|
989
1000
|
entities: ApplicationRootState & ModelRootState;
|
|
990
1001
|
} & CommentRootState & HookRootState & NetworkRootState & PlatformRootState & ToastRootState & UserCurrentRootState;
|
|
@@ -1594,13 +1605,13 @@ declare const Bookmark: {
|
|
|
1594
1605
|
targetType: string | null;
|
|
1595
1606
|
dateCreation?: string | undefined;
|
|
1596
1607
|
dateModified?: string | null | undefined;
|
|
1608
|
+
url?: string | null | undefined;
|
|
1597
1609
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1598
1610
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1599
1611
|
bookmarkUrl?: string | null | undefined;
|
|
1600
1612
|
bookmarkOrder?: number | undefined;
|
|
1601
1613
|
bookmarkLabel?: string | undefined;
|
|
1602
1614
|
bookmarkMeta?: string | null | undefined;
|
|
1603
|
-
url?: string | null | undefined;
|
|
1604
1615
|
}, "bookmarkList/addBookmarkRT">;
|
|
1605
1616
|
deleteBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1606
1617
|
id: number;
|
|
@@ -1614,13 +1625,13 @@ declare const Bookmark: {
|
|
|
1614
1625
|
targetType: string | null;
|
|
1615
1626
|
dateCreation?: string | undefined;
|
|
1616
1627
|
dateModified?: string | null | undefined;
|
|
1628
|
+
url?: string | null | undefined;
|
|
1617
1629
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1618
1630
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1619
1631
|
bookmarkUrl?: string | null | undefined;
|
|
1620
1632
|
bookmarkOrder?: number | undefined;
|
|
1621
1633
|
bookmarkLabel?: string | undefined;
|
|
1622
1634
|
bookmarkMeta?: string | null | undefined;
|
|
1623
|
-
url?: string | null | undefined;
|
|
1624
1635
|
}, "bookmarkList/deleteBookmarkRT">;
|
|
1625
1636
|
updateBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1626
1637
|
id: number;
|
|
@@ -1634,13 +1645,13 @@ declare const Bookmark: {
|
|
|
1634
1645
|
targetType: string | null;
|
|
1635
1646
|
dateCreation?: string | undefined;
|
|
1636
1647
|
dateModified?: string | null | undefined;
|
|
1648
|
+
url?: string | null | undefined;
|
|
1637
1649
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1638
1650
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1639
1651
|
bookmarkUrl?: string | null | undefined;
|
|
1640
1652
|
bookmarkOrder?: number | undefined;
|
|
1641
1653
|
bookmarkLabel?: string | undefined;
|
|
1642
1654
|
bookmarkMeta?: string | null | undefined;
|
|
1643
|
-
url?: string | null | undefined;
|
|
1644
1655
|
}, "bookmarkList/updateBookmarkRT">;
|
|
1645
1656
|
setEditBookmark: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1646
1657
|
id: number;
|
|
@@ -1654,13 +1665,13 @@ declare const Bookmark: {
|
|
|
1654
1665
|
targetType: string | null;
|
|
1655
1666
|
dateCreation?: string | undefined;
|
|
1656
1667
|
dateModified?: string | null | undefined;
|
|
1668
|
+
url?: string | null | undefined;
|
|
1657
1669
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1658
1670
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1659
1671
|
bookmarkUrl?: string | null | undefined;
|
|
1660
1672
|
bookmarkOrder?: number | undefined;
|
|
1661
1673
|
bookmarkLabel?: string | undefined;
|
|
1662
1674
|
bookmarkMeta?: string | null | undefined;
|
|
1663
|
-
url?: string | null | undefined;
|
|
1664
1675
|
}, "bookmarkEdit/setEditBookmark">;
|
|
1665
1676
|
unsetEditBookmark: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/unsetEditBookmark">;
|
|
1666
1677
|
resetStatus: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/resetStatus">;
|
|
@@ -1676,13 +1687,13 @@ declare const Bookmark: {
|
|
|
1676
1687
|
targetType: string | null;
|
|
1677
1688
|
dateCreation?: string | undefined;
|
|
1678
1689
|
dateModified?: string | null | undefined;
|
|
1690
|
+
url?: string | null | undefined;
|
|
1679
1691
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1680
1692
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1681
1693
|
bookmarkUrl?: string | null | undefined;
|
|
1682
1694
|
bookmarkOrder?: number | undefined;
|
|
1683
1695
|
bookmarkLabel?: string | undefined;
|
|
1684
1696
|
bookmarkMeta?: string | null | undefined;
|
|
1685
|
-
url?: string | null | undefined;
|
|
1686
1697
|
}>, void, {
|
|
1687
1698
|
dispatch: AppDispatch;
|
|
1688
1699
|
state: RootState$1;
|
|
@@ -1710,13 +1721,13 @@ declare const Bookmark: {
|
|
|
1710
1721
|
targetType: string | null;
|
|
1711
1722
|
dateCreation?: string | undefined;
|
|
1712
1723
|
dateModified?: string | null | undefined;
|
|
1724
|
+
url?: string | null | undefined;
|
|
1713
1725
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1714
1726
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1715
1727
|
bookmarkUrl?: string | null | undefined;
|
|
1716
1728
|
bookmarkOrder?: number | undefined;
|
|
1717
1729
|
bookmarkLabel?: string | undefined;
|
|
1718
1730
|
bookmarkMeta?: string | null | undefined;
|
|
1719
|
-
url?: string | null | undefined;
|
|
1720
1731
|
} | {
|
|
1721
1732
|
id: number;
|
|
1722
1733
|
mainType: string;
|
|
@@ -1729,13 +1740,13 @@ declare const Bookmark: {
|
|
|
1729
1740
|
targetType: string | null;
|
|
1730
1741
|
_cssColor: string;
|
|
1731
1742
|
_cssClass: string;
|
|
1743
|
+
url?: string | null | undefined;
|
|
1732
1744
|
_src?: jamespot_user_api.jObjectLittle | undefined;
|
|
1733
1745
|
_target?: jamespot_user_api.jObjectLittle | undefined;
|
|
1734
1746
|
bookmarkUrl?: string | null | undefined;
|
|
1735
1747
|
bookmarkOrder?: string | undefined;
|
|
1736
1748
|
bookmarkLabel?: string | undefined;
|
|
1737
1749
|
bookmarkMeta?: string | null | undefined;
|
|
1738
|
-
url?: string | null | undefined;
|
|
1739
1750
|
_values?: {
|
|
1740
1751
|
dateCreation: string;
|
|
1741
1752
|
dateModified: string;
|
|
@@ -1752,13 +1763,13 @@ declare const Bookmark: {
|
|
|
1752
1763
|
targetType: string | null;
|
|
1753
1764
|
dateCreation?: string | undefined;
|
|
1754
1765
|
dateModified?: string | null | undefined;
|
|
1766
|
+
url?: string | null | undefined;
|
|
1755
1767
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1756
1768
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1757
1769
|
bookmarkUrl?: string | null | undefined;
|
|
1758
1770
|
bookmarkOrder?: number | undefined;
|
|
1759
1771
|
bookmarkLabel?: string | undefined;
|
|
1760
1772
|
bookmarkMeta?: string | null | undefined;
|
|
1761
|
-
url?: string | null | undefined;
|
|
1762
1773
|
}, jamespot_user_api.BaseMessages>, ({
|
|
1763
1774
|
bookmarkUrl?: string | null | undefined;
|
|
1764
1775
|
bookmarkLabel?: string | undefined;
|
|
@@ -1815,13 +1826,13 @@ declare const Bookmark: {
|
|
|
1815
1826
|
targetType: string | null;
|
|
1816
1827
|
dateCreation?: string | undefined;
|
|
1817
1828
|
dateModified?: string | null | undefined;
|
|
1829
|
+
url?: string | null | undefined;
|
|
1818
1830
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1819
1831
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1820
1832
|
bookmarkUrl?: string | null | undefined;
|
|
1821
1833
|
bookmarkOrder?: number | undefined;
|
|
1822
1834
|
bookmarkLabel?: string | undefined;
|
|
1823
1835
|
bookmarkMeta?: string | null | undefined;
|
|
1824
|
-
url?: string | null | undefined;
|
|
1825
1836
|
}, "id"> & {
|
|
1826
1837
|
requestId?: string | undefined;
|
|
1827
1838
|
}, {
|
|
@@ -1851,13 +1862,13 @@ declare const Bookmark: {
|
|
|
1851
1862
|
targetType: string | null;
|
|
1852
1863
|
dateCreation?: string | undefined;
|
|
1853
1864
|
dateModified?: string | null | undefined;
|
|
1865
|
+
url?: string | null | undefined;
|
|
1854
1866
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1855
1867
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1856
1868
|
bookmarkUrl?: string | null | undefined;
|
|
1857
1869
|
bookmarkOrder?: number | undefined;
|
|
1858
1870
|
bookmarkLabel?: string | undefined;
|
|
1859
1871
|
bookmarkMeta?: string | null | undefined;
|
|
1860
|
-
url?: string | null | undefined;
|
|
1861
1872
|
}>, {
|
|
1862
1873
|
dispatch: AppDispatch;
|
|
1863
1874
|
state: RootState$1;
|
|
@@ -1889,13 +1900,13 @@ declare const Bookmark: {
|
|
|
1889
1900
|
targetType: string | null;
|
|
1890
1901
|
dateCreation?: string | undefined;
|
|
1891
1902
|
dateModified?: string | null | undefined;
|
|
1903
|
+
url?: string | null | undefined;
|
|
1892
1904
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1893
1905
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1894
1906
|
bookmarkUrl?: string | null | undefined;
|
|
1895
1907
|
bookmarkOrder?: number | undefined;
|
|
1896
1908
|
bookmarkLabel?: string | undefined;
|
|
1897
1909
|
bookmarkMeta?: string | null | undefined;
|
|
1898
|
-
url?: string | null | undefined;
|
|
1899
1910
|
} | undefined;
|
|
1900
1911
|
bookmarkByArticleId: (state: RootState$1, idArticle: number) => {
|
|
1901
1912
|
id: number;
|
|
@@ -1909,23 +1920,23 @@ declare const Bookmark: {
|
|
|
1909
1920
|
targetType: string | null;
|
|
1910
1921
|
dateCreation?: string | undefined;
|
|
1911
1922
|
dateModified?: string | null | undefined;
|
|
1923
|
+
url?: string | null | undefined;
|
|
1912
1924
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1913
1925
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1914
1926
|
bookmarkUrl?: string | null | undefined;
|
|
1915
1927
|
bookmarkOrder?: number | undefined;
|
|
1916
1928
|
bookmarkLabel?: string | undefined;
|
|
1917
1929
|
bookmarkMeta?: string | null | undefined;
|
|
1918
|
-
url?: string | null | undefined;
|
|
1919
1930
|
} | undefined;
|
|
1920
1931
|
};
|
|
1921
1932
|
getRTHandlers: (dispatch: AppDispatch) => ({
|
|
1922
|
-
namespace: "BOOKMARKS";
|
|
1923
|
-
function: "update" | "add" | "delete";
|
|
1924
|
-
handler: (message: jamespot_user_api.RTMessageObject<"BOOKMARKS", "update", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "add", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "delete", {}, {}>) => void;
|
|
1925
|
-
} | {
|
|
1926
1933
|
namespace: "CUSTOM-ACTION";
|
|
1927
1934
|
function: "update" | "add" | "remove";
|
|
1928
1935
|
handler: (message: jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "update", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "add", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "remove", {}, {}>) => void;
|
|
1936
|
+
} | {
|
|
1937
|
+
namespace: "BOOKMARKS";
|
|
1938
|
+
function: "update" | "add" | "delete";
|
|
1939
|
+
handler: (message: jamespot_user_api.RTMessageObject<"BOOKMARKS", "update", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "add", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "delete", {}, {}>) => void;
|
|
1929
1940
|
})[];
|
|
1930
1941
|
};
|
|
1931
1942
|
|
|
@@ -2819,6 +2830,9 @@ declare const Comment: {
|
|
|
2819
2830
|
} | undefined;
|
|
2820
2831
|
messenger?: jamespot_user_api.jMessengerGroupLittle | null | undefined;
|
|
2821
2832
|
filebank?: jamespot_user_api.jFolderLittle | null | undefined;
|
|
2833
|
+
quarantine?: {
|
|
2834
|
+
count: number;
|
|
2835
|
+
} | undefined;
|
|
2822
2836
|
}, "actions">;
|
|
2823
2837
|
} & {
|
|
2824
2838
|
pending?: boolean;
|
|
@@ -3088,6 +3102,140 @@ declare const Faq: {
|
|
|
3088
3102
|
};
|
|
3089
3103
|
};
|
|
3090
3104
|
|
|
3105
|
+
declare const fetchFileIntegrityList: _reduxjs_toolkit.AsyncThunk<PagingResults<jQuarantineList>, void, {
|
|
3106
|
+
dispatch: AppDispatch;
|
|
3107
|
+
state: RootState$1;
|
|
3108
|
+
extra: {
|
|
3109
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
3110
|
+
};
|
|
3111
|
+
rejectValue: {
|
|
3112
|
+
error: number;
|
|
3113
|
+
errorMsg: string;
|
|
3114
|
+
};
|
|
3115
|
+
serializedErrorType?: unknown;
|
|
3116
|
+
pendingMeta?: unknown;
|
|
3117
|
+
fulfilledMeta?: unknown;
|
|
3118
|
+
rejectedMeta?: unknown;
|
|
3119
|
+
}>;
|
|
3120
|
+
declare const releaseQuarantine: _reduxjs_toolkit.AsyncThunk<jArticleLittle, number, {
|
|
3121
|
+
dispatch: AppDispatch;
|
|
3122
|
+
state: RootState$1;
|
|
3123
|
+
extra: {
|
|
3124
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
3125
|
+
};
|
|
3126
|
+
rejectValue: {
|
|
3127
|
+
error: number;
|
|
3128
|
+
errorMsg: string;
|
|
3129
|
+
};
|
|
3130
|
+
serializedErrorType?: unknown;
|
|
3131
|
+
pendingMeta?: unknown;
|
|
3132
|
+
fulfilledMeta?: unknown;
|
|
3133
|
+
rejectedMeta?: unknown;
|
|
3134
|
+
}>;
|
|
3135
|
+
declare const deleteQuarantine: _reduxjs_toolkit.AsyncThunk<boolean, number, {
|
|
3136
|
+
dispatch: AppDispatch;
|
|
3137
|
+
state: RootState$1;
|
|
3138
|
+
extra: {
|
|
3139
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
3140
|
+
};
|
|
3141
|
+
rejectValue: {
|
|
3142
|
+
error: number;
|
|
3143
|
+
errorMsg: string;
|
|
3144
|
+
};
|
|
3145
|
+
serializedErrorType?: unknown;
|
|
3146
|
+
pendingMeta?: unknown;
|
|
3147
|
+
fulfilledMeta?: unknown;
|
|
3148
|
+
rejectedMeta?: unknown;
|
|
3149
|
+
}>;
|
|
3150
|
+
declare const FileIntegritySlice: _reduxjs_toolkit.Slice<FileIntegrityState, {
|
|
3151
|
+
setListOrder: (state: Draft<S>, action: PayloadAction<Orders>) => void;
|
|
3152
|
+
setListFilter: (state: Draft<S>, action: PayloadAction<Filters>) => void;
|
|
3153
|
+
setListPage: (state: Draft<S>, action: PayloadAction<number>) => void;
|
|
3154
|
+
}, "fileIntegrity">;
|
|
3155
|
+
declare const selectFileIntegrityAction: (state: FileIntegrityRootState) => Loading;
|
|
3156
|
+
declare const selectFileIntegrityList: (state: FileIntegrityRootState) => FileIntegrityListState;
|
|
3157
|
+
declare const FileIntegrity: {
|
|
3158
|
+
slice: _reduxjs_toolkit.Slice<FileIntegrityState, {
|
|
3159
|
+
setListOrder: (state: Draft<S>, action: PayloadAction<Orders>) => void;
|
|
3160
|
+
setListFilter: (state: Draft<S>, action: PayloadAction<Filters>) => void;
|
|
3161
|
+
setListPage: (state: Draft<S>, action: PayloadAction<number>) => void;
|
|
3162
|
+
}, "fileIntegrity">;
|
|
3163
|
+
actions: {
|
|
3164
|
+
setListOrder: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
3165
|
+
name: string;
|
|
3166
|
+
sort: "ASC" | "DESC";
|
|
3167
|
+
}[], "fileIntegrity/setListOrder">;
|
|
3168
|
+
setListFilter: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
3169
|
+
name: string;
|
|
3170
|
+
value: string | number | boolean | string[] | {
|
|
3171
|
+
srcId: string | number;
|
|
3172
|
+
srcType: string;
|
|
3173
|
+
} | {
|
|
3174
|
+
targetId: string | number;
|
|
3175
|
+
targetType: string;
|
|
3176
|
+
} | {
|
|
3177
|
+
start: string;
|
|
3178
|
+
end: string;
|
|
3179
|
+
};
|
|
3180
|
+
operator?: "link" | "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "not in" | "match" | "equal" | undefined;
|
|
3181
|
+
method?: "link" | "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "match" | "equal" | "+" | "-" | undefined;
|
|
3182
|
+
or?: boolean | undefined;
|
|
3183
|
+
isNull?: boolean | undefined;
|
|
3184
|
+
isNotNull?: boolean | undefined;
|
|
3185
|
+
}[], "fileIntegrity/setListFilter">;
|
|
3186
|
+
setListPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "fileIntegrity/setListPage">;
|
|
3187
|
+
deleteQuarantine: _reduxjs_toolkit.AsyncThunk<boolean, number, {
|
|
3188
|
+
dispatch: AppDispatch;
|
|
3189
|
+
state: RootState$1;
|
|
3190
|
+
extra: {
|
|
3191
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
3192
|
+
};
|
|
3193
|
+
rejectValue: {
|
|
3194
|
+
error: number;
|
|
3195
|
+
errorMsg: string;
|
|
3196
|
+
};
|
|
3197
|
+
serializedErrorType?: unknown;
|
|
3198
|
+
pendingMeta?: unknown;
|
|
3199
|
+
fulfilledMeta?: unknown;
|
|
3200
|
+
rejectedMeta?: unknown;
|
|
3201
|
+
}>;
|
|
3202
|
+
fetchFileIntegrityList: _reduxjs_toolkit.AsyncThunk<PagingResults<jQuarantineList>, void, {
|
|
3203
|
+
dispatch: AppDispatch;
|
|
3204
|
+
state: RootState$1;
|
|
3205
|
+
extra: {
|
|
3206
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
3207
|
+
};
|
|
3208
|
+
rejectValue: {
|
|
3209
|
+
error: number;
|
|
3210
|
+
errorMsg: string;
|
|
3211
|
+
};
|
|
3212
|
+
serializedErrorType?: unknown;
|
|
3213
|
+
pendingMeta?: unknown;
|
|
3214
|
+
fulfilledMeta?: unknown;
|
|
3215
|
+
rejectedMeta?: unknown;
|
|
3216
|
+
}>;
|
|
3217
|
+
releaseQuarantine: _reduxjs_toolkit.AsyncThunk<jArticleLittle, number, {
|
|
3218
|
+
dispatch: AppDispatch;
|
|
3219
|
+
state: RootState$1;
|
|
3220
|
+
extra: {
|
|
3221
|
+
jApi: jamespot_user_api.JamespotUserApi;
|
|
3222
|
+
};
|
|
3223
|
+
rejectValue: {
|
|
3224
|
+
error: number;
|
|
3225
|
+
errorMsg: string;
|
|
3226
|
+
};
|
|
3227
|
+
serializedErrorType?: unknown;
|
|
3228
|
+
pendingMeta?: unknown;
|
|
3229
|
+
fulfilledMeta?: unknown;
|
|
3230
|
+
rejectedMeta?: unknown;
|
|
3231
|
+
}>;
|
|
3232
|
+
};
|
|
3233
|
+
selectors: {
|
|
3234
|
+
selectFileIntegrityAction: (state: FileIntegrityRootState) => Loading;
|
|
3235
|
+
selectFileIntegrityList: (state: FileIntegrityRootState) => FileIntegrityListState;
|
|
3236
|
+
};
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3091
3239
|
declare const Hook: {
|
|
3092
3240
|
slice: _reduxjs_toolkit.Slice<{}, {
|
|
3093
3241
|
initHooks: (_: Draft<S>, { payload }: PayloadAction<HookListType>) => {
|
|
@@ -3224,6 +3372,9 @@ declare const Hook: {
|
|
|
3224
3372
|
order: "ASC" | "DESC";
|
|
3225
3373
|
orderBy: string;
|
|
3226
3374
|
} | undefined;
|
|
3375
|
+
FileIntegrityHook?: {
|
|
3376
|
+
isActive: boolean;
|
|
3377
|
+
} | undefined;
|
|
3227
3378
|
JitsiHook?: {
|
|
3228
3379
|
create: boolean;
|
|
3229
3380
|
label: string;
|
|
@@ -3385,6 +3536,9 @@ declare const Hook: {
|
|
|
3385
3536
|
order: "ASC" | "DESC";
|
|
3386
3537
|
orderBy: string;
|
|
3387
3538
|
} | undefined;
|
|
3539
|
+
FileIntegrityHook?: {
|
|
3540
|
+
isActive: boolean;
|
|
3541
|
+
} | undefined;
|
|
3388
3542
|
JitsiHook?: {
|
|
3389
3543
|
create: boolean;
|
|
3390
3544
|
label: string;
|
|
@@ -3546,6 +3700,9 @@ declare const Hook: {
|
|
|
3546
3700
|
order: "ASC" | "DESC";
|
|
3547
3701
|
orderBy: string;
|
|
3548
3702
|
} | undefined;
|
|
3703
|
+
FileIntegrityHook?: {
|
|
3704
|
+
isActive: boolean;
|
|
3705
|
+
} | undefined;
|
|
3549
3706
|
JitsiHook?: {
|
|
3550
3707
|
create: boolean;
|
|
3551
3708
|
label: string;
|
|
@@ -5631,5 +5788,5 @@ declare const studio: {
|
|
|
5631
5788
|
};
|
|
5632
5789
|
};
|
|
5633
5790
|
|
|
5634
|
-
export { APP_STATUS_TYPE, AUDIENCE, AdminLogs, Animations, AppColumnsDefaultTypes, AppFieldFormPropertyTypes, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, Application, Article, AssetReservation, Bookmark, Calendar, Comment, ContentReport, Description, Element, ExtraAppFieldsItemName, ExtraAppFieldsItemViews, ExtraBot, Faq, Hook, MagicPad, MapExtraFieldsWithView, MediaLibrary, Model, Network, Platform, STUDIO_VIEW, Share, SocialActions, StatusType, TVDisplay, TeamWork, TinyMCE, Toast, UserCurrent, WedocApp, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, contentReportSlice, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, slice, studio, teamWorkSlice, teamworkReducer, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
|
|
5635
|
-
export type { AccessRightObjectList, Action, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppDispatch, AppFieldFormProperty, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormItemTypesValues, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppSyncViewFieldOrder, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, ApplicationRootState, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Display, DisplayComposant, Displays, ExtraAppFieldsItemViewsValues, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, HTMLInfo, InstalledApp, JLandMap, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, OptionsClass, ParamsClass, ReservationForm, ReservationRootState, ReservationState, Right, RootState$1 as RootState, Solr, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplayRootState, Table, TaxonomyPropertyValue, TeamWorkRootState, TeamWorkSliceToDoState, ThunkApiConfig, UserCurrentRootState, Values, ViewName, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState };
|
|
5791
|
+
export { APP_STATUS_TYPE, AUDIENCE, AdminLogs, Animations, AppColumnsDefaultTypes, AppFieldFormPropertyTypes, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, Application, Article, AssetReservation, Bookmark, Calendar, Comment, ContentReport, Description, Element, ExtraAppFieldsItemName, ExtraAppFieldsItemViews, ExtraBot, Faq, FileIntegrity, FileIntegritySlice, Hook, MagicPad, MapExtraFieldsWithView, MediaLibrary, Model, Network, Platform, STUDIO_VIEW, Share, SocialActions, StatusType, TVDisplay, TeamWork, TinyMCE, Toast, UserCurrent, WedocApp, Widget, WidgetEditor, actions, adminLogsReducer, adminLogsSlice, animationsReducer, animationsSlice, contentReportSlice, deleteQuarantine, extraBotSlice, fetchExtraBotListAll, fetchExtraBotListMines, fetchFileIntegrityList, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, fetchReports, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, releaseQuarantine, saveExtraBot, selectExtraBotListAll, selectExtraBotListMines, selectFileIntegrityAction, selectFileIntegrityList, slice, studio, teamWorkSlice, teamworkReducer, toggleExtraBotActivation, updateListBotProperty, updateStatus, updateWidgetContent, viewsList };
|
|
5792
|
+
export type { AccessRightObjectList, Action, AnimationSliceListState, AnimationStatsCurrentSliceState, AnimationStatsSliceState, AnimationsRootState, ApiError, AppAttrSolrModel, AppAttrWidgetModel, AppDispatch, AppFieldFormProperty, AppFieldFormPropertyTypesValues, AppFieldView, AppFieldsFormItem, AppFormItemTypesValues, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppSyncViewFieldOrder, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, ApplicationRootState, AssetReservationRootState, Attribute, BookableAssetRootState, BookableAssetState, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Columns, CommentListRootState, CommentListState, CommentRootState, CommentsList, Configuration, ConfigurationRootState, ContentReportRootState, ContentReportSliceRootState, ContentTypePropertyValue, Create, CreateComposant, CurrentStudioAppRootState, CurrentStudioAppState, Display, DisplayComposant, Displays, ExtraAppFieldsItemViewsValues, ExtraBotFormModalOpen, ExtraBotFormModalState, ExtraBotGlobalState, ExtraBotListAllState, ExtraBotListMinesState, ExtraBotRootState, ExtraBotState, FileIntegrityGlobalState, FileIntegrityListState, FileIntegrityReleaseState, FileIntegrityRootState, FileIntegrityState, HTMLInfo, InstalledApp, JLandMap, JLandMapFront, JLandMapListRootState, JLandMapListState, JLandRootState, JType, MagicPadRootState, MagicPadSliceRootState, Manifest, MapCreateRootState, MapCreateState, MapCreationFront, OptionsClass, ParamsClass, ReservationForm, ReservationRootState, ReservationState, Right, RootState$1 as RootState, Solr, StudioAppBase, StudioAppManifest, StudioApplication, StudioAppsListRootState, StudioAppsListState, StudioAudienceType, StudioRootState, StudioWidget, TVDisplayRootState, Table, TaxonomyPropertyValue, TeamWorkRootState, TeamWorkSliceToDoState, ThunkApiConfig, UserCurrentRootState, Values, ViewName, WedocAppRootState, WedocAppState, WedocAppTabKeys, WedocFilesQuery, bookmarkEditRootState, bookmarkEditState, bookmarkListRootState, bookmarkListState };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.53",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/cjs.js",
|
|
6
6
|
"module": "dist/esm.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"eslint-config-prettier": "^8.10.2",
|
|
32
32
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
33
33
|
"eslint-plugin-import": "^2.32.0",
|
|
34
|
-
"jamespot-user-api": "^1.2.
|
|
34
|
+
"jamespot-user-api": "^1.2.53",
|
|
35
35
|
"jest": "^30.2.0",
|
|
36
36
|
"jest-environment-jsdom": "^30.2.0",
|
|
37
37
|
"prettier": "^3.6.2",
|
package/rollup.config.mjs
CHANGED
|
@@ -6,6 +6,17 @@ import dts from 'rollup-plugin-dts';
|
|
|
6
6
|
const pkg = require('./package.json');
|
|
7
7
|
import json from '@rollup/plugin-json';
|
|
8
8
|
|
|
9
|
+
function exitAfterBuild() {
|
|
10
|
+
return {
|
|
11
|
+
name: 'exit-after-build',
|
|
12
|
+
closeBundle() {
|
|
13
|
+
if (!process.env.ROLLUP_WATCH) {
|
|
14
|
+
setImmediate(() => process.exit(0));
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
9
20
|
export default [
|
|
10
21
|
{
|
|
11
22
|
input: 'src/index.ts',
|
|
@@ -30,7 +41,7 @@ export default [
|
|
|
30
41
|
file: pkg.types,
|
|
31
42
|
format: 'es',
|
|
32
43
|
},
|
|
33
|
-
|
|
34
|
-
plugins: [dts(), json()],
|
|
44
|
+
external: ['redux', '@reduxjs/toolkit', 'jamespot-user-api', 'uuid'],
|
|
45
|
+
plugins: [dts(), json(), exitAfterBuild()],
|
|
35
46
|
},
|
|
36
47
|
];
|