@jackhayes/util-types 0.0.46 → 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.ZodOptional<z.ZodBoolean>;
40
+ hidden: z.ZodBoolean;
41
41
  }, z.core.$strip>;
42
42
  export type Creator = z.infer<typeof creator>;
@@ -11,5 +11,5 @@ export const creator = z.object({
11
11
  originCountry: z.string().length(2).optional(),
12
12
  createdAt: z.string(),
13
13
  updatedAt: z.string(),
14
- hidden: z.boolean().optional(),
14
+ hidden: z.boolean(),
15
15
  });
@@ -15,6 +15,7 @@ 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";
18
19
  af: "af";
19
20
  am: "am";
20
21
  ar: "ar";
@@ -37,7 +38,6 @@ export declare const project: z.ZodObject<{
37
38
  hi: "hi";
38
39
  hr: "hr";
39
40
  hu: "hu";
40
- id: "id";
41
41
  is: "is";
42
42
  it: "it";
43
43
  ja: "ja";
@@ -320,7 +320,7 @@ export declare const project: z.ZodObject<{
320
320
  ZM: "ZM";
321
321
  ZW: "ZW";
322
322
  }>>;
323
- hidden: z.ZodOptional<z.ZodBoolean>;
323
+ hidden: z.ZodBoolean;
324
324
  }, z.core.$strip>;
325
325
  declare const projectCreatorRelation: z.ZodObject<{
326
326
  role: z.ZodUnion<readonly [z.ZodEnum<{
@@ -373,6 +373,7 @@ 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";
376
377
  af: "af";
377
378
  am: "am";
378
379
  ar: "ar";
@@ -395,7 +396,6 @@ export declare const projectWithCreators: z.ZodObject<{
395
396
  hi: "hi";
396
397
  hr: "hr";
397
398
  hu: "hu";
398
- id: "id";
399
399
  is: "is";
400
400
  it: "it";
401
401
  ja: "ja";
@@ -678,7 +678,7 @@ export declare const projectWithCreators: z.ZodObject<{
678
678
  ZM: "ZM";
679
679
  ZW: "ZW";
680
680
  }>>;
681
- hidden: z.ZodOptional<z.ZodBoolean>;
681
+ hidden: z.ZodBoolean;
682
682
  creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
683
683
  id: z.ZodUUID;
684
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().optional(),
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 });
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const languageCode: z.ZodEnum<{
3
+ id: "id";
3
4
  af: "af";
4
5
  am: "am";
5
6
  ar: "ar";
@@ -22,7 +23,6 @@ export declare const languageCode: z.ZodEnum<{
22
23
  hi: "hi";
23
24
  hr: "hr";
24
25
  hu: "hu";
25
- id: "id";
26
26
  is: "is";
27
27
  it: "it";
28
28
  ja: "ja";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackhayes/util-types",
3
- "version": "0.0.46",
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.23",
20
+ "@jh-tech/util-tools-be": "0.0.24",
21
21
  "zod": "^4.4.3"
22
22
  },
23
23
  "devDependencies": {