@happyvertical/smrt-human-resources 0.55.1 → 0.55.3

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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-human-resources",
5
- "packageVersion": "0.55.1",
5
+ "packageVersion": "0.55.3",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-human-resources:Employment": {
8
8
  "name": "employment",
@@ -73,7 +73,12 @@
73
73
  "status": {
74
74
  "type": "text",
75
75
  "required": false,
76
- "_meta": {}
76
+ "_meta": {},
77
+ "enum": [
78
+ "active",
79
+ "on-leave",
80
+ "ended"
81
+ ]
77
82
  }
78
83
  },
79
84
  "methods": {
@@ -509,7 +514,18 @@
509
514
  "kind": {
510
515
  "type": "text",
511
516
  "required": false,
512
- "_meta": {}
517
+ "_meta": {},
518
+ "enum": [
519
+ "hired",
520
+ "ended",
521
+ "rehired",
522
+ "position-changed",
523
+ "worker-type-changed",
524
+ "leave-started",
525
+ "leave-ended",
526
+ "login-linked",
527
+ "login-unlinked"
528
+ ]
513
529
  },
514
530
  "effectiveOn": {
515
531
  "type": "text",
@@ -1178,7 +1194,14 @@
1178
1194
  "kind": {
1179
1195
  "type": "text",
1180
1196
  "required": false,
1181
- "_meta": {}
1197
+ "_meta": {},
1198
+ "enum": [
1199
+ "ticket",
1200
+ "certification",
1201
+ "authorization",
1202
+ "training",
1203
+ "restriction"
1204
+ ]
1182
1205
  },
1183
1206
  "issuingBody": {
1184
1207
  "type": "text",
@@ -1199,7 +1222,11 @@
1199
1222
  "scope": {
1200
1223
  "type": "text",
1201
1224
  "required": false,
1202
- "_meta": {}
1225
+ "_meta": {},
1226
+ "enum": [
1227
+ "person",
1228
+ "employment"
1229
+ ]
1203
1230
  },
1204
1231
  "isActive": {
1205
1232
  "type": "boolean",
@@ -1248,6 +1275,7 @@
1248
1275
  "extends": "SmrtObject",
1249
1276
  "exportName": "Qualification",
1250
1277
  "collectionExportName": "QualificationCollection",
1278
+ "displayLabelField": "name",
1251
1279
  "validationRules": [
1252
1280
  {
1253
1281
  "field": "expires",
@@ -1436,7 +1464,13 @@
1436
1464
  "status": {
1437
1465
  "type": "text",
1438
1466
  "required": false,
1439
- "_meta": {}
1467
+ "_meta": {},
1468
+ "enum": [
1469
+ "valid",
1470
+ "expired",
1471
+ "suspended",
1472
+ "revoked"
1473
+ ]
1440
1474
  },
1441
1475
  "verifiedByProfileId": {
1442
1476
  "type": "crossPackageRef",
@@ -1755,7 +1789,15 @@
1755
1789
  "kind": {
1756
1790
  "type": "text",
1757
1791
  "required": false,
1758
- "_meta": {}
1792
+ "_meta": {},
1793
+ "enum": [
1794
+ "granted",
1795
+ "renewed",
1796
+ "suspended",
1797
+ "reinstated",
1798
+ "revoked",
1799
+ "expired"
1800
+ ]
1759
1801
  },
1760
1802
  "effectiveOn": {
1761
1803
  "type": "text",
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-human-resources",
6
- "packageVersion": "0.55.1",
6
+ "packageVersion": "0.55.3",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "b899021ea43ffe80e1b64dbab0ae6febfab3a2e5b639ecb42251a7f80085ac78",
11
- "packageJson": "0b321f36ddbc89b179622401a7e56278ceaae0359bdb486865685dc6e883fb2c",
10
+ "manifest": "28b34287454ac89e229da245a1f12d717c1974d2aa087e46570cb5a88bb075e5",
11
+ "packageJson": "0a951541e418f2b0ff97d9bacbf315512648383b23a2eb65435c40770c7c2bf5",
12
12
  "agents": "441cce6da32d348df8bb6300d526f118d70efa5680c80615d373cc8ef98e95f4"
13
13
  },
14
14
  "exports": [
@@ -450,6 +450,7 @@
450
450
  {
451
451
  "name": "Qualification",
452
452
  "qualifiedName": "@happyvertical/smrt-human-resources:Qualification",
453
+ "displayLabelField": "name",
453
454
  "collection": "qualifications",
454
455
  "tableName": "qualifications",
455
456
  "packageName": "@happyvertical/smrt-human-resources",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-human-resources",
3
- "version": "0.55.1",
3
+ "version": "0.55.3",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "HR records for the SMRT framework: who works for an organization, as what, and with what standing — employment with dated terms, and qualifications with expiry",
6
6
  "type": "module",
@@ -30,12 +30,12 @@
30
30
  "./manifest.json": "./dist/manifest.json"
31
31
  },
32
32
  "dependencies": {
33
- "@happyvertical/logger": "^0.102.1",
34
- "@happyvertical/smrt-core": "0.55.1",
35
- "@happyvertical/smrt-tenancy": "0.55.1",
36
- "@happyvertical/smrt-types": "0.55.1",
37
- "@happyvertical/smrt-ui": "0.55.1",
38
- "@happyvertical/sql": "^0.102.1"
33
+ "@happyvertical/logger": "^0.102.2",
34
+ "@happyvertical/smrt-core": "0.55.3",
35
+ "@happyvertical/smrt-tenancy": "0.55.3",
36
+ "@happyvertical/smrt-types": "0.55.3",
37
+ "@happyvertical/smrt-ui": "0.55.3",
38
+ "@happyvertical/sql": "^0.102.2"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "svelte": "^5.57.0"
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "devDependencies": {
49
- "@happyvertical/smrt-vitest": "0.55.1",
49
+ "@happyvertical/smrt-vitest": "0.55.3",
50
50
  "@sveltejs/package": "^2.5.8",
51
51
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
52
52
  "@types/node": "24.13.6",