@strapi/i18n 0.0.0-experimental.17b4116f461a49b8ce5386f7c8d79c511d40fb3b → 0.0.0-experimental.19d775295eb622de3e659110caf22fcd2cd5d10d
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/LICENSE +18 -3
- package/dist/_chunks/{SettingsPage-CeqfDjsb.mjs → SettingsPage-B-KzAqT3.mjs} +117 -128
- package/dist/_chunks/SettingsPage-B-KzAqT3.mjs.map +1 -0
- package/dist/_chunks/{SettingsPage-Djqsdrzs.js → SettingsPage-hyOi94O9.js} +118 -130
- package/dist/_chunks/SettingsPage-hyOi94O9.js.map +1 -0
- package/dist/_chunks/{de-DtWiGdHl.js → de-BOhNX_-5.js} +1 -2
- package/dist/_chunks/de-BOhNX_-5.js.map +1 -0
- package/dist/_chunks/{de-9eCAqqrB.mjs → de-D80IRBP9.mjs} +1 -2
- package/dist/_chunks/de-D80IRBP9.mjs.map +1 -0
- package/dist/_chunks/{dk-2qBjxt-P.mjs → dk-CJ6Zzz78.mjs} +1 -2
- package/dist/_chunks/dk-CJ6Zzz78.mjs.map +1 -0
- package/dist/_chunks/{dk-D8C-casx.js → dk-cjXm0p3m.js} +1 -2
- package/dist/_chunks/dk-cjXm0p3m.js.map +1 -0
- package/dist/_chunks/{en-CnrTsjWS.mjs → en-BTyF7WVW.mjs} +14 -3
- package/dist/_chunks/en-BTyF7WVW.mjs.map +1 -0
- package/dist/_chunks/{en-BuBc6LKZ.js → en-UlC0jh2t.js} +14 -3
- package/dist/_chunks/en-UlC0jh2t.js.map +1 -0
- package/dist/_chunks/{es-DlmMVaBG.mjs → es-V8WnPN7w.mjs} +1 -2
- package/dist/_chunks/es-V8WnPN7w.mjs.map +1 -0
- package/dist/_chunks/{es-DS-XFGSw.js → es-hr9b_HLp.js} +1 -2
- package/dist/_chunks/es-hr9b_HLp.js.map +1 -0
- package/dist/_chunks/{fr-BTjekDpq.js → fr-BFmBbE0H.js} +1 -2
- package/dist/_chunks/fr-BFmBbE0H.js.map +1 -0
- package/dist/_chunks/{fr-3S6ke71d.mjs → fr-F94noFiV.mjs} +1 -2
- package/dist/_chunks/fr-F94noFiV.mjs.map +1 -0
- package/dist/_chunks/index-BcYj5jo9.mjs +1589 -0
- package/dist/_chunks/index-BcYj5jo9.mjs.map +1 -0
- package/dist/_chunks/index-C8NzsAKp.js +1610 -0
- package/dist/_chunks/index-C8NzsAKp.js.map +1 -0
- package/dist/_chunks/{ko-DmcGUBQ3.js → ko-C40pNQ9b.js} +1 -2
- package/dist/_chunks/ko-C40pNQ9b.js.map +1 -0
- package/dist/_chunks/{ko-qTjQ8IMw.mjs → ko-CF-P3Car.mjs} +1 -2
- package/dist/_chunks/ko-CF-P3Car.mjs.map +1 -0
- package/dist/_chunks/{pl-B67TSHqT.mjs → pl-Dxr9RUmD.mjs} +1 -2
- package/dist/_chunks/pl-Dxr9RUmD.mjs.map +1 -0
- package/dist/_chunks/{pl-Cn5RYonZ.js → pl-JtWBy-JQ.js} +1 -2
- package/dist/_chunks/pl-JtWBy-JQ.js.map +1 -0
- package/dist/_chunks/{ru-hagMa57T.mjs → ru-B-4sVwXN.mjs} +1 -2
- package/dist/_chunks/ru-B-4sVwXN.mjs.map +1 -0
- package/dist/_chunks/{ru-BMBgVL3s.js → ru-COSWt3Nu.js} +1 -2
- package/dist/_chunks/ru-COSWt3Nu.js.map +1 -0
- package/dist/_chunks/{tr-CarUU76c.js → tr-BVj1O5ch.js} +1 -2
- package/dist/_chunks/tr-BVj1O5ch.js.map +1 -0
- package/dist/_chunks/{tr-Dw_jmkG-.mjs → tr-Ccu6Yj11.mjs} +1 -2
- package/dist/_chunks/tr-Ccu6Yj11.mjs.map +1 -0
- package/dist/_chunks/{zh-57YM4amO.mjs → zh-BIz395Ms.mjs} +1 -2
- package/dist/_chunks/zh-BIz395Ms.mjs.map +1 -0
- package/dist/_chunks/{zh-Hans-Dyc-aR-h.mjs → zh-Hans-Bfo6_TCM.mjs} +1 -2
- package/dist/_chunks/zh-Hans-Bfo6_TCM.mjs.map +1 -0
- package/dist/_chunks/{zh-Hans-DSHIXAa3.js → zh-Hans-DIEm_EMC.js} +1 -2
- package/dist/_chunks/zh-Hans-DIEm_EMC.js.map +1 -0
- package/dist/_chunks/{zh-CukOviB0.js → zh-wkBPBkhc.js} +1 -2
- package/dist/_chunks/zh-wkBPBkhc.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +2 -2
- package/dist/admin/src/components/BulkLocaleActionModal.d.ts +16 -0
- package/dist/admin/src/components/CMHeaderActions.d.ts +35 -3
- package/dist/admin/src/components/CreateLocale.d.ts +6 -6
- package/dist/admin/src/components/EditLocale.d.ts +5 -4
- package/dist/admin/src/components/LocaleListCell.d.ts +4 -4
- package/dist/admin/src/contentReleasesHooks/releaseDetailsView.d.ts +9 -5
- package/dist/admin/src/services/api.d.ts +2 -3
- package/dist/admin/src/services/locales.d.ts +1 -1
- package/dist/admin/src/services/relations.d.ts +7 -0
- package/dist/admin/src/utils/baseQuery.d.ts +4 -19
- package/dist/admin/src/utils/clean.d.ts +4 -0
- package/dist/admin/src/utils/schemas.d.ts +1 -0
- package/dist/server/index.js +418 -478
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +419 -478
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/bootstrap.d.ts +1 -4
- package/dist/server/src/bootstrap.d.ts.map +1 -1
- package/dist/server/src/index.d.ts +21 -13
- package/dist/server/src/index.d.ts.map +1 -1
- package/dist/server/src/register.d.ts.map +1 -1
- package/dist/server/src/services/index.d.ts +20 -10
- package/dist/server/src/services/index.d.ts.map +1 -1
- package/dist/server/src/services/permissions/actions.d.ts +14 -2
- package/dist/server/src/services/permissions/actions.d.ts.map +1 -1
- package/dist/server/src/services/permissions.d.ts +14 -2
- package/dist/server/src/services/permissions.d.ts.map +1 -1
- package/dist/server/src/services/sanitize/index.d.ts +11 -0
- package/dist/server/src/services/sanitize/index.d.ts.map +1 -0
- package/dist/server/src/utils/index.d.ts +2 -2
- package/dist/server/src/utils/index.d.ts.map +1 -1
- package/dist/shared/contracts/content-manager.d.ts +20 -1
- package/package.json +19 -21
- package/dist/_chunks/SettingsPage-CeqfDjsb.mjs.map +0 -1
- package/dist/_chunks/SettingsPage-Djqsdrzs.js.map +0 -1
- package/dist/_chunks/de-9eCAqqrB.mjs.map +0 -1
- package/dist/_chunks/de-DtWiGdHl.js.map +0 -1
- package/dist/_chunks/dk-2qBjxt-P.mjs.map +0 -1
- package/dist/_chunks/dk-D8C-casx.js.map +0 -1
- package/dist/_chunks/en-BuBc6LKZ.js.map +0 -1
- package/dist/_chunks/en-CnrTsjWS.mjs.map +0 -1
- package/dist/_chunks/es-DS-XFGSw.js.map +0 -1
- package/dist/_chunks/es-DlmMVaBG.mjs.map +0 -1
- package/dist/_chunks/fr-3S6ke71d.mjs.map +0 -1
- package/dist/_chunks/fr-BTjekDpq.js.map +0 -1
- package/dist/_chunks/index-BDU1w_fd.mjs +0 -1058
- package/dist/_chunks/index-BDU1w_fd.mjs.map +0 -1
- package/dist/_chunks/index-DMXJeGjN.js +0 -1082
- package/dist/_chunks/index-DMXJeGjN.js.map +0 -1
- package/dist/_chunks/ko-DmcGUBQ3.js.map +0 -1
- package/dist/_chunks/ko-qTjQ8IMw.mjs.map +0 -1
- package/dist/_chunks/pl-B67TSHqT.mjs.map +0 -1
- package/dist/_chunks/pl-Cn5RYonZ.js.map +0 -1
- package/dist/_chunks/ru-BMBgVL3s.js.map +0 -1
- package/dist/_chunks/ru-hagMa57T.mjs.map +0 -1
- package/dist/_chunks/tr-CarUU76c.js.map +0 -1
- package/dist/_chunks/tr-Dw_jmkG-.mjs.map +0 -1
- package/dist/_chunks/zh-57YM4amO.mjs.map +0 -1
- package/dist/_chunks/zh-CukOviB0.js.map +0 -1
- package/dist/_chunks/zh-Hans-DSHIXAa3.js.map +0 -1
- package/dist/_chunks/zh-Hans-Dyc-aR-h.mjs.map +0 -1
- package/dist/admin/src/components/Initializer.d.ts +0 -5
- package/dist/server/src/migrations/content-type/disable/index.d.ts +0 -3
- package/dist/server/src/migrations/content-type/disable/index.d.ts.map +0 -1
- package/dist/server/src/migrations/content-type/enable/index.d.ts +0 -3
- package/dist/server/src/migrations/content-type/enable/index.d.ts.map +0 -1
- package/dist/server/src/services/entity-service-decorator.d.ts +0 -29
- package/dist/server/src/services/entity-service-decorator.d.ts.map +0 -1
- package/strapi-server.js +0 -3
@@ -1,4 +1,36 @@
|
|
1
|
-
import { type
|
2
|
-
|
1
|
+
import { type DocumentActionComponent, HeaderActionProps } from '@strapi/content-manager/strapi-admin';
|
2
|
+
import { Modules } from '@strapi/types';
|
3
|
+
import type { Locale } from '../../../shared/contracts/locales';
|
4
|
+
declare const LocalePickerAction: ({ document, meta, model, collectionType, documentId, }: HeaderActionProps) => {
|
5
|
+
label: string;
|
6
|
+
options: {
|
7
|
+
disabled: boolean;
|
8
|
+
value: string;
|
9
|
+
label: import("react/jsx-runtime").JSX.Element;
|
10
|
+
startIcon: import("react/jsx-runtime").JSX.Element | null;
|
11
|
+
}[];
|
12
|
+
customizeContent: () => string | undefined;
|
13
|
+
onSelect: (value: string) => void;
|
14
|
+
value: Locale | undefined;
|
15
|
+
} | null;
|
16
|
+
declare const FillFromAnotherLocaleAction: ({ documentId, meta, model, collectionType, }: HeaderActionProps) => {
|
17
|
+
type: string;
|
18
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
19
|
+
disabled: boolean;
|
20
|
+
label: string;
|
21
|
+
dialog: {
|
22
|
+
type: string;
|
23
|
+
title: string;
|
24
|
+
content: ({ onClose }: {
|
25
|
+
onClose: () => void;
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
27
|
+
};
|
28
|
+
} | null;
|
3
29
|
declare const DeleteLocaleAction: DocumentActionComponent;
|
4
|
-
export
|
30
|
+
export type LocaleStatus = {
|
31
|
+
locale: string;
|
32
|
+
status: Modules.Documents.Params.PublicationStatus.Kind | 'modified';
|
33
|
+
};
|
34
|
+
declare const BulkLocalePublishAction: DocumentActionComponent;
|
35
|
+
declare const BulkLocaleUnpublishAction: DocumentActionComponent;
|
36
|
+
export { BulkLocalePublishAction, BulkLocaleUnpublishAction, DeleteLocaleAction, LocalePickerAction, FillFromAnotherLocaleAction, };
|
@@ -5,16 +5,16 @@ interface CreateLocaleProps extends Pick<ButtonProps, 'disabled' | 'variant'> {
|
|
5
5
|
}
|
6
6
|
declare const CreateLocale: ({ disabled, variant }: CreateLocaleProps) => import("react/jsx-runtime").JSX.Element;
|
7
7
|
declare const LOCALE_SCHEMA: yup.default<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
8
|
-
code: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
9
|
-
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
8
|
+
code: import("yup/lib/string").RequiredStringSchema<string | null | undefined, Record<string, any>>;
|
9
|
+
name: import("yup/lib/string").RequiredStringSchema<string | null | undefined, Record<string, any>>;
|
10
10
|
isDefault: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
11
11
|
}>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
12
|
-
code: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
13
|
-
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
12
|
+
code: import("yup/lib/string").RequiredStringSchema<string | null | undefined, Record<string, any>>;
|
13
|
+
name: import("yup/lib/string").RequiredStringSchema<string | null | undefined, Record<string, any>>;
|
14
14
|
isDefault: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
15
15
|
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
16
|
-
code: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
17
|
-
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
16
|
+
code: import("yup/lib/string").RequiredStringSchema<string | null | undefined, Record<string, any>>;
|
17
|
+
name: import("yup/lib/string").RequiredStringSchema<string | null | undefined, Record<string, any>>;
|
18
18
|
isDefault: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
19
19
|
}>>>;
|
20
20
|
declare const SubmitButton: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1,13 +1,14 @@
|
|
1
|
-
import { ModalLayoutProps } from '@strapi/design-system';
|
2
1
|
import { Locale } from '../../../shared/contracts/locales';
|
3
|
-
interface EditLocaleProps extends Omit<EditModalProps, '
|
2
|
+
interface EditLocaleProps extends Omit<EditModalProps, 'open' | 'onOpenChange'> {
|
4
3
|
}
|
5
4
|
declare const EditLocale: (props: EditLocaleProps) => import("react/jsx-runtime").JSX.Element;
|
6
|
-
interface EditModalProps extends Pick<
|
5
|
+
interface EditModalProps extends Pick<Locale, 'id' | 'isDefault' | 'name' | 'code'> {
|
6
|
+
open: boolean;
|
7
|
+
onOpenChange: (open: boolean) => void;
|
7
8
|
}
|
8
9
|
/**
|
9
10
|
* @internal
|
10
11
|
* @description Exported to be used when someone clicks on a table row.
|
11
12
|
*/
|
12
|
-
declare const EditModal: ({ id, code, isDefault, name,
|
13
|
+
declare const EditModal: ({ id, code, isDefault, name, open, onOpenChange }: EditModalProps) => import("react/jsx-runtime").JSX.Element;
|
13
14
|
export { EditLocale, EditModal };
|
@@ -1,9 +1,9 @@
|
|
1
1
|
interface LocaleListCellProps {
|
2
|
-
|
3
|
-
|
2
|
+
localizations: {
|
3
|
+
locale: string;
|
4
|
+
}[];
|
4
5
|
locale: string;
|
5
|
-
model: string;
|
6
6
|
}
|
7
|
-
declare const LocaleListCell: ({
|
7
|
+
declare const LocaleListCell: ({ locale: currentLocale, localizations }: LocaleListCellProps) => import("react/jsx-runtime").JSX.Element | null;
|
8
8
|
export { LocaleListCell };
|
9
9
|
export type { LocaleListCellProps };
|
@@ -16,11 +16,9 @@ interface AddLocaleToReleasesHookArgs {
|
|
16
16
|
hasI18nEnabled: boolean;
|
17
17
|
}
|
18
18
|
declare const addLocaleToReleasesHook: ({ displayedHeaders }: AddLocaleToReleasesHookArgs) => {
|
19
|
-
displayedHeaders: {
|
19
|
+
displayedHeaders: ({
|
20
20
|
key: string;
|
21
|
-
fieldSchema:
|
22
|
-
type: string;
|
23
|
-
};
|
21
|
+
fieldSchema: Schema.Attribute.Kind | 'custom';
|
24
22
|
metadatas: {
|
25
23
|
label: {
|
26
24
|
id: string;
|
@@ -30,7 +28,13 @@ declare const addLocaleToReleasesHook: ({ displayedHeaders }: AddLocaleToRelease
|
|
30
28
|
sortable: boolean;
|
31
29
|
};
|
32
30
|
name: string;
|
33
|
-
}
|
31
|
+
} | {
|
32
|
+
label: {
|
33
|
+
id: string;
|
34
|
+
defaultMessage: string;
|
35
|
+
};
|
36
|
+
name: string;
|
37
|
+
})[];
|
34
38
|
hasI18nEnabled: boolean;
|
35
39
|
};
|
36
40
|
export { addLocaleToReleasesHook };
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export { i18nApi, type UnknownApiError };
|
1
|
+
declare const i18nApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, import("@reduxjs/toolkit/dist/query/endpointDefinitions").UpdateDefinitions<{}, "Locale", never>, "adminApi", "Locale", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
2
|
+
export { i18nApi };
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { GetISOLocales } from '../../../shared/contracts/iso-locales';
|
2
2
|
import type { GetLocales, CreateLocale, DeleteLocale, UpdateLocale } from '../../../shared/contracts/locales';
|
3
|
-
declare const useCreateLocaleMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Omit<import("../../../shared/contracts/locales").Locale, keyof import("../../../shared/contracts/shared").Entity>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("
|
3
|
+
declare const useCreateLocaleMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Omit<import("../../../shared/contracts/locales").Locale, keyof import("../../../shared/contracts/shared").Entity>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Locale", CreateLocale.Response, "adminApi">>, useDeleteLocaleMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<import("@strapi/types/dist/data").ID, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Locale", DeleteLocale.Response, "adminApi">>, useGetLocalesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Locale", GetLocales.Response, "adminApi">>, useGetDefaultLocalesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Locale", GetISOLocales.Response, "adminApi">>, useUpdateLocaleMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<import("../../../shared/contracts/locales").Locale, "name" | "isDefault"> & UpdateLocale.Params, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Locale", UpdateLocale.Response, "adminApi">>;
|
4
4
|
export { useCreateLocaleMutation, useDeleteLocaleMutation, useGetLocalesQuery, useGetDefaultLocalesQuery, useUpdateLocaleMutation, };
|
@@ -0,0 +1,7 @@
|
|
1
|
+
declare const useGetManyDraftRelationCountQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
2
|
+
documentIds?: string[] | undefined;
|
3
|
+
locale?: string | string[] | null | undefined;
|
4
|
+
} & {
|
5
|
+
model: string;
|
6
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Locale", number, "adminApi">>;
|
7
|
+
export { useGetManyDraftRelationCountQuery };
|
@@ -1,20 +1,5 @@
|
|
1
1
|
import { SerializedError } from '@reduxjs/toolkit';
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
export
|
6
|
-
url: string;
|
7
|
-
method?: AxiosRequestConfig['method'];
|
8
|
-
data?: AxiosRequestConfig['data'];
|
9
|
-
config?: AxiosRequestConfig;
|
10
|
-
}
|
11
|
-
export interface UnknownApiError {
|
12
|
-
name: 'UnknownError';
|
13
|
-
message: string;
|
14
|
-
details?: unknown;
|
15
|
-
status?: number;
|
16
|
-
}
|
17
|
-
export type BaseQueryError = ApiError | UnknownApiError;
|
18
|
-
declare const axiosBaseQuery: () => BaseQueryFn<string | QueryArguments, unknown, BaseQueryError>;
|
19
|
-
declare const isBaseQueryError: (error: BaseQueryError | SerializedError) => error is BaseQueryError;
|
20
|
-
export { axiosBaseQuery, isBaseQueryError };
|
2
|
+
import { type ApiError, type UnknownApiError } from '@strapi/admin/strapi-admin';
|
3
|
+
type BaseQueryError = ApiError | UnknownApiError | SerializedError;
|
4
|
+
declare const isBaseQueryError: (error: BaseQueryError) => error is ApiError | UnknownApiError;
|
5
|
+
export { isBaseQueryError };
|
@@ -15,6 +15,7 @@ declare const mutateCTBContentTypeSchema: (nextSchema: Schema.ContentType, prevS
|
|
15
15
|
kind: import("@strapi/types/dist/struct").ContentTypeKind;
|
16
16
|
info: import("@strapi/types/dist/struct").ContentTypeSchemaInfo;
|
17
17
|
indexes?: unknown[] | undefined;
|
18
|
+
foreignKeys?: unknown[] | undefined;
|
18
19
|
modelName: string;
|
19
20
|
globalId: string;
|
20
21
|
options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
|