@bgord/tools 0.15.0 → 0.15.2
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/api-key.vo.js +1 -1
- package/dist/language.vo.d.ts +1 -1
- package/dist/language.vo.js +1 -2
- package/package.json +1 -1
- package/src/api-key.vo.ts +1 -1
- package/src/language.vo.ts +1 -2
package/dist/api-key.vo.js
CHANGED
package/dist/language.vo.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { z } from "zod/v4";
|
|
|
2
2
|
export declare const LanguageError: {
|
|
3
3
|
readonly error: "invalid.language";
|
|
4
4
|
};
|
|
5
|
-
export declare const Language: z.
|
|
5
|
+
export declare const Language: z.ZodString;
|
|
6
6
|
export type LanguageType = z.infer<typeof Language>;
|
package/dist/language.vo.js
CHANGED
package/package.json
CHANGED
package/src/api-key.vo.ts
CHANGED
package/src/language.vo.ts
CHANGED
|
@@ -5,7 +5,6 @@ export const LanguageError = { error: "invalid.language" } as const;
|
|
|
5
5
|
export const Language = z
|
|
6
6
|
.string(LanguageError)
|
|
7
7
|
.length(2, LanguageError)
|
|
8
|
-
.regex(/^[a-z]{2}$/, LanguageError)
|
|
9
|
-
.brand("Language");
|
|
8
|
+
.regex(/^[a-z]{2}$/, LanguageError);
|
|
10
9
|
|
|
11
10
|
export type LanguageType = z.infer<typeof Language>;
|