@zodic/shared 0.0.286 → 0.0.288

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.
@@ -57,6 +57,13 @@
57
57
  "when": 1742661456728,
58
58
  "tag": "0007_typical_grim_reaper",
59
59
  "breakpoints": true
60
+ },
61
+ {
62
+ "idx": 8,
63
+ "version": "6",
64
+ "when": 1742663641761,
65
+ "tag": "0008_fine_betty_brant",
66
+ "breakpoints": true
60
67
  }
61
68
  ]
62
69
  }
package/db/schema.ts CHANGED
@@ -346,12 +346,12 @@ export const userConcepts = sqliteTable(
346
346
  .notNull()
347
347
  .references(() => conceptCombinations.id, { onDelete: 'cascade' }),
348
348
  ...timestampFields,
349
- imageIdx: integer().default(0),
349
+ imageIdx: integer('image_idx').default(0),
350
350
  },
351
351
  (t) => [
352
352
  index('user_concepts_user_id_idx').on(t.userId),
353
353
  index('user_concepts_concept_id_idx').on(t.conceptId),
354
- uniqueIndex('user_concepts_unique_user_concept').on(t.userId, t.conceptId),
354
+ // uniqueIndex('user_concepts_unique_user_concept').on(t.userId, t.conceptId),
355
355
  ]
356
356
  );
357
357
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.286",
3
+ "version": "0.0.288",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -547,7 +547,7 @@ export type ConceptProgress = {
547
547
  export type UserConceptData = {
548
548
  name: string; // From conceptsData.name (text, notNull)
549
549
  description: string; // From conceptsData.description (text, notNull)
550
- poem: string; // From conceptsData.poem (text, defaults to '[]', but assuming parsed as string)
550
+ poem: any[]; // From conceptsData.poem (text, defaults to '[]', but assuming parsed as string)
551
551
  content: any[]; // From conceptsData.content (text, JSON-stringified array, parsed)
552
552
  images: {
553
553
  post: any[]; // From conceptsData.postImages (text, JSON-stringified array, parsed)