@jackhayes/util-types 0.0.48 → 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.
@@ -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
+ });
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.48",
3
+ "version": "0.0.49",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "sideEffects": false,