@zodic/shared 0.0.287 → 0.0.289
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
|
@@ -346,7 +346,7 @@ export const userConcepts = sqliteTable(
|
|
|
346
346
|
.notNull()
|
|
347
347
|
.references(() => conceptCombinations.id, { onDelete: 'cascade' }),
|
|
348
348
|
...timestampFields,
|
|
349
|
-
imageIdx: integer('image_idx').default(0),
|
|
349
|
+
imageIdx: integer('image_idx').default(0).notNull(),
|
|
350
350
|
},
|
|
351
351
|
(t) => [
|
|
352
352
|
index('user_concepts_user_id_idx').on(t.userId),
|
package/package.json
CHANGED
package/types/scopes/generic.ts
CHANGED
|
@@ -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:
|
|
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)
|