@pixerate/schemas 1.1.0 → 1.1.5

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.
package/README.md CHANGED
@@ -31,7 +31,7 @@ src/
31
31
 
32
32
  ### 4. Service Client
33
33
  - **Schema**: `ServiceClientSchema`
34
- - **Type**: `ServiceClient` (`"pixerate" | "slopmachine" | "social" | "unknown"`)
34
+ - **Type**: `ServiceClient` (`"pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "unknown"`)
35
35
 
36
36
  ### 5. Generation & Transformation Payloads
37
37
  - **Image Generation**: `ImageGenerationPayload` (`ImageGenerationSchema`)
package/dist/index.cjs CHANGED
@@ -75,7 +75,7 @@ var VideoAnalysisSchema = import_zod.z.object({
75
75
  category: VideoAnalysisCategorySchema,
76
76
  fidelity: FidelitySchema
77
77
  });
78
- var ServiceClientSchema = import_zod.z.enum(["pixerate", "slopmachine", "social", "unknown"]);
78
+ var ServiceClientSchema = import_zod.z.enum(["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "unknown"]);
79
79
  var QueueJobSchema = import_zod.z.object({
80
80
  id: import_zod.z.string(),
81
81
  type: import_zod.z.enum(["text", "image", "video", "analysis"]),
package/dist/index.d.cts CHANGED
@@ -59,13 +59,13 @@ declare const VideoAnalysisSchema: z.ZodObject<{
59
59
  category: "Scenes" | "Environments" | "Things" | "Creatures" | "People" | "Clothes" | "Shapes" | "Effects" | "Uploads";
60
60
  }>;
61
61
  type VideoAnalysisPayload = z.infer<typeof VideoAnalysisSchema>;
62
- declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "unknown"]>;
62
+ declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "unknown"]>;
63
63
  type ServiceClient = z.infer<typeof ServiceClientSchema>;
64
64
  declare const QueueJobSchema: z.ZodObject<{
65
65
  id: z.ZodString;
66
66
  type: z.ZodEnum<["text", "image", "video", "analysis"]>;
67
67
  status: z.ZodEnum<["queued", "processing", "completed", "failed"]>;
68
- client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "unknown"]>>;
68
+ client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "unknown"]>>;
69
69
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
70
70
  createdAt: z.ZodOptional<z.ZodAny>;
71
71
  updatedAt: z.ZodOptional<z.ZodAny>;
@@ -73,7 +73,7 @@ declare const QueueJobSchema: z.ZodObject<{
73
73
  type: "text" | "image" | "video" | "analysis";
74
74
  status: "queued" | "processing" | "completed" | "failed";
75
75
  id: string;
76
- client?: "pixerate" | "slopmachine" | "social" | "unknown" | undefined;
76
+ client?: "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "unknown" | undefined;
77
77
  payload?: Record<string, any> | undefined;
78
78
  createdAt?: any;
79
79
  updatedAt?: any;
@@ -81,7 +81,7 @@ declare const QueueJobSchema: z.ZodObject<{
81
81
  type: "text" | "image" | "video" | "analysis";
82
82
  status: "queued" | "processing" | "completed" | "failed";
83
83
  id: string;
84
- client?: "pixerate" | "slopmachine" | "social" | "unknown" | undefined;
84
+ client?: "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "unknown" | undefined;
85
85
  payload?: Record<string, any> | undefined;
86
86
  createdAt?: any;
87
87
  updatedAt?: any;
package/dist/index.d.ts CHANGED
@@ -59,13 +59,13 @@ declare const VideoAnalysisSchema: z.ZodObject<{
59
59
  category: "Scenes" | "Environments" | "Things" | "Creatures" | "People" | "Clothes" | "Shapes" | "Effects" | "Uploads";
60
60
  }>;
61
61
  type VideoAnalysisPayload = z.infer<typeof VideoAnalysisSchema>;
62
- declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "unknown"]>;
62
+ declare const ServiceClientSchema: z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "unknown"]>;
63
63
  type ServiceClient = z.infer<typeof ServiceClientSchema>;
64
64
  declare const QueueJobSchema: z.ZodObject<{
65
65
  id: z.ZodString;
66
66
  type: z.ZodEnum<["text", "image", "video", "analysis"]>;
67
67
  status: z.ZodEnum<["queued", "processing", "completed", "failed"]>;
68
- client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "unknown"]>>;
68
+ client: z.ZodOptional<z.ZodEnum<["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "unknown"]>>;
69
69
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
70
70
  createdAt: z.ZodOptional<z.ZodAny>;
71
71
  updatedAt: z.ZodOptional<z.ZodAny>;
@@ -73,7 +73,7 @@ declare const QueueJobSchema: z.ZodObject<{
73
73
  type: "text" | "image" | "video" | "analysis";
74
74
  status: "queued" | "processing" | "completed" | "failed";
75
75
  id: string;
76
- client?: "pixerate" | "slopmachine" | "social" | "unknown" | undefined;
76
+ client?: "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "unknown" | undefined;
77
77
  payload?: Record<string, any> | undefined;
78
78
  createdAt?: any;
79
79
  updatedAt?: any;
@@ -81,7 +81,7 @@ declare const QueueJobSchema: z.ZodObject<{
81
81
  type: "text" | "image" | "video" | "analysis";
82
82
  status: "queued" | "processing" | "completed" | "failed";
83
83
  id: string;
84
- client?: "pixerate" | "slopmachine" | "social" | "unknown" | undefined;
84
+ client?: "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "unknown" | undefined;
85
85
  payload?: Record<string, any> | undefined;
86
86
  createdAt?: any;
87
87
  updatedAt?: any;
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ var VideoAnalysisSchema = z.object({
43
43
  category: VideoAnalysisCategorySchema,
44
44
  fidelity: FidelitySchema
45
45
  });
46
- var ServiceClientSchema = z.enum(["pixerate", "slopmachine", "social", "unknown"]);
46
+ var ServiceClientSchema = z.enum(["pixerate", "slopmachine", "social", "surrealui", "surreal-ui", "unknown"]);
47
47
  var QueueJobSchema = z.object({
48
48
  id: z.string(),
49
49
  type: z.enum(["text", "image", "video", "analysis"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.1.0",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -39,4 +39,4 @@
39
39
  "typescript": "^5.4.5",
40
40
  "tsup": "^8.0.2"
41
41
  }
42
- }
42
+ }