@intlayer/backend-contract 9.6.0 → 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 +1 -1
- package/dist/cjs/asset.cjs +1 -1
- package/dist/cjs/blogComment.cjs +1 -1
- package/dist/cjs/cliSessionToken.cjs +2 -2
- package/dist/cjs/dictionary.cjs +1 -1
- package/dist/cjs/environment.cjs +1 -1
- package/dist/cjs/oAuth2.cjs +2 -2
- package/dist/cjs/organization.cjs +1 -1
- package/dist/cjs/project.cjs +1 -1
- package/dist/cjs/reviewer.cjs +1 -1
- package/dist/cjs/scan.cjs +1 -1
- package/dist/cjs/session.cjs +1 -1
- package/dist/cjs/showcaseProject.cjs +1 -1
- package/dist/cjs/stripe.cjs +1 -1
- package/dist/cjs/tag.cjs +1 -1
- package/dist/cjs/translation.cjs +1 -1
- package/dist/cjs/user.cjs +1 -1
- package/dist/esm/ai.mjs +1 -1
- package/dist/esm/asset.mjs +1 -1
- package/dist/esm/blogComment.mjs +1 -1
- package/dist/esm/cliSessionToken.mjs +2 -2
- package/dist/esm/dictionary.mjs +1 -1
- package/dist/esm/environment.mjs +1 -1
- package/dist/esm/oAuth2.mjs +2 -2
- package/dist/esm/organization.mjs +1 -1
- package/dist/esm/project.mjs +1 -1
- package/dist/esm/reviewer.mjs +1 -1
- package/dist/esm/scan.mjs +1 -1
- package/dist/esm/session.mjs +1 -1
- package/dist/esm/showcaseProject.mjs +1 -1
- package/dist/esm/stripe.mjs +1 -1
- package/dist/esm/tag.mjs +1 -1
- package/dist/esm/translation.mjs +1 -1
- package/dist/esm/user.mjs +1 -1
- 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/cliSessionToken.d.ts +11 -10
- package/dist/types/cliSessionToken.d.ts.map +1 -1
- package/dist/types/environment.d.ts +29 -28
- package/dist/types/environment.d.ts.map +1 -1
- package/dist/types/intlayer/dist/types/index.d.ts +13 -0
- package/dist/types/oAuth2.d.ts +21 -20
- package/dist/types/oAuth2.d.ts.map +1 -1
- package/dist/types/session.d.ts +6 -6
- package/package.json +1 -1
- package/README.md +0 -331
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "./comparePaths.js";
|
|
2
|
+
import "./domainUtils.js";
|
|
3
|
+
import "./generateSitemap.js";
|
|
4
|
+
import "./getBrowserLocale.js";
|
|
5
|
+
import "./getCanonicalPath.js";
|
|
6
|
+
import "./getHTMLTextDir.js";
|
|
7
|
+
import "./getLocale.js";
|
|
8
|
+
import "./getPrefix.js";
|
|
9
|
+
import "./getLocaleFromPath.js";
|
|
10
|
+
import "./getLocaleFromRequest.js";
|
|
11
|
+
import "./getLocaleLang.js";
|
|
12
|
+
import "./getLocaleName.js";
|
|
13
|
+
import "./getLocalizedPath.js";
|
|
14
|
+
import "./getLocalizedUrl.js";
|
|
15
|
+
import "./getMultilingualUrls.js";
|
|
16
|
+
import "./getPathWithoutLocale.js";
|
|
17
|
+
import "./localeDetector.js";
|
|
18
|
+
import "./localeMapper.js";
|
|
19
|
+
import "./localeResolver.js";
|
|
20
|
+
import "./resolveBrowserLocale.js";
|
|
21
|
+
import "./rewriteMatch.js";
|
|
22
|
+
import "./rewriteUtils.js";
|
|
23
|
+
import "./validatePrefix.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/module_augmentation";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/module_augmentation";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/config";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./condition.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./enumeration.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./file.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./gender.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./html.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./file/file.js";
|
|
2
|
+
import "./gender/gender.js";
|
|
3
|
+
import "./condition/condition.js";
|
|
4
|
+
import "./condition/index.js";
|
|
5
|
+
import "./enumeration/enumeration.js";
|
|
6
|
+
import "./enumeration/index.js";
|
|
7
|
+
import "./file/index.js";
|
|
8
|
+
import "./gender/index.js";
|
|
9
|
+
import "./html/html.js";
|
|
10
|
+
import "./html/index.js";
|
|
11
|
+
import "./insertion/insertion.js";
|
|
12
|
+
import "./insertion/index.js";
|
|
13
|
+
import "./markdown/markdown.js";
|
|
14
|
+
import "./markdown/index.js";
|
|
15
|
+
import "./nesting/index.js";
|
|
16
|
+
import "./plural/plural.js";
|
|
17
|
+
import "./plural/index.js";
|
|
18
|
+
import "./select/select.js";
|
|
19
|
+
import "./select/index.js";
|
|
20
|
+
import "./translation/translation.js";
|
|
21
|
+
import "./translation/index.js";
|
|
22
|
+
import "./nesting/nesting.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./insertion.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./markdown.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./nesting.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./plural.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./select.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/nodeType";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./translation.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@intlayer/types/module_augmentation";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { KeyPath } from "@intlayer/types/keyPath";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RouteDefinition, RouteGroup } from "./defineRoute.js";
|
|
2
2
|
import { ResponseData } from "./responseData.js";
|
|
3
|
+
import { Locale } from "./intlayer/dist/types/index.js";
|
|
3
4
|
import { ProjectAPI, ProjectConfigAI } from "./project.js";
|
|
4
5
|
import { OrganizationAPI } from "./organization.js";
|
|
5
6
|
import { UserAPI } from "./user.js";
|
|
@@ -48,17 +49,17 @@ export declare const cliSessionTokenContract: RouteGroup<"/api/cli-session", {
|
|
|
48
49
|
memberAccess: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
49
50
|
userId: z.ZodMiniString<string>;
|
|
50
51
|
allowedEnvironmentIds: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniString<string>>>>;
|
|
51
|
-
allowedLocales: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<
|
|
52
|
+
allowedLocales: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
52
53
|
}, z.core.$strip>>>;
|
|
53
54
|
creatorId: z.ZodMiniString<string>;
|
|
54
55
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
55
56
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
56
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
57
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
57
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
58
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
58
59
|
}, z.core.$loose>>;
|
|
59
60
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
60
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
61
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
61
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
62
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
62
63
|
}, z.core.$loose>>;
|
|
63
64
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
64
65
|
}, z.core.$loose>>;
|
|
@@ -121,12 +122,12 @@ export declare const cliSessionTokenContract: RouteGroup<"/api/cli-session", {
|
|
|
121
122
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
122
123
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
123
124
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
124
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
125
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
125
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
126
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
126
127
|
}, z.core.$loose>>;
|
|
127
128
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
128
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
129
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
129
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
130
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
130
131
|
}, z.core.$loose>>;
|
|
131
132
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
132
133
|
}, z.core.$loose>>;
|
|
@@ -142,7 +143,7 @@ export declare const cliSessionTokenContract: RouteGroup<"/api/cli-session", {
|
|
|
142
143
|
userId: z.ZodMiniString<string>;
|
|
143
144
|
expiresAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
144
145
|
allowedEnvironmentIds: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniString<string>>>>>;
|
|
145
|
-
allowedLocales: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<
|
|
146
|
+
allowedLocales: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>>;
|
|
146
147
|
createdAt: z.ZodMiniString<string>;
|
|
147
148
|
updatedAt: z.ZodMiniString<string>;
|
|
148
149
|
}, z.core.$loose>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cliSessionToken.d.ts","names":[],"sources":["../../src/cliSessionToken.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cliSessionToken.d.ts","names":[],"sources":["../../src/cliSessionToken.ts"],"mappings":";;;;;;;;;qBASa;kCAUA;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;4BAYA;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAeD,gCAAgC;YAEhC,8BAA8B;EACxC;EACA;;YAEU,wBAAwB;EAClC,SAAS;EACT,OAAO;EACP,eAAe"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RouteBodyInput, RouteDefinition, RouteGroup, RouteParams } from "./defineRoute.js";
|
|
2
2
|
import { ResponseData } from "./responseData.js";
|
|
3
|
+
import { Locale } from "./intlayer/dist/types/index.js";
|
|
3
4
|
import { EnvironmentAPI, ProjectConfigAI } from "./project.js";
|
|
4
5
|
import { z } from "zod/mini";
|
|
5
6
|
//#region src/environment.d.ts
|
|
@@ -10,12 +11,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
10
11
|
name: z.ZodMiniString<string>;
|
|
11
12
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
12
13
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
13
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
14
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
14
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
15
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
15
16
|
}, z.core.$loose>>;
|
|
16
17
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
17
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
18
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
19
20
|
}, z.core.$loose>>;
|
|
20
21
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
21
22
|
}, z.core.$loose>>;
|
|
@@ -32,12 +33,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
32
33
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
33
34
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
34
35
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
35
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
36
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
36
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
37
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
37
38
|
}, z.core.$loose>>;
|
|
38
39
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
39
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
40
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
41
42
|
}, z.core.$loose>>;
|
|
42
43
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
43
44
|
}, z.core.$loose>>;
|
|
@@ -64,12 +65,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
64
65
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
65
66
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
66
67
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
67
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
68
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
68
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
69
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
69
70
|
}, z.core.$loose>>;
|
|
70
71
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
71
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
72
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
73
74
|
}, z.core.$loose>>;
|
|
74
75
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
75
76
|
}, z.core.$loose>>;
|
|
@@ -86,12 +87,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
86
87
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
87
88
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
88
89
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
89
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
90
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
90
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
91
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
91
92
|
}, z.core.$loose>>;
|
|
92
93
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
93
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
94
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
95
96
|
}, z.core.$loose>>;
|
|
96
97
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
97
98
|
}, z.core.$loose>>;
|
|
@@ -126,12 +127,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
126
127
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
127
128
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
128
129
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
129
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
130
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
130
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
131
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
131
132
|
}, z.core.$loose>>;
|
|
132
133
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
133
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
134
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
135
136
|
}, z.core.$loose>>;
|
|
136
137
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
137
138
|
}, z.core.$loose>>;
|
|
@@ -163,12 +164,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
163
164
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
164
165
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
165
166
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
166
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
167
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
167
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
168
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
168
169
|
}, z.core.$loose>>;
|
|
169
170
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
170
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
171
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
172
173
|
}, z.core.$loose>>;
|
|
173
174
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
174
175
|
}, z.core.$loose>>;
|
|
@@ -203,12 +204,12 @@ export declare const environmentContract: RouteGroup<"/api/project/environment",
|
|
|
203
204
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
204
205
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
205
206
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
206
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
207
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
207
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
208
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
208
209
|
}, z.core.$loose>>;
|
|
209
210
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
210
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
211
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
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>>;
|
|
212
213
|
}, z.core.$loose>>;
|
|
213
214
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
214
215
|
}, z.core.$loose>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","names":[],"sources":["../../src/environment.ts"],"mappings":"
|
|
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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../../../@intlayer/core/dist/types/transpiler/file/file.js";
|
|
2
|
+
import "../../../@intlayer/core/dist/types/formatters/index.js";
|
|
3
|
+
import "../../../@intlayer/core/dist/types/transpiler/index.js";
|
|
4
|
+
import "../../../@intlayer/core/dist/types/interpreter/index.js";
|
|
5
|
+
import "../../../@intlayer/core/dist/types/localization/index.js";
|
|
6
|
+
import "../../../@intlayer/core/dist/types/markdown/index.js";
|
|
7
|
+
import "../../../@intlayer/core/dist/types/utils/index.js";
|
|
8
|
+
import { Locale as Locale$1 } from "@intlayer/types/allLocales";
|
|
9
|
+
import "@intlayer/types/config";
|
|
10
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
11
|
+
import "@intlayer/types/module_augmentation";
|
|
12
|
+
import "@intlayer/types/locales";
|
|
13
|
+
export type { Locale$1 as Locale };
|
package/dist/types/oAuth2.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RouteBodyInput, RouteDefinition, RouteGroup } from "./defineRoute.js";
|
|
2
2
|
import { ResponseData } from "./responseData.js";
|
|
3
|
+
import { Locale } from "./intlayer/dist/types/index.js";
|
|
3
4
|
import { ProjectConfigAI } from "./project.js";
|
|
4
5
|
import { z } from "zod/mini";
|
|
5
6
|
//#region src/oAuth2.d.ts
|
|
@@ -107,17 +108,17 @@ export declare const oAuth2TokenSchema: z.ZodMiniObject<{
|
|
|
107
108
|
memberAccess: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
108
109
|
userId: z.ZodMiniString<string>;
|
|
109
110
|
allowedEnvironmentIds: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniString<string>>>>;
|
|
110
|
-
allowedLocales: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<
|
|
111
|
+
allowedLocales: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
111
112
|
}, z.core.$strip>>>;
|
|
112
113
|
creatorId: z.ZodMiniString<string>;
|
|
113
114
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
114
115
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
115
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
116
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
116
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
117
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
117
118
|
}, z.core.$loose>>;
|
|
118
119
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
119
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
120
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
120
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
121
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
121
122
|
}, z.core.$loose>>;
|
|
122
123
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
123
124
|
}, z.core.$loose>>;
|
|
@@ -180,12 +181,12 @@ export declare const oAuth2TokenSchema: z.ZodMiniObject<{
|
|
|
180
181
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
181
182
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
182
183
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
183
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
184
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
184
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
185
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
185
186
|
}, z.core.$loose>>;
|
|
186
187
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
187
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
188
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
188
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
189
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
189
190
|
}, z.core.$loose>>;
|
|
190
191
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
191
192
|
}, z.core.$loose>>;
|
|
@@ -201,7 +202,7 @@ export declare const oAuth2TokenSchema: z.ZodMiniObject<{
|
|
|
201
202
|
userId: z.ZodMiniString<string>;
|
|
202
203
|
expiresAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
203
204
|
allowedEnvironmentIds: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniString<string>>>>>;
|
|
204
|
-
allowedLocales: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<
|
|
205
|
+
allowedLocales: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>>;
|
|
205
206
|
createdAt: z.ZodMiniString<string>;
|
|
206
207
|
updatedAt: z.ZodMiniString<string>;
|
|
207
208
|
}, z.core.$loose>>;
|
|
@@ -330,17 +331,17 @@ export declare const oAuth2Contract: RouteGroup<"/oauth2", {
|
|
|
330
331
|
memberAccess: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
331
332
|
userId: z.ZodMiniString<string>;
|
|
332
333
|
allowedEnvironmentIds: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniString<string>>>>;
|
|
333
|
-
allowedLocales: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<
|
|
334
|
+
allowedLocales: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
334
335
|
}, z.core.$strip>>>;
|
|
335
336
|
creatorId: z.ZodMiniString<string>;
|
|
336
337
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
337
338
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
338
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
339
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
339
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
340
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
340
341
|
}, z.core.$loose>>;
|
|
341
342
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
342
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
343
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
343
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
344
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
344
345
|
}, z.core.$loose>>;
|
|
345
346
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
346
347
|
}, z.core.$loose>>;
|
|
@@ -403,12 +404,12 @@ export declare const oAuth2Contract: RouteGroup<"/oauth2", {
|
|
|
403
404
|
isDefault: z.ZodMiniBoolean<boolean>;
|
|
404
405
|
configuration: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
405
406
|
internationalization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
406
|
-
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<
|
|
407
|
-
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<
|
|
407
|
+
locales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>;
|
|
408
|
+
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
408
409
|
}, z.core.$loose>>;
|
|
409
410
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
410
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
411
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
411
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
412
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
412
413
|
}, z.core.$loose>>;
|
|
413
414
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
414
415
|
}, z.core.$loose>>;
|
|
@@ -424,7 +425,7 @@ export declare const oAuth2Contract: RouteGroup<"/oauth2", {
|
|
|
424
425
|
userId: z.ZodMiniString<string>;
|
|
425
426
|
expiresAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
426
427
|
allowedEnvironmentIds: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniString<string>>>>>;
|
|
427
|
-
allowedLocales: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<
|
|
428
|
+
allowedLocales: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniCustom<Locale, Locale>>>>;
|
|
428
429
|
createdAt: z.ZodMiniString<string>;
|
|
429
430
|
updatedAt: z.ZodMiniString<string>;
|
|
430
431
|
}, z.core.$loose>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth2.d.ts","names":[],"sources":["../../src/oAuth2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oAuth2.d.ts","names":[],"sources":["../../src/oAuth2.ts"],"mappings":";;;;;;;qBAaa,mBAAiB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAS5B,EAAA,KAAA;;qBAGW;iCAkBU;;;;;;;;;;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BASV;;MAAH,KAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;YAaD,uBAAuB;YAEvB,cAAc,EAAE,cAAc;YAC9B,qBAAqB,eAC/B;YAEU,uBAAuB,aAAa;YACpC,0BAA0B;EACpC;EACA"}
|
package/dist/types/session.d.ts
CHANGED
|
@@ -150,8 +150,8 @@ export declare const sessionSchema: z.ZodMiniObject<{
|
|
|
150
150
|
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
151
151
|
}, z.core.$loose>>;
|
|
152
152
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
153
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
154
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
153
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
154
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
155
155
|
}, z.core.$loose>>;
|
|
156
156
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
157
157
|
}, z.core.$loose>>;
|
|
@@ -218,8 +218,8 @@ export declare const sessionSchema: z.ZodMiniObject<{
|
|
|
218
218
|
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
219
219
|
}, z.core.$loose>>;
|
|
220
220
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
221
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
222
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
221
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
222
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
223
223
|
}, z.core.$loose>>;
|
|
224
224
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
225
225
|
}, z.core.$loose>>;
|
|
@@ -252,8 +252,8 @@ export declare const sessionSchema: z.ZodMiniObject<{
|
|
|
252
252
|
defaultLocale: z.ZodMiniOptional<z.ZodMiniCustom<Locale, Locale>>;
|
|
253
253
|
}, z.core.$loose>>;
|
|
254
254
|
editor: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
255
|
-
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
256
|
-
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types
|
|
255
|
+
applicationURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
256
|
+
cmsURL: z.ZodMiniOptional<z.ZodMiniCustom<import("@intlayer/types").URLType, import("@intlayer/types").URLType>>;
|
|
257
257
|
}, z.core.$loose>>;
|
|
258
258
|
ai: z.ZodMiniOptional<z.ZodMiniCustom<ProjectConfigAI, ProjectConfigAI>>;
|
|
259
259
|
}, z.core.$loose>>;
|
package/package.json
CHANGED