@happyvertical/smrt-messages 0.42.2 → 0.42.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-messages",
5
- "packageVersion": "0.42.2",
5
+ "packageVersion": "0.42.3",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-messages:AccountCollection": {
8
8
  "name": "accountcollection",
@@ -3346,7 +3346,7 @@
3346
3346
  },
3347
3347
  "tenantId": {
3348
3348
  "type": "text",
3349
- "required": false,
3349
+ "required": true,
3350
3350
  "_meta": {
3351
3351
  "generated": true,
3352
3352
  "source": "tenantScoped_decorator",
@@ -3399,9 +3399,10 @@
3399
3399
  "extends": "SmrtObject",
3400
3400
  "exportName": "Blacklist",
3401
3401
  "collectionExportName": "BlacklistCollection",
3402
+ "validationRules": [],
3402
3403
  "schema": {
3403
3404
  "tableName": "blacklists",
3404
- "ddl": "CREATE TABLE IF NOT EXISTS \"blacklists\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"pattern\" TEXT DEFAULT '',\n \"type\" TEXT DEFAULT 'email',\n \"reason\" TEXT DEFAULT '',\n \"auto_archive\" BOOLEAN DEFAULT TRUE,\n \"tenant_id\" UUID\n);",
3405
+ "ddl": "CREATE TABLE IF NOT EXISTS \"blacklists\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"pattern\" TEXT DEFAULT '',\n \"type\" TEXT DEFAULT 'email',\n \"reason\" TEXT DEFAULT '',\n \"auto_archive\" BOOLEAN DEFAULT TRUE,\n \"tenant_id\" UUID NOT NULL\n);",
3405
3406
  "columns": {
3406
3407
  "id": {
3407
3408
  "type": "UUID",
@@ -3455,7 +3456,7 @@
3455
3456
  "tenant_id": {
3456
3457
  "type": "UUID",
3457
3458
  "referenceKind": "tenantId",
3458
- "notNull": false,
3459
+ "notNull": true,
3459
3460
  "unique": false
3460
3461
  }
3461
3462
  },
@@ -3477,7 +3478,7 @@
3477
3478
  ]
3478
3479
  }
3479
3480
  ],
3480
- "version": "63af429e"
3481
+ "version": "04efaa8d"
3481
3482
  }
3482
3483
  },
3483
3484
  "@happyvertical/smrt-messages:Email": {
@@ -7543,11 +7544,6 @@
7543
7544
  "exportName": "MessagingEndpoint",
7544
7545
  "collectionExportName": "MessagingEndpointCollection",
7545
7546
  "validationRules": [
7546
- {
7547
- "field": "tenantId",
7548
- "rule": "required",
7549
- "fieldType": "text"
7550
- },
7551
7547
  {
7552
7548
  "field": "label",
7553
7549
  "rule": "required",
@@ -7780,11 +7776,6 @@
7780
7776
  "exportName": "PersonaMessageRoute",
7781
7777
  "collectionExportName": "PersonaMessageRouteCollection",
7782
7778
  "validationRules": [
7783
- {
7784
- "field": "tenantId",
7785
- "rule": "required",
7786
- "fieldType": "text"
7787
- },
7788
7779
  {
7789
7780
  "field": "personaId",
7790
7781
  "rule": "required",
@@ -13060,7 +13051,7 @@
13060
13051
  },
13061
13052
  "tenantId": {
13062
13053
  "type": "text",
13063
- "required": false,
13054
+ "required": true,
13064
13055
  "_meta": {
13065
13056
  "generated": true,
13066
13057
  "source": "tenantScoped_decorator",
@@ -13113,9 +13104,10 @@
13113
13104
  "extends": "SmrtObject",
13114
13105
  "exportName": "Whitelist",
13115
13106
  "collectionExportName": "WhitelistCollection",
13107
+ "validationRules": [],
13116
13108
  "schema": {
13117
13109
  "tableName": "whitelists",
13118
- "ddl": "CREATE TABLE IF NOT EXISTS \"whitelists\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"pattern\" TEXT DEFAULT '',\n \"type\" TEXT DEFAULT 'email',\n \"category\" TEXT,\n \"description\" TEXT DEFAULT '',\n \"tenant_id\" UUID\n);",
13110
+ "ddl": "CREATE TABLE IF NOT EXISTS \"whitelists\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"pattern\" TEXT DEFAULT '',\n \"type\" TEXT DEFAULT 'email',\n \"category\" TEXT,\n \"description\" TEXT DEFAULT '',\n \"tenant_id\" UUID NOT NULL\n);",
13119
13111
  "columns": {
13120
13112
  "id": {
13121
13113
  "type": "UUID",
@@ -13168,7 +13160,7 @@
13168
13160
  "tenant_id": {
13169
13161
  "type": "UUID",
13170
13162
  "referenceKind": "tenantId",
13171
- "notNull": false,
13163
+ "notNull": true,
13172
13164
  "unique": false
13173
13165
  }
13174
13166
  },
@@ -13190,7 +13182,7 @@
13190
13182
  ]
13191
13183
  }
13192
13184
  ],
13193
- "version": "6b3e08bc"
13185
+ "version": "40a655a1"
13194
13186
  }
13195
13187
  },
13196
13188
  "@happyvertical/smrt-messages:ZulipAccount": {
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-messages",
6
- "packageVersion": "0.42.2",
6
+ "packageVersion": "0.42.3",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "18b3d0e49e741d0b292017356a81853c5979e1ffceabe089d52442895c9d15c2",
11
- "packageJson": "1c51cd5ae724ae570c01b23026d9ea9cdcd3d6834fe356a13feb3dd42a87a700",
10
+ "manifest": "22486a6640efc326378f7cee1348580f448c115f2c7b9d321b6e264c9b1e097b",
11
+ "packageJson": "6eaff0f7053bc4cb38c6202fc100df4f8ce74b3032ba82ff6a13b2195f9f56db",
12
12
  "agents": "712dcc2f244d01db8b49d764b8c076e94cb9274fa4b458d7c902434a0473f127"
13
13
  },
14
14
  "exports": [
@@ -1992,7 +1992,7 @@
1992
1992
  {
1993
1993
  "name": "tenantId",
1994
1994
  "type": "text",
1995
- "required": false,
1995
+ "required": true,
1996
1996
  "columnType": "UUID"
1997
1997
  }
1998
1998
  ],
@@ -7999,7 +7999,7 @@
7999
7999
  {
8000
8000
  "name": "tenantId",
8001
8001
  "type": "text",
8002
- "required": false,
8002
+ "required": true,
8003
8003
  "columnType": "UUID"
8004
8004
  }
8005
8005
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-messages",
3
- "version": "0.42.2",
3
+ "version": "0.42.3",
4
4
  "description": "Unified multi-channel messaging with STI-based hierarchies",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -62,12 +62,12 @@
62
62
  "@happyvertical/messages": "^0.88.0",
63
63
  "@happyvertical/sql": "^0.88.0",
64
64
  "@happyvertical/utils": "^0.88.0",
65
- "@happyvertical/smrt-core": "0.42.2",
66
- "@happyvertical/smrt-secrets": "0.42.2",
67
- "@happyvertical/smrt-tenancy": "0.42.2",
68
- "@happyvertical/smrt-types": "0.42.2",
69
- "@happyvertical/smrt-ui": "0.42.2",
70
- "@happyvertical/smrt-users": "0.42.2"
65
+ "@happyvertical/smrt-core": "0.42.3",
66
+ "@happyvertical/smrt-types": "0.42.3",
67
+ "@happyvertical/smrt-tenancy": "0.42.3",
68
+ "@happyvertical/smrt-secrets": "0.42.3",
69
+ "@happyvertical/smrt-ui": "0.42.3",
70
+ "@happyvertical/smrt-users": "0.42.3"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@happyvertical/encryption": "*",
@@ -90,7 +90,7 @@
90
90
  "typescript": "5.9.3",
91
91
  "vite": "8.1.4",
92
92
  "vitest": "4.1.10",
93
- "@happyvertical/smrt-vitest": "0.42.2"
93
+ "@happyvertical/smrt-vitest": "0.42.3"
94
94
  },
95
95
  "keywords": [
96
96
  "email",