@strapi/i18n 0.0.0-experimental.c2b08ee20b017fc174cccf35c56c39438b0237b0 → 0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24
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/server/routes/content-api.js +10 -16
- package/dist/server/routes/content-api.js.map +1 -1
- package/dist/server/routes/content-api.mjs +10 -16
- package/dist/server/routes/content-api.mjs.map +1 -1
- package/dist/server/src/index.d.ts +8 -1
- package/dist/server/src/index.d.ts.map +1 -1
- package/dist/server/src/routes/content-api.d.ts +8 -2
- package/dist/server/src/routes/content-api.d.ts.map +1 -1
- package/dist/server/src/routes/index.d.ts +8 -1
- package/dist/server/src/routes/index.d.ts.map +1 -1
- package/package.json +7 -8
- package/dist/server/routes/validation/locale.js +0 -57
- package/dist/server/routes/validation/locale.js.map +0 -1
- package/dist/server/routes/validation/locale.mjs +0 -36
- package/dist/server/routes/validation/locale.mjs.map +0 -1
- package/dist/server/src/routes/validation/index.d.ts +0 -2
- package/dist/server/src/routes/validation/index.d.ts.map +0 -1
- package/dist/server/src/routes/validation/locale.d.ts +0 -41
- package/dist/server/src/routes/validation/locale.d.ts.map +0 -1
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
handler: 'locales.listLocales',
|
|
14
|
-
response: validator.locales
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
};
|
|
18
|
-
});
|
|
3
|
+
var contentApi = {
|
|
4
|
+
type: 'content-api',
|
|
5
|
+
routes: [
|
|
6
|
+
{
|
|
7
|
+
method: 'GET',
|
|
8
|
+
path: '/locales',
|
|
9
|
+
handler: 'locales.listLocales'
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
};
|
|
19
13
|
|
|
20
14
|
module.exports = contentApi;
|
|
21
15
|
//# sourceMappingURL=content-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-api.js","sources":["../../../server/src/routes/content-api.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"content-api.js","sources":["../../../server/src/routes/content-api.ts"],"sourcesContent":["export default {\n type: 'content-api',\n routes: [\n {\n method: 'GET',\n path: '/locales',\n handler: 'locales.listLocales',\n },\n ],\n};\n"],"names":["type","routes","method","path","handler"],"mappings":";;AAAA,iBAAe;IACbA,IAAM,EAAA,aAAA;IACNC,MAAQ,EAAA;AACN,QAAA;YACEC,MAAQ,EAAA,KAAA;YACRC,IAAM,EAAA,UAAA;YACNC,OAAS,EAAA;AACX;AACD;AACH,CAAE;;;;"}
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
handler: 'locales.listLocales',
|
|
12
|
-
response: validator.locales
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
};
|
|
16
|
-
});
|
|
1
|
+
var contentApi = {
|
|
2
|
+
type: 'content-api',
|
|
3
|
+
routes: [
|
|
4
|
+
{
|
|
5
|
+
method: 'GET',
|
|
6
|
+
path: '/locales',
|
|
7
|
+
handler: 'locales.listLocales'
|
|
8
|
+
}
|
|
9
|
+
]
|
|
10
|
+
};
|
|
17
11
|
|
|
18
12
|
export { contentApi as default };
|
|
19
13
|
//# sourceMappingURL=content-api.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-api.mjs","sources":["../../../server/src/routes/content-api.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"content-api.mjs","sources":["../../../server/src/routes/content-api.ts"],"sourcesContent":["export default {\n type: 'content-api',\n routes: [\n {\n method: 'GET',\n path: '/locales',\n handler: 'locales.listLocales',\n },\n ],\n};\n"],"names":["type","routes","method","path","handler"],"mappings":"AAAA,iBAAe;IACbA,IAAM,EAAA,aAAA;IACNC,MAAQ,EAAA;AACN,QAAA;YACEC,MAAQ,EAAA,KAAA;YACRC,IAAM,EAAA,UAAA;YACNC,OAAS,EAAA;AACX;AACD;AACH,CAAE;;;;"}
|
|
@@ -22,7 +22,14 @@ declare const _default: () => {
|
|
|
22
22
|
};
|
|
23
23
|
}[];
|
|
24
24
|
};
|
|
25
|
-
'content-api':
|
|
25
|
+
'content-api': {
|
|
26
|
+
type: string;
|
|
27
|
+
routes: {
|
|
28
|
+
method: string;
|
|
29
|
+
path: string;
|
|
30
|
+
handler: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
26
33
|
};
|
|
27
34
|
controllers: {
|
|
28
35
|
locales: import("@strapi/types/dist/core").Controller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAOG"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
routes: {
|
|
4
|
+
method: string;
|
|
5
|
+
path: string;
|
|
6
|
+
handler: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
3
9
|
export default _default;
|
|
4
10
|
//# sourceMappingURL=content-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-api.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/content-api.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"content-api.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/content-api.ts"],"names":[],"mappings":";;;;;;;;AAAA,wBASE"}
|
|
@@ -15,7 +15,14 @@ declare const _default: {
|
|
|
15
15
|
};
|
|
16
16
|
}[];
|
|
17
17
|
};
|
|
18
|
-
'content-api':
|
|
18
|
+
'content-api': {
|
|
19
|
+
type: string;
|
|
20
|
+
routes: {
|
|
21
|
+
method: string;
|
|
22
|
+
path: string;
|
|
23
|
+
handler: string;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
19
26
|
};
|
|
20
27
|
export default _default;
|
|
21
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/i18n",
|
|
3
|
-
"version": "0.0.0-experimental.
|
|
3
|
+
"version": "0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24",
|
|
4
4
|
"description": "Create read and update content in different languages, both from the Admin Panel and from the API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -59,19 +59,18 @@
|
|
|
59
59
|
"@reduxjs/toolkit": "1.9.7",
|
|
60
60
|
"@strapi/design-system": "2.0.0-rc.29",
|
|
61
61
|
"@strapi/icons": "2.0.0-rc.29",
|
|
62
|
-
"@strapi/utils": "0.0.0-experimental.
|
|
62
|
+
"@strapi/utils": "0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24",
|
|
63
63
|
"lodash": "4.17.21",
|
|
64
64
|
"qs": "6.11.1",
|
|
65
65
|
"react-intl": "6.6.2",
|
|
66
66
|
"react-redux": "8.1.3",
|
|
67
|
-
"yup": "0.32.9"
|
|
68
|
-
"zod": "3.25.67"
|
|
67
|
+
"yup": "0.32.9"
|
|
69
68
|
},
|
|
70
69
|
"devDependencies": {
|
|
71
|
-
"@strapi/admin": "0.0.0-experimental.
|
|
72
|
-
"@strapi/admin-test-utils": "0.0.0-experimental.
|
|
73
|
-
"@strapi/content-manager": "0.0.0-experimental.
|
|
74
|
-
"@strapi/types": "0.0.0-experimental.
|
|
70
|
+
"@strapi/admin": "0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24",
|
|
71
|
+
"@strapi/admin-test-utils": "0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24",
|
|
72
|
+
"@strapi/content-manager": "0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24",
|
|
73
|
+
"@strapi/types": "0.0.0-experimental.c35a4b9abd571c6562b64b2aa4381dbf2a030f24",
|
|
75
74
|
"@testing-library/react": "15.0.7",
|
|
76
75
|
"@testing-library/user-event": "14.5.2",
|
|
77
76
|
"msw": "1.3.0",
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var z = require('zod/v4');
|
|
4
|
-
|
|
5
|
-
function _interopNamespaceDefault(e) {
|
|
6
|
-
var n = Object.create(null);
|
|
7
|
-
if (e) {
|
|
8
|
-
Object.keys(e).forEach(function (k) {
|
|
9
|
-
if (k !== 'default') {
|
|
10
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return e[k]; }
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
n.default = e;
|
|
19
|
-
return Object.freeze(n);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* A validator for i18n locale routes.
|
|
26
|
-
*
|
|
27
|
-
*/ class I18nLocaleRouteValidator {
|
|
28
|
-
/**
|
|
29
|
-
* Generates a validation schema for a single locale.
|
|
30
|
-
*
|
|
31
|
-
* @returns A schema for validating locale objects
|
|
32
|
-
*/ get locale() {
|
|
33
|
-
return z__namespace.object({
|
|
34
|
-
id: z__namespace.number().int().positive(),
|
|
35
|
-
documentId: z__namespace.string().uuid(),
|
|
36
|
-
name: z__namespace.string(),
|
|
37
|
-
code: z__namespace.string().length(2, 'Locale code must be exactly 2 characters'),
|
|
38
|
-
createdAt: z__namespace.string(),
|
|
39
|
-
updatedAt: z__namespace.string(),
|
|
40
|
-
publishedAt: z__namespace.string().nullable(),
|
|
41
|
-
isDefault: z__namespace.boolean()
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Generates a validation schema for an array of locales
|
|
46
|
-
*
|
|
47
|
-
* @returns A schema for validating arrays of locales
|
|
48
|
-
*/ get locales() {
|
|
49
|
-
return z__namespace.array(this.locale);
|
|
50
|
-
}
|
|
51
|
-
constructor(strapi){
|
|
52
|
-
this._strapi = strapi;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
exports.I18nLocaleRouteValidator = I18nLocaleRouteValidator;
|
|
57
|
-
//# sourceMappingURL=locale.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locale.js","sources":["../../../../server/src/routes/validation/locale.ts"],"sourcesContent":["import type { Core } from '@strapi/types';\nimport * as z from 'zod/v4';\n\n/**\n * A validator for i18n locale routes.\n *\n */\nexport class I18nLocaleRouteValidator {\n protected readonly _strapi: Core.Strapi;\n\n public constructor(strapi: Core.Strapi) {\n this._strapi = strapi;\n }\n\n /**\n * Generates a validation schema for a single locale.\n *\n * @returns A schema for validating locale objects\n */\n get locale() {\n return z.object({\n id: z.number().int().positive(),\n documentId: z.string().uuid(),\n name: z.string(),\n code: z.string().length(2, 'Locale code must be exactly 2 characters'),\n createdAt: z.string(),\n updatedAt: z.string(),\n publishedAt: z.string().nullable(),\n isDefault: z.boolean(),\n });\n }\n\n /**\n * Generates a validation schema for an array of locales\n *\n * @returns A schema for validating arrays of locales\n */\n get locales() {\n return z.array(this.locale);\n }\n}\n"],"names":["I18nLocaleRouteValidator","locale","z","object","id","number","int","positive","documentId","string","uuid","name","code","length","createdAt","updatedAt","publishedAt","nullable","isDefault","boolean","locales","array","strapi","_strapi"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAGA;;;AAGC,IACM,MAAMA,wBAAAA,CAAAA;AAOX;;;;AAIC,MACD,IAAIC,MAAS,GAAA;QACX,OAAOC,YAAAA,CAAEC,MAAM,CAAC;AACdC,YAAAA,EAAAA,EAAIF,YAAEG,CAAAA,MAAM,EAAGC,CAAAA,GAAG,GAAGC,QAAQ,EAAA;YAC7BC,UAAYN,EAAAA,YAAAA,CAAEO,MAAM,EAAA,CAAGC,IAAI,EAAA;AAC3BC,YAAAA,IAAAA,EAAMT,aAAEO,MAAM,EAAA;AACdG,YAAAA,IAAAA,EAAMV,YAAEO,CAAAA,MAAM,EAAGI,CAAAA,MAAM,CAAC,CAAG,EAAA,0CAAA,CAAA;AAC3BC,YAAAA,SAAAA,EAAWZ,aAAEO,MAAM,EAAA;AACnBM,YAAAA,SAAAA,EAAWb,aAAEO,MAAM,EAAA;YACnBO,WAAad,EAAAA,YAAAA,CAAEO,MAAM,EAAA,CAAGQ,QAAQ,EAAA;AAChCC,YAAAA,SAAAA,EAAWhB,aAAEiB,OAAO;AACtB,SAAA,CAAA;AACF;AAEA;;;;AAIC,MACD,IAAIC,OAAU,GAAA;AACZ,QAAA,OAAOlB,YAAEmB,CAAAA,KAAK,CAAC,IAAI,CAACpB,MAAM,CAAA;AAC5B;AA7BA,IAAA,WAAA,CAAmBqB,MAAmB,CAAE;QACtC,IAAI,CAACC,OAAO,GAAGD,MAAAA;AACjB;AA4BF;;;;"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/v4';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A validator for i18n locale routes.
|
|
5
|
-
*
|
|
6
|
-
*/ class I18nLocaleRouteValidator {
|
|
7
|
-
/**
|
|
8
|
-
* Generates a validation schema for a single locale.
|
|
9
|
-
*
|
|
10
|
-
* @returns A schema for validating locale objects
|
|
11
|
-
*/ get locale() {
|
|
12
|
-
return z.object({
|
|
13
|
-
id: z.number().int().positive(),
|
|
14
|
-
documentId: z.string().uuid(),
|
|
15
|
-
name: z.string(),
|
|
16
|
-
code: z.string().length(2, 'Locale code must be exactly 2 characters'),
|
|
17
|
-
createdAt: z.string(),
|
|
18
|
-
updatedAt: z.string(),
|
|
19
|
-
publishedAt: z.string().nullable(),
|
|
20
|
-
isDefault: z.boolean()
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Generates a validation schema for an array of locales
|
|
25
|
-
*
|
|
26
|
-
* @returns A schema for validating arrays of locales
|
|
27
|
-
*/ get locales() {
|
|
28
|
-
return z.array(this.locale);
|
|
29
|
-
}
|
|
30
|
-
constructor(strapi){
|
|
31
|
-
this._strapi = strapi;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { I18nLocaleRouteValidator };
|
|
36
|
-
//# sourceMappingURL=locale.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locale.mjs","sources":["../../../../server/src/routes/validation/locale.ts"],"sourcesContent":["import type { Core } from '@strapi/types';\nimport * as z from 'zod/v4';\n\n/**\n * A validator for i18n locale routes.\n *\n */\nexport class I18nLocaleRouteValidator {\n protected readonly _strapi: Core.Strapi;\n\n public constructor(strapi: Core.Strapi) {\n this._strapi = strapi;\n }\n\n /**\n * Generates a validation schema for a single locale.\n *\n * @returns A schema for validating locale objects\n */\n get locale() {\n return z.object({\n id: z.number().int().positive(),\n documentId: z.string().uuid(),\n name: z.string(),\n code: z.string().length(2, 'Locale code must be exactly 2 characters'),\n createdAt: z.string(),\n updatedAt: z.string(),\n publishedAt: z.string().nullable(),\n isDefault: z.boolean(),\n });\n }\n\n /**\n * Generates a validation schema for an array of locales\n *\n * @returns A schema for validating arrays of locales\n */\n get locales() {\n return z.array(this.locale);\n }\n}\n"],"names":["I18nLocaleRouteValidator","locale","z","object","id","number","int","positive","documentId","string","uuid","name","code","length","createdAt","updatedAt","publishedAt","nullable","isDefault","boolean","locales","array","strapi","_strapi"],"mappings":";;AAGA;;;AAGC,IACM,MAAMA,wBAAAA,CAAAA;AAOX;;;;AAIC,MACD,IAAIC,MAAS,GAAA;QACX,OAAOC,CAAAA,CAAEC,MAAM,CAAC;AACdC,YAAAA,EAAAA,EAAIF,CAAEG,CAAAA,MAAM,EAAGC,CAAAA,GAAG,GAAGC,QAAQ,EAAA;YAC7BC,UAAYN,EAAAA,CAAAA,CAAEO,MAAM,EAAA,CAAGC,IAAI,EAAA;AAC3BC,YAAAA,IAAAA,EAAMT,EAAEO,MAAM,EAAA;AACdG,YAAAA,IAAAA,EAAMV,CAAEO,CAAAA,MAAM,EAAGI,CAAAA,MAAM,CAAC,CAAG,EAAA,0CAAA,CAAA;AAC3BC,YAAAA,SAAAA,EAAWZ,EAAEO,MAAM,EAAA;AACnBM,YAAAA,SAAAA,EAAWb,EAAEO,MAAM,EAAA;YACnBO,WAAad,EAAAA,CAAAA,CAAEO,MAAM,EAAA,CAAGQ,QAAQ,EAAA;AAChCC,YAAAA,SAAAA,EAAWhB,EAAEiB,OAAO;AACtB,SAAA,CAAA;AACF;AAEA;;;;AAIC,MACD,IAAIC,OAAU,GAAA;AACZ,QAAA,OAAOlB,CAAEmB,CAAAA,KAAK,CAAC,IAAI,CAACpB,MAAM,CAAA;AAC5B;AA7BA,IAAA,WAAA,CAAmBqB,MAAmB,CAAE;QACtC,IAAI,CAACC,OAAO,GAAGD,MAAAA;AACjB;AA4BF;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/routes/validation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { Core } from '@strapi/types';
|
|
2
|
-
import * as z from 'zod/v4';
|
|
3
|
-
/**
|
|
4
|
-
* A validator for i18n locale routes.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export declare class I18nLocaleRouteValidator {
|
|
8
|
-
protected readonly _strapi: Core.Strapi;
|
|
9
|
-
constructor(strapi: Core.Strapi);
|
|
10
|
-
/**
|
|
11
|
-
* Generates a validation schema for a single locale.
|
|
12
|
-
*
|
|
13
|
-
* @returns A schema for validating locale objects
|
|
14
|
-
*/
|
|
15
|
-
get locale(): z.ZodObject<{
|
|
16
|
-
id: z.ZodNumber;
|
|
17
|
-
documentId: z.ZodString;
|
|
18
|
-
name: z.ZodString;
|
|
19
|
-
code: z.ZodString;
|
|
20
|
-
createdAt: z.ZodString;
|
|
21
|
-
updatedAt: z.ZodString;
|
|
22
|
-
publishedAt: z.ZodNullable<z.ZodString>;
|
|
23
|
-
isDefault: z.ZodBoolean;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
/**
|
|
26
|
-
* Generates a validation schema for an array of locales
|
|
27
|
-
*
|
|
28
|
-
* @returns A schema for validating arrays of locales
|
|
29
|
-
*/
|
|
30
|
-
get locales(): z.ZodArray<z.ZodObject<{
|
|
31
|
-
id: z.ZodNumber;
|
|
32
|
-
documentId: z.ZodString;
|
|
33
|
-
name: z.ZodString;
|
|
34
|
-
code: z.ZodString;
|
|
35
|
-
createdAt: z.ZodString;
|
|
36
|
-
updatedAt: z.ZodString;
|
|
37
|
-
publishedAt: z.ZodNullable<z.ZodString>;
|
|
38
|
-
isDefault: z.ZodBoolean;
|
|
39
|
-
}, z.core.$strip>>;
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=locale.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../../../server/src/routes/validation/locale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;GAGG;AACH,qBAAa,wBAAwB;IACnC,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC;gBAErB,MAAM,EAAE,IAAI,CAAC,MAAM;IAItC;;;;OAIG;IACH,IAAI,MAAM;;;;;;;;;sBAWT;IAED;;;;OAIG;IACH,IAAI,OAAO;;;;;;;;;uBAEV;CACF"}
|