@adaptware/eagles-db 0.6.10 → 0.6.12
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/client/edge.js +64 -7
- package/client/index-browser.js +58 -0
- package/client/index.d.ts +5755 -201
- package/client/index.js +64 -7
- package/client/package.json +1 -1
- package/client/schema.prisma +70 -0
- package/client/wasm.js +64 -7
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/schema/mcpOAuth.prisma +69 -0
- package/prisma/schema/migrations/.DS_Store +0 -0
- package/prisma/schema/migrations/20261015120000_mcp_oauth/migration.sql +84 -0
- package/prisma/schema/.DS_Store +0 -0
- package/prisma/schema/migrations/20260826160000_add_application_fit_check_report_document/.DS_Store +0 -0
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -3316,6 +3316,76 @@ model LiveAnalysis {
|
|
|
3316
3316
|
@@schema("public")
|
|
3317
3317
|
}
|
|
3318
3318
|
|
|
3319
|
+
/// MCP OAuth clients, authorize requests, auth codes, and refresh tokens.
|
|
3320
|
+
/// user_id is a plain string. These models do not add a relation on User.
|
|
3321
|
+
|
|
3322
|
+
model McpOAuthClient {
|
|
3323
|
+
id String @id @default(uuid())
|
|
3324
|
+
client_id String @unique
|
|
3325
|
+
name String?
|
|
3326
|
+
redirect_uris String
|
|
3327
|
+
organisation_id String
|
|
3328
|
+
is_active Boolean @default(true)
|
|
3329
|
+
created_at DateTime @default(now())
|
|
3330
|
+
|
|
3331
|
+
@@index([organisation_id])
|
|
3332
|
+
@@schema("public")
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
model McpOAuthRequest {
|
|
3336
|
+
id String @id @default(uuid())
|
|
3337
|
+
organisation_id String
|
|
3338
|
+
client_id String
|
|
3339
|
+
redirect_uri String
|
|
3340
|
+
code_challenge String
|
|
3341
|
+
state String?
|
|
3342
|
+
resource String
|
|
3343
|
+
csrf_hash String?
|
|
3344
|
+
session_hash String?
|
|
3345
|
+
ticket_hash String?
|
|
3346
|
+
user_id String?
|
|
3347
|
+
expires_at DateTime
|
|
3348
|
+
used_at DateTime?
|
|
3349
|
+
created_at DateTime @default(now())
|
|
3350
|
+
|
|
3351
|
+
@@index([organisation_id, expires_at])
|
|
3352
|
+
@@schema("public")
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
model McpOAuthCode {
|
|
3356
|
+
id String @id @default(uuid())
|
|
3357
|
+
code_hash String @unique
|
|
3358
|
+
organisation_id String
|
|
3359
|
+
client_id String
|
|
3360
|
+
user_id String
|
|
3361
|
+
redirect_uri String
|
|
3362
|
+
code_challenge String
|
|
3363
|
+
resource String
|
|
3364
|
+
expires_at DateTime
|
|
3365
|
+
used_at DateTime?
|
|
3366
|
+
created_at DateTime @default(now())
|
|
3367
|
+
|
|
3368
|
+
@@index([organisation_id, expires_at])
|
|
3369
|
+
@@schema("public")
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3372
|
+
model McpOAuthRefreshToken {
|
|
3373
|
+
id String @id @default(uuid())
|
|
3374
|
+
token_hash String @unique
|
|
3375
|
+
family_id String
|
|
3376
|
+
organisation_id String
|
|
3377
|
+
client_id String
|
|
3378
|
+
user_id String
|
|
3379
|
+
resource String
|
|
3380
|
+
expires_at DateTime
|
|
3381
|
+
revoked_at DateTime?
|
|
3382
|
+
created_at DateTime @default(now())
|
|
3383
|
+
|
|
3384
|
+
@@index([family_id])
|
|
3385
|
+
@@index([expires_at])
|
|
3386
|
+
@@schema("public")
|
|
3387
|
+
}
|
|
3388
|
+
|
|
3319
3389
|
model Message {
|
|
3320
3390
|
id String @id @default(uuid())
|
|
3321
3391
|
sender_id String
|