@jackhayes/util-types 0.0.42 → 0.0.45

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,5 +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
41
  }, z.core.$strip>;
41
42
  export type Creator = z.infer<typeof creator>;
@@ -11,4 +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
15
  });
@@ -319,6 +319,7 @@ export declare const project: z.ZodObject<{
319
319
  ZM: "ZM";
320
320
  ZW: "ZW";
321
321
  }>>;
322
+ hidden: z.ZodOptional<z.ZodBoolean>;
322
323
  }, z.core.$strip>;
323
324
  declare const projectCreatorRelation: z.ZodObject<{
324
325
  role: z.ZodUnion<readonly [z.ZodEnum<{
@@ -675,6 +676,7 @@ export declare const projectWithCreators: z.ZodObject<{
675
676
  ZM: "ZM";
676
677
  ZW: "ZW";
677
678
  }>>;
679
+ hidden: z.ZodOptional<z.ZodBoolean>;
678
680
  creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
679
681
  id: z.ZodUUID;
680
682
  name: z.ZodString;
@@ -14,6 +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
18
  });
18
19
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
19
20
  const projectCreatorRelation = creatorProjectRelation.omit({ projectId: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackhayes/util-types",
3
- "version": "0.0.42",
3
+ "version": "0.0.45",
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.12",
20
+ "@jh-tech/util-tools-be": "0.0.23",
21
21
  "zod": "^4.4.3"
22
22
  },
23
23
  "devDependencies": {