@zodic/shared 0.0.389 → 0.0.390
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/db/schema.ts +2 -0
- package/package.json +1 -1
- package/types/scopes/cloudflare.ts +5 -0
package/db/schema.ts
CHANGED
|
@@ -396,6 +396,8 @@ export const userArtifacts = sqliteTable(
|
|
|
396
396
|
postImages: text('post_images'), // Stringified JSON array of { id: string, url: string } for up to 6 post images
|
|
397
397
|
reelImages: text('reel_images'), // Stringified JSON array of { id: string, url: string } for up to 6 reel images (if used)
|
|
398
398
|
chosenImageUrl: text('chosen_image_url'), // URL of the single image chosen by the user
|
|
399
|
+
upscaledImage: text('upscaled_image'), // { id: string, url: string }
|
|
400
|
+
framedImage: text('framed_image'), // { id: string, url: string }
|
|
399
401
|
status: text('status')
|
|
400
402
|
.default('pending') // Possible statuses: 'pending', 'post_ready', 'reel_ready', 'completed', 'revealed'
|
|
401
403
|
.notNull(),
|
package/package.json
CHANGED
|
@@ -74,6 +74,9 @@ export type CentralBindings = {
|
|
|
74
74
|
TOGETHER_API_KEY: string;
|
|
75
75
|
ENV: Environment;
|
|
76
76
|
|
|
77
|
+
ASAAS_API_URL: string;
|
|
78
|
+
ASAAS_API_KEY: string;
|
|
79
|
+
|
|
77
80
|
API_BASE_URL: string;
|
|
78
81
|
PUBLIC_GOOGLE_CLIENT_ID: string;
|
|
79
82
|
PUBLIC_FACEBOOK_CLIENT_ID: string;
|
|
@@ -145,6 +148,8 @@ export type BackendBindings = Env &
|
|
|
145
148
|
| 'KV_CONCEPT_CACHE'
|
|
146
149
|
| 'ENV'
|
|
147
150
|
| 'FACESWAP_QUEUE'
|
|
151
|
+
| 'ASAAS_API_KEY'
|
|
152
|
+
| 'ASAAS_API_URL'
|
|
148
153
|
>;
|
|
149
154
|
|
|
150
155
|
export type BackendCtx = Context<
|