@gptmarket/temporal-types 0.0.14 → 0.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gptmarket/temporal-types",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "TypeScript types and workflow registry for GPTMarket Temporal workflows",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
package/registry.ts CHANGED
@@ -77,6 +77,23 @@ export const ruby: WorkflowDefinition<Types.RubyInput, Types.RubyOutput> = {
77
77
  required: false,
78
78
  default: null,
79
79
  },
80
+ {
81
+ name: "rewrite_enabled",
82
+ type: "checkbox",
83
+ label: "Rewrite Enabled",
84
+ description: "Enable metadata and visual rewriting for generated media",
85
+ required: false,
86
+ default: false,
87
+ },
88
+ {
89
+ name: "rewrite_device",
90
+ type: "text",
91
+ label: "Rewrite Device",
92
+ description:
93
+ "Device to emulate for metadata (e.g., iphone_15_pro). If None with rewrite_enabled=True, uses random.",
94
+ required: false,
95
+ default: null,
96
+ },
80
97
  {
81
98
  name: "topic",
82
99
  type: "text",
@@ -341,6 +358,23 @@ export const slideshows_pinterest: WorkflowDefinition<
341
358
  required: false,
342
359
  default: null,
343
360
  },
361
+ {
362
+ name: "rewrite_enabled",
363
+ type: "checkbox",
364
+ label: "Rewrite Enabled",
365
+ description: "Enable metadata and visual rewriting for generated media",
366
+ required: false,
367
+ default: false,
368
+ },
369
+ {
370
+ name: "rewrite_device",
371
+ type: "text",
372
+ label: "Rewrite Device",
373
+ description:
374
+ "Device to emulate for metadata (e.g., iphone_15_pro). If None with rewrite_enabled=True, uses random.",
375
+ required: false,
376
+ default: null,
377
+ },
344
378
  {
345
379
  name: "prompt",
346
380
  type: "textarea",
@@ -1,4 +1,34 @@
1
1
  {
2
+ "$defs": {
3
+ "RewriteDevice": {
4
+ "description": "Device presets for metadata rewriting.\n\nEach device has specific metadata characteristics (EXIF, codec info, etc.)\nthat will be applied during the rewrite process.",
5
+ "enum": [
6
+ "iPhone 17 Pro Max",
7
+ "iPhone 17 Pro",
8
+ "iPhone 17 Plus",
9
+ "iPhone 17",
10
+ "iPhone 16 Pro Max",
11
+ "iPhone 16 Pro",
12
+ "iPhone 16 Plus",
13
+ "iPhone 16",
14
+ "iPhone 15 Pro Max",
15
+ "iPhone 15 Pro",
16
+ "iPhone 15 Plus",
17
+ "iPhone 15",
18
+ "iPhone 14 Pro Max",
19
+ "iPhone 14 Pro",
20
+ "iPhone 14 Plus",
21
+ "iPhone 14",
22
+ "iPhone 13 Pro Max",
23
+ "iPhone 13 Pro",
24
+ "iPhone 13",
25
+ "iPhone 13 mini",
26
+ "Ray-Ban Meta Smart Glasses"
27
+ ],
28
+ "title": "RewriteDevice",
29
+ "type": "string"
30
+ }
31
+ },
2
32
  "description": "Input for Ruby generation.",
3
33
  "properties": {
4
34
  "secret_key": {
@@ -14,6 +44,28 @@
14
44
  "description": "Secret key for authentication (required when WORKFLOW_SECRET_ENABLED=True)",
15
45
  "title": "Secret Key"
16
46
  },
47
+ "rewrite_enabled": {
48
+ "default": false,
49
+ "description": "Enable metadata and visual rewriting for generated media",
50
+ "title": "Rewrite Enabled",
51
+ "type": "boolean"
52
+ },
53
+ "rewrite_device": {
54
+ "anyOf": [
55
+ {
56
+ "$ref": "#/$defs/RewriteDevice"
57
+ },
58
+ {
59
+ "type": "string"
60
+ },
61
+ {
62
+ "type": "null"
63
+ }
64
+ ],
65
+ "default": null,
66
+ "description": "Device to emulate for metadata (e.g., iphone_15_pro). If None with rewrite_enabled=True, uses random.",
67
+ "title": "Rewrite Device"
68
+ },
17
69
  "topic": {
18
70
  "description": "What the influencer is reacting to",
19
71
  "title": "Topic",
@@ -1,4 +1,34 @@
1
1
  {
2
+ "$defs": {
3
+ "RewriteDevice": {
4
+ "description": "Device presets for metadata rewriting.\n\nEach device has specific metadata characteristics (EXIF, codec info, etc.)\nthat will be applied during the rewrite process.",
5
+ "enum": [
6
+ "iPhone 17 Pro Max",
7
+ "iPhone 17 Pro",
8
+ "iPhone 17 Plus",
9
+ "iPhone 17",
10
+ "iPhone 16 Pro Max",
11
+ "iPhone 16 Pro",
12
+ "iPhone 16 Plus",
13
+ "iPhone 16",
14
+ "iPhone 15 Pro Max",
15
+ "iPhone 15 Pro",
16
+ "iPhone 15 Plus",
17
+ "iPhone 15",
18
+ "iPhone 14 Pro Max",
19
+ "iPhone 14 Pro",
20
+ "iPhone 14 Plus",
21
+ "iPhone 14",
22
+ "iPhone 13 Pro Max",
23
+ "iPhone 13 Pro",
24
+ "iPhone 13",
25
+ "iPhone 13 mini",
26
+ "Ray-Ban Meta Smart Glasses"
27
+ ],
28
+ "title": "RewriteDevice",
29
+ "type": "string"
30
+ }
31
+ },
2
32
  "description": "Input for Pinterest slideshow generation.",
3
33
  "properties": {
4
34
  "secret_key": {
@@ -14,6 +44,28 @@
14
44
  "description": "Secret key for authentication (required when WORKFLOW_SECRET_ENABLED=True)",
15
45
  "title": "Secret Key"
16
46
  },
47
+ "rewrite_enabled": {
48
+ "default": false,
49
+ "description": "Enable metadata and visual rewriting for generated media",
50
+ "title": "Rewrite Enabled",
51
+ "type": "boolean"
52
+ },
53
+ "rewrite_device": {
54
+ "anyOf": [
55
+ {
56
+ "$ref": "#/$defs/RewriteDevice"
57
+ },
58
+ {
59
+ "type": "string"
60
+ },
61
+ {
62
+ "type": "null"
63
+ }
64
+ ],
65
+ "default": null,
66
+ "description": "Device to emulate for metadata (e.g., iphone_15_pro). If None with rewrite_enabled=True, uses random.",
67
+ "title": "Rewrite Device"
68
+ },
17
69
  "prompt": {
18
70
  "description": "User text describing what kind of images they want",
19
71
  "title": "Prompt",
package/types.ts CHANGED
@@ -38,6 +38,33 @@ export interface WorkflowProgress<TResult = unknown> {
38
38
  export interface RubyInput {
39
39
  /** Secret key for authentication (required when WORKFLOW_SECRET_ENABLED=True) */
40
40
  secret_key?: string | null;
41
+ /** Enable metadata and visual rewriting for generated media */
42
+ rewrite_enabled?: boolean;
43
+ /** Device to emulate for metadata (e.g., iphone_15_pro). If None with rewrite_enabled=True, uses random. */
44
+ rewrite_device?:
45
+ | "iPhone 17 Pro Max"
46
+ | "iPhone 17 Pro"
47
+ | "iPhone 17 Plus"
48
+ | "iPhone 17"
49
+ | "iPhone 16 Pro Max"
50
+ | "iPhone 16 Pro"
51
+ | "iPhone 16 Plus"
52
+ | "iPhone 16"
53
+ | "iPhone 15 Pro Max"
54
+ | "iPhone 15 Pro"
55
+ | "iPhone 15 Plus"
56
+ | "iPhone 15"
57
+ | "iPhone 14 Pro Max"
58
+ | "iPhone 14 Pro"
59
+ | "iPhone 14 Plus"
60
+ | "iPhone 14"
61
+ | "iPhone 13 Pro Max"
62
+ | "iPhone 13 Pro"
63
+ | "iPhone 13"
64
+ | "iPhone 13 mini"
65
+ | "Ray-Ban Meta Smart Glasses"
66
+ | string
67
+ | null;
41
68
  /** What the influencer is reacting to */
42
69
  topic: string;
43
70
  /** Emotion: shocked, scared, surprised, worried, excited, confused, disgusted, amazed */
@@ -177,6 +204,33 @@ export interface RubyOutput {
177
204
  export interface SlideshowsPinterestInput {
178
205
  /** Secret key for authentication (required when WORKFLOW_SECRET_ENABLED=True) */
179
206
  secret_key?: string | null;
207
+ /** Enable metadata and visual rewriting for generated media */
208
+ rewrite_enabled?: boolean;
209
+ /** Device to emulate for metadata (e.g., iphone_15_pro). If None with rewrite_enabled=True, uses random. */
210
+ rewrite_device?:
211
+ | "iPhone 17 Pro Max"
212
+ | "iPhone 17 Pro"
213
+ | "iPhone 17 Plus"
214
+ | "iPhone 17"
215
+ | "iPhone 16 Pro Max"
216
+ | "iPhone 16 Pro"
217
+ | "iPhone 16 Plus"
218
+ | "iPhone 16"
219
+ | "iPhone 15 Pro Max"
220
+ | "iPhone 15 Pro"
221
+ | "iPhone 15 Plus"
222
+ | "iPhone 15"
223
+ | "iPhone 14 Pro Max"
224
+ | "iPhone 14 Pro"
225
+ | "iPhone 14 Plus"
226
+ | "iPhone 14"
227
+ | "iPhone 13 Pro Max"
228
+ | "iPhone 13 Pro"
229
+ | "iPhone 13"
230
+ | "iPhone 13 mini"
231
+ | "Ray-Ban Meta Smart Glasses"
232
+ | string
233
+ | null;
180
234
  /** User text describing what kind of images they want */
181
235
  prompt: string;
182
236
  }