@jackhayes/util-types 0.0.47 → 0.0.49

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.
@@ -51,6 +51,7 @@ export declare const project: z.ZodObject<{
51
51
  mt: "mt";
52
52
  nl: "nl";
53
53
  no: "no";
54
+ pa: "pa";
54
55
  pl: "pl";
55
56
  pt: "pt";
56
57
  ro: "ro";
@@ -409,6 +410,7 @@ export declare const projectWithCreators: z.ZodObject<{
409
410
  mt: "mt";
410
411
  nl: "nl";
411
412
  no: "no";
413
+ pa: "pa";
412
414
  pl: "pl";
413
415
  pt: "pt";
414
416
  ro: "ro";
@@ -0,0 +1,6 @@
1
+ export declare enum IngestionSources {
2
+ TMDB_FILM = "TMDB_FILM",
3
+ TMDB_TV = "TMDB_TV",
4
+ RAWG = "RAWG",
5
+ COMIC_VINE = "COMIC_VINE"
6
+ }
@@ -0,0 +1,7 @@
1
+ export var IngestionSources;
2
+ (function (IngestionSources) {
3
+ IngestionSources["TMDB_FILM"] = "TMDB_FILM";
4
+ IngestionSources["TMDB_TV"] = "TMDB_TV";
5
+ IngestionSources["RAWG"] = "RAWG";
6
+ IngestionSources["COMIC_VINE"] = "COMIC_VINE";
7
+ })(IngestionSources || (IngestionSources = {}));
@@ -0,0 +1,7 @@
1
+ import { z } from 'zod';
2
+ export declare const creatorSourcePair: z.ZodObject<{
3
+ sourceId: z.ZodString;
4
+ creatorId: z.ZodUUID;
5
+ sourceName: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export type CreatorSourcePair = z.infer<typeof creatorSourcePair>;
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export const creatorSourcePair = z.object({
3
+ sourceId: z.string(),
4
+ creatorId: z.uuid(),
5
+ sourceName: z.string(),
6
+ });
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const projectSourcePair: z.ZodObject<{
3
+ sourceId: z.ZodString;
4
+ projectId: z.ZodUUID;
5
+ sourceName: z.ZodString;
6
+ doNotIngest: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ export type ProjectSourcePair = z.infer<typeof projectSourcePair>;
@@ -0,0 +1,7 @@
1
+ import { z } from 'zod';
2
+ export const projectSourcePair = z.object({
3
+ sourceId: z.string(),
4
+ projectId: z.uuid(),
5
+ sourceName: z.string(),
6
+ doNotIngest: z.boolean(),
7
+ });
@@ -0,0 +1,7 @@
1
+ import { z } from 'zod';
2
+ export declare const updateSourcePair: z.ZodObject<{
3
+ sourceId: z.ZodString;
4
+ updateId: z.ZodUUID;
5
+ sourceName: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export type UpdateSourcePair = z.infer<typeof updateSourcePair>;
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export const updateSourcePair = z.object({
3
+ sourceId: z.string(),
4
+ updateId: z.uuid(),
5
+ sourceName: z.string(),
6
+ });
@@ -36,6 +36,7 @@ export declare const languageCode: z.ZodEnum<{
36
36
  mt: "mt";
37
37
  nl: "nl";
38
38
  no: "no";
39
+ pa: "pa";
39
40
  pl: "pl";
40
41
  pt: "pt";
41
42
  ro: "ro";
@@ -36,6 +36,7 @@ export const languageCode = z.enum([
36
36
  'mt', // Maltese
37
37
  'nl', // Dutch
38
38
  'no', // Norwegian
39
+ 'pa', // Punjabi
39
40
  'pl', // Polish
40
41
  'pt', // Portuguese
41
42
  'ro', // Romanian
@@ -91,6 +92,7 @@ export const languageNames = {
91
92
  mt: 'Maltese',
92
93
  nl: 'Dutch',
93
94
  no: 'Norwegian',
95
+ pa: 'Punjabi',
94
96
  pl: 'Polish',
95
97
  pt: 'Portuguese',
96
98
  ro: 'Romanian',
package/dist/index.d.ts CHANGED
@@ -6,6 +6,10 @@ export * from './be-content/project.zod.js';
6
6
  export * from './be-content/projectCreator.zod.js';
7
7
  export * from './be-content/update.zod.js';
8
8
  export * from './be-feed/contentUpdate.zod.js';
9
+ export * from './be-ingestion/consts.js';
10
+ export * from './be-ingestion/creatorSourcePair.zod.js';
11
+ export * from './be-ingestion/projectSourcePair.zod.js';
12
+ export * from './be-ingestion/updateSourcePair.zod.js';
9
13
  export * from './be-search/mainSearch.zod.js';
10
14
  export * from './be-user/subscription.zod.js';
11
15
  export * from './common/countries.zod.js';
package/dist/index.js CHANGED
@@ -6,6 +6,10 @@ export * from './be-content/project.zod.js';
6
6
  export * from './be-content/projectCreator.zod.js';
7
7
  export * from './be-content/update.zod.js';
8
8
  export * from './be-feed/contentUpdate.zod.js';
9
+ export * from './be-ingestion/consts.js';
10
+ export * from './be-ingestion/creatorSourcePair.zod.js';
11
+ export * from './be-ingestion/projectSourcePair.zod.js';
12
+ export * from './be-ingestion/updateSourcePair.zod.js';
9
13
  export * from './be-search/mainSearch.zod.js';
10
14
  export * from './be-user/subscription.zod.js';
11
15
  export * from './common/countries.zod.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackhayes/util-types",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "sideEffects": false,