@orangelogic/orange-dam-content-browser-sdk 2.1.53 → 2.1.54
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/.env +1 -0
- package/.eslintignore +2 -0
- package/.eslintrc.json +82 -0
- package/.releaserc +17 -0
- package/.travis.yml +20 -0
- package/CBSDKdemo.html +315 -0
- package/GitVersion.yml +18 -0
- package/azure-pipeline.yaml +93 -0
- package/clientlib.config.js +36 -0
- package/config/env.js +105 -0
- package/config/getHttpsConfig.js +67 -0
- package/config/jest/babelTransform.js +30 -0
- package/config/jest/cssTransform.js +14 -0
- package/config/jest/fileTransform.js +41 -0
- package/config/modules.js +135 -0
- package/config/paths.js +79 -0
- package/config/webpack/persistentCache/createEnvironmentHash.js +10 -0
- package/config/webpack.config.js +762 -0
- package/config/webpackDevServer.config.js +128 -0
- package/config-overrides.js +8 -0
- package/gab_extension/GAB.html +85 -0
- package/gab_extension/GoogleChrome/manifest.json +28 -0
- package/gab_extension/GoogleChrome/src/assets/icon48.png +0 -0
- package/gab_extension/GoogleChrome/src/background/index.js +6 -0
- package/gab_extension/GoogleChrome/src/scripts/index.js +347 -0
- package/gab_extension/MozillaFirefox/manifest.json +20 -0
- package/gab_extension/MozillaFirefox/src/assets/icon.png +0 -0
- package/gab_extension/MozillaFirefox/src/background/index.js +5 -0
- package/gab_extension/MozillaFirefox/src/scripts/index.js +347 -0
- package/gab_extension/README.md +11 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.pbxproj +927 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/project.xcworkspace/xcuserdata/oldevmac01.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Orange DAM Asset Browser Extension.xcodeproj/xcuserdata/oldevmac01.xcuserdatad/xcschemes/xcschememanagement.plist +19 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json +63 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/Contents.json +6 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json +20 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Base.lproj/Main.html +23 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Resources/Icon.png +0 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Resources/Script.js +24 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/Resources/Style.css +61 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (App)/ViewController.swift +81 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/Shared (Extension)/SafariWebExtensionHandler.swift +26 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/AppDelegate.swift +24 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/Base.lproj/LaunchScreen.storyboard +36 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/Base.lproj/Main.storyboard +38 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/Info.plist +27 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (App)/SceneDelegate.swift +18 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/iOS (Extension)/Info.plist +13 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/AppDelegate.swift +21 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/Base.lproj/Main.storyboard +125 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/Info.plist +8 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (App)/Orange DAM Asset Browser Extension.entitlements +12 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (Extension)/Info.plist +13 -0
- package/gab_extension/Safari/Orange DAM Asset Browser Extension/macOS (Extension)/Orange DAM Asset Browser Extension.entitlements +10 -0
- package/package.json +8 -49
- package/public/index.html +92 -0
- package/scripts/build.js +218 -0
- package/scripts/start.js +154 -0
- package/scripts/test.js +53 -0
- package/src/App.tsx +98 -0
- package/src/AppContext.ts +18 -0
- package/src/GlobalConfigContext.ts +46 -0
- package/src/components/ArrayClamp/ArrayClamp.styled.ts +42 -0
- package/src/components/ArrayClamp/ArrayClamp.tsx +167 -0
- package/src/components/ArrayClamp/index.ts +1 -0
- package/src/components/Browser/Browser.styled.ts +82 -0
- package/src/components/Browser/Browser.tsx +284 -0
- package/src/components/Browser/BrowserItem.tsx +98 -0
- package/src/components/ControlBar/ControlBar.constants.tsx +66 -0
- package/src/components/ControlBar/ControlBar.styled.ts +82 -0
- package/src/components/ControlBar/ControlBar.tsx +528 -0
- package/src/components/ControlBar/Facet/Facet.tsx +113 -0
- package/src/components/ControlBar/Facet/index.ts +1 -0
- package/src/components/FormatDialog/CropPreviewer/CropPreviewer.tsx +224 -0
- package/{build/components/FormatDialog/CropPreviewer/index.d.ts → src/components/FormatDialog/CropPreviewer/index.ts} +1 -1
- package/src/components/FormatDialog/CustomRendition/CustomRendition.constants.ts +24 -0
- package/src/components/FormatDialog/CustomRendition/CustomRendition.styled.ts +57 -0
- package/src/components/FormatDialog/CustomRendition/CustomRendition.tsx +178 -0
- package/src/components/FormatDialog/CustomRendition/index.ts +1 -0
- package/src/components/FormatDialog/CustomRendition/transformations/Crop.tsx +249 -0
- package/src/components/FormatDialog/CustomRendition/transformations/Extension.tsx +54 -0
- package/src/components/FormatDialog/CustomRendition/transformations/Format.tsx +86 -0
- package/src/components/FormatDialog/CustomRendition/transformations/Resize.tsx +176 -0
- package/src/components/FormatDialog/CustomRendition/transformations/Rotate.tsx +101 -0
- package/{build/components/FormatDialog/CustomRendition/transformations/index.d.ts → src/components/FormatDialog/CustomRendition/transformations/index.ts} +1 -3
- package/src/components/FormatDialog/FormatDialog.styled.ts +137 -0
- package/src/components/FormatDialog/FormatDialog.tsx +1533 -0
- package/src/components/FormatDialog/Previewer/Previewer.styled.ts +31 -0
- package/src/components/FormatDialog/Previewer/Previewer.tsx +143 -0
- package/src/components/FormatDialog/Previewer/index.ts +1 -0
- package/src/components/FormatDialog/ProxyMenu/ProxyMenu.styled.ts +88 -0
- package/src/components/FormatDialog/ProxyMenu/ProxyMenu.tsx +74 -0
- package/src/components/FormatDialog/ProxyMenu/index.ts +1 -0
- package/src/components/FormatDialog/TrackingParameters/TrackingParameters.tsx +59 -0
- package/src/components/FormatDialog/TrackingParameters/index.ts +1 -0
- package/src/components/FormatDialog/index.ts +1 -0
- package/src/components/Header/Header.styled.ts +51 -0
- package/src/components/Header/Header.tsx +118 -0
- package/src/components/Loader/Loader.tsx +37 -0
- package/src/components/Loader/index.ts +1 -0
- package/src/components/NoResult/NoResult.tsx +37 -0
- package/src/components/NoResult/index.tsx +1 -0
- package/src/components/Result/AssetCard/AssetCard.styled.ts +120 -0
- package/src/components/Result/AssetCard/AssetCard.tsx +192 -0
- package/src/components/Result/AssetCard/AssetCardWrapper.styled.ts +35 -0
- package/src/components/Result/AssetCard/AssetCardWrapper.tsx +165 -0
- package/src/components/Result/AssetCard/index.ts +1 -0
- package/src/components/Result/AssetPreview/AssetPreview.styled.ts +108 -0
- package/src/components/Result/AssetPreview/AssetPreview.tsx +78 -0
- package/src/components/Result/AssetPreview/ImagePreview/ImagePreview.tsx +42 -0
- package/src/components/Result/AssetPreview/ImagePreview/index.ts +1 -0
- package/src/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.ts +23 -0
- package/src/components/Result/AssetPreview/OtherPreview/OtherPreview.tsx +28 -0
- package/src/components/Result/AssetPreview/OtherPreview/index.ts +1 -0
- package/src/components/Result/AssetPreview/VideoPreview/VideoPreview.tsx +132 -0
- package/src/components/Result/AssetPreview/VideoPreview/index.ts +1 -0
- package/src/components/Result/AssetPreview/index.ts +1 -0
- package/src/consts/asset.ts +16 -0
- package/src/consts/data.ts +17 -0
- package/src/index.tsx +305 -0
- package/src/page/Authenticate/Authenticate.tsx +232 -0
- package/src/page/Authenticate/ConnectingBackground.tsx +44 -0
- package/src/page/Authenticate/index.tsx +94 -0
- package/src/page/Home/Home.styled.ts +46 -0
- package/src/page/Home/Home.tsx +941 -0
- package/src/react-web-component.d.ts +4617 -0
- package/src/store/assets/assets.api.ts +167 -0
- package/src/store/assets/assets.service.ts +223 -0
- package/src/store/assets/assets.slice.ts +104 -0
- package/src/store/auth/auth.service.ts +71 -0
- package/src/store/auth/auth.slice.ts +295 -0
- package/src/store/index.ts +27 -0
- package/src/store/search/search.api.ts +319 -0
- package/src/store/search/search.slice.ts +28 -0
- package/src/store/user/user.api.ts +29 -0
- package/src/styles.css +42 -0
- package/src/types/assets.ts +71 -0
- package/src/types/auth.ts +42 -0
- package/src/types/common.ts +11 -0
- package/src/types/download.ts +8 -0
- package/src/types/navigation.ts +3 -0
- package/src/types/search.ts +116 -0
- package/{build/types/storage.d.ts → src/types/storage.ts} +1 -1
- package/src/types/user.ts +6 -0
- package/src/utils/api.ts +186 -0
- package/src/utils/array.ts +25 -0
- package/src/utils/constants.ts +12 -0
- package/src/utils/fetch.ts +116 -0
- package/src/utils/getRequestUrl.ts +15 -0
- package/src/utils/hooks.ts +36 -0
- package/src/utils/icon.ts +22 -0
- package/src/utils/image.ts +157 -0
- package/src/utils/number.ts +11 -0
- package/src/utils/rotate.ts +23 -0
- package/src/utils/storage.ts +184 -0
- package/src/utils/string.ts +24 -0
- package/src/view/AssetsPicker.tsx +24 -0
- package/src/web-component.d.ts +8151 -0
- package/tsconfig.eslint.json +10 -0
- package/tsconfig.json +37 -0
- package/build/ApiService.d.ts +0 -15
- package/build/App.d.ts +0 -62
- package/build/AppContext.d.ts +0 -18
- package/build/GlobalConfigContext.d.ts +0 -32
- package/build/OrangeDAMContentBrowserSDK.min.css +0 -2
- package/build/OrangeDAMContentBrowserSDK.min.css.map +0 -1
- package/build/OrangeDAMContentBrowserSDK.min.js +0 -11468
- package/build/OrangeDAMContentBrowserSDK.min.js.map +0 -1
- package/build/asset-manifest.json +0 -13
- package/build/components/ArrayClamp/ArrayClamp.d.ts +0 -10
- package/build/components/ArrayClamp/ArrayClamp.styled.d.ts +0 -1
- package/build/components/ArrayClamp/index.d.ts +0 -1
- package/build/components/Browser/Browser.constants.d.ts +0 -3
- package/build/components/Browser/Browser.d.ts +0 -21
- package/build/components/Browser/Browser.styled.d.ts +0 -2
- package/build/components/Browser/BrowserItem.d.ts +0 -13
- package/build/components/Browser/LoadMoreButton.d.ts +0 -9
- package/build/components/ControlBar/ControlBar.constants.d.ts +0 -10
- package/build/components/ControlBar/ControlBar.d.ts +0 -23
- package/build/components/ControlBar/ControlBar.styled.d.ts +0 -1
- package/build/components/ControlBar/Facet/Facet.d.ts +0 -14
- package/build/components/ControlBar/Facet/index.d.ts +0 -1
- package/build/components/FormatDialog/CropPreviewer/CropPreviewer.d.ts +0 -41
- package/build/components/FormatDialog/CustomRendition/CustomRendition.constants.d.ts +0 -5
- package/build/components/FormatDialog/CustomRendition/CustomRendition.d.ts +0 -56
- package/build/components/FormatDialog/CustomRendition/CustomRendition.styled.d.ts +0 -1
- package/build/components/FormatDialog/CustomRendition/index.d.ts +0 -1
- package/build/components/FormatDialog/CustomRendition/transformations/Crop.d.ts +0 -26
- package/build/components/FormatDialog/CustomRendition/transformations/Extension.d.ts +0 -11
- package/build/components/FormatDialog/CustomRendition/transformations/Format.d.ts +0 -10
- package/build/components/FormatDialog/CustomRendition/transformations/Metadata.d.ts +0 -7
- package/build/components/FormatDialog/CustomRendition/transformations/Quality.d.ts +0 -7
- package/build/components/FormatDialog/CustomRendition/transformations/Resize.d.ts +0 -18
- package/build/components/FormatDialog/CustomRendition/transformations/Rotate.d.ts +0 -8
- package/build/components/FormatDialog/FormatDialog.d.ts +0 -49
- package/build/components/FormatDialog/FormatDialog.styled.d.ts +0 -3
- package/build/components/FormatDialog/Previewer/Previewer.d.ts +0 -17
- package/build/components/FormatDialog/Previewer/Previewer.styled.d.ts +0 -1
- package/build/components/FormatDialog/Previewer/index.d.ts +0 -1
- package/build/components/FormatDialog/ProxyMenu/ProxyMenu.d.ts +0 -20
- package/build/components/FormatDialog/ProxyMenu/ProxyMenu.styled.d.ts +0 -2
- package/build/components/FormatDialog/ProxyMenu/index.d.ts +0 -1
- package/build/components/FormatDialog/TrackingParameters/TrackingParameters.d.ts +0 -13
- package/build/components/FormatDialog/TrackingParameters/index.d.ts +0 -1
- package/build/components/FormatDialog/VersionHistory/VersionHistory.d.ts +0 -6
- package/build/components/FormatDialog/VersionHistory/VersionHistory.styled.d.ts +0 -1
- package/build/components/FormatDialog/VersionHistory/index.d.ts +0 -1
- package/build/components/FormatDialog/index.d.ts +0 -1
- package/build/components/Header/Header.d.ts +0 -15
- package/build/components/Header/Header.styled.d.ts +0 -5
- package/build/components/Loader/Loader.d.ts +0 -7
- package/build/components/Loader/index.d.ts +0 -1
- package/build/components/NoResult/NoResult.d.ts +0 -7
- package/build/components/NoResult/index.d.ts +0 -1
- package/build/components/Result/AssetCard/AssetCard.d.ts +0 -15
- package/build/components/Result/AssetCard/AssetCard.styled.d.ts +0 -2
- package/build/components/Result/AssetCard/AssetCardWrapper.d.ts +0 -18
- package/build/components/Result/AssetCard/AssetCardWrapper.styled.d.ts +0 -1
- package/build/components/Result/AssetCard/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/AssetPreview.d.ts +0 -11
- package/build/components/Result/AssetPreview/AssetPreview.styled.d.ts +0 -1
- package/build/components/Result/AssetPreview/ImagePreview/ImagePreview.d.ts +0 -11
- package/build/components/Result/AssetPreview/ImagePreview/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/OtherPreview/OtherPreview.d.ts +0 -9
- package/build/components/Result/AssetPreview/OtherPreview/OtherPreview.styled.d.ts +0 -1
- package/build/components/Result/AssetPreview/OtherPreview/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/VideoPreview/VideoPreview.d.ts +0 -11
- package/build/components/Result/AssetPreview/VideoPreview/index.d.ts +0 -1
- package/build/components/Result/AssetPreview/index.d.ts +0 -1
- package/build/consts/asset.d.ts +0 -14
- package/build/consts/auth.d.ts +0 -4
- package/build/consts/data.d.ts +0 -21
- package/build/index.d.ts +0 -225
- package/build/index.html +0 -1
- package/build/page/Authenticate/Authenticate.d.ts +0 -2
- package/build/page/Authenticate/ConnectingBackground.d.ts +0 -8
- package/build/page/Authenticate/index.d.ts +0 -2
- package/build/page/Home/Home.d.ts +0 -6
- package/build/page/Home/Home.styled.d.ts +0 -2
- package/build/setupTests.d.ts +0 -1
- package/build/store/assets/assets.api.d.ts +0 -66
- package/build/store/assets/assets.service.d.ts +0 -23
- package/build/store/assets/assets.slice.d.ts +0 -65
- package/build/store/auth/auth.service.d.ts +0 -10
- package/build/store/auth/auth.slice.d.ts +0 -76
- package/build/store/index.d.ts +0 -368
- package/build/store/search/search.api.d.ts +0 -39
- package/build/store/search/search.slice.d.ts +0 -12
- package/build/store/user/user.api.d.ts +0 -5
- package/build/types/assets.d.ts +0 -68
- package/build/types/auth.d.ts +0 -35
- package/build/types/common.d.ts +0 -11
- package/build/types/download.d.ts +0 -8
- package/build/types/navigation.d.ts +0 -3
- package/build/types/search.d.ts +0 -148
- package/build/types/user.d.ts +0 -7
- package/build/utils/api.d.ts +0 -27
- package/build/utils/array.d.ts +0 -13
- package/build/utils/constants.d.ts +0 -11
- package/build/utils/function.d.ts +0 -1
- package/build/utils/getRequestUrl.d.ts +0 -1
- package/build/utils/hooks.d.ts +0 -1
- package/build/utils/icon.d.ts +0 -3
- package/build/utils/image.d.ts +0 -24
- package/build/utils/number.d.ts +0 -4
- package/build/utils/rotate.d.ts +0 -4
- package/build/utils/storage.d.ts +0 -23
- package/build/utils/string.d.ts +0 -12
- package/build/view/AssetsPicker.d.ts +0 -6
- /package/{build → public}/favicon.ico +0 -0
- /package/{build → public}/logo192.png +0 -0
- /package/{build → public}/logo512.png +0 -0
- /package/{build → public}/manifest.json +0 -0
- /package/{build → public}/robots.txt +0 -0
- /package/{build/components/Browser/index.d.ts → src/components/Browser/index.ts} +0 -0
- /package/{build/components/ControlBar/index.d.ts → src/components/ControlBar/index.ts} +0 -0
- /package/{build/components/Header/index.d.ts → src/components/Header/index.ts} +0 -0
- /package/{build/page/Home/index.d.ts → src/page/Home/index.ts} +0 -0
package/build/store/index.d.ts
DELETED
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
import type { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
-
export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
|
|
3
|
-
auth: import("./auth/auth.slice").AuthState;
|
|
4
|
-
assets: import("../types/assets").AssetsState;
|
|
5
|
-
searchApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
6
|
-
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
7
|
-
items: import("../types/search").Folder[];
|
|
8
|
-
totalCount: number;
|
|
9
|
-
}, "searchApi">;
|
|
10
|
-
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
11
|
-
items: import("../types/search").Folder[];
|
|
12
|
-
totalCount: number;
|
|
13
|
-
}, "searchApi">;
|
|
14
|
-
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
15
|
-
facets: import("../types/search").Facet[];
|
|
16
|
-
items: import("../types/search").Asset[];
|
|
17
|
-
totalCount: number;
|
|
18
|
-
}, "searchApi">;
|
|
19
|
-
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
20
|
-
recordId: string;
|
|
21
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
22
|
-
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
23
|
-
id: string;
|
|
24
|
-
useSession?: string;
|
|
25
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
26
|
-
}, "Folders" | "Images" | "ImagesInFolders", "searchApi">;
|
|
27
|
-
userApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
28
|
-
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
29
|
-
}, never, "userApi">;
|
|
30
|
-
assetsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
31
|
-
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
32
|
-
useSession: string;
|
|
33
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
34
|
-
Album: {
|
|
35
|
-
displayName: string;
|
|
36
|
-
value: string;
|
|
37
|
-
}[];
|
|
38
|
-
Audio: {
|
|
39
|
-
displayName: string;
|
|
40
|
-
value: string;
|
|
41
|
-
}[];
|
|
42
|
-
Image: {
|
|
43
|
-
displayName: string;
|
|
44
|
-
value: string;
|
|
45
|
-
}[];
|
|
46
|
-
Multimedia: {
|
|
47
|
-
displayName: string;
|
|
48
|
-
value: string;
|
|
49
|
-
}[];
|
|
50
|
-
Story: {
|
|
51
|
-
displayName: string;
|
|
52
|
-
value: string;
|
|
53
|
-
}[];
|
|
54
|
-
Video: {
|
|
55
|
-
displayName: string;
|
|
56
|
-
value: string;
|
|
57
|
-
}[];
|
|
58
|
-
Widget: {
|
|
59
|
-
displayName: string;
|
|
60
|
-
value: string;
|
|
61
|
-
}[];
|
|
62
|
-
}, "assetsApi">;
|
|
63
|
-
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
64
|
-
assetImages?: import("../types/search").Asset[];
|
|
65
|
-
docTypes?: string[];
|
|
66
|
-
useSession?: string;
|
|
67
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
68
|
-
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
69
|
-
useSession: string;
|
|
70
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
71
|
-
displayName: string;
|
|
72
|
-
facetFieldName: string;
|
|
73
|
-
}[], "assetsApi">;
|
|
74
|
-
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
75
|
-
useSession?: string;
|
|
76
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
77
|
-
ATSEnabled: boolean;
|
|
78
|
-
autoExtension: string;
|
|
79
|
-
collectionPath: string;
|
|
80
|
-
supportedExtensions: string[];
|
|
81
|
-
supportedRepresentativeSubtypes: string[];
|
|
82
|
-
}, "assetsApi">;
|
|
83
|
-
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
84
|
-
useSession?: string;
|
|
85
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
86
|
-
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
87
|
-
assetId: string;
|
|
88
|
-
useSession?: string;
|
|
89
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
90
|
-
count: number;
|
|
91
|
-
versions: Record<string, string>[];
|
|
92
|
-
}, "assetsApi">;
|
|
93
|
-
}, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", "assetsApi">;
|
|
94
|
-
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("redux-thunk").ThunkMiddleware<{
|
|
95
|
-
auth: import("./auth/auth.slice").AuthState;
|
|
96
|
-
assets: import("../types/assets").AssetsState;
|
|
97
|
-
searchApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
98
|
-
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
99
|
-
items: import("../types/search").Folder[];
|
|
100
|
-
totalCount: number;
|
|
101
|
-
}, "searchApi">;
|
|
102
|
-
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
103
|
-
items: import("../types/search").Folder[];
|
|
104
|
-
totalCount: number;
|
|
105
|
-
}, "searchApi">;
|
|
106
|
-
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
107
|
-
facets: import("../types/search").Facet[];
|
|
108
|
-
items: import("../types/search").Asset[];
|
|
109
|
-
totalCount: number;
|
|
110
|
-
}, "searchApi">;
|
|
111
|
-
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
112
|
-
recordId: string;
|
|
113
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
114
|
-
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
115
|
-
id: string;
|
|
116
|
-
useSession?: string;
|
|
117
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
118
|
-
}, "Folders" | "Images" | "ImagesInFolders", "searchApi">;
|
|
119
|
-
userApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
120
|
-
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
121
|
-
}, never, "userApi">;
|
|
122
|
-
assetsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
123
|
-
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
124
|
-
useSession: string;
|
|
125
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
126
|
-
Album: {
|
|
127
|
-
displayName: string;
|
|
128
|
-
value: string;
|
|
129
|
-
}[];
|
|
130
|
-
Audio: {
|
|
131
|
-
displayName: string;
|
|
132
|
-
value: string;
|
|
133
|
-
}[];
|
|
134
|
-
Image: {
|
|
135
|
-
displayName: string;
|
|
136
|
-
value: string;
|
|
137
|
-
}[];
|
|
138
|
-
Multimedia: {
|
|
139
|
-
displayName: string;
|
|
140
|
-
value: string;
|
|
141
|
-
}[];
|
|
142
|
-
Story: {
|
|
143
|
-
displayName: string;
|
|
144
|
-
value: string;
|
|
145
|
-
}[];
|
|
146
|
-
Video: {
|
|
147
|
-
displayName: string;
|
|
148
|
-
value: string;
|
|
149
|
-
}[];
|
|
150
|
-
Widget: {
|
|
151
|
-
displayName: string;
|
|
152
|
-
value: string;
|
|
153
|
-
}[];
|
|
154
|
-
}, "assetsApi">;
|
|
155
|
-
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
156
|
-
assetImages?: import("../types/search").Asset[];
|
|
157
|
-
docTypes?: string[];
|
|
158
|
-
useSession?: string;
|
|
159
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
160
|
-
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
161
|
-
useSession: string;
|
|
162
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
163
|
-
displayName: string;
|
|
164
|
-
facetFieldName: string;
|
|
165
|
-
}[], "assetsApi">;
|
|
166
|
-
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
167
|
-
useSession?: string;
|
|
168
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
169
|
-
ATSEnabled: boolean;
|
|
170
|
-
autoExtension: string;
|
|
171
|
-
collectionPath: string;
|
|
172
|
-
supportedExtensions: string[];
|
|
173
|
-
supportedRepresentativeSubtypes: string[];
|
|
174
|
-
}, "assetsApi">;
|
|
175
|
-
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
176
|
-
useSession?: string;
|
|
177
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
178
|
-
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
179
|
-
assetId: string;
|
|
180
|
-
useSession?: string;
|
|
181
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
182
|
-
count: number;
|
|
183
|
-
versions: Record<string, string>[];
|
|
184
|
-
}, "assetsApi">;
|
|
185
|
-
}, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", "assetsApi">;
|
|
186
|
-
}, import("redux").AnyAction>, ...(import("redux").Middleware<{}, import("@reduxjs/toolkit/query").RootState<{
|
|
187
|
-
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
188
|
-
items: import("../types/search").Folder[];
|
|
189
|
-
totalCount: number;
|
|
190
|
-
}, "searchApi">;
|
|
191
|
-
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
192
|
-
items: import("../types/search").Folder[];
|
|
193
|
-
totalCount: number;
|
|
194
|
-
}, "searchApi">;
|
|
195
|
-
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
196
|
-
facets: import("../types/search").Facet[];
|
|
197
|
-
items: import("../types/search").Asset[];
|
|
198
|
-
totalCount: number;
|
|
199
|
-
}, "searchApi">;
|
|
200
|
-
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
201
|
-
recordId: string;
|
|
202
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
203
|
-
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
204
|
-
id: string;
|
|
205
|
-
useSession?: string;
|
|
206
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
207
|
-
}, string, "searchApi">, import("redux-thunk").ThunkDispatch<any, any, import("redux").AnyAction>> | import("redux").Middleware<{}, import("@reduxjs/toolkit/query").RootState<{
|
|
208
|
-
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
209
|
-
}, string, "userApi">, import("redux-thunk").ThunkDispatch<any, any, import("redux").AnyAction>> | import("redux").Middleware<{}, import("@reduxjs/toolkit/query").RootState<{
|
|
210
|
-
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
211
|
-
useSession: string;
|
|
212
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
213
|
-
Album: {
|
|
214
|
-
displayName: string;
|
|
215
|
-
value: string;
|
|
216
|
-
}[];
|
|
217
|
-
Audio: {
|
|
218
|
-
displayName: string;
|
|
219
|
-
value: string;
|
|
220
|
-
}[];
|
|
221
|
-
Image: {
|
|
222
|
-
displayName: string;
|
|
223
|
-
value: string;
|
|
224
|
-
}[];
|
|
225
|
-
Multimedia: {
|
|
226
|
-
displayName: string;
|
|
227
|
-
value: string;
|
|
228
|
-
}[];
|
|
229
|
-
Story: {
|
|
230
|
-
displayName: string;
|
|
231
|
-
value: string;
|
|
232
|
-
}[];
|
|
233
|
-
Video: {
|
|
234
|
-
displayName: string;
|
|
235
|
-
value: string;
|
|
236
|
-
}[];
|
|
237
|
-
Widget: {
|
|
238
|
-
displayName: string;
|
|
239
|
-
value: string;
|
|
240
|
-
}[];
|
|
241
|
-
}, "assetsApi">;
|
|
242
|
-
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
243
|
-
assetImages?: import("../types/search").Asset[];
|
|
244
|
-
docTypes?: string[];
|
|
245
|
-
useSession?: string;
|
|
246
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
247
|
-
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
248
|
-
useSession: string;
|
|
249
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
250
|
-
displayName: string;
|
|
251
|
-
facetFieldName: string;
|
|
252
|
-
}[], "assetsApi">;
|
|
253
|
-
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
254
|
-
useSession?: string;
|
|
255
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
256
|
-
ATSEnabled: boolean;
|
|
257
|
-
autoExtension: string;
|
|
258
|
-
collectionPath: string;
|
|
259
|
-
supportedExtensions: string[];
|
|
260
|
-
supportedRepresentativeSubtypes: string[];
|
|
261
|
-
}, "assetsApi">;
|
|
262
|
-
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
263
|
-
useSession?: string;
|
|
264
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
265
|
-
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
266
|
-
assetId: string;
|
|
267
|
-
useSession?: string;
|
|
268
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
269
|
-
count: number;
|
|
270
|
-
versions: Record<string, string>[];
|
|
271
|
-
}, "assetsApi">;
|
|
272
|
-
}, string, "assetsApi">, import("redux-thunk").ThunkDispatch<any, any, import("redux").AnyAction>>)[]]>>;
|
|
273
|
-
export type RootState = ReturnType<typeof store.getState>;
|
|
274
|
-
export type AppDispatch = typeof store.dispatch;
|
|
275
|
-
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
|
|
276
|
-
auth: import("./auth/auth.slice").AuthState;
|
|
277
|
-
assets: import("../types/assets").AssetsState;
|
|
278
|
-
searchApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
279
|
-
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
280
|
-
items: import("../types/search").Folder[];
|
|
281
|
-
totalCount: number;
|
|
282
|
-
}, "searchApi">;
|
|
283
|
-
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
284
|
-
items: import("../types/search").Folder[];
|
|
285
|
-
totalCount: number;
|
|
286
|
-
}, "searchApi">;
|
|
287
|
-
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<import("../types/search").GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
288
|
-
facets: import("../types/search").Facet[];
|
|
289
|
-
items: import("../types/search").Asset[];
|
|
290
|
-
totalCount: number;
|
|
291
|
-
}, "searchApi">;
|
|
292
|
-
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
293
|
-
recordId: string;
|
|
294
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
295
|
-
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
296
|
-
id: string;
|
|
297
|
-
useSession?: string;
|
|
298
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", import("../types/search").Asset | undefined, "searchApi">;
|
|
299
|
-
}, "Folders" | "Images" | "ImagesInFolders", "searchApi">;
|
|
300
|
-
userApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
301
|
-
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, import("../types/user").UserInfo, "userApi">;
|
|
302
|
-
}, never, "userApi">;
|
|
303
|
-
assetsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
304
|
-
getAvailableExtensions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
305
|
-
useSession: string;
|
|
306
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
307
|
-
Album: {
|
|
308
|
-
displayName: string;
|
|
309
|
-
value: string;
|
|
310
|
-
}[];
|
|
311
|
-
Audio: {
|
|
312
|
-
displayName: string;
|
|
313
|
-
value: string;
|
|
314
|
-
}[];
|
|
315
|
-
Image: {
|
|
316
|
-
displayName: string;
|
|
317
|
-
value: string;
|
|
318
|
-
}[];
|
|
319
|
-
Multimedia: {
|
|
320
|
-
displayName: string;
|
|
321
|
-
value: string;
|
|
322
|
-
}[];
|
|
323
|
-
Story: {
|
|
324
|
-
displayName: string;
|
|
325
|
-
value: string;
|
|
326
|
-
}[];
|
|
327
|
-
Video: {
|
|
328
|
-
displayName: string;
|
|
329
|
-
value: string;
|
|
330
|
-
}[];
|
|
331
|
-
Widget: {
|
|
332
|
-
displayName: string;
|
|
333
|
-
value: string;
|
|
334
|
-
}[];
|
|
335
|
-
}, "assetsApi">;
|
|
336
|
-
getAvailableProxies: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
337
|
-
assetImages?: import("../types/search").Asset[];
|
|
338
|
-
docTypes?: string[];
|
|
339
|
-
useSession?: string;
|
|
340
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", import("./assets/assets.api").GetAvailableProxiesResponse, "assetsApi">;
|
|
341
|
-
getAvailableFacets: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
342
|
-
useSession: string;
|
|
343
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
344
|
-
displayName: string;
|
|
345
|
-
facetFieldName: string;
|
|
346
|
-
}[], "assetsApi">;
|
|
347
|
-
getParameters: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
348
|
-
useSession?: string;
|
|
349
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
350
|
-
ATSEnabled: boolean;
|
|
351
|
-
autoExtension: string;
|
|
352
|
-
collectionPath: string;
|
|
353
|
-
supportedExtensions: string[];
|
|
354
|
-
supportedRepresentativeSubtypes: string[];
|
|
355
|
-
}, "assetsApi">;
|
|
356
|
-
getSortOrders: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
357
|
-
useSession?: string;
|
|
358
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", Record<string, import("../types/assets").SortOrder[]>, "assetsApi">;
|
|
359
|
-
getVersionHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
360
|
-
assetId: string;
|
|
361
|
-
useSession?: string;
|
|
362
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", {
|
|
363
|
-
count: number;
|
|
364
|
-
versions: Record<string, string>[];
|
|
365
|
-
}, "assetsApi">;
|
|
366
|
-
}, "AvailableExtensions" | "AvailableFacets" | "AvailableProxies" | "Parameters" | "SortOrders" | "VersionHistory", "assetsApi">;
|
|
367
|
-
}, undefined, import("redux").AnyAction> & import("redux").Dispatch<import("redux").AnyAction>;
|
|
368
|
-
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Asset, Facet, Folder, GetContentRequest, GetFoldersRequest } from '@/types/search';
|
|
2
|
-
export declare const searchApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, {
|
|
3
|
-
getFolders: import("@reduxjs/toolkit/query").QueryDefinition<GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
4
|
-
items: Folder[];
|
|
5
|
-
totalCount: number;
|
|
6
|
-
}, "searchApi">;
|
|
7
|
-
getCollections: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
8
|
-
items: Folder[];
|
|
9
|
-
totalCount: number;
|
|
10
|
-
}, "searchApi">;
|
|
11
|
-
getAssets: import("@reduxjs/toolkit/query").QueryDefinition<GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
12
|
-
facets: Facet[];
|
|
13
|
-
items: Asset[];
|
|
14
|
-
totalCount: number;
|
|
15
|
-
}, "searchApi">;
|
|
16
|
-
getIsFavorite: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
17
|
-
recordId: string;
|
|
18
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">;
|
|
19
|
-
getAssetById: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
20
|
-
id: string;
|
|
21
|
-
useSession?: string;
|
|
22
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", Asset | undefined, "searchApi">;
|
|
23
|
-
}, "searchApi", "Folders" | "Images" | "ImagesInFolders", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
24
|
-
export declare const useGetFoldersQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<GetFoldersRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
25
|
-
items: Folder[];
|
|
26
|
-
totalCount: number;
|
|
27
|
-
}, "searchApi">>, useGetCollectionsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
28
|
-
items: Folder[];
|
|
29
|
-
totalCount: number;
|
|
30
|
-
}, "searchApi">>, useGetAssetsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<GetContentRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", {
|
|
31
|
-
facets: Facet[];
|
|
32
|
-
items: Asset[];
|
|
33
|
-
totalCount: number;
|
|
34
|
-
}, "searchApi">>, useGetAssetByIdQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
35
|
-
id: string;
|
|
36
|
-
useSession?: string;
|
|
37
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", Asset | undefined, "searchApi">>, useGetIsFavoriteQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
38
|
-
recordId: string;
|
|
39
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, "Folders" | "Images" | "ImagesInFolders", boolean, "searchApi">>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Folder } from '@/types/search';
|
|
2
|
-
export declare const RootFolder: Folder;
|
|
3
|
-
export declare const explorePath: import("@reduxjs/toolkit").AsyncThunk<boolean, Folder, {
|
|
4
|
-
state?: unknown;
|
|
5
|
-
dispatch?: import("redux").Dispatch;
|
|
6
|
-
extra?: unknown;
|
|
7
|
-
rejectValue?: unknown;
|
|
8
|
-
serializedErrorType?: unknown;
|
|
9
|
-
pendingMeta?: unknown;
|
|
10
|
-
fulfilledMeta?: unknown;
|
|
11
|
-
rejectedMeta?: unknown;
|
|
12
|
-
}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { UserInfo } from '@/types/user';
|
|
2
|
-
export declare const userApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, {
|
|
3
|
-
getUserInfo: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, UserInfo, "userApi">;
|
|
4
|
-
}, "userApi", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
|
5
|
-
export declare const useGetUserInfoQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/dist/query/retry").RetryOptions, {}>, never, UserInfo, "userApi">>;
|
package/build/types/assets.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { Asset } from './search';
|
|
2
|
-
export type GetLargestDownloadLinkRes = {
|
|
3
|
-
downloadLink: string;
|
|
4
|
-
};
|
|
5
|
-
export type AssetsState = {
|
|
6
|
-
errorMessage?: string;
|
|
7
|
-
selectedAssetId?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare enum ImageImportStatus {
|
|
10
|
-
Importing = 0,
|
|
11
|
-
Success = 1,
|
|
12
|
-
Failed = 2
|
|
13
|
-
}
|
|
14
|
-
export type ImageImport = {
|
|
15
|
-
image: Asset;
|
|
16
|
-
message?: string;
|
|
17
|
-
status: ImageImportStatus;
|
|
18
|
-
};
|
|
19
|
-
export declare enum TransformationAction {
|
|
20
|
-
Resize = 0,
|
|
21
|
-
Crop = 1,
|
|
22
|
-
Rotate = 2,
|
|
23
|
-
Quality = 3,
|
|
24
|
-
KeepMetadata = 4
|
|
25
|
-
}
|
|
26
|
-
export type Transformation = {
|
|
27
|
-
key: TransformationAction;
|
|
28
|
-
value: {
|
|
29
|
-
width?: number;
|
|
30
|
-
height?: number;
|
|
31
|
-
x?: number;
|
|
32
|
-
y?: number;
|
|
33
|
-
rotation?: number;
|
|
34
|
-
keepMetadata?: boolean;
|
|
35
|
-
quality?: number;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export type TrackingParameter = {
|
|
39
|
-
key: string;
|
|
40
|
-
value: string;
|
|
41
|
-
};
|
|
42
|
-
export declare enum Unit {
|
|
43
|
-
Pixel = "pixels",
|
|
44
|
-
AspectRatio = "aspect-ratio"
|
|
45
|
-
}
|
|
46
|
-
export type SortOrder = {
|
|
47
|
-
description: string;
|
|
48
|
-
id: string;
|
|
49
|
-
isDefault?: boolean;
|
|
50
|
-
legacyValue: string;
|
|
51
|
-
name: string;
|
|
52
|
-
sortDirection: string;
|
|
53
|
-
sortDirectionDisplayName: string;
|
|
54
|
-
sortDirectionGroupKey: string;
|
|
55
|
-
sortType: string;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* ShowDialog: no loader, the format dialog is ready to open
|
|
59
|
-
*
|
|
60
|
-
* ShowLoader : show loader, hide the format dialog
|
|
61
|
-
*
|
|
62
|
-
* Hide: hide loader, hide the format dialog
|
|
63
|
-
*/
|
|
64
|
-
export declare enum FormatLoaderState {
|
|
65
|
-
Hide = "hide",
|
|
66
|
-
ShowLoader = "show-loader",
|
|
67
|
-
ShowDialog = "show-dialog"
|
|
68
|
-
}
|
package/build/types/auth.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export type AuthorizationResult = {
|
|
2
|
-
requestID: string;
|
|
3
|
-
};
|
|
4
|
-
export declare enum GetAccessKeyResponseCode {
|
|
5
|
-
Authorized = "Authorized",
|
|
6
|
-
RepeatRequest = "RepeatRequest",
|
|
7
|
-
NotAuthorized = "NotAuthorized"
|
|
8
|
-
}
|
|
9
|
-
export type GetAccessKeyResponse = {
|
|
10
|
-
accessKey?: string;
|
|
11
|
-
code: GetAccessKeyResponseCode;
|
|
12
|
-
message?: string;
|
|
13
|
-
};
|
|
14
|
-
export type GetAccessTokenResponse = {
|
|
15
|
-
accessToken?: string;
|
|
16
|
-
success: boolean;
|
|
17
|
-
};
|
|
18
|
-
export type RequestAuthorizeRes = {
|
|
19
|
-
nonce: string;
|
|
20
|
-
requestID: string;
|
|
21
|
-
};
|
|
22
|
-
export type GetAccessKeyRes = {
|
|
23
|
-
accessKey?: string;
|
|
24
|
-
code: GetAccessKeyResponseCode;
|
|
25
|
-
message?: string;
|
|
26
|
-
};
|
|
27
|
-
export type GetAccessTokenRes = {
|
|
28
|
-
accessToken?: string;
|
|
29
|
-
success: boolean;
|
|
30
|
-
};
|
|
31
|
-
export type OAuthRes = {
|
|
32
|
-
accessKey?: string;
|
|
33
|
-
accessToken?: string;
|
|
34
|
-
siteUrl: string;
|
|
35
|
-
};
|
package/build/types/common.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The error response from Cortex API.
|
|
3
|
-
* The body will always contain a message and an error code. Other field usually the placeholder for error message.
|
|
4
|
-
*/
|
|
5
|
-
export type CortexErrorResponse = {
|
|
6
|
-
Message: string;
|
|
7
|
-
ErrorCode: 'OL_ERR_001_NOTFOUND' | 'OL_ERR_002_NOTALLOWED' | 'OL_ERR_003_REMOVED' | 'OL_ASSETLINKSERVICE_ERROR_001_LINKS_TO_NON_REQUIRED_FORMATS_NOT_ALLOWED' | 'OL_ERR_006_BADREQUEST';
|
|
8
|
-
'Asset ID'?: string;
|
|
9
|
-
'Asset Identifier'?: string;
|
|
10
|
-
'Format'?: string;
|
|
11
|
-
};
|