@happyvertical/smrt-users 0.40.70 → 0.42.0
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/AGENTS.md +6 -0
- package/dist/chunks/{TerminalAuthService-C1PVcd6q.js → TerminalAuthService-BfX2Ujqe.js} +664 -643
- package/dist/chunks/TerminalAuthService-BfX2Ujqe.js.map +1 -0
- package/dist/collections/CliAuthRequestCollection.d.ts +10 -1
- package/dist/collections/CliAuthRequestCollection.d.ts.map +1 -1
- package/dist/collections/MagicLinkTokenCollection.d.ts +10 -1
- package/dist/collections/MagicLinkTokenCollection.d.ts.map +1 -1
- package/dist/collections/SessionCollection.d.ts +10 -2
- package/dist/collections/SessionCollection.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +149 -101
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +390 -205
- package/dist/models/CliAuthRequest.d.ts +18 -3
- package/dist/models/CliAuthRequest.d.ts.map +1 -1
- package/dist/models/MagicLinkToken.d.ts +6 -1
- package/dist/models/MagicLinkToken.d.ts.map +1 -1
- package/dist/models/Session.d.ts +3 -0
- package/dist/models/Session.d.ts.map +1 -1
- package/dist/models/User.d.ts +7 -1
- package/dist/models/User.d.ts.map +1 -1
- package/dist/retention.d.ts +47 -0
- package/dist/retention.d.ts.map +1 -0
- package/dist/smrt-knowledge.json +22 -5
- package/dist/sveltekit.js +1 -1
- package/package.json +9 -9
- package/dist/chunks/TerminalAuthService-C1PVcd6q.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-users",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.42.0",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-users:AccessRequestCollection": {
|
|
8
8
|
"name": "accessrequestcollection",
|
|
@@ -102,12 +102,6 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"indexes": [
|
|
105
|
-
{
|
|
106
|
-
"name": "access_requests_id_idx",
|
|
107
|
-
"columns": [
|
|
108
|
-
"id"
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
105
|
{
|
|
112
106
|
"name": "access_requests_slug_context_idx",
|
|
113
107
|
"columns": [
|
|
@@ -115,6 +109,12 @@
|
|
|
115
109
|
"context"
|
|
116
110
|
],
|
|
117
111
|
"unique": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "access_requests_created_at_idx",
|
|
115
|
+
"columns": [
|
|
116
|
+
"created_at"
|
|
117
|
+
]
|
|
118
118
|
}
|
|
119
119
|
],
|
|
120
120
|
"version": "c7691cc2"
|
|
@@ -160,7 +160,13 @@
|
|
|
160
160
|
"deleteExpired": {
|
|
161
161
|
"name": "deleteExpired",
|
|
162
162
|
"async": true,
|
|
163
|
-
"parameters": [
|
|
163
|
+
"parameters": [
|
|
164
|
+
{
|
|
165
|
+
"name": "options",
|
|
166
|
+
"type": "object",
|
|
167
|
+
"optional": true
|
|
168
|
+
}
|
|
169
|
+
],
|
|
164
170
|
"returnType": "Promise<number>",
|
|
165
171
|
"isStatic": false,
|
|
166
172
|
"isPublic": true
|
|
@@ -204,12 +210,6 @@
|
|
|
204
210
|
}
|
|
205
211
|
},
|
|
206
212
|
"indexes": [
|
|
207
|
-
{
|
|
208
|
-
"name": "users_cli_auth_requests_id_idx",
|
|
209
|
-
"columns": [
|
|
210
|
-
"id"
|
|
211
|
-
]
|
|
212
|
-
},
|
|
213
213
|
{
|
|
214
214
|
"name": "users_cli_auth_requests_slug_context_idx",
|
|
215
215
|
"columns": [
|
|
@@ -217,6 +217,12 @@
|
|
|
217
217
|
"context"
|
|
218
218
|
],
|
|
219
219
|
"unique": true
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "users_cli_auth_requests_created_at_idx",
|
|
223
|
+
"columns": [
|
|
224
|
+
"created_at"
|
|
225
|
+
]
|
|
220
226
|
}
|
|
221
227
|
],
|
|
222
228
|
"version": "0e072f3a"
|
|
@@ -301,12 +307,6 @@
|
|
|
301
307
|
}
|
|
302
308
|
},
|
|
303
309
|
"indexes": [
|
|
304
|
-
{
|
|
305
|
-
"name": "group_collections_id_idx",
|
|
306
|
-
"columns": [
|
|
307
|
-
"id"
|
|
308
|
-
]
|
|
309
|
-
},
|
|
310
310
|
{
|
|
311
311
|
"name": "group_collections_slug_context_idx",
|
|
312
312
|
"columns": [
|
|
@@ -314,6 +314,12 @@
|
|
|
314
314
|
"context"
|
|
315
315
|
],
|
|
316
316
|
"unique": true
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "group_collections_created_at_idx",
|
|
320
|
+
"columns": [
|
|
321
|
+
"created_at"
|
|
322
|
+
]
|
|
317
323
|
}
|
|
318
324
|
],
|
|
319
325
|
"version": "10e23765"
|
|
@@ -497,12 +503,6 @@
|
|
|
497
503
|
}
|
|
498
504
|
},
|
|
499
505
|
"indexes": [
|
|
500
|
-
{
|
|
501
|
-
"name": "group_member_collections_id_idx",
|
|
502
|
-
"columns": [
|
|
503
|
-
"id"
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
506
|
{
|
|
507
507
|
"name": "group_member_collections_slug_context_idx",
|
|
508
508
|
"columns": [
|
|
@@ -510,6 +510,12 @@
|
|
|
510
510
|
"context"
|
|
511
511
|
],
|
|
512
512
|
"unique": true
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "group_member_collections_created_at_idx",
|
|
516
|
+
"columns": [
|
|
517
|
+
"created_at"
|
|
518
|
+
]
|
|
513
519
|
}
|
|
514
520
|
],
|
|
515
521
|
"version": "f61e9ad6"
|
|
@@ -660,12 +666,6 @@
|
|
|
660
666
|
}
|
|
661
667
|
},
|
|
662
668
|
"indexes": [
|
|
663
|
-
{
|
|
664
|
-
"name": "group_role_collections_id_idx",
|
|
665
|
-
"columns": [
|
|
666
|
-
"id"
|
|
667
|
-
]
|
|
668
|
-
},
|
|
669
669
|
{
|
|
670
670
|
"name": "group_role_collections_slug_context_idx",
|
|
671
671
|
"columns": [
|
|
@@ -673,6 +673,12 @@
|
|
|
673
673
|
"context"
|
|
674
674
|
],
|
|
675
675
|
"unique": true
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "group_role_collections_created_at_idx",
|
|
679
|
+
"columns": [
|
|
680
|
+
"created_at"
|
|
681
|
+
]
|
|
676
682
|
}
|
|
677
683
|
],
|
|
678
684
|
"version": "33fdaf49"
|
|
@@ -718,7 +724,13 @@
|
|
|
718
724
|
"deleteExpired": {
|
|
719
725
|
"name": "deleteExpired",
|
|
720
726
|
"async": true,
|
|
721
|
-
"parameters": [
|
|
727
|
+
"parameters": [
|
|
728
|
+
{
|
|
729
|
+
"name": "options",
|
|
730
|
+
"type": "object",
|
|
731
|
+
"optional": true
|
|
732
|
+
}
|
|
733
|
+
],
|
|
722
734
|
"returnType": "Promise<number>",
|
|
723
735
|
"isStatic": false,
|
|
724
736
|
"isPublic": true
|
|
@@ -762,12 +774,6 @@
|
|
|
762
774
|
}
|
|
763
775
|
},
|
|
764
776
|
"indexes": [
|
|
765
|
-
{
|
|
766
|
-
"name": "users_magic_link_tokens_id_idx",
|
|
767
|
-
"columns": [
|
|
768
|
-
"id"
|
|
769
|
-
]
|
|
770
|
-
},
|
|
771
777
|
{
|
|
772
778
|
"name": "users_magic_link_tokens_slug_context_idx",
|
|
773
779
|
"columns": [
|
|
@@ -775,6 +781,12 @@
|
|
|
775
781
|
"context"
|
|
776
782
|
],
|
|
777
783
|
"unique": true
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "users_magic_link_tokens_created_at_idx",
|
|
787
|
+
"columns": [
|
|
788
|
+
"created_at"
|
|
789
|
+
]
|
|
778
790
|
}
|
|
779
791
|
],
|
|
780
792
|
"version": "a8c021f9"
|
|
@@ -929,12 +941,6 @@
|
|
|
929
941
|
}
|
|
930
942
|
},
|
|
931
943
|
"indexes": [
|
|
932
|
-
{
|
|
933
|
-
"name": "membership_collections_id_idx",
|
|
934
|
-
"columns": [
|
|
935
|
-
"id"
|
|
936
|
-
]
|
|
937
|
-
},
|
|
938
944
|
{
|
|
939
945
|
"name": "membership_collections_slug_context_idx",
|
|
940
946
|
"columns": [
|
|
@@ -942,6 +948,12 @@
|
|
|
942
948
|
"context"
|
|
943
949
|
],
|
|
944
950
|
"unique": true
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "membership_collections_created_at_idx",
|
|
954
|
+
"columns": [
|
|
955
|
+
"created_at"
|
|
956
|
+
]
|
|
945
957
|
}
|
|
946
958
|
],
|
|
947
959
|
"version": "8a2577ba"
|
|
@@ -1144,12 +1156,6 @@
|
|
|
1144
1156
|
}
|
|
1145
1157
|
},
|
|
1146
1158
|
"indexes": [
|
|
1147
|
-
{
|
|
1148
|
-
"name": "membership_override_collections_id_idx",
|
|
1149
|
-
"columns": [
|
|
1150
|
-
"id"
|
|
1151
|
-
]
|
|
1152
|
-
},
|
|
1153
1159
|
{
|
|
1154
1160
|
"name": "membership_override_collections_slug_context_idx",
|
|
1155
1161
|
"columns": [
|
|
@@ -1157,6 +1163,12 @@
|
|
|
1157
1163
|
"context"
|
|
1158
1164
|
],
|
|
1159
1165
|
"unique": true
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"name": "membership_override_collections_created_at_idx",
|
|
1169
|
+
"columns": [
|
|
1170
|
+
"created_at"
|
|
1171
|
+
]
|
|
1160
1172
|
}
|
|
1161
1173
|
],
|
|
1162
1174
|
"version": "43ccd4cb"
|
|
@@ -1277,12 +1289,6 @@
|
|
|
1277
1289
|
}
|
|
1278
1290
|
},
|
|
1279
1291
|
"indexes": [
|
|
1280
|
-
{
|
|
1281
|
-
"name": "permission_collections_id_idx",
|
|
1282
|
-
"columns": [
|
|
1283
|
-
"id"
|
|
1284
|
-
]
|
|
1285
|
-
},
|
|
1286
1292
|
{
|
|
1287
1293
|
"name": "permission_collections_slug_context_idx",
|
|
1288
1294
|
"columns": [
|
|
@@ -1290,6 +1296,12 @@
|
|
|
1290
1296
|
"context"
|
|
1291
1297
|
],
|
|
1292
1298
|
"unique": true
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "permission_collections_created_at_idx",
|
|
1302
|
+
"columns": [
|
|
1303
|
+
"created_at"
|
|
1304
|
+
]
|
|
1293
1305
|
}
|
|
1294
1306
|
],
|
|
1295
1307
|
"version": "fc443bec"
|
|
@@ -1424,12 +1436,6 @@
|
|
|
1424
1436
|
}
|
|
1425
1437
|
},
|
|
1426
1438
|
"indexes": [
|
|
1427
|
-
{
|
|
1428
|
-
"name": "role_collections_id_idx",
|
|
1429
|
-
"columns": [
|
|
1430
|
-
"id"
|
|
1431
|
-
]
|
|
1432
|
-
},
|
|
1433
1439
|
{
|
|
1434
1440
|
"name": "role_collections_slug_context_idx",
|
|
1435
1441
|
"columns": [
|
|
@@ -1437,6 +1443,12 @@
|
|
|
1437
1443
|
"context"
|
|
1438
1444
|
],
|
|
1439
1445
|
"unique": true
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "role_collections_created_at_idx",
|
|
1449
|
+
"columns": [
|
|
1450
|
+
"created_at"
|
|
1451
|
+
]
|
|
1440
1452
|
}
|
|
1441
1453
|
],
|
|
1442
1454
|
"version": "b6b325e0"
|
|
@@ -1620,12 +1632,6 @@
|
|
|
1620
1632
|
}
|
|
1621
1633
|
},
|
|
1622
1634
|
"indexes": [
|
|
1623
|
-
{
|
|
1624
|
-
"name": "role_permission_collections_id_idx",
|
|
1625
|
-
"columns": [
|
|
1626
|
-
"id"
|
|
1627
|
-
]
|
|
1628
|
-
},
|
|
1629
1635
|
{
|
|
1630
1636
|
"name": "role_permission_collections_slug_context_idx",
|
|
1631
1637
|
"columns": [
|
|
@@ -1633,6 +1639,12 @@
|
|
|
1633
1639
|
"context"
|
|
1634
1640
|
],
|
|
1635
1641
|
"unique": true
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "role_permission_collections_created_at_idx",
|
|
1645
|
+
"columns": [
|
|
1646
|
+
"created_at"
|
|
1647
|
+
]
|
|
1636
1648
|
}
|
|
1637
1649
|
],
|
|
1638
1650
|
"version": "b4ec602b"
|
|
@@ -1758,7 +1770,13 @@
|
|
|
1758
1770
|
"deleteExpired": {
|
|
1759
1771
|
"name": "deleteExpired",
|
|
1760
1772
|
"async": true,
|
|
1761
|
-
"parameters": [
|
|
1773
|
+
"parameters": [
|
|
1774
|
+
{
|
|
1775
|
+
"name": "options",
|
|
1776
|
+
"type": "object",
|
|
1777
|
+
"optional": true
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1762
1780
|
"returnType": "Promise<number>",
|
|
1763
1781
|
"isStatic": false,
|
|
1764
1782
|
"isPublic": true
|
|
@@ -1876,12 +1894,6 @@
|
|
|
1876
1894
|
}
|
|
1877
1895
|
},
|
|
1878
1896
|
"indexes": [
|
|
1879
|
-
{
|
|
1880
|
-
"name": "session_collections_id_idx",
|
|
1881
|
-
"columns": [
|
|
1882
|
-
"id"
|
|
1883
|
-
]
|
|
1884
|
-
},
|
|
1885
1897
|
{
|
|
1886
1898
|
"name": "session_collections_slug_context_idx",
|
|
1887
1899
|
"columns": [
|
|
@@ -1889,6 +1901,12 @@
|
|
|
1889
1901
|
"context"
|
|
1890
1902
|
],
|
|
1891
1903
|
"unique": true
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"name": "session_collections_created_at_idx",
|
|
1907
|
+
"columns": [
|
|
1908
|
+
"created_at"
|
|
1909
|
+
]
|
|
1892
1910
|
}
|
|
1893
1911
|
],
|
|
1894
1912
|
"version": "ec13164c"
|
|
@@ -2200,12 +2218,6 @@
|
|
|
2200
2218
|
}
|
|
2201
2219
|
},
|
|
2202
2220
|
"indexes": [
|
|
2203
|
-
{
|
|
2204
|
-
"name": "tenant_collections_id_idx",
|
|
2205
|
-
"columns": [
|
|
2206
|
-
"id"
|
|
2207
|
-
]
|
|
2208
|
-
},
|
|
2209
2221
|
{
|
|
2210
2222
|
"name": "tenant_collections_slug_context_idx",
|
|
2211
2223
|
"columns": [
|
|
@@ -2213,6 +2225,12 @@
|
|
|
2213
2225
|
"context"
|
|
2214
2226
|
],
|
|
2215
2227
|
"unique": true
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "tenant_collections_created_at_idx",
|
|
2231
|
+
"columns": [
|
|
2232
|
+
"created_at"
|
|
2233
|
+
]
|
|
2216
2234
|
}
|
|
2217
2235
|
],
|
|
2218
2236
|
"version": "bcfa1eef"
|
|
@@ -2318,12 +2336,6 @@
|
|
|
2318
2336
|
}
|
|
2319
2337
|
},
|
|
2320
2338
|
"indexes": [
|
|
2321
|
-
{
|
|
2322
|
-
"name": "tenant_integrations_id_idx",
|
|
2323
|
-
"columns": [
|
|
2324
|
-
"id"
|
|
2325
|
-
]
|
|
2326
|
-
},
|
|
2327
2339
|
{
|
|
2328
2340
|
"name": "tenant_integrations_slug_context_idx",
|
|
2329
2341
|
"columns": [
|
|
@@ -2331,6 +2343,12 @@
|
|
|
2331
2343
|
"context"
|
|
2332
2344
|
],
|
|
2333
2345
|
"unique": true
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"name": "tenant_integrations_created_at_idx",
|
|
2349
|
+
"columns": [
|
|
2350
|
+
"created_at"
|
|
2351
|
+
]
|
|
2334
2352
|
}
|
|
2335
2353
|
],
|
|
2336
2354
|
"version": "a3261f8f"
|
|
@@ -2646,12 +2664,6 @@
|
|
|
2646
2664
|
}
|
|
2647
2665
|
},
|
|
2648
2666
|
"indexes": [
|
|
2649
|
-
{
|
|
2650
|
-
"name": "tenant_permission_override_collections_id_idx",
|
|
2651
|
-
"columns": [
|
|
2652
|
-
"id"
|
|
2653
|
-
]
|
|
2654
|
-
},
|
|
2655
2667
|
{
|
|
2656
2668
|
"name": "tenant_permission_override_collections_slug_context_idx",
|
|
2657
2669
|
"columns": [
|
|
@@ -2659,6 +2671,12 @@
|
|
|
2659
2671
|
"context"
|
|
2660
2672
|
],
|
|
2661
2673
|
"unique": true
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"name": "tenant_permission_override_collections_created_at_idx",
|
|
2677
|
+
"columns": [
|
|
2678
|
+
"created_at"
|
|
2679
|
+
]
|
|
2662
2680
|
}
|
|
2663
2681
|
],
|
|
2664
2682
|
"version": "e6b5a0b6"
|
|
@@ -2816,12 +2834,6 @@
|
|
|
2816
2834
|
}
|
|
2817
2835
|
},
|
|
2818
2836
|
"indexes": [
|
|
2819
|
-
{
|
|
2820
|
-
"name": "user_collections_id_idx",
|
|
2821
|
-
"columns": [
|
|
2822
|
-
"id"
|
|
2823
|
-
]
|
|
2824
|
-
},
|
|
2825
2837
|
{
|
|
2826
2838
|
"name": "user_collections_slug_context_idx",
|
|
2827
2839
|
"columns": [
|
|
@@ -2829,6 +2841,12 @@
|
|
|
2829
2841
|
"context"
|
|
2830
2842
|
],
|
|
2831
2843
|
"unique": true
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"name": "user_collections_created_at_idx",
|
|
2847
|
+
"columns": [
|
|
2848
|
+
"created_at"
|
|
2849
|
+
]
|
|
2832
2850
|
}
|
|
2833
2851
|
],
|
|
2834
2852
|
"version": "539fdcc8"
|
|
@@ -3103,18 +3121,12 @@
|
|
|
3103
3121
|
},
|
|
3104
3122
|
"indexes": [
|
|
3105
3123
|
{
|
|
3106
|
-
"name": "
|
|
3124
|
+
"name": "access_requests_slug_context_idx",
|
|
3107
3125
|
"columns": [
|
|
3108
|
-
"
|
|
3126
|
+
"slug",
|
|
3127
|
+
"context"
|
|
3109
3128
|
]
|
|
3110
3129
|
},
|
|
3111
|
-
{
|
|
3112
|
-
"name": "access_requests_id_idx",
|
|
3113
|
-
"columns": [
|
|
3114
|
-
"id"
|
|
3115
|
-
],
|
|
3116
|
-
"unique": true
|
|
3117
|
-
},
|
|
3118
3130
|
{
|
|
3119
3131
|
"name": "access_requests_email_idx",
|
|
3120
3132
|
"columns": [
|
|
@@ -3132,6 +3144,12 @@
|
|
|
3132
3144
|
"columns": [
|
|
3133
3145
|
"source"
|
|
3134
3146
|
]
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"name": "access_requests_created_at_idx",
|
|
3150
|
+
"columns": [
|
|
3151
|
+
"created_at"
|
|
3152
|
+
]
|
|
3135
3153
|
}
|
|
3136
3154
|
],
|
|
3137
3155
|
"version": "f396996f"
|
|
@@ -3148,12 +3166,16 @@
|
|
|
3148
3166
|
"userCode": {
|
|
3149
3167
|
"type": "text",
|
|
3150
3168
|
"required": false,
|
|
3151
|
-
"_meta": {
|
|
3169
|
+
"_meta": {
|
|
3170
|
+
"indexed": true
|
|
3171
|
+
}
|
|
3152
3172
|
},
|
|
3153
3173
|
"deviceCodeHash": {
|
|
3154
3174
|
"type": "text",
|
|
3155
3175
|
"required": false,
|
|
3156
|
-
"_meta": {
|
|
3176
|
+
"_meta": {
|
|
3177
|
+
"indexed": true
|
|
3178
|
+
}
|
|
3157
3179
|
},
|
|
3158
3180
|
"status": {
|
|
3159
3181
|
"type": "text",
|
|
@@ -3178,7 +3200,9 @@
|
|
|
3178
3200
|
"expiresAt": {
|
|
3179
3201
|
"type": "datetime",
|
|
3180
3202
|
"required": false,
|
|
3181
|
-
"_meta": {
|
|
3203
|
+
"_meta": {
|
|
3204
|
+
"indexed": true
|
|
3205
|
+
}
|
|
3182
3206
|
},
|
|
3183
3207
|
"approvedAt": {
|
|
3184
3208
|
"type": "datetime",
|
|
@@ -3275,12 +3299,6 @@
|
|
|
3275
3299
|
}
|
|
3276
3300
|
},
|
|
3277
3301
|
"indexes": [
|
|
3278
|
-
{
|
|
3279
|
-
"name": "users_cli_auth_requests_id_idx",
|
|
3280
|
-
"columns": [
|
|
3281
|
-
"id"
|
|
3282
|
-
]
|
|
3283
|
-
},
|
|
3284
3302
|
{
|
|
3285
3303
|
"name": "users_cli_auth_requests_slug_context_idx",
|
|
3286
3304
|
"columns": [
|
|
@@ -3288,6 +3306,30 @@
|
|
|
3288
3306
|
"context"
|
|
3289
3307
|
],
|
|
3290
3308
|
"unique": true
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"name": "users_cli_auth_requests_user_code_idx",
|
|
3312
|
+
"columns": [
|
|
3313
|
+
"user_code"
|
|
3314
|
+
]
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"name": "users_cli_auth_requests_device_code_hash_idx",
|
|
3318
|
+
"columns": [
|
|
3319
|
+
"device_code_hash"
|
|
3320
|
+
]
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
"name": "users_cli_auth_requests_expires_at_idx",
|
|
3324
|
+
"columns": [
|
|
3325
|
+
"expires_at"
|
|
3326
|
+
]
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"name": "users_cli_auth_requests_created_at_idx",
|
|
3330
|
+
"columns": [
|
|
3331
|
+
"created_at"
|
|
3332
|
+
]
|
|
3291
3333
|
}
|
|
3292
3334
|
],
|
|
3293
3335
|
"version": "d994ea55"
|
|
@@ -3395,12 +3437,6 @@
|
|
|
3395
3437
|
}
|
|
3396
3438
|
},
|
|
3397
3439
|
"indexes": [
|
|
3398
|
-
{
|
|
3399
|
-
"name": "groups_id_idx",
|
|
3400
|
-
"columns": [
|
|
3401
|
-
"id"
|
|
3402
|
-
]
|
|
3403
|
-
},
|
|
3404
3440
|
{
|
|
3405
3441
|
"name": "groups_slug_context_idx",
|
|
3406
3442
|
"columns": [
|
|
@@ -3408,6 +3444,18 @@
|
|
|
3408
3444
|
"context"
|
|
3409
3445
|
],
|
|
3410
3446
|
"unique": true
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"name": "groups_created_at_idx",
|
|
3450
|
+
"columns": [
|
|
3451
|
+
"created_at"
|
|
3452
|
+
]
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
"name": "groups_tenant_id_idx",
|
|
3456
|
+
"columns": [
|
|
3457
|
+
"tenant_id"
|
|
3458
|
+
]
|
|
3411
3459
|
}
|
|
3412
3460
|
],
|
|
3413
3461
|
"version": "5a6913b2"
|
|
@@ -3512,12 +3560,6 @@
|
|
|
3512
3560
|
}
|
|
3513
3561
|
},
|
|
3514
3562
|
"indexes": [
|
|
3515
|
-
{
|
|
3516
|
-
"name": "group_members_id_idx",
|
|
3517
|
-
"columns": [
|
|
3518
|
-
"id"
|
|
3519
|
-
]
|
|
3520
|
-
},
|
|
3521
3563
|
{
|
|
3522
3564
|
"name": "group_members_slug_context_idx",
|
|
3523
3565
|
"columns": [
|
|
@@ -3525,6 +3567,24 @@
|
|
|
3525
3567
|
"context"
|
|
3526
3568
|
],
|
|
3527
3569
|
"unique": true
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
"name": "group_members_created_at_idx",
|
|
3573
|
+
"columns": [
|
|
3574
|
+
"created_at"
|
|
3575
|
+
]
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
"name": "group_members_group_id_idx",
|
|
3579
|
+
"columns": [
|
|
3580
|
+
"group_id"
|
|
3581
|
+
]
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
"name": "group_members_user_id_idx",
|
|
3585
|
+
"columns": [
|
|
3586
|
+
"user_id"
|
|
3587
|
+
]
|
|
3528
3588
|
}
|
|
3529
3589
|
],
|
|
3530
3590
|
"version": "77f49385"
|
|
@@ -3629,12 +3689,6 @@
|
|
|
3629
3689
|
}
|
|
3630
3690
|
},
|
|
3631
3691
|
"indexes": [
|
|
3632
|
-
{
|
|
3633
|
-
"name": "group_roles_id_idx",
|
|
3634
|
-
"columns": [
|
|
3635
|
-
"id"
|
|
3636
|
-
]
|
|
3637
|
-
},
|
|
3638
3692
|
{
|
|
3639
3693
|
"name": "group_roles_slug_context_idx",
|
|
3640
3694
|
"columns": [
|
|
@@ -3642,6 +3696,24 @@
|
|
|
3642
3696
|
"context"
|
|
3643
3697
|
],
|
|
3644
3698
|
"unique": true
|
|
3699
|
+
},
|
|
3700
|
+
{
|
|
3701
|
+
"name": "group_roles_created_at_idx",
|
|
3702
|
+
"columns": [
|
|
3703
|
+
"created_at"
|
|
3704
|
+
]
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"name": "group_roles_group_id_idx",
|
|
3708
|
+
"columns": [
|
|
3709
|
+
"group_id"
|
|
3710
|
+
]
|
|
3711
|
+
},
|
|
3712
|
+
{
|
|
3713
|
+
"name": "group_roles_role_id_idx",
|
|
3714
|
+
"columns": [
|
|
3715
|
+
"role_id"
|
|
3716
|
+
]
|
|
3645
3717
|
}
|
|
3646
3718
|
],
|
|
3647
3719
|
"version": "75d06c96"
|
|
@@ -3676,7 +3748,10 @@
|
|
|
3676
3748
|
},
|
|
3677
3749
|
"expiresAt": {
|
|
3678
3750
|
"type": "datetime",
|
|
3679
|
-
"required": false
|
|
3751
|
+
"required": false,
|
|
3752
|
+
"_meta": {
|
|
3753
|
+
"indexed": true
|
|
3754
|
+
}
|
|
3680
3755
|
}
|
|
3681
3756
|
},
|
|
3682
3757
|
"methods": {
|
|
@@ -3771,12 +3846,6 @@
|
|
|
3771
3846
|
}
|
|
3772
3847
|
},
|
|
3773
3848
|
"indexes": [
|
|
3774
|
-
{
|
|
3775
|
-
"name": "users_magic_link_tokens_id_idx",
|
|
3776
|
-
"columns": [
|
|
3777
|
-
"id"
|
|
3778
|
-
]
|
|
3779
|
-
},
|
|
3780
3849
|
{
|
|
3781
3850
|
"name": "users_magic_link_tokens_slug_context_idx",
|
|
3782
3851
|
"columns": [
|
|
@@ -3784,6 +3853,18 @@
|
|
|
3784
3853
|
"context"
|
|
3785
3854
|
],
|
|
3786
3855
|
"unique": true
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"name": "users_magic_link_tokens_expires_at_idx",
|
|
3859
|
+
"columns": [
|
|
3860
|
+
"expires_at"
|
|
3861
|
+
]
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"name": "users_magic_link_tokens_created_at_idx",
|
|
3865
|
+
"columns": [
|
|
3866
|
+
"created_at"
|
|
3867
|
+
]
|
|
3787
3868
|
}
|
|
3788
3869
|
],
|
|
3789
3870
|
"version": "537853d3"
|
|
@@ -3934,12 +4015,6 @@
|
|
|
3934
4015
|
}
|
|
3935
4016
|
},
|
|
3936
4017
|
"indexes": [
|
|
3937
|
-
{
|
|
3938
|
-
"name": "memberships_id_idx",
|
|
3939
|
-
"columns": [
|
|
3940
|
-
"id"
|
|
3941
|
-
]
|
|
3942
|
-
},
|
|
3943
4018
|
{
|
|
3944
4019
|
"name": "memberships_slug_context_idx",
|
|
3945
4020
|
"columns": [
|
|
@@ -3947,6 +4022,30 @@
|
|
|
3947
4022
|
"context"
|
|
3948
4023
|
],
|
|
3949
4024
|
"unique": true
|
|
4025
|
+
},
|
|
4026
|
+
{
|
|
4027
|
+
"name": "memberships_created_at_idx",
|
|
4028
|
+
"columns": [
|
|
4029
|
+
"created_at"
|
|
4030
|
+
]
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
"name": "memberships_user_id_idx",
|
|
4034
|
+
"columns": [
|
|
4035
|
+
"user_id"
|
|
4036
|
+
]
|
|
4037
|
+
},
|
|
4038
|
+
{
|
|
4039
|
+
"name": "memberships_tenant_id_idx",
|
|
4040
|
+
"columns": [
|
|
4041
|
+
"tenant_id"
|
|
4042
|
+
]
|
|
4043
|
+
},
|
|
4044
|
+
{
|
|
4045
|
+
"name": "memberships_role_id_idx",
|
|
4046
|
+
"columns": [
|
|
4047
|
+
"role_id"
|
|
4048
|
+
]
|
|
3950
4049
|
}
|
|
3951
4050
|
],
|
|
3952
4051
|
"version": "23fdb25d"
|
|
@@ -4078,12 +4177,6 @@
|
|
|
4078
4177
|
}
|
|
4079
4178
|
},
|
|
4080
4179
|
"indexes": [
|
|
4081
|
-
{
|
|
4082
|
-
"name": "membership_overrides_id_idx",
|
|
4083
|
-
"columns": [
|
|
4084
|
-
"id"
|
|
4085
|
-
]
|
|
4086
|
-
},
|
|
4087
4180
|
{
|
|
4088
4181
|
"name": "membership_overrides_slug_context_idx",
|
|
4089
4182
|
"columns": [
|
|
@@ -4091,6 +4184,24 @@
|
|
|
4091
4184
|
"context"
|
|
4092
4185
|
],
|
|
4093
4186
|
"unique": true
|
|
4187
|
+
},
|
|
4188
|
+
{
|
|
4189
|
+
"name": "membership_overrides_created_at_idx",
|
|
4190
|
+
"columns": [
|
|
4191
|
+
"created_at"
|
|
4192
|
+
]
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"name": "membership_overrides_membership_id_idx",
|
|
4196
|
+
"columns": [
|
|
4197
|
+
"membership_id"
|
|
4198
|
+
]
|
|
4199
|
+
},
|
|
4200
|
+
{
|
|
4201
|
+
"name": "membership_overrides_permission_id_idx",
|
|
4202
|
+
"columns": [
|
|
4203
|
+
"permission_id"
|
|
4204
|
+
]
|
|
4094
4205
|
}
|
|
4095
4206
|
],
|
|
4096
4207
|
"version": "ab60f8f9"
|
|
@@ -4221,12 +4332,6 @@
|
|
|
4221
4332
|
}
|
|
4222
4333
|
},
|
|
4223
4334
|
"indexes": [
|
|
4224
|
-
{
|
|
4225
|
-
"name": "permissions_id_idx",
|
|
4226
|
-
"columns": [
|
|
4227
|
-
"id"
|
|
4228
|
-
]
|
|
4229
|
-
},
|
|
4230
4335
|
{
|
|
4231
4336
|
"name": "permissions_slug_context_idx",
|
|
4232
4337
|
"columns": [
|
|
@@ -4234,6 +4339,12 @@
|
|
|
4234
4339
|
"context"
|
|
4235
4340
|
],
|
|
4236
4341
|
"unique": true
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "permissions_created_at_idx",
|
|
4345
|
+
"columns": [
|
|
4346
|
+
"created_at"
|
|
4347
|
+
]
|
|
4237
4348
|
}
|
|
4238
4349
|
],
|
|
4239
4350
|
"version": "4c81b2af"
|
|
@@ -4389,12 +4500,6 @@
|
|
|
4389
4500
|
}
|
|
4390
4501
|
},
|
|
4391
4502
|
"indexes": [
|
|
4392
|
-
{
|
|
4393
|
-
"name": "roles_id_idx",
|
|
4394
|
-
"columns": [
|
|
4395
|
-
"id"
|
|
4396
|
-
]
|
|
4397
|
-
},
|
|
4398
4503
|
{
|
|
4399
4504
|
"name": "roles_slug_context_idx",
|
|
4400
4505
|
"columns": [
|
|
@@ -4402,6 +4507,18 @@
|
|
|
4402
4507
|
"context"
|
|
4403
4508
|
],
|
|
4404
4509
|
"unique": true
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"name": "roles_created_at_idx",
|
|
4513
|
+
"columns": [
|
|
4514
|
+
"created_at"
|
|
4515
|
+
]
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
"name": "roles_tenant_id_idx",
|
|
4519
|
+
"columns": [
|
|
4520
|
+
"tenant_id"
|
|
4521
|
+
]
|
|
4405
4522
|
}
|
|
4406
4523
|
],
|
|
4407
4524
|
"version": "6c08582e"
|
|
@@ -4506,12 +4623,6 @@
|
|
|
4506
4623
|
}
|
|
4507
4624
|
},
|
|
4508
4625
|
"indexes": [
|
|
4509
|
-
{
|
|
4510
|
-
"name": "role_permissions_id_idx",
|
|
4511
|
-
"columns": [
|
|
4512
|
-
"id"
|
|
4513
|
-
]
|
|
4514
|
-
},
|
|
4515
4626
|
{
|
|
4516
4627
|
"name": "role_permissions_slug_context_idx",
|
|
4517
4628
|
"columns": [
|
|
@@ -4519,6 +4630,24 @@
|
|
|
4519
4630
|
"context"
|
|
4520
4631
|
],
|
|
4521
4632
|
"unique": true
|
|
4633
|
+
},
|
|
4634
|
+
{
|
|
4635
|
+
"name": "role_permissions_created_at_idx",
|
|
4636
|
+
"columns": [
|
|
4637
|
+
"created_at"
|
|
4638
|
+
]
|
|
4639
|
+
},
|
|
4640
|
+
{
|
|
4641
|
+
"name": "role_permissions_role_id_idx",
|
|
4642
|
+
"columns": [
|
|
4643
|
+
"role_id"
|
|
4644
|
+
]
|
|
4645
|
+
},
|
|
4646
|
+
{
|
|
4647
|
+
"name": "role_permissions_permission_id_idx",
|
|
4648
|
+
"columns": [
|
|
4649
|
+
"permission_id"
|
|
4650
|
+
]
|
|
4522
4651
|
}
|
|
4523
4652
|
],
|
|
4524
4653
|
"version": "453cc12c"
|
|
@@ -4552,7 +4681,10 @@
|
|
|
4552
4681
|
},
|
|
4553
4682
|
"expiresAt": {
|
|
4554
4683
|
"type": "datetime",
|
|
4555
|
-
"required": false
|
|
4684
|
+
"required": false,
|
|
4685
|
+
"_meta": {
|
|
4686
|
+
"indexed": true
|
|
4687
|
+
}
|
|
4556
4688
|
},
|
|
4557
4689
|
"userAgent": {
|
|
4558
4690
|
"type": "text",
|
|
@@ -4782,12 +4914,6 @@
|
|
|
4782
4914
|
}
|
|
4783
4915
|
},
|
|
4784
4916
|
"indexes": [
|
|
4785
|
-
{
|
|
4786
|
-
"name": "sessions_id_idx",
|
|
4787
|
-
"columns": [
|
|
4788
|
-
"id"
|
|
4789
|
-
]
|
|
4790
|
-
},
|
|
4791
4917
|
{
|
|
4792
4918
|
"name": "sessions_slug_context_idx",
|
|
4793
4919
|
"columns": [
|
|
@@ -4795,6 +4921,30 @@
|
|
|
4795
4921
|
"context"
|
|
4796
4922
|
],
|
|
4797
4923
|
"unique": true
|
|
4924
|
+
},
|
|
4925
|
+
{
|
|
4926
|
+
"name": "sessions_expires_at_idx",
|
|
4927
|
+
"columns": [
|
|
4928
|
+
"expires_at"
|
|
4929
|
+
]
|
|
4930
|
+
},
|
|
4931
|
+
{
|
|
4932
|
+
"name": "sessions_created_at_idx",
|
|
4933
|
+
"columns": [
|
|
4934
|
+
"created_at"
|
|
4935
|
+
]
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
"name": "sessions_user_id_idx",
|
|
4939
|
+
"columns": [
|
|
4940
|
+
"user_id"
|
|
4941
|
+
]
|
|
4942
|
+
},
|
|
4943
|
+
{
|
|
4944
|
+
"name": "sessions_tenant_id_idx",
|
|
4945
|
+
"columns": [
|
|
4946
|
+
"tenant_id"
|
|
4947
|
+
]
|
|
4798
4948
|
}
|
|
4799
4949
|
],
|
|
4800
4950
|
"version": "692d8b0f"
|
|
@@ -5496,12 +5646,6 @@
|
|
|
5496
5646
|
}
|
|
5497
5647
|
},
|
|
5498
5648
|
"indexes": [
|
|
5499
|
-
{
|
|
5500
|
-
"name": "tenants_id_idx",
|
|
5501
|
-
"columns": [
|
|
5502
|
-
"id"
|
|
5503
|
-
]
|
|
5504
|
-
},
|
|
5505
5649
|
{
|
|
5506
5650
|
"name": "tenants_slug_context_meta_type_idx",
|
|
5507
5651
|
"columns": [
|
|
@@ -5516,6 +5660,18 @@
|
|
|
5516
5660
|
"columns": [
|
|
5517
5661
|
"_meta_type"
|
|
5518
5662
|
]
|
|
5663
|
+
},
|
|
5664
|
+
{
|
|
5665
|
+
"name": "tenants_created_at_idx",
|
|
5666
|
+
"columns": [
|
|
5667
|
+
"created_at"
|
|
5668
|
+
]
|
|
5669
|
+
},
|
|
5670
|
+
{
|
|
5671
|
+
"name": "tenants_parent_tenant_id_idx",
|
|
5672
|
+
"columns": [
|
|
5673
|
+
"parent_tenant_id"
|
|
5674
|
+
]
|
|
5519
5675
|
}
|
|
5520
5676
|
],
|
|
5521
5677
|
"version": "35dbdaec"
|
|
@@ -5776,12 +5932,6 @@
|
|
|
5776
5932
|
}
|
|
5777
5933
|
},
|
|
5778
5934
|
"indexes": [
|
|
5779
|
-
{
|
|
5780
|
-
"name": "tenant_integrations_id_idx",
|
|
5781
|
-
"columns": [
|
|
5782
|
-
"id"
|
|
5783
|
-
]
|
|
5784
|
-
},
|
|
5785
5935
|
{
|
|
5786
5936
|
"name": "tenant_integrations_tenant_id_provider_idx",
|
|
5787
5937
|
"columns": [
|
|
@@ -5789,6 +5939,20 @@
|
|
|
5789
5939
|
"provider"
|
|
5790
5940
|
],
|
|
5791
5941
|
"unique": true
|
|
5942
|
+
},
|
|
5943
|
+
{
|
|
5944
|
+
"name": "tenant_integrations_slug_context_idx",
|
|
5945
|
+
"columns": [
|
|
5946
|
+
"slug",
|
|
5947
|
+
"context"
|
|
5948
|
+
]
|
|
5949
|
+
},
|
|
5950
|
+
{
|
|
5951
|
+
"name": "tenant_integrations_tenant_id_created_at_idx",
|
|
5952
|
+
"columns": [
|
|
5953
|
+
"tenant_id",
|
|
5954
|
+
"created_at"
|
|
5955
|
+
]
|
|
5792
5956
|
}
|
|
5793
5957
|
],
|
|
5794
5958
|
"version": "3ed31966"
|
|
@@ -5936,12 +6100,6 @@
|
|
|
5936
6100
|
}
|
|
5937
6101
|
},
|
|
5938
6102
|
"indexes": [
|
|
5939
|
-
{
|
|
5940
|
-
"name": "tenant_permission_overrides_id_idx",
|
|
5941
|
-
"columns": [
|
|
5942
|
-
"id"
|
|
5943
|
-
]
|
|
5944
|
-
},
|
|
5945
6103
|
{
|
|
5946
6104
|
"name": "tenant_permission_overrides_slug_context_idx",
|
|
5947
6105
|
"columns": [
|
|
@@ -5949,6 +6107,24 @@
|
|
|
5949
6107
|
"context"
|
|
5950
6108
|
],
|
|
5951
6109
|
"unique": true
|
|
6110
|
+
},
|
|
6111
|
+
{
|
|
6112
|
+
"name": "tenant_permission_overrides_created_at_idx",
|
|
6113
|
+
"columns": [
|
|
6114
|
+
"created_at"
|
|
6115
|
+
]
|
|
6116
|
+
},
|
|
6117
|
+
{
|
|
6118
|
+
"name": "tenant_permission_overrides_tenant_id_idx",
|
|
6119
|
+
"columns": [
|
|
6120
|
+
"tenant_id"
|
|
6121
|
+
]
|
|
6122
|
+
},
|
|
6123
|
+
{
|
|
6124
|
+
"name": "tenant_permission_overrides_permission_id_idx",
|
|
6125
|
+
"columns": [
|
|
6126
|
+
"permission_id"
|
|
6127
|
+
]
|
|
5952
6128
|
}
|
|
5953
6129
|
],
|
|
5954
6130
|
"version": "f3bec965"
|
|
@@ -5973,7 +6149,10 @@
|
|
|
5973
6149
|
"email": {
|
|
5974
6150
|
"type": "text",
|
|
5975
6151
|
"required": false,
|
|
5976
|
-
"default": ""
|
|
6152
|
+
"default": "",
|
|
6153
|
+
"_meta": {
|
|
6154
|
+
"indexed": true
|
|
6155
|
+
}
|
|
5977
6156
|
},
|
|
5978
6157
|
"emailKey": {
|
|
5979
6158
|
"type": "text",
|
|
@@ -6121,12 +6300,6 @@
|
|
|
6121
6300
|
}
|
|
6122
6301
|
},
|
|
6123
6302
|
"indexes": [
|
|
6124
|
-
{
|
|
6125
|
-
"name": "users_id_idx",
|
|
6126
|
-
"columns": [
|
|
6127
|
-
"id"
|
|
6128
|
-
]
|
|
6129
|
-
},
|
|
6130
6303
|
{
|
|
6131
6304
|
"name": "users_slug_context_idx",
|
|
6132
6305
|
"columns": [
|
|
@@ -6134,6 +6307,18 @@
|
|
|
6134
6307
|
"context"
|
|
6135
6308
|
],
|
|
6136
6309
|
"unique": true
|
|
6310
|
+
},
|
|
6311
|
+
{
|
|
6312
|
+
"name": "users_email_idx",
|
|
6313
|
+
"columns": [
|
|
6314
|
+
"email"
|
|
6315
|
+
]
|
|
6316
|
+
},
|
|
6317
|
+
{
|
|
6318
|
+
"name": "users_created_at_idx",
|
|
6319
|
+
"columns": [
|
|
6320
|
+
"created_at"
|
|
6321
|
+
]
|
|
6137
6322
|
}
|
|
6138
6323
|
],
|
|
6139
6324
|
"version": "38fd1677"
|