@intlayer/backend-contract 0.0.0-stage → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ai.cjs +267 -0
- package/dist/cjs/ai.cjs.map +1 -0
- package/dist/cjs/analytics.cjs +175 -0
- package/dist/cjs/analytics.cjs.map +1 -0
- package/dist/cjs/asset.cjs +88 -0
- package/dist/cjs/asset.cjs.map +1 -0
- package/dist/cjs/blogComment.cjs +98 -0
- package/dist/cjs/blogComment.cjs.map +1 -0
- package/dist/cjs/cliSessionToken.cjs +40 -0
- package/dist/cjs/cliSessionToken.cjs.map +1 -0
- package/dist/cjs/common.cjs +42 -0
- package/dist/cjs/common.cjs.map +1 -0
- package/dist/cjs/defineRoute.cjs +26 -0
- package/dist/cjs/defineRoute.cjs.map +1 -0
- package/dist/cjs/demo.cjs +22 -0
- package/dist/cjs/demo.cjs.map +1 -0
- package/dist/cjs/dictionary.cjs +168 -0
- package/dist/cjs/dictionary.cjs.map +1 -0
- package/dist/cjs/environment.cjs +91 -0
- package/dist/cjs/environment.cjs.map +1 -0
- package/dist/cjs/eventListener.cjs +19 -0
- package/dist/cjs/eventListener.cjs.map +1 -0
- package/dist/cjs/gitProviders.cjs +361 -0
- package/dist/cjs/gitProviders.cjs.map +1 -0
- package/dist/cjs/newsletter.cjs +50 -0
- package/dist/cjs/newsletter.cjs.map +1 -0
- package/dist/cjs/oAuth2.cjs +62 -0
- package/dist/cjs/oAuth2.cjs.map +1 -0
- package/dist/cjs/organization.cjs +226 -0
- package/dist/cjs/organization.cjs.map +1 -0
- package/dist/cjs/project.cjs +401 -0
- package/dist/cjs/project.cjs.map +1 -0
- package/dist/cjs/public.cjs +60 -0
- package/dist/cjs/public.cjs.map +1 -0
- package/dist/cjs/responseData.cjs +33 -0
- package/dist/cjs/responseData.cjs.map +1 -0
- package/dist/cjs/reviewer.cjs +401 -0
- package/dist/cjs/reviewer.cjs.map +1 -0
- package/dist/cjs/scan.cjs +235 -0
- package/dist/cjs/scan.cjs.map +1 -0
- package/dist/cjs/search.cjs +40 -0
- package/dist/cjs/search.cjs.map +1 -0
- package/dist/cjs/session.cjs +56 -0
- package/dist/cjs/session.cjs.map +1 -0
- package/dist/cjs/showcaseProject.cjs +185 -0
- package/dist/cjs/showcaseProject.cjs.map +1 -0
- package/dist/cjs/stripe.cjs +388 -0
- package/dist/cjs/stripe.cjs.map +1 -0
- package/dist/cjs/tag.cjs +83 -0
- package/dist/cjs/tag.cjs.map +1 -0
- package/dist/cjs/translation.cjs +54 -0
- package/dist/cjs/translation.cjs.map +1 -0
- package/dist/cjs/user.cjs +153 -0
- package/dist/cjs/user.cjs.map +1 -0
- package/dist/esm/ai.mjs +261 -0
- package/dist/esm/ai.mjs.map +1 -0
- package/dist/esm/analytics.mjs +168 -0
- package/dist/esm/analytics.mjs.map +1 -0
- package/dist/esm/asset.mjs +86 -0
- package/dist/esm/asset.mjs.map +1 -0
- package/dist/esm/blogComment.mjs +94 -0
- package/dist/esm/blogComment.mjs.map +1 -0
- package/dist/esm/cliSessionToken.mjs +39 -0
- package/dist/esm/cliSessionToken.mjs.map +1 -0
- package/dist/esm/common.mjs +35 -0
- package/dist/esm/common.mjs.map +1 -0
- package/dist/esm/defineRoute.mjs +23 -0
- package/dist/esm/defineRoute.mjs.map +1 -0
- package/dist/esm/demo.mjs +21 -0
- package/dist/esm/demo.mjs.map +1 -0
- package/dist/esm/dictionary.mjs +163 -0
- package/dist/esm/dictionary.mjs.map +1 -0
- package/dist/esm/environment.mjs +90 -0
- package/dist/esm/environment.mjs.map +1 -0
- package/dist/esm/eventListener.mjs +18 -0
- package/dist/esm/eventListener.mjs.map +1 -0
- package/dist/esm/gitProviders.mjs +352 -0
- package/dist/esm/gitProviders.mjs.map +1 -0
- package/dist/esm/newsletter.mjs +49 -0
- package/dist/esm/newsletter.mjs.map +1 -0
- package/dist/esm/oAuth2.mjs +60 -0
- package/dist/esm/oAuth2.mjs.map +1 -0
- package/dist/esm/organization.mjs +219 -0
- package/dist/esm/organization.mjs.map +1 -0
- package/dist/esm/project.mjs +387 -0
- package/dist/esm/project.mjs.map +1 -0
- package/dist/esm/public.mjs +58 -0
- package/dist/esm/public.mjs.map +1 -0
- package/dist/esm/responseData.mjs +30 -0
- package/dist/esm/responseData.mjs.map +1 -0
- package/dist/esm/reviewer.mjs +390 -0
- package/dist/esm/reviewer.mjs.map +1 -0
- package/dist/esm/scan.mjs +225 -0
- package/dist/esm/scan.mjs.map +1 -0
- package/dist/esm/search.mjs +38 -0
- package/dist/esm/search.mjs.map +1 -0
- package/dist/esm/session.mjs +53 -0
- package/dist/esm/session.mjs.map +1 -0
- package/dist/esm/showcaseProject.mjs +182 -0
- package/dist/esm/showcaseProject.mjs.map +1 -0
- package/dist/esm/stripe.mjs +379 -0
- package/dist/esm/stripe.mjs.map +1 -0
- package/dist/esm/tag.mjs +81 -0
- package/dist/esm/tag.mjs.map +1 -0
- package/dist/esm/translation.mjs +53 -0
- package/dist/esm/translation.mjs.map +1 -0
- package/dist/esm/user.mjs +149 -0
- package/dist/esm/user.mjs.map +1 -0
- package/dist/types/@intlayer/config/dist/types/defaultValues/dictionary.d.ts +1 -0
- package/dist/types/@intlayer/config/dist/types/defaultValues/index.d.ts +3 -0
- package/dist/types/@intlayer/config/dist/types/defaultValues/internationalization.d.ts +2 -0
- package/dist/types/@intlayer/config/dist/types/defaultValues/routing.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/formatters/compact.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/currency.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/date.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/index.d.ts +9 -0
- package/dist/types/@intlayer/core/dist/types/formatters/list.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/number.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/percentage.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/relativeTime.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/formatters/units.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/dictionaryTransformCache.d.ts +4 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getCondition.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/deepTransform.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/getContent.d.ts +3 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/index.d.ts +3 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/plugins.d.ts +7 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getDictionary.d.ts +4 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +6 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayer.d.ts +4 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayerAsync.d.ts +4 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getNesting.d.ts +6 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +3 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/getTranslation.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +19 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/interpreter/resolveInterpreterLocale.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/comparePaths.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/domainUtils.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/generateSitemap.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/getBrowserLocale.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getCanonicalPath.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/getHTMLTextDir.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocale.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleFromPath.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleFromRequest.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleLang.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleName.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocalizedPath.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/getLocalizedUrl.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/getMultilingualUrls.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/getPathWithoutLocale.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/getPrefix.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/index.d.ts +23 -0
- package/dist/types/@intlayer/core/dist/types/localization/localeDetector.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/localeMapper.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/localeResolver.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/resolveBrowserLocale.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/rewriteMatch.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/localization/rewriteUtils.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/localization/validatePrefix.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/markdown/index.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/condition/condition.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/condition/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/enumeration.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/file/file.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/file/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/gender/gender.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/gender/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/html/html.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/html/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +22 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/insertion/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/insertion/insertion.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/markdown/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/markdown/markdown.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +4 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/plural/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/plural/plural.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/select/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/select/select.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/translation/index.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/transpiler/translation/translation.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/utils/index.d.ts +3 -0
- package/dist/types/@intlayer/core/dist/types/utils/intl.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/utils/isSameKeyPath.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/utils/localeStorage.d.ts +2 -0
- package/dist/types/ai.d.ts +549 -0
- package/dist/types/ai.d.ts.map +1 -0
- package/dist/types/analytics.d.ts +378 -0
- package/dist/types/analytics.d.ts.map +1 -0
- package/dist/types/asset.d.ts +207 -0
- package/dist/types/asset.d.ts.map +1 -0
- package/dist/types/blogComment.d.ts +241 -0
- package/dist/types/blogComment.d.ts.map +1 -0
- package/dist/types/cliSessionToken.d.ts +264 -0
- package/dist/types/cliSessionToken.d.ts.map +1 -0
- package/dist/types/common.d.ts +32 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/defineRoute.d.ts +57 -0
- package/dist/types/defineRoute.d.ts.map +1 -0
- package/dist/types/demo.d.ts +21 -0
- package/dist/types/demo.d.ts.map +1 -0
- package/dist/types/dictionary.d.ts +360 -0
- package/dist/types/dictionary.d.ts.map +1 -0
- package/dist/types/environment.d.ts +285 -0
- package/dist/types/environment.d.ts.map +1 -0
- package/dist/types/eventListener.d.ts +17 -0
- package/dist/types/eventListener.d.ts.map +1 -0
- package/dist/types/gitProviders.d.ts +807 -0
- package/dist/types/gitProviders.d.ts.map +1 -0
- package/dist/types/intlayer/dist/types/index.d.ts +13 -0
- package/dist/types/newsletter.d.ts +165 -0
- package/dist/types/newsletter.d.ts.map +1 -0
- package/dist/types/oAuth2.d.ts +482 -0
- package/dist/types/oAuth2.d.ts.map +1 -0
- package/dist/types/organization.d.ts +1069 -0
- package/dist/types/organization.d.ts.map +1 -0
- package/dist/types/project.d.ts +1735 -0
- package/dist/types/project.d.ts.map +1 -0
- package/dist/types/public.d.ts +109 -0
- package/dist/types/public.d.ts.map +1 -0
- package/dist/types/responseData.d.ts +68 -0
- package/dist/types/responseData.d.ts.map +1 -0
- package/dist/types/reviewer.d.ts +1239 -0
- package/dist/types/reviewer.d.ts.map +1 -0
- package/dist/types/scan.d.ts +625 -0
- package/dist/types/scan.d.ts.map +1 -0
- package/dist/types/search.d.ts +55 -0
- package/dist/types/search.d.ts.map +1 -0
- package/dist/types/session.d.ts +286 -0
- package/dist/types/session.d.ts.map +1 -0
- package/dist/types/showcaseProject.d.ts +550 -0
- package/dist/types/showcaseProject.d.ts.map +1 -0
- package/dist/types/stripe.d.ts +1219 -0
- package/dist/types/stripe.d.ts.map +1 -0
- package/dist/types/tag.d.ts +193 -0
- package/dist/types/tag.d.ts.map +1 -0
- package/dist/types/translation.d.ts +162 -0
- package/dist/types/translation.d.ts.map +1 -0
- package/dist/types/user.d.ts +447 -0
- package/dist/types/user.d.ts.map +1 -0
- package/package.json +300 -4
- package/README.md +0 -3
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { RouteBodyInput, RouteDefinition, RouteGroup, RouteParams, RouteQuerystring } from "./defineRoute.js";
|
|
2
|
+
import { PaginatedResponse, ResponseData } from "./responseData.js";
|
|
3
|
+
import { z } from "zod/mini";
|
|
4
|
+
import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
|
|
5
|
+
//#region src/dictionary.d.ts
|
|
6
|
+
/** Outcome of the last commit of a CMS edit to the source `.content` file. */
|
|
7
|
+
export type DictionarySourceSync = {
|
|
8
|
+
status: 'committed' | 'pull-request' | 'up-to-date' | 'file-not-found' | 'unsupported' | 'error';
|
|
9
|
+
/** Commit (or pull request) link on the git provider. */
|
|
10
|
+
url?: string;
|
|
11
|
+
commitSha?: string;
|
|
12
|
+
message?: string;
|
|
13
|
+
syncedAt: string;
|
|
14
|
+
};
|
|
15
|
+
/** Fields the server adds to a stored dictionary. */
|
|
16
|
+
type DictionaryServerFields = {
|
|
17
|
+
id: string;
|
|
18
|
+
projectIds: string[];
|
|
19
|
+
creatorId: string;
|
|
20
|
+
/** Content versions, oldest first. */
|
|
21
|
+
versionList: string[];
|
|
22
|
+
/** Environment the dictionary belongs to; null = shared by all. */
|
|
23
|
+
environmentId?: string | null;
|
|
24
|
+
sourceSync?: DictionarySourceSync;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Dictionary as returned by the API: the `@intlayer/types` dictionary (the
|
|
30
|
+
* framework-wide source of truth for content) plus the server fields.
|
|
31
|
+
*/
|
|
32
|
+
export type DictionaryAPI = Omit<Dictionary, keyof DictionaryServerFields> & DictionaryServerFields;
|
|
33
|
+
/** Dictionary as returned by the API (content documented as any JSON). */
|
|
34
|
+
export declare const dictionarySchema: z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>;
|
|
35
|
+
/** Dictionary pushed by the CLI / editor (`@intlayer/types` shape). */
|
|
36
|
+
export declare const localDictionarySchema: z.ZodMiniCustom<Dictionary, Dictionary>;
|
|
37
|
+
/** Content node of a dictionary (`@intlayer/types`). */
|
|
38
|
+
export declare const contentNodeSchema: z.ZodMiniCustom<ContentNode, ContentNode>;
|
|
39
|
+
export declare const pushDictionariesResultSchema: z.ZodMiniObject<{
|
|
40
|
+
newDictionaries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
41
|
+
key: z.ZodMiniString<string>;
|
|
42
|
+
localId: z.ZodMiniString<string>;
|
|
43
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
updatedDictionaries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
46
|
+
key: z.ZodMiniString<string>;
|
|
47
|
+
localId: z.ZodMiniString<string>;
|
|
48
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
upToDateDictionaries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
51
|
+
key: z.ZodMiniString<string>;
|
|
52
|
+
localId: z.ZodMiniString<string>;
|
|
53
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
error: z.ZodMiniArray<z.ZodMiniObject<{
|
|
56
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
57
|
+
key: z.ZodMiniString<string>;
|
|
58
|
+
localId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
59
|
+
message: z.ZodMiniString<string>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
/** REST contract of the `/api/dictionary` routes. */
|
|
63
|
+
export declare const dictionaryContract: RouteGroup<"/api/dictionary", {
|
|
64
|
+
readonly getDictionaries: RouteDefinition<"GET", "/", {
|
|
65
|
+
readonly querystring: z.ZodMiniObject<{
|
|
66
|
+
page: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
|
|
67
|
+
pageSize: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
|
|
68
|
+
ids: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
69
|
+
projectId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
70
|
+
projectIds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
71
|
+
organizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
72
|
+
organizationIds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
73
|
+
userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
74
|
+
userIds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
75
|
+
creatorId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
76
|
+
creatorIds: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
77
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
78
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
79
|
+
key: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
80
|
+
keys: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
81
|
+
tags: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
82
|
+
location: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
83
|
+
both: "both";
|
|
84
|
+
local: "local";
|
|
85
|
+
none: "none";
|
|
86
|
+
remote: "remote";
|
|
87
|
+
}>>;
|
|
88
|
+
}, z.core.$loose>;
|
|
89
|
+
readonly response: {
|
|
90
|
+
200: z.ZodMiniObject<{
|
|
91
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
92
|
+
status: z.ZodMiniNumber<number>;
|
|
93
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
94
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
95
|
+
data: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>>>;
|
|
96
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
97
|
+
code: z.ZodMiniString<string>;
|
|
98
|
+
title: z.ZodMiniString<string>;
|
|
99
|
+
message: z.ZodMiniString<string>;
|
|
100
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
101
|
+
code: z.ZodMiniString<string>;
|
|
102
|
+
title: z.ZodMiniString<string>;
|
|
103
|
+
message: z.ZodMiniString<string>;
|
|
104
|
+
}, z.core.$loose>>]>>;
|
|
105
|
+
page: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
106
|
+
page_size: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
107
|
+
total_pages: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
108
|
+
total_items: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
};
|
|
111
|
+
}>;
|
|
112
|
+
readonly getDictionariesKeys: RouteDefinition<"GET", "/keys", {
|
|
113
|
+
readonly response: {
|
|
114
|
+
200: z.ZodMiniObject<{
|
|
115
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
116
|
+
status: z.ZodMiniNumber<number>;
|
|
117
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
118
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
119
|
+
data: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
120
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
121
|
+
code: z.ZodMiniString<string>;
|
|
122
|
+
title: z.ZodMiniString<string>;
|
|
123
|
+
message: z.ZodMiniString<string>;
|
|
124
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
125
|
+
code: z.ZodMiniString<string>;
|
|
126
|
+
title: z.ZodMiniString<string>;
|
|
127
|
+
message: z.ZodMiniString<string>;
|
|
128
|
+
}, z.core.$loose>>]>>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
};
|
|
131
|
+
}>;
|
|
132
|
+
readonly getDictionariesUpdateTimestamp: RouteDefinition<"GET", "/update", {
|
|
133
|
+
readonly response: {
|
|
134
|
+
200: z.ZodMiniObject<{
|
|
135
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
136
|
+
status: z.ZodMiniNumber<number>;
|
|
137
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
138
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
139
|
+
data: z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
140
|
+
key: z.ZodMiniString<string>;
|
|
141
|
+
updatedAt: z.ZodMiniNumber<number>;
|
|
142
|
+
}, z.core.$strip>>>;
|
|
143
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
144
|
+
code: z.ZodMiniString<string>;
|
|
145
|
+
title: z.ZodMiniString<string>;
|
|
146
|
+
message: z.ZodMiniString<string>;
|
|
147
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
148
|
+
code: z.ZodMiniString<string>;
|
|
149
|
+
title: z.ZodMiniString<string>;
|
|
150
|
+
message: z.ZodMiniString<string>;
|
|
151
|
+
}, z.core.$loose>>]>>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
};
|
|
154
|
+
}>;
|
|
155
|
+
readonly getDictionariesByKeys: RouteDefinition<"GET", "/by-keys", {
|
|
156
|
+
readonly querystring: z.ZodMiniObject<{
|
|
157
|
+
keys: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>;
|
|
158
|
+
version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
readonly response: {
|
|
161
|
+
200: z.ZodMiniObject<{
|
|
162
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
163
|
+
status: z.ZodMiniNumber<number>;
|
|
164
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
166
|
+
data: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>>>;
|
|
167
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
168
|
+
code: z.ZodMiniString<string>;
|
|
169
|
+
title: z.ZodMiniString<string>;
|
|
170
|
+
message: z.ZodMiniString<string>;
|
|
171
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
172
|
+
code: z.ZodMiniString<string>;
|
|
173
|
+
title: z.ZodMiniString<string>;
|
|
174
|
+
message: z.ZodMiniString<string>;
|
|
175
|
+
}, z.core.$loose>>]>>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
};
|
|
178
|
+
}>;
|
|
179
|
+
readonly getDictionary: RouteDefinition<"GET", "/:dictionaryKey", {
|
|
180
|
+
readonly params: z.ZodMiniObject<{
|
|
181
|
+
dictionaryKey: z.ZodMiniString<string>;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
readonly querystring: z.ZodMiniObject<{
|
|
184
|
+
version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
readonly response: {
|
|
187
|
+
200: z.ZodMiniObject<{
|
|
188
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
189
|
+
status: z.ZodMiniNumber<number>;
|
|
190
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
+
data: z.ZodMiniNullable<z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>>;
|
|
193
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
194
|
+
code: z.ZodMiniString<string>;
|
|
195
|
+
title: z.ZodMiniString<string>;
|
|
196
|
+
message: z.ZodMiniString<string>;
|
|
197
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
198
|
+
code: z.ZodMiniString<string>;
|
|
199
|
+
title: z.ZodMiniString<string>;
|
|
200
|
+
message: z.ZodMiniString<string>;
|
|
201
|
+
}, z.core.$loose>>]>>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
};
|
|
204
|
+
}>;
|
|
205
|
+
readonly addDictionary: RouteDefinition<"POST", "/", {
|
|
206
|
+
readonly body: z.ZodMiniObject<{
|
|
207
|
+
dictionary: z.ZodMiniObject<{
|
|
208
|
+
key: z.ZodMiniString<string>;
|
|
209
|
+
projectIds: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
210
|
+
content: z.ZodMiniOptional<z.ZodMiniCustom<ContentNode, ContentNode>>;
|
|
211
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
212
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
213
|
+
priority: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
214
|
+
importMode: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
215
|
+
dynamic: "dynamic";
|
|
216
|
+
fetch: "fetch";
|
|
217
|
+
static: "static";
|
|
218
|
+
}>>;
|
|
219
|
+
tags: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
220
|
+
environmentId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
221
|
+
}, z.core.$loose>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
readonly response: {
|
|
224
|
+
200: z.ZodMiniObject<{
|
|
225
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
226
|
+
status: z.ZodMiniNumber<number>;
|
|
227
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
228
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
229
|
+
data: z.ZodMiniNullable<z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>>;
|
|
230
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
231
|
+
code: z.ZodMiniString<string>;
|
|
232
|
+
title: z.ZodMiniString<string>;
|
|
233
|
+
message: z.ZodMiniString<string>;
|
|
234
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
235
|
+
code: z.ZodMiniString<string>;
|
|
236
|
+
title: z.ZodMiniString<string>;
|
|
237
|
+
message: z.ZodMiniString<string>;
|
|
238
|
+
}, z.core.$loose>>]>>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
};
|
|
241
|
+
}>;
|
|
242
|
+
readonly pushDictionaries: RouteDefinition<"PATCH", "/", {
|
|
243
|
+
readonly body: z.ZodMiniObject<{
|
|
244
|
+
dictionaries: z.ZodMiniArray<z.ZodMiniCustom<Dictionary, Dictionary>>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
readonly response: {
|
|
247
|
+
200: z.ZodMiniObject<{
|
|
248
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
249
|
+
status: z.ZodMiniNumber<number>;
|
|
250
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
251
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
252
|
+
data: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
253
|
+
newDictionaries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
254
|
+
key: z.ZodMiniString<string>;
|
|
255
|
+
localId: z.ZodMiniString<string>;
|
|
256
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
updatedDictionaries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
259
|
+
key: z.ZodMiniString<string>;
|
|
260
|
+
localId: z.ZodMiniString<string>;
|
|
261
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
upToDateDictionaries: z.ZodMiniArray<z.ZodMiniObject<{
|
|
264
|
+
key: z.ZodMiniString<string>;
|
|
265
|
+
localId: z.ZodMiniString<string>;
|
|
266
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
error: z.ZodMiniArray<z.ZodMiniObject<{
|
|
269
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
270
|
+
key: z.ZodMiniString<string>;
|
|
271
|
+
localId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
272
|
+
message: z.ZodMiniString<string>;
|
|
273
|
+
}, z.core.$strip>>;
|
|
274
|
+
}, z.core.$strip>>;
|
|
275
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
276
|
+
code: z.ZodMiniString<string>;
|
|
277
|
+
title: z.ZodMiniString<string>;
|
|
278
|
+
message: z.ZodMiniString<string>;
|
|
279
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
280
|
+
code: z.ZodMiniString<string>;
|
|
281
|
+
title: z.ZodMiniString<string>;
|
|
282
|
+
message: z.ZodMiniString<string>;
|
|
283
|
+
}, z.core.$loose>>]>>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
};
|
|
286
|
+
}>;
|
|
287
|
+
readonly updateDictionary: RouteDefinition<"PUT", "/:dictionaryId", {
|
|
288
|
+
readonly params: z.ZodMiniObject<{
|
|
289
|
+
dictionaryId: z.ZodMiniString<string>;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
readonly body: z.ZodMiniCustom<Partial<DictionaryAPI>, Partial<DictionaryAPI>>;
|
|
292
|
+
readonly response: {
|
|
293
|
+
200: z.ZodMiniObject<{
|
|
294
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
295
|
+
status: z.ZodMiniNumber<number>;
|
|
296
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
297
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
298
|
+
data: z.ZodMiniNullable<z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>>;
|
|
299
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
300
|
+
code: z.ZodMiniString<string>;
|
|
301
|
+
title: z.ZodMiniString<string>;
|
|
302
|
+
message: z.ZodMiniString<string>;
|
|
303
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
304
|
+
code: z.ZodMiniString<string>;
|
|
305
|
+
title: z.ZodMiniString<string>;
|
|
306
|
+
message: z.ZodMiniString<string>;
|
|
307
|
+
}, z.core.$loose>>]>>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
};
|
|
310
|
+
}>;
|
|
311
|
+
readonly deleteDictionary: RouteDefinition<"DELETE", "/:dictionaryId", {
|
|
312
|
+
readonly params: z.ZodMiniObject<{
|
|
313
|
+
dictionaryId: z.ZodMiniString<string>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
readonly response: {
|
|
316
|
+
200: z.ZodMiniObject<{
|
|
317
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
318
|
+
status: z.ZodMiniNumber<number>;
|
|
319
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
320
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
321
|
+
data: z.ZodMiniNullable<z.ZodMiniCustom<DictionaryAPI, DictionaryAPI>>;
|
|
322
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
323
|
+
code: z.ZodMiniString<string>;
|
|
324
|
+
title: z.ZodMiniString<string>;
|
|
325
|
+
message: z.ZodMiniString<string>;
|
|
326
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
327
|
+
code: z.ZodMiniString<string>;
|
|
328
|
+
title: z.ZodMiniString<string>;
|
|
329
|
+
message: z.ZodMiniString<string>;
|
|
330
|
+
}, z.core.$loose>>]>>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
};
|
|
333
|
+
}>;
|
|
334
|
+
}>;
|
|
335
|
+
/** Route definitions of the `/api/dictionary` group, by name. */
|
|
336
|
+
export type DictionaryRoutes = (typeof dictionaryContract)['routes'];
|
|
337
|
+
export type PushDictionariesResultData = z.output<typeof pushDictionariesResultSchema>;
|
|
338
|
+
export type GetDictionariesParams = RouteQuerystring<DictionaryRoutes['getDictionaries']>;
|
|
339
|
+
export type GetDictionariesResult = PaginatedResponse<DictionaryAPI>;
|
|
340
|
+
export type GetDictionariesKeysResult = ResponseData<string[]>;
|
|
341
|
+
export type GetDictionariesUpdateTimestampResult = ResponseData<Record<string, {
|
|
342
|
+
key: string;
|
|
343
|
+
updatedAt: number;
|
|
344
|
+
}>>;
|
|
345
|
+
export type GetDictionaryParams = RouteParams<DictionaryRoutes['getDictionary']>;
|
|
346
|
+
export type GetDictionaryQuery = RouteQuerystring<DictionaryRoutes['getDictionary']>;
|
|
347
|
+
export type GetDictionaryResult = ResponseData<DictionaryAPI>;
|
|
348
|
+
export type GetDictionariesByKeysQuery = RouteQuerystring<DictionaryRoutes['getDictionariesByKeys']>;
|
|
349
|
+
export type GetDictionariesByKeysResult = ResponseData<DictionaryAPI[]>;
|
|
350
|
+
export type AddDictionaryBody = RouteBodyInput<DictionaryRoutes['addDictionary']>;
|
|
351
|
+
export type AddDictionaryResult = ResponseData<DictionaryAPI>;
|
|
352
|
+
export type PushDictionariesBody = RouteBodyInput<DictionaryRoutes['pushDictionaries']>;
|
|
353
|
+
export type PushDictionariesResult = ResponseData<PushDictionariesResultData>;
|
|
354
|
+
export type UpdateDictionaryParam = RouteParams<DictionaryRoutes['updateDictionary']>;
|
|
355
|
+
export type UpdateDictionaryBody = RouteBodyInput<DictionaryRoutes['updateDictionary']>;
|
|
356
|
+
export type UpdateDictionaryResult = ResponseData<DictionaryAPI>;
|
|
357
|
+
export type DeleteDictionaryParam = RouteParams<DictionaryRoutes['deleteDictionary']>;
|
|
358
|
+
export type DeleteDictionaryResult = ResponseData<DictionaryAPI>;
|
|
359
|
+
//#endregion
|
|
360
|
+
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../src/dictionary.ts"],"mappings":";;;;;;YAwBY;EACV;;EAQA;EACA;EACA;EACA;;;KAIG;EACH;EACA;EACA;;EAEA;;EAEA;EACA,aAAa;EACb;EACA;;;;;;YAOU,gBAAgB,KAAK,kBAAkB,0BACjD;;qBAOW,kBAAgB,EAAA,cAAA,eAAA;;qBAIhB,uBAAqB,EAAA,cAAA,YAAA;;qBAIrB,mBAAiB,EAAA,cAAA,aAAA;qBASjB,8BAA4B,EAAA;;;;;;;;;;;;;;;;;;;;;;GAYvC,EAAA,KAAA;;qBAKW;4BA2BU;;;;;;;;;;;;;;;;;;;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;gCAQA;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;2CASV;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;kCAmBU;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;0BAYA;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;0BAqBA;;;;;;;;;;;;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;6BASA;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAUA;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;6BASA;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;YAOX,2BAA2B;YAE3B,6BAA6B,EAAE,cAClC;YAEG,wBAAwB,iBAClC;YAEU,wBAAwB,kBAAkB;YAC1C,4BAA4B;YAC5B,uCAAuC,aACjD;EAAiB;EAAa;;YAEpB,sBAAsB,YAChC;YAEU,qBAAqB,iBAC/B;YAEU,sBAAsB,aAAa;YACnC,6BAA6B,iBACvC;YAEU,8BAA8B,aAAa;YAC3C,oBAAoB,eAC9B;YAEU,sBAAsB,aAAa;YACnC,uBAAuB,eACjC;YAEU,yBAAyB,aAAa;YACtC,wBAAwB,YAClC;YAEU,uBAAuB,eACjC;YAEU,yBAAyB,aAAa;YACtC,wBAAwB,YAClC;YAEU,yBAAyB,aAAa"}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { RouteBodyInput, RouteDefinition, RouteGroup, RouteParams } from "./defineRoute.js";
|
|
2
|
+
import { ResponseData } from "./responseData.js";
|
|
3
|
+
import { Locale } from "./intlayer/dist/types/index.js";
|
|
4
|
+
import { EnvironmentAPI, ProjectConfigAI } from "./project.js";
|
|
5
|
+
import { z } from "zod/mini";
|
|
6
|
+
//#region src/environment.d.ts
|
|
7
|
+
/** REST contract of the `/api/project/environment` routes. */
|
|
8
|
+
export declare const environmentContract: RouteGroup<"/api/project/environment", {
|
|
9
|
+
readonly addEnvironment: RouteDefinition<"POST", "/", {
|
|
10
|
+
readonly body: z.ZodMiniObject<{
|
|
11
|
+
name: z.ZodMiniString<string>;
|
|
12
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
13
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
14
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
15
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
18
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
19
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
readonly response: {
|
|
25
|
+
200: z.ZodMiniObject<{
|
|
26
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
27
|
+
status: z.ZodMiniNumber<number>;
|
|
28
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
29
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
30
|
+
data: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
31
|
+
id: z.ZodMiniString<string>;
|
|
32
|
+
name: z.ZodMiniString<string>;
|
|
33
|
+
isDefault: z.ZodMiniBoolean<boolean>;
|
|
34
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
35
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
36
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
37
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
40
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
41
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
createdAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
46
|
+
updatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
49
|
+
code: z.ZodMiniString<string>;
|
|
50
|
+
title: z.ZodMiniString<string>;
|
|
51
|
+
message: z.ZodMiniString<string>;
|
|
52
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
53
|
+
code: z.ZodMiniString<string>;
|
|
54
|
+
title: z.ZodMiniString<string>;
|
|
55
|
+
message: z.ZodMiniString<string>;
|
|
56
|
+
}, z.core.$loose>>]>>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
};
|
|
59
|
+
}>;
|
|
60
|
+
readonly updateEnvironment: RouteDefinition<"PUT", "/:environmentId", {
|
|
61
|
+
readonly params: z.ZodMiniObject<{
|
|
62
|
+
environmentId: z.ZodMiniString<string>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
readonly body: z.ZodMiniObject<{
|
|
65
|
+
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
66
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
67
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
68
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
69
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
72
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
73
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
74
|
+
}, z.core.$loose>>;
|
|
75
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
76
|
+
}, z.core.$loose>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
readonly response: {
|
|
79
|
+
200: z.ZodMiniObject<{
|
|
80
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
81
|
+
status: z.ZodMiniNumber<number>;
|
|
82
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
83
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
84
|
+
data: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
85
|
+
id: z.ZodMiniString<string>;
|
|
86
|
+
name: z.ZodMiniString<string>;
|
|
87
|
+
isDefault: z.ZodMiniBoolean<boolean>;
|
|
88
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
89
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
90
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
91
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
92
|
+
}, z.core.$loose>>;
|
|
93
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
94
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
95
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
96
|
+
}, z.core.$loose>>;
|
|
97
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
98
|
+
}, z.core.$loose>>;
|
|
99
|
+
createdAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
100
|
+
updatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
101
|
+
}, z.core.$loose>>>;
|
|
102
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
103
|
+
code: z.ZodMiniString<string>;
|
|
104
|
+
title: z.ZodMiniString<string>;
|
|
105
|
+
message: z.ZodMiniString<string>;
|
|
106
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
107
|
+
code: z.ZodMiniString<string>;
|
|
108
|
+
title: z.ZodMiniString<string>;
|
|
109
|
+
message: z.ZodMiniString<string>;
|
|
110
|
+
}, z.core.$loose>>]>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
};
|
|
113
|
+
}>;
|
|
114
|
+
readonly deleteEnvironment: RouteDefinition<"DELETE", "/:environmentId", {
|
|
115
|
+
readonly params: z.ZodMiniObject<{
|
|
116
|
+
environmentId: z.ZodMiniString<string>;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
readonly response: {
|
|
119
|
+
200: z.ZodMiniObject<{
|
|
120
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
121
|
+
status: z.ZodMiniNumber<number>;
|
|
122
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
123
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
124
|
+
data: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
125
|
+
id: z.ZodMiniString<string>;
|
|
126
|
+
name: z.ZodMiniString<string>;
|
|
127
|
+
isDefault: z.ZodMiniBoolean<boolean>;
|
|
128
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
129
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
130
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
131
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
132
|
+
}, z.core.$loose>>;
|
|
133
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
134
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
135
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
136
|
+
}, z.core.$loose>>;
|
|
137
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
138
|
+
}, z.core.$loose>>;
|
|
139
|
+
createdAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
|
+
updatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
141
|
+
}, z.core.$loose>>>;
|
|
142
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
143
|
+
code: z.ZodMiniString<string>;
|
|
144
|
+
title: z.ZodMiniString<string>;
|
|
145
|
+
message: z.ZodMiniString<string>;
|
|
146
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
147
|
+
code: z.ZodMiniString<string>;
|
|
148
|
+
title: z.ZodMiniString<string>;
|
|
149
|
+
message: z.ZodMiniString<string>;
|
|
150
|
+
}, z.core.$loose>>]>>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
};
|
|
153
|
+
}>;
|
|
154
|
+
readonly resetToProductionEnvironment: RouteDefinition<"PUT", "/production/select", {
|
|
155
|
+
readonly response: {
|
|
156
|
+
200: z.ZodMiniObject<{
|
|
157
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
158
|
+
status: z.ZodMiniNumber<number>;
|
|
159
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
160
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
161
|
+
data: z.ZodMiniNullable<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
162
|
+
id: z.ZodMiniString<string>;
|
|
163
|
+
name: z.ZodMiniString<string>;
|
|
164
|
+
isDefault: z.ZodMiniBoolean<boolean>;
|
|
165
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
166
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
167
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
168
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
169
|
+
}, z.core.$loose>>;
|
|
170
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
171
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
172
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
173
|
+
}, z.core.$loose>>;
|
|
174
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
175
|
+
}, z.core.$loose>>;
|
|
176
|
+
createdAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
177
|
+
updatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
178
|
+
}, z.core.$loose>>>;
|
|
179
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
180
|
+
code: z.ZodMiniString<string>;
|
|
181
|
+
title: z.ZodMiniString<string>;
|
|
182
|
+
message: z.ZodMiniString<string>;
|
|
183
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
184
|
+
code: z.ZodMiniString<string>;
|
|
185
|
+
title: z.ZodMiniString<string>;
|
|
186
|
+
message: z.ZodMiniString<string>;
|
|
187
|
+
}, z.core.$loose>>]>>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
};
|
|
190
|
+
}>;
|
|
191
|
+
readonly selectEnvironment: RouteDefinition<"PUT", "/:environmentId/select", {
|
|
192
|
+
readonly params: z.ZodMiniObject<{
|
|
193
|
+
environmentId: z.ZodMiniString<string>;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
readonly response: {
|
|
196
|
+
200: z.ZodMiniObject<{
|
|
197
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
198
|
+
status: z.ZodMiniNumber<number>;
|
|
199
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
200
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
201
|
+
data: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
202
|
+
id: z.ZodMiniString<string>;
|
|
203
|
+
name: z.ZodMiniString<string>;
|
|
204
|
+
isDefault: z.ZodMiniBoolean<boolean>;
|
|
205
|
+
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
206
|
+
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
207
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
208
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
209
|
+
}, z.core.$loose>>;
|
|
210
|
+
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
211
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
212
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
213
|
+
}, z.core.$loose>>;
|
|
214
|
+
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
215
|
+
}, z.core.$loose>>;
|
|
216
|
+
createdAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
217
|
+
updatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
218
|
+
}, z.core.$loose>>;
|
|
219
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
220
|
+
code: z.ZodMiniString<string>;
|
|
221
|
+
title: z.ZodMiniString<string>;
|
|
222
|
+
message: z.ZodMiniString<string>;
|
|
223
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
224
|
+
code: z.ZodMiniString<string>;
|
|
225
|
+
title: z.ZodMiniString<string>;
|
|
226
|
+
message: z.ZodMiniString<string>;
|
|
227
|
+
}, z.core.$loose>>]>>;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
};
|
|
230
|
+
}>;
|
|
231
|
+
readonly migrateEnvironment: RouteDefinition<"POST", "/migrate", {
|
|
232
|
+
readonly body: z.ZodMiniObject<{
|
|
233
|
+
sourceEnvironmentId: z.ZodMiniString<string>;
|
|
234
|
+
targetEnvironmentId: z.ZodMiniString<string>;
|
|
235
|
+
strategy: z.ZodMiniEnum<{
|
|
236
|
+
"fill-missing": "fill-missing";
|
|
237
|
+
overwrite: "overwrite";
|
|
238
|
+
}>;
|
|
239
|
+
migrateContent: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
240
|
+
migrateConfiguration: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
readonly response: {
|
|
243
|
+
200: z.ZodMiniObject<{
|
|
244
|
+
success: z.ZodMiniBoolean<boolean>;
|
|
245
|
+
status: z.ZodMiniNumber<number>;
|
|
246
|
+
message: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
247
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
248
|
+
data: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
249
|
+
migratedDictionaries: z.ZodMiniNumber<number>;
|
|
250
|
+
skippedDictionaries: z.ZodMiniNumber<number>;
|
|
251
|
+
configurationMigrated: z.ZodMiniBoolean<boolean>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
error: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
254
|
+
code: z.ZodMiniString<string>;
|
|
255
|
+
title: z.ZodMiniString<string>;
|
|
256
|
+
message: z.ZodMiniString<string>;
|
|
257
|
+
}, z.core.$loose>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
258
|
+
code: z.ZodMiniString<string>;
|
|
259
|
+
title: z.ZodMiniString<string>;
|
|
260
|
+
message: z.ZodMiniString<string>;
|
|
261
|
+
}, z.core.$loose>>]>>;
|
|
262
|
+
}, z.core.$strip>;
|
|
263
|
+
};
|
|
264
|
+
}>;
|
|
265
|
+
}>;
|
|
266
|
+
/** Route definitions of the `/api/project/environment` group, by name. */
|
|
267
|
+
export type EnvironmentRoutes = (typeof environmentContract)['routes'];
|
|
268
|
+
export type AddEnvironmentBody = RouteBodyInput<EnvironmentRoutes['addEnvironment']>;
|
|
269
|
+
export type AddEnvironmentResult = ResponseData<EnvironmentAPI[]>;
|
|
270
|
+
export type UpdateEnvironmentParams = RouteParams<EnvironmentRoutes['updateEnvironment']>;
|
|
271
|
+
export type UpdateEnvironmentBody = RouteBodyInput<EnvironmentRoutes['updateEnvironment']>;
|
|
272
|
+
export type UpdateEnvironmentResult = ResponseData<EnvironmentAPI[]>;
|
|
273
|
+
export type DeleteEnvironmentParams = RouteParams<EnvironmentRoutes['deleteEnvironment']>;
|
|
274
|
+
export type DeleteEnvironmentResult = ResponseData<EnvironmentAPI[]>;
|
|
275
|
+
export type SelectEnvironmentParams = RouteParams<EnvironmentRoutes['selectEnvironment']>;
|
|
276
|
+
export type SelectEnvironmentResult = ResponseData<EnvironmentAPI>;
|
|
277
|
+
export type ResetToProductionEnvironmentResult = ResponseData<EnvironmentAPI | null>;
|
|
278
|
+
export type MigrateEnvironmentBody = RouteBodyInput<EnvironmentRoutes['migrateEnvironment']>;
|
|
279
|
+
export type MigrateEnvironmentResult = ResponseData<{
|
|
280
|
+
migratedDictionaries: number;
|
|
281
|
+
skippedDictionaries: number;
|
|
282
|
+
configurationMigrated: boolean;
|
|
283
|
+
}>;
|
|
284
|
+
//#endregion
|
|
285
|
+
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.d.ts","names":[],"sources":["../../src/environment.ts"],"mappings":";;;;;;;qBAuBa;2BAaU;;;;;;;;;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAaA;;;;;;;;;;;;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BASA;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAQA;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BASA;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAiBV;;;;;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;YAcD,4BAA4B;YAE5B,qBAAqB,eAC/B;YAEU,uBAAuB,aAAa;YACpC,0BAA0B,YACpC;YAEU,wBAAwB,eAClC;YAEU,0BAA0B,aAAa;YACvC,0BAA0B,YACpC;YAEU,0BAA0B,aAAa;YACvC,0BAA0B,YACpC;YAEU,0BAA0B,aAAa;YACvC,qCACV,aAAa;YACH,yBAAyB,eACnC;YAEU,2BAA2B;EACrC;EACA;EACA"}
|