@jackhayes/util-types 0.0.45 → 0.0.47
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.
|
@@ -37,6 +37,6 @@ export declare const creator: z.ZodObject<{
|
|
|
37
37
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
38
38
|
createdAt: z.ZodString;
|
|
39
39
|
updatedAt: z.ZodString;
|
|
40
|
-
hidden: z.
|
|
40
|
+
hidden: z.ZodBoolean;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
export type Creator = z.infer<typeof creator>;
|
|
@@ -45,6 +45,7 @@ export declare const project: z.ZodObject<{
|
|
|
45
45
|
la: "la";
|
|
46
46
|
lb: "lb";
|
|
47
47
|
mk: "mk";
|
|
48
|
+
ml: "ml";
|
|
48
49
|
mr: "mr";
|
|
49
50
|
ms: "ms";
|
|
50
51
|
mt: "mt";
|
|
@@ -319,7 +320,7 @@ export declare const project: z.ZodObject<{
|
|
|
319
320
|
ZM: "ZM";
|
|
320
321
|
ZW: "ZW";
|
|
321
322
|
}>>;
|
|
322
|
-
hidden: z.
|
|
323
|
+
hidden: z.ZodBoolean;
|
|
323
324
|
}, z.core.$strip>;
|
|
324
325
|
declare const projectCreatorRelation: z.ZodObject<{
|
|
325
326
|
role: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -402,6 +403,7 @@ export declare const projectWithCreators: z.ZodObject<{
|
|
|
402
403
|
la: "la";
|
|
403
404
|
lb: "lb";
|
|
404
405
|
mk: "mk";
|
|
406
|
+
ml: "ml";
|
|
405
407
|
mr: "mr";
|
|
406
408
|
ms: "ms";
|
|
407
409
|
mt: "mt";
|
|
@@ -676,7 +678,7 @@ export declare const projectWithCreators: z.ZodObject<{
|
|
|
676
678
|
ZM: "ZM";
|
|
677
679
|
ZW: "ZW";
|
|
678
680
|
}>>;
|
|
679
|
-
hidden: z.
|
|
681
|
+
hidden: z.ZodBoolean;
|
|
680
682
|
creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
681
683
|
id: z.ZodUUID;
|
|
682
684
|
name: z.ZodString;
|
|
@@ -14,7 +14,7 @@ export const project = z.object({
|
|
|
14
14
|
updatedAt: z.string(),
|
|
15
15
|
originalLanguage: languageCode.optional(),
|
|
16
16
|
originCountry: countryCode.optional(),
|
|
17
|
-
hidden: z.boolean()
|
|
17
|
+
hidden: z.boolean(),
|
|
18
18
|
});
|
|
19
19
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
20
20
|
const projectCreatorRelation = creatorProjectRelation.omit({ projectId: true });
|
|
@@ -30,6 +30,7 @@ export const languageCode = z.enum([
|
|
|
30
30
|
'la', // Latin
|
|
31
31
|
'lb', // Luxembourgish
|
|
32
32
|
'mk', // Macedonian
|
|
33
|
+
'ml', // Malayalam
|
|
33
34
|
'mr', // Marathi
|
|
34
35
|
'ms', // Malay
|
|
35
36
|
'mt', // Maltese
|
|
@@ -84,6 +85,7 @@ export const languageNames = {
|
|
|
84
85
|
la: 'Latin',
|
|
85
86
|
lb: 'Luxembourgish',
|
|
86
87
|
mk: 'Macedonian',
|
|
88
|
+
ml: 'Malayalam',
|
|
87
89
|
mr: 'Marathi',
|
|
88
90
|
ms: 'Malay',
|
|
89
91
|
mt: 'Maltese',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jackhayes/util-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"type": "module",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@jh-tech/util-tools-be": "0.0.
|
|
20
|
+
"@jh-tech/util-tools-be": "0.0.24",
|
|
21
21
|
"zod": "^4.4.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|