@zodic/shared 0.0.327 → 0.0.329

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.
@@ -22,6 +22,15 @@ export class AppContext {
22
22
  return this.env.KV_COSMIC_MIRROR_ARCHETYPES;
23
23
  }
24
24
 
25
+ kvCosmicMirrorManagementStore() {
26
+ if (!this.env.KV_COSMIC_MIRROR_MANAGEMENT) {
27
+ throw new Error(
28
+ 'KV_COSMIC_MIRROR_MANAGEMENT is not defined in the environment.'
29
+ );
30
+ }
31
+ return this.env.KV_COSMIC_MIRROR_MANAGEMENT;
32
+ }
33
+
25
34
  kvConceptsStore() {
26
35
  if (!this.env.KV_CONCEPTS) {
27
36
  throw new Error('KV_CONCEPTS is not defined in the environment.');
package/db/schema.ts CHANGED
@@ -395,8 +395,9 @@ export const userArtifacts = sqliteTable(
395
395
  ), // References archetypesData.id, nullable
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
+ chosenImageUrl: text('chosen_image_url'), // URL of the single image chosen by the user
398
399
  status: text('status')
399
- .default('pending') // Possible statuses: 'pending', 'post_ready', 'reel_ready', 'completed'
400
+ .default('pending') // Possible statuses: 'pending', 'post_ready', 'reel_ready', 'completed', 'revealed'
400
401
  .notNull(),
401
402
  ...timestampFields,
402
403
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.327",
3
+ "version": "0.0.329",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {