@purpleschool/multisite 0.0.27 → 0.0.29
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/build/api/controller/http/ai-proxy.d.ts +3 -3
- package/build/api/controller/http/ai-proxy.d.ts.map +1 -1
- package/build/api/controller/http/auth.d.ts +12 -12
- package/build/api/controller/http/auth.d.ts.map +1 -1
- package/build/api/controller/http/cloud-payments.d.ts +2 -2
- package/build/api/controller/http/cloud-payments.d.ts.map +1 -1
- package/build/api/controller/http/file.d.ts +5 -5
- package/build/api/controller/http/file.d.ts.map +1 -1
- package/build/api/controller/http/health.d.ts +1 -1
- package/build/api/controller/http/health.d.ts.map +1 -1
- package/build/api/controller/http/image-editor.d.ts +6 -6
- package/build/api/controller/http/image-editor.d.ts.map +1 -1
- package/build/api/controller/http/image-generation.d.ts +6 -6
- package/build/api/controller/http/image-generation.d.ts.map +1 -1
- package/build/api/controller/http/marketplace-card.d.ts +7 -7
- package/build/api/controller/http/marketplace-card.d.ts.map +1 -1
- package/build/api/controller/http/page-question.d.ts +3 -3
- package/build/api/controller/http/page-question.d.ts.map +1 -1
- package/build/api/controller/http/page.d.ts +4 -4
- package/build/api/controller/http/page.d.ts.map +1 -1
- package/build/api/controller/http/payment.d.ts +3 -3
- package/build/api/controller/http/payment.d.ts.map +1 -1
- package/build/api/controller/http/product.d.ts +6 -6
- package/build/api/controller/http/product.d.ts.map +1 -1
- package/build/api/controller/http/sitemap.d.ts +2 -2
- package/build/api/controller/http/sitemap.d.ts.map +1 -1
- package/build/api/controller/http/stt.d.ts +6 -6
- package/build/api/controller/http/stt.d.ts.map +1 -1
- package/build/api/controller/http/subscription.d.ts +7 -7
- package/build/api/controller/http/subscription.d.ts.map +1 -1
- package/build/api/controller/http/transaction.d.ts +2 -2
- package/build/api/controller/http/transaction.d.ts.map +1 -1
- package/build/api/controller/http/tts.d.ts +6 -6
- package/build/api/controller/http/tts.d.ts.map +1 -1
- package/build/api/controller/http/unregistered-user.d.ts +2 -2
- package/build/api/controller/http/unregistered-user.d.ts.map +1 -1
- package/build/api/controller/http/user-to-product.d.ts +1 -1
- package/build/api/controller/http/user-to-product.d.ts.map +1 -1
- package/build/api/controller/http/user-to-subscription.d.ts +1 -1
- package/build/api/controller/http/user-to-subscription.d.ts.map +1 -1
- package/build/api/controller/http/user.d.ts +5 -5
- package/build/api/controller/http/user.d.ts.map +1 -1
- package/build/api/routes.d.ts +1 -1
- package/build/api/routes.d.ts.map +1 -1
- package/build/commands/auth/register.command.d.ts +1 -1
- package/build/commands/auth/reset-password.command.d.ts +2 -2
- package/build/commands/auth/verify-email.command.d.ts +2 -2
- package/build/commands/auth/vk-login.command.d.ts +2 -2
- package/build/commands/auth/yandex-login.command.d.ts +2 -2
- package/build/commands/file/upload-file.command.d.ts +8 -8
- package/build/commands/image-editor/execute-image-editor.command.d.ts +100 -88
- package/build/commands/image-editor/execute-image-editor.command.d.ts.map +1 -1
- package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +2 -2
- package/build/commands/image-editor/proxy-image-editor-callback.command.js +1 -1
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +101 -89
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts.map +1 -1
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +85 -78
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts.map +1 -1
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +85 -78
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts.map +1 -1
- package/build/commands/image-generation/execute-image-generation.command.d.ts +71 -71
- package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +4 -4
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts +72 -72
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +65 -65
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +65 -65
- package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +20 -20
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +16 -16
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +16 -16
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +16 -16
- package/build/commands/page/create-page-question.command.d.ts +9 -9
- package/build/commands/page/create-page.command.d.ts +15 -15
- package/build/commands/page/find-page-by-alias.command.d.ts +72 -72
- package/build/commands/page/find-page-by-criteria.command.d.ts +28 -28
- package/build/commands/page/find-page.command.d.ts +48 -48
- package/build/commands/page/update-page-question.command.d.ts +9 -9
- package/build/commands/page/update-page.command.d.ts +15 -15
- package/build/commands/payment/cloud-payments.command.d.ts +18 -18
- package/build/commands/product/buy-product.command.d.ts +80 -80
- package/build/commands/product/fast-buy-product.command.d.ts +81 -81
- package/build/commands/product/update-product.command.d.ts +6 -6
- package/build/commands/stt/execute-stt.command.d.ts +81 -81
- package/build/commands/stt/retry-stt-job.command.d.ts +79 -79
- package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +79 -79
- package/build/commands/stt/update-stt-job-title.command.d.ts +79 -79
- package/build/commands/subscription/buy-subscription.command.d.ts +80 -80
- package/build/commands/subscription/fast-buy-subscription.command.d.ts +81 -81
- package/build/commands/subscription/update-subscription.command.d.ts +24 -24
- package/build/commands/transaction/write-off.command.d.ts +5 -5
- package/build/commands/tts/execute-tts.command.d.ts +99 -99
- package/build/commands/tts/retry-tts-job.command.d.ts +92 -92
- package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +92 -92
- package/build/commands/tts/update-tts-job-title.command.d.ts +92 -92
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +4 -4
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +7 -7
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +28 -28
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +36 -36
- package/build/constants/email/email-endpoint.d.ts +1 -1
- package/build/constants/email/email-endpoint.d.ts.map +1 -1
- package/build/constants/email/email-endpoint.js +1 -1
- package/build/constants/email/subjects.d.ts +10 -10
- package/build/constants/email/subjects.d.ts.map +1 -1
- package/build/constants/errors/errors.d.ts +338 -328
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +10 -0
- package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts +2 -1
- package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts.map +1 -1
- package/build/constants/image-editor/enums/image-editing-strategy.enum.js +1 -0
- package/build/constants/subscription/free-subscription-id.constant.d.ts +1 -1
- package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts +4 -2
- package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts.map +1 -1
- package/build/helpers/index.d.ts +1 -0
- package/build/helpers/index.d.ts.map +1 -1
- package/build/helpers/index.js +1 -0
- package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts +20 -0
- package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts.map +1 -0
- package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.js +125 -0
- package/build/helpers/openai-image-2/index.d.ts +2 -0
- package/build/helpers/openai-image-2/index.d.ts.map +1 -0
- package/build/helpers/openai-image-2/index.js +17 -0
- package/build/models/cloud-payments-widget-data.schema.d.ts +58 -58
- package/build/models/cloud-payments-widget.schema.d.ts +62 -62
- package/build/models/common/attached-file.schema.d.ts +4 -4
- package/build/models/common/receipt.schema.d.ts +8 -8
- package/build/models/file.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-config.schema.d.ts +153 -128
- package/build/models/image-editor/image-editor-config.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-job-params.schema.d.ts +13 -10
- package/build/models/image-editor/image-editor-job-params.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-job-params.schema.js +1 -0
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +7 -4
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-job-request-params.schema.js +2 -1
- package/build/models/image-editor/image-editor-job.schema.d.ts +49 -44
- package/build/models/image-editor/image-editor-job.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-model-params.schema.d.ts +18 -5
- package/build/models/image-editor/image-editor-model-params.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-model-params.schema.js +5 -0
- package/build/models/image-editor/image-editor-model.schema.d.ts +63 -44
- package/build/models/image-editor/image-editor-model.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +26 -26
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +12 -12
- package/build/models/image-generation/image-generation-config.schema.d.ts +122 -122
- package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-job-params.schema.d.ts +9 -9
- package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +1 -1
- package/build/models/image-generation/image-generation-job.schema.d.ts +38 -38
- package/build/models/image-generation/image-generation-model-params.schema.d.ts +4 -4
- package/build/models/image-generation/image-generation-model.schema.d.ts +42 -42
- package/build/models/image-generation/image-generation-preset.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +4 -4
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +80 -80
- package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +18 -18
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +4 -4
- package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +8 -8
- package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +4 -4
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +2 -2
- package/build/models/page-question.schema.d.ts +4 -4
- package/build/models/page.schema.d.ts +20 -20
- package/build/models/product.schema.d.ts +2 -2
- package/build/models/stt/stt-config.schema.d.ts +28 -28
- package/build/models/stt/stt-job-attempt.schema.d.ts +4 -4
- package/build/models/stt/stt-job.schema.d.ts +42 -42
- package/build/models/stt/stt-model.schema.d.ts +14 -14
- package/build/models/stt/stt-response.schema.d.ts +1 -1
- package/build/models/subscription.schema.d.ts +8 -8
- package/build/models/tools/vendor.schema.d.ts +2 -2
- package/build/models/tts/tts-config.schema.d.ts +184 -184
- package/build/models/tts/tts-job-attempt.schema.d.ts +4 -4
- package/build/models/tts/tts-job-params.schema.d.ts +2 -2
- package/build/models/tts/tts-job.schema.d.ts +50 -50
- package/build/models/tts/tts-model.schema.d.ts +196 -196
- package/build/models/unlocked-by-subscription.schema.d.ts.map +1 -1
- package/build/models/user-to-product.schema.d.ts +2 -2
- package/build/models/user-to-subscription.schema.d.ts +14 -14
- package/build/models/user.schema.d.ts +4 -4
- package/build/queries/file/find-files.command.d.ts +8 -8
- package/build/queries/file/get-file.command.d.ts +8 -8
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +86 -79
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts.map +1 -1
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +217 -186
- package/build/queries/image-editor/get-image-editor-config.command.d.ts.map +1 -1
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +85 -78
- package/build/queries/image-editor/get-image-editor-job.command.d.ts.map +1 -1
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +66 -66
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +162 -162
- package/build/queries/image-generation/get-image-generation-job.command.d.ts +65 -65
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +17 -17
- package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +30 -30
- package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +16 -16
- package/build/queries/page/find-all-page-questions.query.d.ts +8 -8
- package/build/queries/page/find-page-question-by-uuid.query.d.ts +8 -8
- package/build/queries/page/find-page-questions-by-page-id.query.d.ts +8 -8
- package/build/queries/payment/get-payment-history.command.d.ts +12 -12
- package/build/queries/product/find-products.command.d.ts +4 -4
- package/build/queries/stt/find-stt-jobs.command.d.ts +79 -79
- package/build/queries/stt/get-stt-config.command.d.ts +42 -42
- package/build/queries/stt/get-stt-job.command.d.ts +79 -79
- package/build/queries/subscription/find-subscriptions.command.d.ts +16 -16
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +51 -51
- package/build/queries/tts/find-tts-jobs.command.d.ts +94 -94
- package/build/queries/tts/get-tts-config.command.d.ts +242 -242
- package/build/queries/tts/get-tts-job.command.d.ts +92 -92
- package/build/queries/user/find-users.command.d.ts +16 -16
- package/build/queries/user/get-all-users.command.d.ts +8 -8
- package/build/queries/user/get-my-products.command.d.ts +10 -10
- package/build/queries/user/get-my-subscriptions.command.d.ts +36 -36
- package/build/queries/user/get-user-payments.command.d.ts +42 -42
- package/build/queries/user/get-user.command.d.ts +8 -8
- package/commands/image-editor/proxy-image-editor-callback.command.ts +1 -1
- package/constants/email/email-endpoint.ts +1 -1
- package/constants/errors/errors.ts +10 -0
- package/constants/image-editor/enums/image-editing-strategy.enum.ts +1 -0
- package/helpers/image-generation/calculate-image-generation-price.helper.ts +4 -2
- package/helpers/index.ts +1 -0
- package/helpers/openai-image-2/calculate-openai-image-2-price.helper.ts +160 -0
- package/helpers/openai-image-2/index.ts +1 -0
- package/models/image-editor/image-editor-job-params.schema.ts +1 -0
- package/models/image-editor/image-editor-job-request-params.schema.ts +2 -1
- package/models/image-editor/image-editor-model-params.schema.ts +5 -0
- package/package.json +1 -1
|
@@ -23,52 +23,55 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
23
23
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
uuid: string;
|
|
26
|
-
type: import("../..").FILE_TYPE;
|
|
27
|
-
name: string;
|
|
28
26
|
url: string;
|
|
27
|
+
name: string;
|
|
29
28
|
mimeType: string;
|
|
29
|
+
type: import("../..").FILE_TYPE;
|
|
30
30
|
size: number;
|
|
31
31
|
duration?: number | null | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
uuid: string;
|
|
34
|
-
type: import("../..").FILE_TYPE;
|
|
35
|
-
name: string;
|
|
36
34
|
url: string;
|
|
35
|
+
name: string;
|
|
37
36
|
mimeType: string;
|
|
37
|
+
type: import("../..").FILE_TYPE;
|
|
38
38
|
size: number;
|
|
39
39
|
duration?: number | null | undefined;
|
|
40
40
|
}>, "many">>;
|
|
41
41
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42
42
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
43
43
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
44
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
44
45
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
45
46
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
aspectRatio?: string | undefined;
|
|
47
47
|
attachedFiles?: {
|
|
48
48
|
uuid: string;
|
|
49
|
-
type: import("../..").FILE_TYPE;
|
|
50
|
-
name: string;
|
|
51
49
|
url: string;
|
|
50
|
+
name: string;
|
|
52
51
|
mimeType: string;
|
|
52
|
+
type: import("../..").FILE_TYPE;
|
|
53
53
|
size: number;
|
|
54
54
|
duration?: number | null | undefined;
|
|
55
55
|
}[] | undefined;
|
|
56
56
|
imageUrls?: string[] | undefined;
|
|
57
57
|
systemPromptId?: string | undefined;
|
|
58
|
+
aspectRatio?: string | undefined;
|
|
59
|
+
resolution?: string | undefined;
|
|
58
60
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
59
61
|
}, {
|
|
60
|
-
aspectRatio?: string | undefined;
|
|
61
62
|
attachedFiles?: {
|
|
62
63
|
uuid: string;
|
|
63
|
-
type: import("../..").FILE_TYPE;
|
|
64
|
-
name: string;
|
|
65
64
|
url: string;
|
|
65
|
+
name: string;
|
|
66
66
|
mimeType: string;
|
|
67
|
+
type: import("../..").FILE_TYPE;
|
|
67
68
|
size: number;
|
|
68
69
|
duration?: number | null | undefined;
|
|
69
70
|
}[] | undefined;
|
|
70
71
|
imageUrls?: string[] | undefined;
|
|
71
72
|
systemPromptId?: string | undefined;
|
|
73
|
+
aspectRatio?: string | undefined;
|
|
74
|
+
resolution?: string | undefined;
|
|
72
75
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
73
76
|
}>;
|
|
74
77
|
imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -82,79 +85,81 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
82
85
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
83
86
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
84
87
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
price: number;
|
|
86
88
|
uuid: string;
|
|
89
|
+
prompt: string;
|
|
90
|
+
reaction: USER_REACTION | null;
|
|
91
|
+
dislikeReason: string | null;
|
|
92
|
+
externalId: string | null;
|
|
93
|
+
title: string;
|
|
87
94
|
status: JOB_STATUS;
|
|
95
|
+
error: string | null;
|
|
96
|
+
internalError?: string | null | undefined;
|
|
97
|
+
modelId: string;
|
|
98
|
+
price: number;
|
|
88
99
|
params: {
|
|
89
|
-
aspectRatio?: string | undefined;
|
|
90
100
|
attachedFiles?: {
|
|
91
101
|
uuid: string;
|
|
92
|
-
type: import("../..").FILE_TYPE;
|
|
93
|
-
name: string;
|
|
94
102
|
url: string;
|
|
103
|
+
name: string;
|
|
95
104
|
mimeType: string;
|
|
105
|
+
type: import("../..").FILE_TYPE;
|
|
96
106
|
size: number;
|
|
97
107
|
duration?: number | null | undefined;
|
|
98
108
|
}[] | undefined;
|
|
99
109
|
imageUrls?: string[] | undefined;
|
|
100
110
|
systemPromptId?: string | undefined;
|
|
111
|
+
aspectRatio?: string | undefined;
|
|
112
|
+
resolution?: string | undefined;
|
|
101
113
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
102
114
|
};
|
|
103
|
-
createdAt: string | Date;
|
|
104
|
-
updatedAt: string | Date;
|
|
105
|
-
title: string;
|
|
106
|
-
error: string | null;
|
|
107
|
-
modelId: string;
|
|
108
|
-
prompt: string;
|
|
109
|
-
reaction: USER_REACTION | null;
|
|
110
|
-
dislikeReason: string | null;
|
|
111
|
-
externalId: string | null;
|
|
112
|
-
attempts: any[];
|
|
113
|
-
isDeleted: boolean;
|
|
114
115
|
imageUrls: string[];
|
|
115
|
-
|
|
116
|
+
attempts: any[];
|
|
116
117
|
userId?: string | null | undefined;
|
|
117
118
|
unregisteredUserId?: string | null | undefined;
|
|
118
|
-
|
|
119
|
+
postId: string | null;
|
|
120
|
+
isDeleted: boolean;
|
|
119
121
|
tokenReservationId?: string | null | undefined;
|
|
122
|
+
createdAt: string | Date;
|
|
120
123
|
completedAt?: string | Date | null | undefined;
|
|
124
|
+
updatedAt: string | Date;
|
|
121
125
|
}, {
|
|
122
|
-
price: number;
|
|
123
126
|
uuid: string;
|
|
127
|
+
prompt: string;
|
|
128
|
+
reaction: USER_REACTION | null;
|
|
129
|
+
dislikeReason: string | null;
|
|
130
|
+
externalId: string | null;
|
|
131
|
+
title: string;
|
|
124
132
|
status: JOB_STATUS;
|
|
133
|
+
error: string | null;
|
|
134
|
+
internalError?: string | null | undefined;
|
|
135
|
+
modelId: string;
|
|
136
|
+
price: number;
|
|
125
137
|
params: {
|
|
126
|
-
aspectRatio?: string | undefined;
|
|
127
138
|
attachedFiles?: {
|
|
128
139
|
uuid: string;
|
|
129
|
-
type: import("../..").FILE_TYPE;
|
|
130
|
-
name: string;
|
|
131
140
|
url: string;
|
|
141
|
+
name: string;
|
|
132
142
|
mimeType: string;
|
|
143
|
+
type: import("../..").FILE_TYPE;
|
|
133
144
|
size: number;
|
|
134
145
|
duration?: number | null | undefined;
|
|
135
146
|
}[] | undefined;
|
|
136
147
|
imageUrls?: string[] | undefined;
|
|
137
148
|
systemPromptId?: string | undefined;
|
|
149
|
+
aspectRatio?: string | undefined;
|
|
150
|
+
resolution?: string | undefined;
|
|
138
151
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
139
152
|
};
|
|
140
|
-
|
|
141
|
-
updatedAt: string | Date;
|
|
142
|
-
title: string;
|
|
143
|
-
error: string | null;
|
|
144
|
-
modelId: string;
|
|
145
|
-
prompt: string;
|
|
146
|
-
reaction: USER_REACTION | null;
|
|
147
|
-
dislikeReason: string | null;
|
|
148
|
-
externalId: string | null;
|
|
153
|
+
imageUrls?: string[] | undefined;
|
|
149
154
|
attempts: any[];
|
|
150
|
-
isDeleted: boolean;
|
|
151
|
-
postId: string | null;
|
|
152
155
|
userId?: string | null | undefined;
|
|
153
156
|
unregisteredUserId?: string | null | undefined;
|
|
154
|
-
|
|
157
|
+
postId: string | null;
|
|
158
|
+
isDeleted: boolean;
|
|
155
159
|
tokenReservationId?: string | null | undefined;
|
|
160
|
+
createdAt: string | Date;
|
|
156
161
|
completedAt?: string | Date | null | undefined;
|
|
157
|
-
|
|
162
|
+
updatedAt: string | Date;
|
|
158
163
|
}>;
|
|
159
164
|
export type ImageEditorJob = z.infer<typeof ImageEditorJobSchema>;
|
|
160
165
|
//# sourceMappingURL=image-editor-job.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-editor-job.schema.d.ts","sourceRoot":"","sources":["../../../models/image-editor/image-editor-job.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAG5D,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"image-editor-job.schema.d.ts","sourceRoot":"","sources":["../../../models/image-editor/image-editor-job.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAG5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -23,26 +23,39 @@ export declare const ImageEditorModelParamsSchema: z.ZodObject<{
|
|
|
23
23
|
width: number;
|
|
24
24
|
height: number;
|
|
25
25
|
}>>;
|
|
26
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
options: string[];
|
|
30
|
+
}, {
|
|
31
|
+
options: string[];
|
|
32
|
+
}>>;
|
|
26
33
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
aspectRatio: Record<string, {
|
|
28
|
-
width: number;
|
|
29
|
-
height: number;
|
|
30
|
-
}>;
|
|
31
34
|
imageAttachment: {
|
|
32
35
|
supported: boolean;
|
|
33
36
|
maxImages: number;
|
|
34
37
|
acceptedTypes: string[];
|
|
35
38
|
};
|
|
36
|
-
}, {
|
|
37
39
|
aspectRatio: Record<string, {
|
|
38
40
|
width: number;
|
|
39
41
|
height: number;
|
|
40
42
|
}>;
|
|
43
|
+
resolution?: {
|
|
44
|
+
options: string[];
|
|
45
|
+
} | undefined;
|
|
46
|
+
}, {
|
|
41
47
|
imageAttachment: {
|
|
42
48
|
supported: boolean;
|
|
43
49
|
maxImages: number;
|
|
44
50
|
acceptedTypes: string[];
|
|
45
51
|
};
|
|
52
|
+
aspectRatio: Record<string, {
|
|
53
|
+
width: number;
|
|
54
|
+
height: number;
|
|
55
|
+
}>;
|
|
56
|
+
resolution?: {
|
|
57
|
+
options: string[];
|
|
58
|
+
} | undefined;
|
|
46
59
|
}>;
|
|
47
60
|
export type ImageEditorModelParams = z.infer<typeof ImageEditorModelParamsSchema>;
|
|
48
61
|
//# sourceMappingURL=image-editor-model-params.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-editor-model-params.schema.d.ts","sourceRoot":"","sources":["../../../models/image-editor/image-editor-model-params.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"image-editor-model-params.schema.d.ts","sourceRoot":"","sources":["../../../models/image-editor/image-editor-model-params.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -12,4 +12,9 @@ exports.ImageEditorModelParamsSchema = zod_1.z.object({
|
|
|
12
12
|
width: zod_1.z.number().int().positive(),
|
|
13
13
|
height: zod_1.z.number().int().positive(),
|
|
14
14
|
})),
|
|
15
|
+
resolution: zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
options: zod_1.z.array(zod_1.z.string()),
|
|
18
|
+
})
|
|
19
|
+
.optional(),
|
|
15
20
|
});
|
|
@@ -76,26 +76,39 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
76
76
|
width: number;
|
|
77
77
|
height: number;
|
|
78
78
|
}>>;
|
|
79
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
options: string[];
|
|
83
|
+
}, {
|
|
84
|
+
options: string[];
|
|
85
|
+
}>>;
|
|
79
86
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
aspectRatio: Record<string, {
|
|
81
|
-
width: number;
|
|
82
|
-
height: number;
|
|
83
|
-
}>;
|
|
84
87
|
imageAttachment: {
|
|
85
88
|
supported: boolean;
|
|
86
89
|
maxImages: number;
|
|
87
90
|
acceptedTypes: string[];
|
|
88
91
|
};
|
|
89
|
-
}, {
|
|
90
92
|
aspectRatio: Record<string, {
|
|
91
93
|
width: number;
|
|
92
94
|
height: number;
|
|
93
95
|
}>;
|
|
96
|
+
resolution?: {
|
|
97
|
+
options: string[];
|
|
98
|
+
} | undefined;
|
|
99
|
+
}, {
|
|
94
100
|
imageAttachment: {
|
|
95
101
|
supported: boolean;
|
|
96
102
|
maxImages: number;
|
|
97
103
|
acceptedTypes: string[];
|
|
98
104
|
};
|
|
105
|
+
aspectRatio: Record<string, {
|
|
106
|
+
width: number;
|
|
107
|
+
height: number;
|
|
108
|
+
}>;
|
|
109
|
+
resolution?: {
|
|
110
|
+
options: string[];
|
|
111
|
+
} | undefined;
|
|
99
112
|
}>;
|
|
100
113
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
101
114
|
condition: z.ZodObject<{
|
|
@@ -107,15 +120,15 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
107
120
|
}>;
|
|
108
121
|
value: z.ZodNumber;
|
|
109
122
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
value: number;
|
|
111
123
|
condition: {
|
|
112
124
|
withoutSub?: boolean | undefined;
|
|
113
125
|
};
|
|
114
|
-
}, {
|
|
115
126
|
value: number;
|
|
127
|
+
}, {
|
|
116
128
|
condition: {
|
|
117
129
|
withoutSub?: boolean | undefined;
|
|
118
130
|
};
|
|
131
|
+
value: number;
|
|
119
132
|
}>, "many">;
|
|
120
133
|
canUse: z.ZodBoolean;
|
|
121
134
|
statusCheckEndpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -123,32 +136,14 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
123
136
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
124
137
|
}, "strip", z.ZodTypeAny, {
|
|
125
138
|
uuid: string;
|
|
126
|
-
status: TOOL_MODEL_STATUS;
|
|
127
|
-
params: {
|
|
128
|
-
aspectRatio: Record<string, {
|
|
129
|
-
width: number;
|
|
130
|
-
height: number;
|
|
131
|
-
}>;
|
|
132
|
-
imageAttachment: {
|
|
133
|
-
supported: boolean;
|
|
134
|
-
maxImages: number;
|
|
135
|
-
acceptedTypes: string[];
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
canUse: boolean;
|
|
139
|
-
description: string;
|
|
140
139
|
title: string;
|
|
141
|
-
|
|
142
|
-
value: number;
|
|
143
|
-
condition: {
|
|
144
|
-
withoutSub?: boolean | undefined;
|
|
145
|
-
};
|
|
146
|
-
}[];
|
|
147
|
-
order: number;
|
|
140
|
+
description: string;
|
|
148
141
|
aiModel: string;
|
|
149
142
|
isNew: boolean;
|
|
150
143
|
tierLabel: string;
|
|
151
144
|
pricePerImage: number;
|
|
145
|
+
order: number;
|
|
146
|
+
status: TOOL_MODEL_STATUS;
|
|
152
147
|
icons: {
|
|
153
148
|
light: {
|
|
154
149
|
png?: string | undefined;
|
|
@@ -161,37 +156,40 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
161
156
|
};
|
|
162
157
|
strategy: IMAGE_EDITING_STRATEGY;
|
|
163
158
|
maxInputLength: number;
|
|
164
|
-
createdAt?: string | Date | undefined;
|
|
165
|
-
updatedAt?: string | Date | undefined;
|
|
166
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
uuid: string;
|
|
169
|
-
status: TOOL_MODEL_STATUS;
|
|
170
159
|
params: {
|
|
171
|
-
aspectRatio: Record<string, {
|
|
172
|
-
width: number;
|
|
173
|
-
height: number;
|
|
174
|
-
}>;
|
|
175
160
|
imageAttachment: {
|
|
176
161
|
supported: boolean;
|
|
177
162
|
maxImages: number;
|
|
178
163
|
acceptedTypes: string[];
|
|
179
164
|
};
|
|
165
|
+
aspectRatio: Record<string, {
|
|
166
|
+
width: number;
|
|
167
|
+
height: number;
|
|
168
|
+
}>;
|
|
169
|
+
resolution?: {
|
|
170
|
+
options: string[];
|
|
171
|
+
} | undefined;
|
|
180
172
|
};
|
|
181
|
-
canUse: boolean;
|
|
182
|
-
description: string;
|
|
183
|
-
title: string;
|
|
184
173
|
pricingRules: {
|
|
185
|
-
value: number;
|
|
186
174
|
condition: {
|
|
187
175
|
withoutSub?: boolean | undefined;
|
|
188
176
|
};
|
|
177
|
+
value: number;
|
|
189
178
|
}[];
|
|
190
|
-
|
|
179
|
+
canUse: boolean;
|
|
180
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
181
|
+
createdAt?: string | Date | undefined;
|
|
182
|
+
updatedAt?: string | Date | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
uuid: string;
|
|
185
|
+
title: string;
|
|
186
|
+
description: string;
|
|
191
187
|
aiModel: string;
|
|
192
188
|
isNew: boolean;
|
|
193
189
|
tierLabel: string;
|
|
194
190
|
pricePerImage: number;
|
|
191
|
+
order: number;
|
|
192
|
+
status: TOOL_MODEL_STATUS;
|
|
195
193
|
icons: {
|
|
196
194
|
light: {
|
|
197
195
|
png?: string | undefined;
|
|
@@ -204,9 +202,30 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
204
202
|
};
|
|
205
203
|
strategy: IMAGE_EDITING_STRATEGY;
|
|
206
204
|
maxInputLength: number;
|
|
205
|
+
params: {
|
|
206
|
+
imageAttachment: {
|
|
207
|
+
supported: boolean;
|
|
208
|
+
maxImages: number;
|
|
209
|
+
acceptedTypes: string[];
|
|
210
|
+
};
|
|
211
|
+
aspectRatio: Record<string, {
|
|
212
|
+
width: number;
|
|
213
|
+
height: number;
|
|
214
|
+
}>;
|
|
215
|
+
resolution?: {
|
|
216
|
+
options: string[];
|
|
217
|
+
} | undefined;
|
|
218
|
+
};
|
|
219
|
+
pricingRules: {
|
|
220
|
+
condition: {
|
|
221
|
+
withoutSub?: boolean | undefined;
|
|
222
|
+
};
|
|
223
|
+
value: number;
|
|
224
|
+
}[];
|
|
225
|
+
canUse: boolean;
|
|
226
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
207
227
|
createdAt?: string | Date | undefined;
|
|
208
228
|
updatedAt?: string | Date | undefined;
|
|
209
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
210
229
|
}>;
|
|
211
230
|
export type ImageEditorModel = z.infer<typeof ImageEditorModelSchema>;
|
|
212
231
|
//# sourceMappingURL=image-editor-model.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-editor-model.schema.d.ts","sourceRoot":"","sources":["../../../models/image-editor/image-editor-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAK5E,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"image-editor-model.schema.d.ts","sourceRoot":"","sources":["../../../models/image-editor/image-editor-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAK5E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -16,15 +16,15 @@ export declare const ImageEditorPricingRulesSchema: z.ZodArray<z.ZodObject<{
|
|
|
16
16
|
}>;
|
|
17
17
|
value: z.ZodNumber;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
value: number;
|
|
20
19
|
condition: {
|
|
21
20
|
withoutSub?: boolean | undefined;
|
|
22
21
|
};
|
|
23
|
-
}, {
|
|
24
22
|
value: number;
|
|
23
|
+
}, {
|
|
25
24
|
condition: {
|
|
26
25
|
withoutSub?: boolean | undefined;
|
|
27
26
|
};
|
|
27
|
+
value: number;
|
|
28
28
|
}>, "many">;
|
|
29
29
|
export type ImageEditorPricingRules = z.infer<typeof ImageEditorPricingRulesSchema>;
|
|
30
30
|
//# sourceMappingURL=image-editor-pricing-rule.schema.d.ts.map
|
|
@@ -59,37 +59,36 @@ export declare const ImageEditorPromptGroupSchema: z.ZodObject<{
|
|
|
59
59
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
61
|
uuid: string;
|
|
62
|
-
description: string;
|
|
63
62
|
title: string;
|
|
64
|
-
|
|
63
|
+
description: string;
|
|
64
|
+
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
65
65
|
prompt: string;
|
|
66
66
|
allowUserPrompt: boolean;
|
|
67
|
-
|
|
67
|
+
order: number;
|
|
68
68
|
params?: Record<string, any> | undefined;
|
|
69
|
-
createdAt?: string | Date | undefined;
|
|
70
|
-
updatedAt?: string | Date | undefined;
|
|
71
|
-
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
72
69
|
preview?: Record<string, any> | undefined;
|
|
73
70
|
placeholder?: string | null | undefined;
|
|
71
|
+
groupId: string;
|
|
72
|
+
createdAt?: string | Date | undefined;
|
|
73
|
+
updatedAt?: string | Date | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
uuid: string;
|
|
76
|
-
description: string;
|
|
77
76
|
title: string;
|
|
78
|
-
|
|
77
|
+
description: string;
|
|
78
|
+
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
79
79
|
prompt: string;
|
|
80
80
|
allowUserPrompt: boolean;
|
|
81
|
-
|
|
81
|
+
order: number;
|
|
82
82
|
params?: Record<string, any> | undefined;
|
|
83
|
-
createdAt?: string | Date | undefined;
|
|
84
|
-
updatedAt?: string | Date | undefined;
|
|
85
|
-
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
86
83
|
preview?: Record<string, any> | undefined;
|
|
87
84
|
placeholder?: string | null | undefined;
|
|
85
|
+
groupId: string;
|
|
86
|
+
createdAt?: string | Date | undefined;
|
|
87
|
+
updatedAt?: string | Date | undefined;
|
|
88
88
|
}>, "many">;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
uuid: string;
|
|
91
91
|
title: string;
|
|
92
|
-
order: number;
|
|
93
92
|
icons: {
|
|
94
93
|
light: {
|
|
95
94
|
png?: string | undefined;
|
|
@@ -100,25 +99,25 @@ export declare const ImageEditorPromptGroupSchema: z.ZodObject<{
|
|
|
100
99
|
svg?: string | undefined;
|
|
101
100
|
};
|
|
102
101
|
};
|
|
102
|
+
order: number;
|
|
103
103
|
prompts: {
|
|
104
104
|
uuid: string;
|
|
105
|
-
description: string;
|
|
106
105
|
title: string;
|
|
107
|
-
|
|
106
|
+
description: string;
|
|
107
|
+
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
108
108
|
prompt: string;
|
|
109
109
|
allowUserPrompt: boolean;
|
|
110
|
-
|
|
110
|
+
order: number;
|
|
111
111
|
params?: Record<string, any> | undefined;
|
|
112
|
-
createdAt?: string | Date | undefined;
|
|
113
|
-
updatedAt?: string | Date | undefined;
|
|
114
|
-
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
115
112
|
preview?: Record<string, any> | undefined;
|
|
116
113
|
placeholder?: string | null | undefined;
|
|
114
|
+
groupId: string;
|
|
115
|
+
createdAt?: string | Date | undefined;
|
|
116
|
+
updatedAt?: string | Date | undefined;
|
|
117
117
|
}[];
|
|
118
118
|
}, {
|
|
119
119
|
uuid: string;
|
|
120
120
|
title: string;
|
|
121
|
-
order: number;
|
|
122
121
|
icons: {
|
|
123
122
|
light: {
|
|
124
123
|
png?: string | undefined;
|
|
@@ -129,20 +128,21 @@ export declare const ImageEditorPromptGroupSchema: z.ZodObject<{
|
|
|
129
128
|
svg?: string | undefined;
|
|
130
129
|
};
|
|
131
130
|
};
|
|
131
|
+
order: number;
|
|
132
132
|
prompts: {
|
|
133
133
|
uuid: string;
|
|
134
|
-
description: string;
|
|
135
134
|
title: string;
|
|
136
|
-
|
|
135
|
+
description: string;
|
|
136
|
+
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
137
137
|
prompt: string;
|
|
138
138
|
allowUserPrompt: boolean;
|
|
139
|
-
|
|
139
|
+
order: number;
|
|
140
140
|
params?: Record<string, any> | undefined;
|
|
141
|
-
createdAt?: string | Date | undefined;
|
|
142
|
-
updatedAt?: string | Date | undefined;
|
|
143
|
-
strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
|
|
144
141
|
preview?: Record<string, any> | undefined;
|
|
145
142
|
placeholder?: string | null | undefined;
|
|
143
|
+
groupId: string;
|
|
144
|
+
createdAt?: string | Date | undefined;
|
|
145
|
+
updatedAt?: string | Date | undefined;
|
|
146
146
|
}[];
|
|
147
147
|
}>;
|
|
148
148
|
export type ImageEditorPromptGroup = z.infer<typeof ImageEditorPromptGroupSchema>;
|
|
@@ -16,32 +16,32 @@ export declare const ImageEditorSystemPromptSchema: z.ZodObject<{
|
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
uuid: string;
|
|
19
|
-
description: string;
|
|
20
19
|
title: string;
|
|
21
|
-
|
|
20
|
+
description: string;
|
|
21
|
+
strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
|
|
22
22
|
prompt: string;
|
|
23
23
|
allowUserPrompt: boolean;
|
|
24
|
-
|
|
24
|
+
order: number;
|
|
25
25
|
params?: Record<string, any> | undefined;
|
|
26
|
-
createdAt?: string | Date | undefined;
|
|
27
|
-
updatedAt?: string | Date | undefined;
|
|
28
|
-
strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
|
|
29
26
|
preview?: Record<string, any> | undefined;
|
|
30
27
|
placeholder?: string | null | undefined;
|
|
28
|
+
groupId: string;
|
|
29
|
+
createdAt?: string | Date | undefined;
|
|
30
|
+
updatedAt?: string | Date | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
uuid: string;
|
|
33
|
-
description: string;
|
|
34
33
|
title: string;
|
|
35
|
-
|
|
34
|
+
description: string;
|
|
35
|
+
strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
|
|
36
36
|
prompt: string;
|
|
37
37
|
allowUserPrompt: boolean;
|
|
38
|
-
|
|
38
|
+
order: number;
|
|
39
39
|
params?: Record<string, any> | undefined;
|
|
40
|
-
createdAt?: string | Date | undefined;
|
|
41
|
-
updatedAt?: string | Date | undefined;
|
|
42
|
-
strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
|
|
43
40
|
preview?: Record<string, any> | undefined;
|
|
44
41
|
placeholder?: string | null | undefined;
|
|
42
|
+
groupId: string;
|
|
43
|
+
createdAt?: string | Date | undefined;
|
|
44
|
+
updatedAt?: string | Date | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type ImageEditorSystemPrompt = z.infer<typeof ImageEditorSystemPromptSchema>;
|
|
47
47
|
//# sourceMappingURL=image-editor-system-prompt.schema.d.ts.map
|