@opengeni/db 0.13.0 → 0.13.4
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/dist/{chunk-N4WTE6SB.js → chunk-IQOXTFKA.js} +2 -1
- package/dist/chunk-IQOXTFKA.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +397 -173
- package/dist/index.js.map +1 -1
- package/dist/provision-roles.d.ts +44 -6
- package/dist/{schema-Bh1Hr7xY.d.ts → schema-SbaSoRdr.d.ts} +34 -15
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +1 -1
- package/drizzle/0132_connection_subject_isolation.sql +100 -0
- package/drizzle/0133_session_skills.sql +3 -0
- package/package.json +3 -3
- package/src/connection-token-resolver.ts +17 -7
- package/src/index.ts +554 -202
- package/src/schema.ts +1 -0
- package/dist/chunk-N4WTE6SB.js.map +0 -1
package/src/schema.ts
CHANGED
|
@@ -776,6 +776,7 @@ export const sessions = pgTable(
|
|
|
776
776
|
// as a timeline event.
|
|
777
777
|
instructions: text("instructions"),
|
|
778
778
|
resources: jsonb("resources").$type<unknown[]>().notNull().default([]),
|
|
779
|
+
skills: jsonb("skills").$type<unknown[]>().notNull().default([]),
|
|
779
780
|
tools: jsonb("tools").$type<unknown[]>().notNull().default([]),
|
|
780
781
|
metadata: jsonb("metadata").$type<Record<string, unknown>>().notNull().default({}),
|
|
781
782
|
// Frozen creator fact. This is used for creation attribution and for the
|