@commercetools-frontend/application-shell 20.9.4 → 20.10.4
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/{application-entry-point-211fb17a.cjs.dev.js → application-entry-point-4b134bcb.cjs.dev.js} +4 -7
- package/dist/{application-entry-point-7b4ee9ee.cjs.prod.js → application-entry-point-83ea80e3.cjs.prod.js} +4 -7
- package/dist/{application-entry-point-5f0f015e.esm.js → application-entry-point-b7c5325e.esm.js} +4 -7
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -2
- package/dist/commercetools-frontend-application-shell.esm.js +2 -2
- package/dist/declarations/src/apollo-links/error-link.d.ts +2 -2
- package/dist/declarations/src/apollo-links/header-link.d.ts +3 -3
- package/dist/declarations/src/apollo-links/index.d.ts +4 -4
- package/dist/declarations/src/apollo-links/token-retry-link.d.ts +3 -3
- package/dist/declarations/src/apollo-links/utils.d.ts +10 -10
- package/dist/declarations/src/components/app-bar/app-bar.d.ts +12 -12
- package/dist/declarations/src/components/app-bar/index.d.ts +1 -1
- package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +9 -9
- package/dist/declarations/src/components/application-entry-point/index.d.ts +1 -1
- package/dist/declarations/src/components/application-loader/application-loader.d.ts +8 -8
- package/dist/declarations/src/components/application-loader/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +39 -39
- package/dist/declarations/src/components/application-shell/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/redirect-to-login.d.ts +5 -5
- package/dist/declarations/src/components/application-shell/redirect-to-logout.d.ts +6 -6
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +22 -22
- package/dist/declarations/src/components/application-shell-provider/global-styles.d.ts +2 -2
- package/dist/declarations/src/components/application-shell-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/use-coerced-environment-values.d.ts +28 -28
- package/dist/declarations/src/components/application-shell-provider/utils.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +13 -13
- package/dist/declarations/src/components/authenticated/authenticated.d.ts +16 -16
- package/dist/declarations/src/components/authenticated/has-cached-authentication-state.d.ts +2 -2
- package/dist/declarations/src/components/authenticated/helpers.d.ts +8 -8
- package/dist/declarations/src/components/authenticated/index.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +12 -12
- package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +11 -11
- package/dist/declarations/src/components/authenticated/types.d.ts +6 -6
- package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +8 -8
- package/dist/declarations/src/components/back-to-project/index.d.ts +1 -1
- package/dist/declarations/src/components/back-to-project/messages.d.ts +7 -7
- package/dist/declarations/src/components/configure-intl-provider/configure-intl-provider.d.ts +12 -12
- package/dist/declarations/src/components/configure-intl-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +5 -5
- package/dist/declarations/src/components/error-apologizer/index.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/messages.d.ts +11 -11
- package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +20 -20
- package/dist/declarations/src/components/error-boundary/index.d.ts +1 -1
- package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +18 -18
- package/dist/declarations/src/components/fetch-project/index.d.ts +1 -1
- package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +16 -16
- package/dist/declarations/src/components/fetch-user/index.d.ts +1 -1
- package/dist/declarations/src/components/gtm-application-tracker/gtm-application-tracker.d.ts +10 -10
- package/dist/declarations/src/components/gtm-application-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/gtm-booter/gtm-booter.d.ts +20 -20
- package/dist/declarations/src/components/gtm-booter/index.d.ts +2 -2
- package/dist/declarations/src/components/gtm-user-logout-tracker/gtm-user-logout-tracker.d.ts +5 -5
- package/dist/declarations/src/components/gtm-user-logout-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/gtm-user-tracker/gtm-user-tracker.d.ts +10 -10
- package/dist/declarations/src/components/gtm-user-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/index.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +14 -14
- package/dist/declarations/src/components/loading-placeholder/index.d.ts +1 -1
- package/dist/declarations/src/components/loading-placeholder/loading-placeholder.d.ts +10 -10
- package/dist/declarations/src/components/locale-switcher/index.d.ts +1 -1
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +23 -23
- package/dist/declarations/src/components/navbar/index.d.ts +1 -1
- package/dist/declarations/src/components/navbar/messages.d.ts +7 -7
- package/dist/declarations/src/components/navbar/navbar.d.ts +29 -29
- package/dist/declarations/src/components/navbar/non-nullable.d.ts +1 -1
- package/dist/declarations/src/components/navbar/use-loading-menu-layout-effect.d.ts +2 -2
- package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +67 -67
- package/dist/declarations/src/components/project-container/index.d.ts +1 -1
- package/dist/declarations/src/components/project-container/messages.d.ts +7 -7
- package/dist/declarations/src/components/project-container/project-container.d.ts +18 -18
- package/dist/declarations/src/components/project-data-locale/index.d.ts +1 -1
- package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +14 -14
- package/dist/declarations/src/components/project-expired/index.d.ts +6 -6
- package/dist/declarations/src/components/project-expired/messages.d.ts +11 -11
- package/dist/declarations/src/components/project-expired/project-expired.d.ts +5 -5
- package/dist/declarations/src/components/project-not-found/index.d.ts +6 -6
- package/dist/declarations/src/components/project-not-found/messages.d.ts +15 -15
- package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +5 -5
- package/dist/declarations/src/components/project-not-initialized/index.d.ts +6 -6
- package/dist/declarations/src/components/project-not-initialized/messages.d.ts +11 -11
- package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +5 -5
- package/dist/declarations/src/components/project-suspended/index.d.ts +8 -8
- package/dist/declarations/src/components/project-suspended/messages.d.ts +15 -15
- package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +8 -8
- package/dist/declarations/src/components/project-switcher/index.d.ts +1 -1
- package/dist/declarations/src/components/project-switcher/messages.d.ts +28 -28
- package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +18 -18
- package/dist/declarations/src/components/quick-access/butler/butler.d.ts +14 -14
- package/dist/declarations/src/components/quick-access/butler/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +24 -24
- package/dist/declarations/src/components/quick-access/butler-command/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts +6 -6
- package/dist/declarations/src/components/quick-access/butler-container/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/constants.d.ts +24 -24
- package/dist/declarations/src/components/quick-access/create-commands.d.ts +13 -13
- package/dist/declarations/src/components/quick-access/history-entries.d.ts +3 -3
- package/dist/declarations/src/components/quick-access/index.d.ts +8 -8
- package/dist/declarations/src/components/quick-access/messages.d.ts +247 -247
- package/dist/declarations/src/components/quick-access/pim-indexer-states.d.ts +6 -6
- package/dist/declarations/src/components/quick-access/quick-access.d.ts +12 -12
- package/dist/declarations/src/components/quick-access/sub-commands.d.ts +17 -17
- package/dist/declarations/src/components/quick-access/tracking-events.d.ts +8 -8
- package/dist/declarations/src/components/quick-access/types.d.ts +31 -31
- package/dist/declarations/src/components/quick-access/utils.d.ts +5 -5
- package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +5 -5
- package/dist/declarations/src/components/redirector/index.d.ts +1 -1
- package/dist/declarations/src/components/redirector/redirector.d.ts +22 -22
- package/dist/declarations/src/components/requests-in-flight-loader/constants.d.ts +1 -1
- package/dist/declarations/src/components/requests-in-flight-loader/index.d.ts +2 -2
- package/dist/declarations/src/components/requests-in-flight-loader/messages.d.ts +8 -8
- package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +4 -4
- package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts +6 -6
- package/dist/declarations/src/components/requests-in-flight-loader/types.d.ts +9 -9
- package/dist/declarations/src/components/route-catch-all/index.d.ts +1 -1
- package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +2 -2
- package/dist/declarations/src/components/service-page-project-switcher/index.d.ts +1 -1
- package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +5 -5
- package/dist/declarations/src/components/setup-flop-flip-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +17 -17
- package/dist/declarations/src/components/user-settings-menu/index.d.ts +1 -1
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +28 -28
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +23 -23
- package/dist/declarations/src/components/version-tracker/actions.d.ts +4 -4
- package/dist/declarations/src/components/version-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/version-tracker/version-tracker.d.ts +5 -5
- package/dist/declarations/src/configure-apollo.d.ts +7 -7
- package/dist/declarations/src/configure-store.d.ts +19 -19
- package/dist/declarations/src/constants.d.ts +46 -46
- package/dist/declarations/src/feature-toggles.d.ts +1 -1
- package/dist/declarations/src/hooks/apollo-hooks/apollo-hooks.d.ts +13 -13
- package/dist/declarations/src/hooks/apollo-hooks/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-all-menu-feature-toggles/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-all-menu-feature-toggles/use-all-menu-feature-toggles.d.ts +11 -11
- package/dist/declarations/src/hooks/use-applications-menu/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-applications-menu/use-applications-menu.d.ts +14 -14
- package/dist/declarations/src/index.d.ts +16 -16
- package/dist/declarations/src/middleware/hide-notifications.d.ts +3 -3
- package/dist/declarations/src/middleware/logger.d.ts +3 -3
- package/dist/declarations/src/test-utils/index.d.ts +1 -1
- package/dist/declarations/src/test-utils/test-utils.d.ts +68 -68
- package/dist/declarations/src/track-performance.d.ts +2 -2
- package/dist/declarations/src/tracking-event-list.d.ts +19 -19
- package/dist/declarations/src/types/generated/ctp.d.ts +9582 -9273
- package/dist/declarations/src/types/generated/mc.d.ts +746 -746
- package/dist/declarations/src/types/generated/proxy.d.ts +148 -148
- package/dist/declarations/src/types/generated/settings.d.ts +3258 -3258
- package/dist/declarations/src/utils/apollo-client-runtime-cache.d.ts +5 -5
- package/dist/declarations/src/utils/apollo-context.d.ts +23 -23
- package/dist/declarations/src/utils/get-correlation-id/get-correlation-id.d.ts +3 -3
- package/dist/declarations/src/utils/get-correlation-id/index.d.ts +1 -1
- package/dist/declarations/src/utils/get-mc-api-url/get-mc-api-url.d.ts +8 -8
- package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +1 -1
- package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +2 -2
- package/dist/declarations/src/utils/get-previous-project-key/index.d.ts +1 -1
- package/dist/declarations/src/utils/gtm.d.ts +27 -27
- package/dist/declarations/src/utils/index.d.ts +8 -8
- package/dist/declarations/src/utils/location/index.d.ts +1 -1
- package/dist/declarations/src/utils/location/location.d.ts +5 -5
- package/dist/declarations/src/utils/logger.d.ts +10 -10
- package/dist/declarations/src/utils/oidc-storage.d.ts +11 -11
- package/dist/declarations/src/utils/select-project-key-from-local-storage/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-project-key-from-local-storage/select-project-key-from-local-storage.d.ts +1 -1
- package/dist/declarations/src/utils/select-project-key-from-url/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-project-key-from-url/select-project-key-from-url.d.ts +1 -1
- package/dist/declarations/src/utils/select-team-id-from-local-storage/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-team-id-from-local-storage/select-team-id-from-local-storage.d.ts +1 -1
- package/dist/declarations/src/utils/select-user-id/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-user-id/select-user-id.d.ts +1 -1
- package/dist/declarations/src/utils/setup-global-error-listener/index.d.ts +1 -1
- package/dist/declarations/src/utils/setup-global-error-listener/setup-global-error-listener.d.ts +1 -1
- package/dist/declarations/src/version.d.ts +2 -2
- package/dist/{index-b47dceae.esm.js → index-577c7a43.esm.js} +47 -40
- package/dist/{index-dcdc1fa1.cjs.dev.js → index-82a5ea23.cjs.dev.js} +46 -39
- package/dist/{index-a3f44394.cjs.prod.js → index-8605a9e1.cjs.prod.js} +36 -29
- package/dist/{project-expired-e3f298fe.cjs.dev.js → project-expired-4a4db9c8.cjs.dev.js} +3 -3
- package/dist/{project-expired-ebc3e633.esm.js → project-expired-55c51196.esm.js} +3 -3
- package/dist/{project-expired-71eaf3ac.cjs.prod.js → project-expired-5603cf9b.cjs.prod.js} +3 -3
- package/dist/{project-not-found-bd416369.cjs.dev.js → project-not-found-33567915.cjs.dev.js} +3 -3
- package/dist/{project-not-found-8e9e186b.esm.js → project-not-found-efa7e5a7.esm.js} +3 -3
- package/dist/{project-not-found-471a350c.cjs.prod.js → project-not-found-f325728d.cjs.prod.js} +3 -3
- package/dist/{project-not-initialized-f0707436.esm.js → project-not-initialized-36c1617d.esm.js} +3 -3
- package/dist/{project-not-initialized-22679d64.cjs.prod.js → project-not-initialized-68192fda.cjs.prod.js} +3 -3
- package/dist/{project-not-initialized-49d5d546.cjs.dev.js → project-not-initialized-d396896e.cjs.dev.js} +3 -3
- package/dist/{project-suspended-5d927085.cjs.dev.js → project-suspended-61a15b65.cjs.dev.js} +3 -3
- package/dist/{project-suspended-925bc5a1.esm.js → project-suspended-69502d1e.esm.js} +3 -3
- package/dist/{project-suspended-f34ad2ab.cjs.prod.js → project-suspended-e43ce7c2.cjs.prod.js} +3 -3
- package/dist/{quick-access-3466d7a2.esm.js → quick-access-1f9e885b.esm.js} +2 -2
- package/dist/{quick-access-2fa543f8.cjs.prod.js → quick-access-2e6398f7.cjs.prod.js} +2 -2
- package/dist/{quick-access-6b1fa05c.cjs.dev.js → quick-access-57979158.cjs.dev.js} +2 -2
- package/dist/{service-page-project-switcher-67fe65c2.esm.js → service-page-project-switcher-013404f5.esm.js} +1 -1
- package/dist/{service-page-project-switcher-daec9d91.cjs.prod.js → service-page-project-switcher-8efe2817.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-c320f886.cjs.dev.js → service-page-project-switcher-ef90ae95.cjs.dev.js} +1 -1
- package/package.json +34 -34
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl';
|
|
2
|
-
import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
3
|
-
import type { Command } from './types';
|
|
4
|
-
declare type CreateProductVariantSubCommandsOptions = {
|
|
5
|
-
intl: IntlShape;
|
|
6
|
-
applicationContext: TApplicationContext<{}>;
|
|
7
|
-
productId: string;
|
|
8
|
-
variantId: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const createProductVariantSubCommands: ({ intl, applicationContext, productId, variantId, }: CreateProductVariantSubCommandsOptions) => Command[];
|
|
11
|
-
declare type CreateProductTabsSubCommandsOptions = {
|
|
12
|
-
intl: IntlShape;
|
|
13
|
-
applicationContext: TApplicationContext<{}>;
|
|
14
|
-
productId: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const createProductTabsSubCommands: ({ intl, applicationContext, productId, }: CreateProductTabsSubCommandsOptions) => Command[];
|
|
17
|
-
export {};
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
|
+
import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
3
|
+
import type { Command } from './types';
|
|
4
|
+
declare type CreateProductVariantSubCommandsOptions = {
|
|
5
|
+
intl: IntlShape;
|
|
6
|
+
applicationContext: TApplicationContext<{}>;
|
|
7
|
+
productId: string;
|
|
8
|
+
variantId: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const createProductVariantSubCommands: ({ intl, applicationContext, productId, variantId, }: CreateProductVariantSubCommandsOptions) => Command[];
|
|
11
|
+
declare type CreateProductTabsSubCommandsOptions = {
|
|
12
|
+
intl: IntlShape;
|
|
13
|
+
applicationContext: TApplicationContext<{}>;
|
|
14
|
+
productId: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const createProductTabsSubCommands: ({ intl, applicationContext, productId, }: CreateProductTabsSubCommandsOptions) => Command[];
|
|
17
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
readonly openQuickAccess: {
|
|
3
|
-
readonly event: "keydown";
|
|
4
|
-
readonly category: "QuickAccess";
|
|
5
|
-
readonly label: "quick_access_open";
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly openQuickAccess: {
|
|
3
|
+
readonly event: "keydown";
|
|
4
|
+
readonly category: "QuickAccess";
|
|
5
|
+
readonly label: "quick_access_open";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import type { DocumentNode } from 'graphql';
|
|
2
|
-
import type { OperationVariables, ApolloQueryResult } from '@apollo/client';
|
|
3
|
-
import type { TApolloContext } from '../../utils/apollo-context';
|
|
4
|
-
export declare const actionTypes: {
|
|
5
|
-
readonly go: "go";
|
|
6
|
-
};
|
|
7
|
-
export declare type ActionAsFn = () => void;
|
|
8
|
-
export declare type SubCommandAsFn = (execQuery: ExecGraphQlQuery) => Promise<Command[]>;
|
|
9
|
-
export declare type Action = {
|
|
10
|
-
type: typeof actionTypes.go;
|
|
11
|
-
to: string;
|
|
12
|
-
};
|
|
13
|
-
export declare type Command = {
|
|
14
|
-
id: string;
|
|
15
|
-
text: string;
|
|
16
|
-
keywords?: string[];
|
|
17
|
-
action: ActionAsFn | Action;
|
|
18
|
-
subCommands?: SubCommandAsFn | Command[];
|
|
19
|
-
};
|
|
20
|
-
export declare type SearchText = string;
|
|
21
|
-
export declare type SelectedResult = number;
|
|
22
|
-
export declare type Stack = {
|
|
23
|
-
searchText: SearchText;
|
|
24
|
-
results: Command[];
|
|
25
|
-
selectedResult: SelectedResult;
|
|
26
|
-
};
|
|
27
|
-
export declare type HistoryEntry = {
|
|
28
|
-
searchText: SearchText;
|
|
29
|
-
results: Command[];
|
|
30
|
-
};
|
|
31
|
-
export declare type ExecGraphQlQuery = <T>(document: DocumentNode, variables: OperationVariables, context?: TApolloContext) => Promise<ApolloQueryResult<T>['data']>;
|
|
1
|
+
import type { DocumentNode } from 'graphql';
|
|
2
|
+
import type { OperationVariables, ApolloQueryResult } from '@apollo/client';
|
|
3
|
+
import type { TApolloContext } from '../../utils/apollo-context';
|
|
4
|
+
export declare const actionTypes: {
|
|
5
|
+
readonly go: "go";
|
|
6
|
+
};
|
|
7
|
+
export declare type ActionAsFn = () => void;
|
|
8
|
+
export declare type SubCommandAsFn = (execQuery: ExecGraphQlQuery) => Promise<Command[]>;
|
|
9
|
+
export declare type Action = {
|
|
10
|
+
type: typeof actionTypes.go;
|
|
11
|
+
to: string;
|
|
12
|
+
};
|
|
13
|
+
export declare type Command = {
|
|
14
|
+
id: string;
|
|
15
|
+
text: string;
|
|
16
|
+
keywords?: string[];
|
|
17
|
+
action: ActionAsFn | Action;
|
|
18
|
+
subCommands?: SubCommandAsFn | Command[];
|
|
19
|
+
};
|
|
20
|
+
export declare type SearchText = string;
|
|
21
|
+
export declare type SelectedResult = number;
|
|
22
|
+
export declare type Stack = {
|
|
23
|
+
searchText: SearchText;
|
|
24
|
+
results: Command[];
|
|
25
|
+
selectedResult: SelectedResult;
|
|
26
|
+
};
|
|
27
|
+
export declare type HistoryEntry = {
|
|
28
|
+
searchText: SearchText;
|
|
29
|
+
results: Command[];
|
|
30
|
+
};
|
|
31
|
+
export declare type ExecGraphQlQuery = <T>(document: DocumentNode, variables: OperationVariables, context?: TApolloContext) => Promise<ApolloQueryResult<T>['data']>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TLocalizedString } from '../../types/generated/ctp';
|
|
2
|
-
import type { Command, ExecGraphQlQuery } from './types';
|
|
3
|
-
export declare const sanitize: (param: string) => string;
|
|
4
|
-
export declare const flattenCommands: (results: Command[], execQuery: ExecGraphQlQuery) => Promise<Command[]>;
|
|
5
|
-
export declare const translate: (nameAllLocales: TLocalizedString[], projectDataLocale: string) => string;
|
|
1
|
+
import type { TLocalizedString } from '../../types/generated/ctp';
|
|
2
|
+
import type { Command, ExecGraphQlQuery } from './types';
|
|
3
|
+
export declare const sanitize: (param: string) => string;
|
|
4
|
+
export declare const flattenCommands: (results: Command[], execQuery: ExecGraphQlQuery) => Promise<Command[]>;
|
|
5
|
+
export declare const translate: (nameAllLocales: TLocalizedString[], projectDataLocale: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './redirect-to-project-create';
|
|
1
|
+
export { default } from './redirect-to-project-create';
|
package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const RedirectToProjectCreate: {
|
|
2
|
-
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
3
|
-
displayName: string;
|
|
4
|
-
};
|
|
5
|
-
export default RedirectToProjectCreate;
|
|
1
|
+
export declare const RedirectToProjectCreate: {
|
|
2
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default RedirectToProjectCreate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './redirector';
|
|
1
|
+
export { default } from './redirector';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import type { RouteComponentProps } from 'react-router-dom';
|
|
2
|
-
import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
|
|
3
|
-
declare type QueryParams = {
|
|
4
|
-
reason?: typeof LOGOUT_REASONS[keyof typeof LOGOUT_REASONS];
|
|
5
|
-
redirectTo?: string;
|
|
6
|
-
client_id?: string;
|
|
7
|
-
response_type?: string;
|
|
8
|
-
scope?: string;
|
|
9
|
-
state?: string;
|
|
10
|
-
nonce?: string;
|
|
11
|
-
};
|
|
12
|
-
declare type Props = {
|
|
13
|
-
to: string;
|
|
14
|
-
origin?: string;
|
|
15
|
-
location?: RouteComponentProps['location'];
|
|
16
|
-
queryParams?: QueryParams;
|
|
17
|
-
};
|
|
18
|
-
declare const Redirector: {
|
|
19
|
-
(props: Props): null;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
export default Redirector;
|
|
1
|
+
import type { RouteComponentProps } from 'react-router-dom';
|
|
2
|
+
import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
|
|
3
|
+
declare type QueryParams = {
|
|
4
|
+
reason?: typeof LOGOUT_REASONS[keyof typeof LOGOUT_REASONS];
|
|
5
|
+
redirectTo?: string;
|
|
6
|
+
client_id?: string;
|
|
7
|
+
response_type?: string;
|
|
8
|
+
scope?: string;
|
|
9
|
+
state?: string;
|
|
10
|
+
nonce?: string;
|
|
11
|
+
};
|
|
12
|
+
declare type Props = {
|
|
13
|
+
to: string;
|
|
14
|
+
origin?: string;
|
|
15
|
+
location?: RouteComponentProps['location'];
|
|
16
|
+
queryParams?: QueryParams;
|
|
17
|
+
};
|
|
18
|
+
declare const Redirector: {
|
|
19
|
+
(props: Props): null;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default Redirector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = "loader-for-requests-in-flight";
|
|
1
|
+
export declare const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = "loader-for-requests-in-flight";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './requests-in-flight-loader';
|
|
2
|
-
export { default as requestsInFlightReducer } from './reducer';
|
|
1
|
+
export { default } from './requests-in-flight-loader';
|
|
2
|
+
export { default as requestsInFlightReducer } from './reducer';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
labelLoading: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
labelLoading: {
|
|
3
|
+
id: string;
|
|
4
|
+
description: string;
|
|
5
|
+
defaultMessage: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Action } from 'redux';
|
|
2
|
-
import type { TRequestsInFlightState } from './types';
|
|
3
|
-
declare const _default: (requestsInFlight?: TRequestsInFlightState | undefined, action?: Action<any> | undefined) => string[];
|
|
4
|
-
export default _default;
|
|
1
|
+
import type { Action } from 'redux';
|
|
2
|
+
import type { TRequestsInFlightState } from './types';
|
|
3
|
+
declare const _default: (requestsInFlight?: TRequestsInFlightState | undefined, action?: Action<any> | undefined) => string[];
|
|
4
|
+
export default _default;
|
package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const RequestsInFlightLoader: {
|
|
3
|
-
(): import("react").ReactPortal | null;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
6
|
-
export default RequestsInFlightLoader;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const RequestsInFlightLoader: {
|
|
3
|
+
(): import("react").ReactPortal | null;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default RequestsInFlightLoader;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Action } from 'redux';
|
|
2
|
-
import { SHOW_LOADING, HIDE_LOADING } from '@commercetools-frontend/constants';
|
|
3
|
-
export declare type TRequestsInFlightState = string[];
|
|
4
|
-
export declare type TShowRequestInFlightAction = Action<typeof SHOW_LOADING> & {
|
|
5
|
-
payload: string;
|
|
6
|
-
};
|
|
7
|
-
export declare type THideRequestInFlightAction = Action<typeof HIDE_LOADING> & {
|
|
8
|
-
payload: string;
|
|
9
|
-
};
|
|
1
|
+
import type { Action } from 'redux';
|
|
2
|
+
import { SHOW_LOADING, HIDE_LOADING } from '@commercetools-frontend/constants';
|
|
3
|
+
export declare type TRequestsInFlightState = string[];
|
|
4
|
+
export declare type TShowRequestInFlightAction = Action<typeof SHOW_LOADING> & {
|
|
5
|
+
payload: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type THideRequestInFlightAction = Action<typeof HIDE_LOADING> & {
|
|
8
|
+
payload: string;
|
|
9
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './route-catch-all';
|
|
1
|
+
export { default } from './route-catch-all';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const RouteCatchAll: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default RouteCatchAll;
|
|
1
|
+
declare const RouteCatchAll: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default RouteCatchAll;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './service-page-project-switcher';
|
|
1
|
+
export { default } from './service-page-project-switcher';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const ServicePageProjectSwitcher: {
|
|
2
|
-
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
3
|
-
displayName: string;
|
|
4
|
-
};
|
|
5
|
-
export default ServicePageProjectSwitcher;
|
|
1
|
+
export declare const ServicePageProjectSwitcher: {
|
|
2
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default ServicePageProjectSwitcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './setup-flop-flip-provider';
|
|
1
|
+
export { default } from './setup-flop-flip-provider';
|
package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { TFlags } from '@flopflip/types';
|
|
2
|
-
import type { TFetchLoggedInUserQuery } from '../../types/generated/mc';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
declare type Props = {
|
|
5
|
-
projectKey?: string;
|
|
6
|
-
user?: TFetchLoggedInUserQuery['user'];
|
|
7
|
-
flags?: TFlags;
|
|
8
|
-
defaultFlags?: TFlags;
|
|
9
|
-
ldClientSideId?: string;
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
shouldDeferAdapterConfiguration?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const SetupFlopFlipProvider: {
|
|
14
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
export default SetupFlopFlipProvider;
|
|
1
|
+
import type { TFlags } from '@flopflip/types';
|
|
2
|
+
import type { TFetchLoggedInUserQuery } from '../../types/generated/mc';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
projectKey?: string;
|
|
6
|
+
user?: TFetchLoggedInUserQuery['user'];
|
|
7
|
+
flags?: TFlags;
|
|
8
|
+
defaultFlags?: TFlags;
|
|
9
|
+
ldClientSideId?: string;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
shouldDeferAdapterConfiguration?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const SetupFlopFlipProvider: {
|
|
14
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
export default SetupFlopFlipProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './user-settings-menu';
|
|
1
|
+
export { default } from './user-settings-menu';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
support: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
logout: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
privacyPolicy: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
openMenuLabel: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
closeMenuLabel: {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
support: {
|
|
3
|
+
id: string;
|
|
4
|
+
description: string;
|
|
5
|
+
defaultMessage: string;
|
|
6
|
+
};
|
|
7
|
+
logout: {
|
|
8
|
+
id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
defaultMessage: string;
|
|
11
|
+
};
|
|
12
|
+
privacyPolicy: {
|
|
13
|
+
id: string;
|
|
14
|
+
description: string;
|
|
15
|
+
defaultMessage: string;
|
|
16
|
+
};
|
|
17
|
+
openMenuLabel: {
|
|
18
|
+
id: string;
|
|
19
|
+
description: string;
|
|
20
|
+
defaultMessage: string;
|
|
21
|
+
};
|
|
22
|
+
closeMenuLabel: {
|
|
23
|
+
id: string;
|
|
24
|
+
description: string;
|
|
25
|
+
defaultMessage: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import type { ControllerStateAndHelpers } from 'downshift';
|
|
2
|
-
import type { TUser } from '../../types/generated/mc';
|
|
3
|
-
import type { TApplicationsMenu } from '../../types/generated/proxy';
|
|
4
|
-
declare type Props = Pick<TUser, 'language' | 'firstName' | 'lastName' | 'email' | 'gravatarHash'> & {
|
|
5
|
-
DEV_ONLY__loadAppbarMenuConfig?: () => Promise<TApplicationsMenu['appBar']>;
|
|
6
|
-
};
|
|
7
|
-
declare type MenuBodyProps = Props & {
|
|
8
|
-
downshiftProps: ControllerStateAndHelpers<{}>;
|
|
9
|
-
};
|
|
10
|
-
declare const UserAvatar: {
|
|
11
|
-
(props: Pick<Props, 'firstName' | 'lastName' | 'gravatarHash'>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
declare const UserSettingsMenuBody: {
|
|
15
|
-
(props: MenuBodyProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
declare const UserSettingsMenu: {
|
|
19
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
export default UserSettingsMenu;
|
|
23
|
-
export { UserAvatar, UserSettingsMenuBody };
|
|
1
|
+
import type { ControllerStateAndHelpers } from 'downshift';
|
|
2
|
+
import type { TUser } from '../../types/generated/mc';
|
|
3
|
+
import type { TApplicationsMenu } from '../../types/generated/proxy';
|
|
4
|
+
declare type Props = Pick<TUser, 'language' | 'firstName' | 'lastName' | 'email' | 'gravatarHash'> & {
|
|
5
|
+
DEV_ONLY__loadAppbarMenuConfig?: () => Promise<TApplicationsMenu['appBar']>;
|
|
6
|
+
};
|
|
7
|
+
declare type MenuBodyProps = Props & {
|
|
8
|
+
downshiftProps: ControllerStateAndHelpers<{}>;
|
|
9
|
+
};
|
|
10
|
+
declare const UserAvatar: {
|
|
11
|
+
(props: Pick<Props, 'firstName' | 'lastName' | 'gravatarHash'>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
declare const UserSettingsMenuBody: {
|
|
15
|
+
(props: MenuBodyProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
declare const UserSettingsMenu: {
|
|
19
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default UserSettingsMenu;
|
|
23
|
+
export { UserAvatar, UserSettingsMenuBody };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Json } from '@commercetools-frontend/sdk';
|
|
2
|
-
export declare const pushDependencyVersionCounter: ({ payload, }: {
|
|
3
|
-
payload: Json[];
|
|
4
|
-
}) => import("@commercetools-frontend/sdk").TSdkActionPostForUri;
|
|
1
|
+
import type { Json } from '@commercetools-frontend/sdk';
|
|
2
|
+
export declare const pushDependencyVersionCounter: ({ payload, }: {
|
|
3
|
+
payload: Json[];
|
|
4
|
+
}) => import("@commercetools-frontend/sdk").TSdkActionPostForUri;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './version-tracker';
|
|
1
|
+
export { default } from './version-tracker';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const VersionTracker: {
|
|
2
|
-
(): null;
|
|
3
|
-
displayName: string;
|
|
4
|
-
};
|
|
5
|
-
export default VersionTracker;
|
|
1
|
+
declare const VersionTracker: {
|
|
2
|
+
(): null;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default VersionTracker;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { NormalizedCacheObject, InMemoryCacheConfig } from '@apollo/client';
|
|
2
|
-
import { ApolloClient } from '@apollo/client';
|
|
3
|
-
declare type TApolloClientOptions = {
|
|
4
|
-
cache?: InMemoryCacheConfig;
|
|
5
|
-
};
|
|
6
|
-
declare const createApolloClient: (options?: TApolloClientOptions) => ApolloClient<NormalizedCacheObject>;
|
|
7
|
-
export default createApolloClient;
|
|
1
|
+
import type { NormalizedCacheObject, InMemoryCacheConfig } from '@apollo/client';
|
|
2
|
+
import { ApolloClient } from '@apollo/client';
|
|
3
|
+
declare type TApolloClientOptions = {
|
|
4
|
+
cache?: InMemoryCacheConfig;
|
|
5
|
+
};
|
|
6
|
+
declare const createApolloClient: (options?: TApolloClientOptions) => ApolloClient<NormalizedCacheObject>;
|
|
7
|
+
export default createApolloClient;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import type { ReducersMapObject, Store, Middleware, StoreEnhancer } from 'redux';
|
|
2
|
-
export declare type TEnhancedStore = Store & {
|
|
3
|
-
injectedReducers: {
|
|
4
|
-
[key: string]: ReducersMapObject;
|
|
5
|
-
};
|
|
6
|
-
injectReducers: (payload: {
|
|
7
|
-
id: string;
|
|
8
|
-
reducers: ReducersMapObject;
|
|
9
|
-
}) => void;
|
|
10
|
-
removeReducers: (payload: {
|
|
11
|
-
id: string;
|
|
12
|
-
}) => void;
|
|
13
|
-
};
|
|
14
|
-
export declare const applyDefaultMiddlewares: (...middlewares: Middleware[]) => StoreEnhancer<{
|
|
15
|
-
dispatch: unknown;
|
|
16
|
-
}, {}>;
|
|
17
|
-
export declare const createReduxStore: (preloadedState?: {}, additionalMiddlewares?: Middleware[]) => TEnhancedStore;
|
|
18
|
-
declare const _default: TEnhancedStore;
|
|
19
|
-
export default _default;
|
|
1
|
+
import type { ReducersMapObject, Store, Middleware, StoreEnhancer } from 'redux';
|
|
2
|
+
export declare type TEnhancedStore = Store & {
|
|
3
|
+
injectedReducers: {
|
|
4
|
+
[key: string]: ReducersMapObject;
|
|
5
|
+
};
|
|
6
|
+
injectReducers: (payload: {
|
|
7
|
+
id: string;
|
|
8
|
+
reducers: ReducersMapObject;
|
|
9
|
+
}) => void;
|
|
10
|
+
removeReducers: (payload: {
|
|
11
|
+
id: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const applyDefaultMiddlewares: (...middlewares: Middleware[]) => StoreEnhancer<{
|
|
15
|
+
dispatch: unknown;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export declare const createReduxStore: (preloadedState?: {}, additionalMiddlewares?: Middleware[]) => TEnhancedStore;
|
|
18
|
+
declare const _default: TEnhancedStore;
|
|
19
|
+
export default _default;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
export declare const SUPPORTED_HEADERS: {
|
|
2
|
-
readonly ACCEPT_VERSION: "Accept-version";
|
|
3
|
-
readonly AUTHORIZATION: "Authorization";
|
|
4
|
-
readonly X_APPLICATION_ID: "X-Application-Id";
|
|
5
|
-
readonly X_CORRELATION_ID: "X-Correlation-Id";
|
|
6
|
-
readonly X_FEATURE_FLAG: "X-Feature-Flag";
|
|
7
|
-
readonly X_FORWARD_TO: "X-Forward-To";
|
|
8
|
-
readonly X_GRAPHQL_TARGET: "X-Graphql-Target";
|
|
9
|
-
readonly X_GRAPHQL_OPERATION_NAME: "X-Graphql-Operation-Name";
|
|
10
|
-
readonly X_PROJECT_KEY: "X-Project-Key";
|
|
11
|
-
readonly X_TEAM_ID: "X-Team-Id";
|
|
12
|
-
readonly X_TOKEN_RETRY: "X-Force-Token";
|
|
13
|
-
};
|
|
14
|
-
export declare const CONTAINERS: {
|
|
15
|
-
readonly LOCALE_SWITCHER: "locale-switcher-container";
|
|
16
|
-
};
|
|
17
|
-
export declare const STORAGE_KEYS: {
|
|
18
|
-
readonly NONCE: "nonce";
|
|
19
|
-
readonly IS_AUTHENTICATED: "isAuthenticated";
|
|
20
|
-
readonly SESSION_TOKEN: "sessionToken";
|
|
21
|
-
readonly SESSION_SCOPE: "sessionScope";
|
|
22
|
-
readonly ACTIVE_PROJECT_KEY: "activeProjectKey";
|
|
23
|
-
readonly ACTIVE_TEAM_ID: "activeTeamId";
|
|
24
|
-
readonly SELECTED_DATA_LOCALE: "selectedDataLocale";
|
|
25
|
-
readonly IS_FORCED_MENU_OPEN: "isForcedMenuOpen";
|
|
26
|
-
readonly LOGIN_STRATEGY: "loginStrategy";
|
|
27
|
-
};
|
|
28
|
-
export declare const SUSPENSION_REASONS: {
|
|
29
|
-
readonly TEMPORARY_MAINTENANCE: "TemporaryMaintenance";
|
|
30
|
-
readonly PAYMENT: "Payment";
|
|
31
|
-
readonly OTHER: "Other";
|
|
32
|
-
};
|
|
33
|
-
export declare const ORGANIZATION_GENERAL_ERROR = "organizationGeneralError";
|
|
34
|
-
export declare const LOGIN_STRATEGY_DEFAULT = "default";
|
|
35
|
-
export declare const LOGIN_STRATEGY_OIDC = "oidc";
|
|
36
|
-
export declare const LOGIN_STRATEGY_SSO = "sso";
|
|
37
|
-
export declare const OIDC_RESPONSE_TYPES: {
|
|
38
|
-
ID_TOKEN: string;
|
|
39
|
-
};
|
|
40
|
-
export declare const OIDC_CLAIMS: {
|
|
41
|
-
OPEN_ID: string;
|
|
42
|
-
PROJECT_KEY: string;
|
|
43
|
-
TEAM_ID: string;
|
|
44
|
-
VIEW: string;
|
|
45
|
-
MANAGE: string;
|
|
46
|
-
};
|
|
1
|
+
export declare const SUPPORTED_HEADERS: {
|
|
2
|
+
readonly ACCEPT_VERSION: "Accept-version";
|
|
3
|
+
readonly AUTHORIZATION: "Authorization";
|
|
4
|
+
readonly X_APPLICATION_ID: "X-Application-Id";
|
|
5
|
+
readonly X_CORRELATION_ID: "X-Correlation-Id";
|
|
6
|
+
readonly X_FEATURE_FLAG: "X-Feature-Flag";
|
|
7
|
+
readonly X_FORWARD_TO: "X-Forward-To";
|
|
8
|
+
readonly X_GRAPHQL_TARGET: "X-Graphql-Target";
|
|
9
|
+
readonly X_GRAPHQL_OPERATION_NAME: "X-Graphql-Operation-Name";
|
|
10
|
+
readonly X_PROJECT_KEY: "X-Project-Key";
|
|
11
|
+
readonly X_TEAM_ID: "X-Team-Id";
|
|
12
|
+
readonly X_TOKEN_RETRY: "X-Force-Token";
|
|
13
|
+
};
|
|
14
|
+
export declare const CONTAINERS: {
|
|
15
|
+
readonly LOCALE_SWITCHER: "locale-switcher-container";
|
|
16
|
+
};
|
|
17
|
+
export declare const STORAGE_KEYS: {
|
|
18
|
+
readonly NONCE: "nonce";
|
|
19
|
+
readonly IS_AUTHENTICATED: "isAuthenticated";
|
|
20
|
+
readonly SESSION_TOKEN: "sessionToken";
|
|
21
|
+
readonly SESSION_SCOPE: "sessionScope";
|
|
22
|
+
readonly ACTIVE_PROJECT_KEY: "activeProjectKey";
|
|
23
|
+
readonly ACTIVE_TEAM_ID: "activeTeamId";
|
|
24
|
+
readonly SELECTED_DATA_LOCALE: "selectedDataLocale";
|
|
25
|
+
readonly IS_FORCED_MENU_OPEN: "isForcedMenuOpen";
|
|
26
|
+
readonly LOGIN_STRATEGY: "loginStrategy";
|
|
27
|
+
};
|
|
28
|
+
export declare const SUSPENSION_REASONS: {
|
|
29
|
+
readonly TEMPORARY_MAINTENANCE: "TemporaryMaintenance";
|
|
30
|
+
readonly PAYMENT: "Payment";
|
|
31
|
+
readonly OTHER: "Other";
|
|
32
|
+
};
|
|
33
|
+
export declare const ORGANIZATION_GENERAL_ERROR = "organizationGeneralError";
|
|
34
|
+
export declare const LOGIN_STRATEGY_DEFAULT = "default";
|
|
35
|
+
export declare const LOGIN_STRATEGY_OIDC = "oidc";
|
|
36
|
+
export declare const LOGIN_STRATEGY_SSO = "sso";
|
|
37
|
+
export declare const OIDC_RESPONSE_TYPES: {
|
|
38
|
+
ID_TOKEN: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const OIDC_CLAIMS: {
|
|
41
|
+
OPEN_ID: string;
|
|
42
|
+
PROJECT_KEY: string;
|
|
43
|
+
TEAM_ID: string;
|
|
44
|
+
VIEW: string;
|
|
45
|
+
MANAGE: string;
|
|
46
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FLAGS: {};
|
|
1
|
+
export declare const FLAGS: {};
|