@tmlmobilidade/types 20260504.1142.3 → 20260504.1211.57

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.
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ export declare const I18nCodeValues: readonly ["en", "pt"];
3
+ export declare const I18nCodeSchema: z.ZodEnum<["en", "pt"]>;
4
+ export type I18nCode = z.infer<typeof I18nCodeSchema>;
@@ -0,0 +1,9 @@
1
+ /* * */
2
+ import { z } from 'zod';
3
+ /* * */
4
+ export const I18nCodeValues = [
5
+ 'en',
6
+ // 'es',
7
+ 'pt',
8
+ ];
9
+ export const I18nCodeSchema = z.enum(I18nCodeValues);
@@ -2,6 +2,7 @@ export * from './comment.js';
2
2
  export * from './document.js';
3
3
  export * from './environment.js';
4
4
  export * from './fastify.js';
5
+ export * from './i18n-code.js';
5
6
  export * from './mongo.js';
6
7
  export * from './operational-date.js';
7
8
  export * from './position.js';
@@ -2,6 +2,7 @@ export * from './comment.js';
2
2
  export * from './document.js';
3
3
  export * from './environment.js';
4
4
  export * from './fastify.js';
5
+ export * from './i18n-code.js';
5
6
  export * from './mongo.js';
6
7
  export * from './operational-date.js';
7
8
  export * from './position.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260504.1142.3",
3
+ "version": "20260504.1211.57",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"