@jackhayes/util-types 0.0.43 → 0.0.46
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.
|
@@ -15,7 +15,6 @@ export declare const project: z.ZodObject<{
|
|
|
15
15
|
createdAt: z.ZodString;
|
|
16
16
|
updatedAt: z.ZodString;
|
|
17
17
|
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
18
|
-
id: "id";
|
|
19
18
|
af: "af";
|
|
20
19
|
am: "am";
|
|
21
20
|
ar: "ar";
|
|
@@ -38,6 +37,7 @@ export declare const project: z.ZodObject<{
|
|
|
38
37
|
hi: "hi";
|
|
39
38
|
hr: "hr";
|
|
40
39
|
hu: "hu";
|
|
40
|
+
id: "id";
|
|
41
41
|
is: "is";
|
|
42
42
|
it: "it";
|
|
43
43
|
ja: "ja";
|
|
@@ -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";
|
|
@@ -320,7 +321,6 @@ export declare const project: z.ZodObject<{
|
|
|
320
321
|
ZW: "ZW";
|
|
321
322
|
}>>;
|
|
322
323
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
323
|
-
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
324
324
|
}, z.core.$strip>;
|
|
325
325
|
declare const projectCreatorRelation: z.ZodObject<{
|
|
326
326
|
role: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -354,8 +354,8 @@ declare const projectCreatorRelation: z.ZodObject<{
|
|
|
354
354
|
"book-author": "book-author";
|
|
355
355
|
"book-publisher": "book-publisher";
|
|
356
356
|
}>]>;
|
|
357
|
-
primary: z.ZodBoolean;
|
|
358
357
|
creatorId: z.ZodUUID;
|
|
358
|
+
primary: z.ZodBoolean;
|
|
359
359
|
}, z.core.$strip>;
|
|
360
360
|
export declare const projectWithCreators: z.ZodObject<{
|
|
361
361
|
id: z.ZodUUID;
|
|
@@ -373,7 +373,6 @@ export declare const projectWithCreators: z.ZodObject<{
|
|
|
373
373
|
createdAt: z.ZodString;
|
|
374
374
|
updatedAt: z.ZodString;
|
|
375
375
|
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
376
|
-
id: "id";
|
|
377
376
|
af: "af";
|
|
378
377
|
am: "am";
|
|
379
378
|
ar: "ar";
|
|
@@ -396,6 +395,7 @@ export declare const projectWithCreators: z.ZodObject<{
|
|
|
396
395
|
hi: "hi";
|
|
397
396
|
hr: "hr";
|
|
398
397
|
hu: "hu";
|
|
398
|
+
id: "id";
|
|
399
399
|
is: "is";
|
|
400
400
|
it: "it";
|
|
401
401
|
ja: "ja";
|
|
@@ -403,6 +403,7 @@ export declare const projectWithCreators: z.ZodObject<{
|
|
|
403
403
|
la: "la";
|
|
404
404
|
lb: "lb";
|
|
405
405
|
mk: "mk";
|
|
406
|
+
ml: "ml";
|
|
406
407
|
mr: "mr";
|
|
407
408
|
ms: "ms";
|
|
408
409
|
mt: "mt";
|
|
@@ -678,7 +679,6 @@ export declare const projectWithCreators: z.ZodObject<{
|
|
|
678
679
|
ZW: "ZW";
|
|
679
680
|
}>>;
|
|
680
681
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
-
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
682
682
|
creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
683
683
|
id: z.ZodUUID;
|
|
684
684
|
name: z.ZodString;
|
|
@@ -15,7 +15,6 @@ export const project = z.object({
|
|
|
15
15
|
originalLanguage: languageCode.optional(),
|
|
16
16
|
originCountry: countryCode.optional(),
|
|
17
17
|
hidden: z.boolean().optional(),
|
|
18
|
-
doNotIngest: z.boolean().optional(),
|
|
19
18
|
});
|
|
20
19
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
21
20
|
const projectCreatorRelation = creatorProjectRelation.omit({ projectId: true });
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const languageCode: z.ZodEnum<{
|
|
3
|
-
id: "id";
|
|
4
3
|
af: "af";
|
|
5
4
|
am: "am";
|
|
6
5
|
ar: "ar";
|
|
@@ -23,6 +22,7 @@ export declare const languageCode: z.ZodEnum<{
|
|
|
23
22
|
hi: "hi";
|
|
24
23
|
hr: "hr";
|
|
25
24
|
hu: "hu";
|
|
25
|
+
id: "id";
|
|
26
26
|
is: "is";
|
|
27
27
|
it: "it";
|
|
28
28
|
ja: "ja";
|
|
@@ -30,6 +30,7 @@ export declare const languageCode: z.ZodEnum<{
|
|
|
30
30
|
la: "la";
|
|
31
31
|
lb: "lb";
|
|
32
32
|
mk: "mk";
|
|
33
|
+
ml: "ml";
|
|
33
34
|
mr: "mr";
|
|
34
35
|
ms: "ms";
|
|
35
36
|
mt: "mt";
|
|
@@ -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.46",
|
|
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.23",
|
|
21
21
|
"zod": "^4.4.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|