@zodic/shared 0.0.15 → 0.0.17

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 CHANGED
@@ -169,12 +169,13 @@ export const userConcepts = sqliteTable(
169
169
  ]
170
170
  );
171
171
 
172
+
172
173
  export const artifacts = sqliteTable(
173
174
  'artifacts',
174
175
  {
175
176
  id: text('id').primaryKey(),
176
177
  name: text('name').notNull(), // Name of the artifact (e.g., "Cosmic Mirror")
177
- slug: text('slug').notNull(),
178
+ slug: text('slug').notNull(), // Slug of the artifact (e.g., "cosmic-mirror")
178
179
  conceptId: text('concept_id')
179
180
  .notNull()
180
181
  .references(() => concepts.id, { onDelete: 'cascade' }),
@@ -237,6 +238,7 @@ export const generations = sqliteTable(
237
238
  () => userArtifacts.id,
238
239
  { onDelete: 'cascade' }
239
240
  ),
241
+ gender: text('gender'),
240
242
  conceptCombinationId: text('concept_combination_id').references(
241
243
  () => conceptCombinations.id,
242
244
  { onDelete: 'cascade' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -17,10 +17,12 @@ export type CentralBindings = {
17
17
  AKOOL_API_KEY: string;
18
18
  KV_GENERATION_MANAGEMENT: KVNamespace;
19
19
  KV_USER_GENERATIONS: KVNamespace;
20
- KV_ARCHETYPES: KVNamespace;
20
+ KV_COSMIC_MIRROR_ARCHETYPES: KVNamespace;
21
+ KV_CONCEPTS: KVNamespace;
21
22
  KV_LEONARDO_PROMPTS: KVNamespace;
22
23
  KV_TEST: KVNamespace;
23
24
  KV_USER_PRODUCT_STATUS: KVNamespace;
25
+
24
26
  PROMPT_IMAGE_DESCRIBER: string;
25
27
  PROMPT_GENERATE_ARCHETYPE: string;
26
28
  PROMPT_GENERATE_LEONARDO: string;
@@ -76,7 +78,8 @@ export type BackendBindings = Env &
76
78
  | 'AKOOL_API_KEY'
77
79
  | 'KV_GENERATION_MANAGEMENT'
78
80
  | 'KV_USER_GENERATIONS'
79
- | 'KV_ARCHETYPES'
81
+ | 'KV_COSMIC_MIRROR_ARCHETYPES'
82
+ | 'KV_CONCEPTS'
80
83
  | 'KV_LEONARDO_PROMPTS'
81
84
  | 'PROMPT_IMAGE_DESCRIBER'
82
85
  | 'PROMPT_GENERATE_ARCHETYPE'
@@ -165,7 +168,7 @@ export type Bindings = Env & {
165
168
  AKOOL_API_KEY: string;
166
169
  KV_GENERATION_MANAGEMENT: KVNamespace;
167
170
  KV_USER_GENERATIONS: KVNamespace;
168
- KV_ARCHETYPES: KVNamespace;
171
+ KV_COSMIC_MIRROR_ARCHETYPES: KVNamespace;
169
172
  KV_LEONARDO_PROMPTS: KVNamespace;
170
173
  KV_TEST: KVNamespace;
171
174
  PROMPT_IMAGE_DESCRIBER: string;