@adaptware/eagles-db 0.4.44 → 0.4.46
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 +27 -3
- package/client/index-browser.js +24 -0
- package/client/index.d.ts +2412 -2
- package/client/index.js +27 -3
- package/client/package.json +1 -1
- package/client/schema.prisma +46 -11
- package/client/wasm.js +27 -3
- package/package.json +1 -1
- package/prisma/schema/evaluationCriteria.prisma +33 -0
- package/prisma/schema/organisation.prisma +12 -11
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -1181,6 +1181,40 @@ model Document {
|
|
|
1181
1181
|
@@schema("public")
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
|
+
enum CriteriaScope {
|
|
1185
|
+
ORGANISATION
|
|
1186
|
+
TREADSPACE
|
|
1187
|
+
|
|
1188
|
+
@@schema("public")
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
model EvaluationCriteria {
|
|
1192
|
+
/// Primary key
|
|
1193
|
+
id String @id @default(uuid())
|
|
1194
|
+
/// Foreign keys
|
|
1195
|
+
organisation_id String?
|
|
1196
|
+
/// Data fields
|
|
1197
|
+
scope CriteriaScope
|
|
1198
|
+
key String
|
|
1199
|
+
criteria String?
|
|
1200
|
+
description String?
|
|
1201
|
+
weightage Float?
|
|
1202
|
+
is_elimination Boolean @default(false)
|
|
1203
|
+
metadata Json?
|
|
1204
|
+
/// Audit fields
|
|
1205
|
+
created_by String
|
|
1206
|
+
updated_by String
|
|
1207
|
+
created_at DateTime @default(now())
|
|
1208
|
+
updated_at DateTime @updatedAt
|
|
1209
|
+
is_active Boolean @default(true)
|
|
1210
|
+
/// Relations
|
|
1211
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1212
|
+
|
|
1213
|
+
/// Indexes
|
|
1214
|
+
@@index([scope, organisation_id])
|
|
1215
|
+
@@schema("public")
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1184
1218
|
enum RoundType {
|
|
1185
1219
|
ASSESSMENT
|
|
1186
1220
|
INTERVIEW
|
|
@@ -2534,17 +2568,17 @@ enum OrganisationSize {
|
|
|
2534
2568
|
}
|
|
2535
2569
|
|
|
2536
2570
|
model Organisation {
|
|
2537
|
-
id
|
|
2538
|
-
name
|
|
2539
|
-
industry
|
|
2540
|
-
about
|
|
2541
|
-
website
|
|
2542
|
-
size
|
|
2543
|
-
phone
|
|
2544
|
-
address
|
|
2545
|
-
company_values
|
|
2546
|
-
allowed_email_domains
|
|
2547
|
-
|
|
2571
|
+
id String @id @default(uuid())
|
|
2572
|
+
name String @unique
|
|
2573
|
+
industry String
|
|
2574
|
+
about String
|
|
2575
|
+
website String
|
|
2576
|
+
size OrganisationSize @default(ONE_TO_TEN)
|
|
2577
|
+
phone String
|
|
2578
|
+
address String
|
|
2579
|
+
company_values Json[]
|
|
2580
|
+
allowed_email_domains String[]
|
|
2581
|
+
send_email Boolean @default(true)
|
|
2548
2582
|
interviewers User[]
|
|
2549
2583
|
created_at DateTime @default(now())
|
|
2550
2584
|
updated_at DateTime @updatedAt
|
|
@@ -2583,6 +2617,7 @@ model Organisation {
|
|
|
2583
2617
|
documents Document[]
|
|
2584
2618
|
job_application_templates JobApplicationTemplate[]
|
|
2585
2619
|
sources Source[]
|
|
2620
|
+
evaluation_criteria EvaluationCriteria[]
|
|
2586
2621
|
// departments Department[]
|
|
2587
2622
|
|
|
2588
2623
|
@@index([name])
|