@jackhayes/util-types 0.0.42 → 0.0.43

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,7 @@ 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>;
41
+ doNotIngest: z.ZodOptional<z.ZodBoolean>;
40
42
  }, z.core.$strip>;
41
43
  export type Creator = z.infer<typeof creator>;
@@ -11,4 +11,6 @@ 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(),
15
+ doNotIngest: z.boolean().optional(),
14
16
  });
@@ -319,6 +319,8 @@ export declare const project: z.ZodObject<{
319
319
  ZM: "ZM";
320
320
  ZW: "ZW";
321
321
  }>>;
322
+ hidden: z.ZodOptional<z.ZodBoolean>;
323
+ doNotIngest: z.ZodOptional<z.ZodBoolean>;
322
324
  }, z.core.$strip>;
323
325
  declare const projectCreatorRelation: z.ZodObject<{
324
326
  role: z.ZodUnion<readonly [z.ZodEnum<{
@@ -352,8 +354,8 @@ declare const projectCreatorRelation: z.ZodObject<{
352
354
  "book-author": "book-author";
353
355
  "book-publisher": "book-publisher";
354
356
  }>]>;
355
- creatorId: z.ZodUUID;
356
357
  primary: z.ZodBoolean;
358
+ creatorId: z.ZodUUID;
357
359
  }, z.core.$strip>;
358
360
  export declare const projectWithCreators: z.ZodObject<{
359
361
  id: z.ZodUUID;
@@ -675,6 +677,8 @@ export declare const projectWithCreators: z.ZodObject<{
675
677
  ZM: "ZM";
676
678
  ZW: "ZW";
677
679
  }>>;
680
+ hidden: z.ZodOptional<z.ZodBoolean>;
681
+ doNotIngest: z.ZodOptional<z.ZodBoolean>;
678
682
  creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
679
683
  id: z.ZodUUID;
680
684
  name: z.ZodString;
@@ -14,6 +14,8 @@ 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(),
18
+ doNotIngest: z.boolean().optional(),
17
19
  });
18
20
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
19
21
  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.43",
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.15",
21
21
  "zod": "^4.4.3"
22
22
  },
23
23
  "devDependencies": {