@zodic/shared 0.0.282 → 0.0.285

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.
@@ -43,6 +43,13 @@
43
43
  "when": 1742419128409,
44
44
  "tag": "0005_famous_cammi",
45
45
  "breakpoints": true
46
+ },
47
+ {
48
+ "idx": 6,
49
+ "version": "6",
50
+ "when": 1742576766950,
51
+ "tag": "0006_fine_manta",
52
+ "breakpoints": true
46
53
  }
47
54
  ]
48
55
  }
package/db/schema.ts CHANGED
@@ -246,8 +246,14 @@ export const aspectReports = sqliteTable(
246
246
  index('aspect_reports_aspecting_idx').on(t.aspectingPlanet),
247
247
  index('aspect_reports_aspected_idx').on(t.aspectedPlanet),
248
248
  index('aspect_reports_aspect_idx').on(t.aspect),
249
- index('aspect_reports_combined_idx').on(t.aspectingPlanet, t.aspectedPlanet, t.aspect),
250
- index('aspect_reports_description_template_idx').on(t.descriptionTemplateId), // NEW: Index for foreign key performance
249
+ index('aspect_reports_combined_idx').on(
250
+ t.aspectingPlanet,
251
+ t.aspectedPlanet,
252
+ t.aspect
253
+ ),
254
+ index('aspect_reports_description_template_idx').on(
255
+ t.descriptionTemplateId
256
+ ), // NEW: Index for foreign key performance
251
257
  ]
252
258
  );
253
259
 
@@ -268,7 +274,9 @@ export const astroFeatureReports = sqliteTable(
268
274
  },
269
275
  (t) => [
270
276
  index('astro_feature_reports_type_name_idx').on(t.featureType, t.name),
271
- index('astro_feature_reports_description_template_idx').on(t.descriptionTemplateId), // NEW: Index for foreign key performance
277
+ index('astro_feature_reports_description_template_idx').on(
278
+ t.descriptionTemplateId
279
+ ), // NEW: Index for foreign key performance
272
280
  ]
273
281
  );
274
282
 
@@ -337,6 +345,7 @@ export const userConcepts = sqliteTable(
337
345
  .notNull()
338
346
  .references(() => conceptCombinations.id, { onDelete: 'cascade' }),
339
347
  ...timestampFields,
348
+ imageIdx: integer().default(0),
340
349
  },
341
350
  (t) => [
342
351
  index('user_concepts_user_id_idx').on(t.userId),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.282",
3
+ "version": "0.0.285",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -186,6 +186,7 @@ export type AuthBindings = Env &
186
186
  | 'DRIZZLE'
187
187
  | 'GOOGLE_TIMEZONE_API_KEY'
188
188
  | 'KV_OAUTH_STATE'
189
+ | 'ENV'
189
190
  >;
190
191
 
191
192
  export type AuthCtx = Context<