@happyvertical/smrt-profiles 0.39.13 → 0.39.15
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 +69 -5
- package/README.md +101 -50
- package/dist/chunks/{ApiKey-BrNyaaZN.js → ApiKey-Br9NGBnr.js} +3 -3
- package/dist/chunks/{ApiKey-BrNyaaZN.js.map → ApiKey-Br9NGBnr.js.map} +1 -1
- package/dist/chunks/{ApiKeyCollection-DNhDkS7O.js → ApiKeyCollection-CrTjdMz8.js} +3 -3
- package/dist/chunks/{ApiKeyCollection-DNhDkS7O.js.map → ApiKeyCollection-CrTjdMz8.js.map} +1 -1
- package/dist/chunks/{AuditLogCollection-CnIYU0aK.js → AuditLogCollection-BBIEI6BD.js} +2 -2
- package/dist/chunks/{AuditLogCollection-CnIYU0aK.js.map → AuditLogCollection-BBIEI6BD.js.map} +1 -1
- package/dist/chunks/{NostrIdentityCollection-CG6HGf6c.js → NostrIdentity-DF_a_WZk.js} +6 -125
- package/dist/chunks/NostrIdentity-DF_a_WZk.js.map +1 -0
- package/dist/chunks/NostrIdentityCollection-BRYUgt47.js +124 -0
- package/dist/chunks/NostrIdentityCollection-BRYUgt47.js.map +1 -0
- package/dist/chunks/OidcIdentity-ChkiT6hg.js +111 -0
- package/dist/chunks/OidcIdentity-ChkiT6hg.js.map +1 -0
- package/dist/chunks/OidcIdentityCollection-Ce4yv8p0.js +76 -0
- package/dist/chunks/OidcIdentityCollection-Ce4yv8p0.js.map +1 -0
- package/dist/chunks/{ProfileAssetCollection-DzUwbtTq.js → ProfileAssetCollection-CtlvXbGy.js} +3 -3
- package/dist/chunks/{ProfileAssetCollection-DzUwbtTq.js.map → ProfileAssetCollection-CtlvXbGy.js.map} +1 -1
- package/dist/chunks/ProfileCollection-Bix9yAiy.js +1161 -0
- package/dist/chunks/ProfileCollection-Bix9yAiy.js.map +1 -0
- package/dist/chunks/{ProfileMetadataCollection-CGcO4Iw_.js → ProfileMetadataCollection-loKVv_pj.js} +2 -2
- package/dist/chunks/{ProfileMetadataCollection-CGcO4Iw_.js.map → ProfileMetadataCollection-loKVv_pj.js.map} +1 -1
- package/dist/chunks/{ProfileMetafieldCollection-C8TX9HvN.js → ProfileMetafieldCollection-CACMY1hl.js} +2 -2
- package/dist/chunks/{ProfileMetafieldCollection-C8TX9HvN.js.map → ProfileMetafieldCollection-CACMY1hl.js.map} +1 -1
- package/dist/chunks/{ProfileRelationshipCollection-JnskbZTd.js → ProfileRelationshipCollection-CzQKfvMy.js} +5 -5
- package/dist/chunks/{ProfileRelationshipCollection-JnskbZTd.js.map → ProfileRelationshipCollection-CzQKfvMy.js.map} +1 -1
- package/dist/chunks/{ProfileRelationshipTermCollection-UopP7sja.js → ProfileRelationshipTermCollection-DzmU48P6.js} +2 -2
- package/dist/chunks/{ProfileRelationshipTermCollection-UopP7sja.js.map → ProfileRelationshipTermCollection-DzmU48P6.js.map} +1 -1
- package/dist/chunks/{ProfileRelationshipType-OMBn5cWR.js → ProfileRelationshipType-BjoaCt-u.js} +2 -2
- package/dist/chunks/{ProfileRelationshipType-OMBn5cWR.js.map → ProfileRelationshipType-BjoaCt-u.js.map} +1 -1
- package/dist/chunks/{ProfileRelationshipTypeCollection-CQu08kxF.js → ProfileRelationshipTypeCollection-Bh4xJ4-I.js} +3 -3
- package/dist/chunks/{ProfileRelationshipTypeCollection-CQu08kxF.js.map → ProfileRelationshipTypeCollection-Bh4xJ4-I.js.map} +1 -1
- package/dist/chunks/oidcProvisioningPrimitives-ZuVcDPt-.js +138 -0
- package/dist/chunks/oidcProvisioningPrimitives-ZuVcDPt-.js.map +1 -0
- package/dist/chunks/resolveIdentity-_h_2sGqJ.js +260 -0
- package/dist/chunks/resolveIdentity-_h_2sGqJ.js.map +1 -0
- package/dist/index.d.ts +127 -15
- package/dist/index.js +30 -273
- package/dist/index.js.map +1 -1
- package/dist/internal/oidc-provisioning.d.ts +17 -0
- package/dist/internal/oidc-provisioning.js +13 -0
- package/dist/internal/oidc-provisioning.js.map +1 -0
- package/dist/manifest.json +431 -46
- package/dist/oidc-provisioning.d.ts +83 -0
- package/dist/smrt-knowledge.json +105 -43
- package/dist/types.d.ts +26 -2
- package/dist/utils.d.ts +26 -2
- package/dist/utils.js +4 -4
- package/package.json +10 -6
- package/dist/chunks/NostrIdentityCollection-CG6HGf6c.js.map +0 -1
- package/dist/chunks/OidcIdentityCollection-DiLneB7J.js +0 -158
- package/dist/chunks/OidcIdentityCollection-DiLneB7J.js.map +0 -1
- package/dist/chunks/ProfileCollection-BOMOloTL.js +0 -641
- package/dist/chunks/ProfileCollection-BOMOloTL.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1784008215713,
|
|
4
4
|
"packageName": "@happyvertical/smrt-profiles",
|
|
5
|
-
"packageVersion": "0.39.
|
|
5
|
+
"packageVersion": "0.39.15",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-profiles:ApiKeyCollection": {
|
|
8
8
|
"name": "apikeycollection",
|
|
9
9
|
"className": "ApiKeyCollection",
|
|
10
10
|
"qualifiedName": "@happyvertical/smrt-profiles:ApiKeyCollection",
|
|
11
11
|
"collection": "apikeys",
|
|
12
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
12
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ApiKeyCollection.ts",
|
|
13
13
|
"packageName": "@happyvertical/smrt-profiles",
|
|
14
14
|
"fields": {},
|
|
15
15
|
"methods": {
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"className": "AuditLogCollection",
|
|
187
187
|
"qualifiedName": "@happyvertical/smrt-profiles:AuditLogCollection",
|
|
188
188
|
"collection": "auditlogs",
|
|
189
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
189
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/AuditLogCollection.ts",
|
|
190
190
|
"packageName": "@happyvertical/smrt-profiles",
|
|
191
191
|
"fields": {},
|
|
192
192
|
"methods": {
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
"className": "MagicLinkTokenCollection",
|
|
380
380
|
"qualifiedName": "@happyvertical/smrt-profiles:MagicLinkTokenCollection",
|
|
381
381
|
"collection": "magiclinktokens",
|
|
382
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
382
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/MagicLinkTokenCollection.ts",
|
|
383
383
|
"packageName": "@happyvertical/smrt-profiles",
|
|
384
384
|
"fields": {},
|
|
385
385
|
"methods": {
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
"className": "NostrIdentityCollection",
|
|
600
600
|
"qualifiedName": "@happyvertical/smrt-profiles:NostrIdentityCollection",
|
|
601
601
|
"collection": "nostridentities",
|
|
602
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
602
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/NostrIdentityCollection.ts",
|
|
603
603
|
"packageName": "@happyvertical/smrt-profiles",
|
|
604
604
|
"fields": {},
|
|
605
605
|
"methods": {
|
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
"className": "OidcIdentityCollection",
|
|
836
836
|
"qualifiedName": "@happyvertical/smrt-profiles:OidcIdentityCollection",
|
|
837
837
|
"collection": "oidcidentities",
|
|
838
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
838
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/OidcIdentityCollection.ts",
|
|
839
839
|
"packageName": "@happyvertical/smrt-profiles",
|
|
840
840
|
"fields": {},
|
|
841
841
|
"methods": {
|
|
@@ -986,12 +986,77 @@
|
|
|
986
986
|
"version": "38013ce3"
|
|
987
987
|
}
|
|
988
988
|
},
|
|
989
|
+
"@happyvertical/smrt-profiles:OidcProfileEmailReservationCollection": {
|
|
990
|
+
"name": "oidcprofileemailreservationcollection",
|
|
991
|
+
"className": "OidcProfileEmailReservationCollection",
|
|
992
|
+
"qualifiedName": "@happyvertical/smrt-profiles:OidcProfileEmailReservationCollection",
|
|
993
|
+
"collection": "oidcprofileemailreservations",
|
|
994
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/OidcProfileEmailReservationCollection.ts",
|
|
995
|
+
"packageName": "@happyvertical/smrt-profiles",
|
|
996
|
+
"fields": {},
|
|
997
|
+
"methods": {},
|
|
998
|
+
"decoratorConfig": {
|
|
999
|
+
"tableName": "oidc_profile_email_reservations"
|
|
1000
|
+
},
|
|
1001
|
+
"extends": "SmrtCollection",
|
|
1002
|
+
"extendsTypeArg": "OidcProfileEmailReservation",
|
|
1003
|
+
"exportName": "OidcProfileEmailReservationCollection",
|
|
1004
|
+
"collectionExportName": "OidcProfileEmailReservationCollectionCollection",
|
|
1005
|
+
"schema": {
|
|
1006
|
+
"tableName": "oidc_profile_email_reservations",
|
|
1007
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_profile_email_reservations\" (\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);",
|
|
1008
|
+
"columns": {
|
|
1009
|
+
"id": {
|
|
1010
|
+
"type": "UUID",
|
|
1011
|
+
"primaryKey": true,
|
|
1012
|
+
"referenceKind": "id",
|
|
1013
|
+
"notNull": true
|
|
1014
|
+
},
|
|
1015
|
+
"slug": {
|
|
1016
|
+
"type": "TEXT",
|
|
1017
|
+
"notNull": true
|
|
1018
|
+
},
|
|
1019
|
+
"context": {
|
|
1020
|
+
"type": "TEXT",
|
|
1021
|
+
"notNull": true,
|
|
1022
|
+
"default": ""
|
|
1023
|
+
},
|
|
1024
|
+
"created_at": {
|
|
1025
|
+
"type": "TIMESTAMP",
|
|
1026
|
+
"notNull": true,
|
|
1027
|
+
"default": "current_timestamp"
|
|
1028
|
+
},
|
|
1029
|
+
"updated_at": {
|
|
1030
|
+
"type": "TIMESTAMP",
|
|
1031
|
+
"notNull": true,
|
|
1032
|
+
"default": "current_timestamp"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"indexes": [
|
|
1036
|
+
{
|
|
1037
|
+
"name": "oidc_profile_email_reservations_id_idx",
|
|
1038
|
+
"columns": [
|
|
1039
|
+
"id"
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "oidc_profile_email_reservations_slug_context_idx",
|
|
1044
|
+
"columns": [
|
|
1045
|
+
"slug",
|
|
1046
|
+
"context"
|
|
1047
|
+
],
|
|
1048
|
+
"unique": true
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"version": "2c5044ab"
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
989
1054
|
"@happyvertical/smrt-profiles:ProfileAssetCollection": {
|
|
990
1055
|
"name": "profileassetcollection",
|
|
991
1056
|
"className": "ProfileAssetCollection",
|
|
992
1057
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileAssetCollection",
|
|
993
1058
|
"collection": "profileassets",
|
|
994
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
1059
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileAssetCollection.ts",
|
|
995
1060
|
"packageName": "@happyvertical/smrt-profiles",
|
|
996
1061
|
"fields": {},
|
|
997
1062
|
"methods": {
|
|
@@ -1243,7 +1308,7 @@
|
|
|
1243
1308
|
"className": "ProfileCollection",
|
|
1244
1309
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileCollection",
|
|
1245
1310
|
"collection": "profiles",
|
|
1246
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
1311
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileCollection.ts",
|
|
1247
1312
|
"packageName": "@happyvertical/smrt-profiles",
|
|
1248
1313
|
"fields": {},
|
|
1249
1314
|
"methods": {
|
|
@@ -1261,6 +1326,58 @@
|
|
|
1261
1326
|
"isStatic": false,
|
|
1262
1327
|
"isPublic": true
|
|
1263
1328
|
},
|
|
1329
|
+
"findUniqueGlobalPersonByEmail": {
|
|
1330
|
+
"name": "findUniqueGlobalPersonByEmail",
|
|
1331
|
+
"async": true,
|
|
1332
|
+
"parameters": [
|
|
1333
|
+
{
|
|
1334
|
+
"name": "email",
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"optional": false
|
|
1337
|
+
}
|
|
1338
|
+
],
|
|
1339
|
+
"returnType": "Promise<Profile | null>",
|
|
1340
|
+
"isStatic": false,
|
|
1341
|
+
"isPublic": true
|
|
1342
|
+
},
|
|
1343
|
+
"requireCanonicalGlobalPerson": {
|
|
1344
|
+
"name": "requireCanonicalGlobalPerson",
|
|
1345
|
+
"async": true,
|
|
1346
|
+
"parameters": [
|
|
1347
|
+
{
|
|
1348
|
+
"name": "profileId",
|
|
1349
|
+
"type": "string",
|
|
1350
|
+
"optional": false
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "email",
|
|
1354
|
+
"type": "string",
|
|
1355
|
+
"optional": true
|
|
1356
|
+
}
|
|
1357
|
+
],
|
|
1358
|
+
"returnType": "Promise<Profile>",
|
|
1359
|
+
"isStatic": false,
|
|
1360
|
+
"isPublic": true
|
|
1361
|
+
},
|
|
1362
|
+
"reserveCanonicalIdentityEmail": {
|
|
1363
|
+
"name": "reserveCanonicalIdentityEmail",
|
|
1364
|
+
"async": true,
|
|
1365
|
+
"parameters": [
|
|
1366
|
+
{
|
|
1367
|
+
"name": "profileId",
|
|
1368
|
+
"type": "string",
|
|
1369
|
+
"optional": false
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "email",
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"optional": true
|
|
1375
|
+
}
|
|
1376
|
+
],
|
|
1377
|
+
"returnType": "Promise<Profile>",
|
|
1378
|
+
"isStatic": false,
|
|
1379
|
+
"isPublic": true
|
|
1380
|
+
},
|
|
1264
1381
|
"findByType": {
|
|
1265
1382
|
"name": "findByType",
|
|
1266
1383
|
"async": true,
|
|
@@ -1510,7 +1627,7 @@
|
|
|
1510
1627
|
"className": "ProfileMetadataCollection",
|
|
1511
1628
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileMetadataCollection",
|
|
1512
1629
|
"collection": "profilemetadatas",
|
|
1513
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
1630
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileMetadataCollection.ts",
|
|
1514
1631
|
"packageName": "@happyvertical/smrt-profiles",
|
|
1515
1632
|
"fields": {},
|
|
1516
1633
|
"methods": {
|
|
@@ -1621,7 +1738,7 @@
|
|
|
1621
1738
|
"className": "ProfileMetafieldCollection",
|
|
1622
1739
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileMetafieldCollection",
|
|
1623
1740
|
"collection": "profilemetafields",
|
|
1624
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
1741
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileMetafieldCollection.ts",
|
|
1625
1742
|
"packageName": "@happyvertical/smrt-profiles",
|
|
1626
1743
|
"fields": {},
|
|
1627
1744
|
"methods": {
|
|
@@ -1718,7 +1835,7 @@
|
|
|
1718
1835
|
"className": "ProfileRelationshipCollection",
|
|
1719
1836
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileRelationshipCollection",
|
|
1720
1837
|
"collection": "profilerelationships",
|
|
1721
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
1838
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileRelationshipCollection.ts",
|
|
1722
1839
|
"packageName": "@happyvertical/smrt-profiles",
|
|
1723
1840
|
"fields": {},
|
|
1724
1841
|
"methods": {
|
|
@@ -1863,7 +1980,7 @@
|
|
|
1863
1980
|
"className": "ProfileRelationshipTermCollection",
|
|
1864
1981
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileRelationshipTermCollection",
|
|
1865
1982
|
"collection": "profilerelationshipterms",
|
|
1866
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
1983
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileRelationshipTermCollection.ts",
|
|
1867
1984
|
"packageName": "@happyvertical/smrt-profiles",
|
|
1868
1985
|
"fields": {},
|
|
1869
1986
|
"methods": {
|
|
@@ -1969,7 +2086,7 @@
|
|
|
1969
2086
|
"className": "ProfileRelationshipTypeCollection",
|
|
1970
2087
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileRelationshipTypeCollection",
|
|
1971
2088
|
"collection": "profilerelationshiptypes",
|
|
1972
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
2089
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileRelationshipTypeCollection.ts",
|
|
1973
2090
|
"packageName": "@happyvertical/smrt-profiles",
|
|
1974
2091
|
"fields": {},
|
|
1975
2092
|
"methods": {
|
|
@@ -2082,7 +2199,7 @@
|
|
|
2082
2199
|
"className": "ProfileTypeCollection",
|
|
2083
2200
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileTypeCollection",
|
|
2084
2201
|
"collection": "profiletypes",
|
|
2085
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
2202
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/collections/ProfileTypeCollection.ts",
|
|
2086
2203
|
"packageName": "@happyvertical/smrt-profiles",
|
|
2087
2204
|
"fields": {},
|
|
2088
2205
|
"methods": {
|
|
@@ -2118,6 +2235,25 @@
|
|
|
2118
2235
|
"returnType": "Promise<ProfileType>",
|
|
2119
2236
|
"isStatic": false,
|
|
2120
2237
|
"isPublic": true
|
|
2238
|
+
},
|
|
2239
|
+
"getOrCreateGlobalBySlug": {
|
|
2240
|
+
"name": "getOrCreateGlobalBySlug",
|
|
2241
|
+
"async": true,
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "slug",
|
|
2245
|
+
"type": "string",
|
|
2246
|
+
"optional": false
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"name": "defaults",
|
|
2250
|
+
"type": "object",
|
|
2251
|
+
"optional": false
|
|
2252
|
+
}
|
|
2253
|
+
],
|
|
2254
|
+
"returnType": "Promise<ProfileType>",
|
|
2255
|
+
"isStatic": false,
|
|
2256
|
+
"isPublic": true
|
|
2121
2257
|
}
|
|
2122
2258
|
},
|
|
2123
2259
|
"decoratorConfig": {},
|
|
@@ -2179,7 +2315,7 @@
|
|
|
2179
2315
|
"className": "ApiKey",
|
|
2180
2316
|
"qualifiedName": "@happyvertical/smrt-profiles:ApiKey",
|
|
2181
2317
|
"collection": "apikeys",
|
|
2182
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
2318
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ApiKey.ts",
|
|
2183
2319
|
"packageName": "@happyvertical/smrt-profiles",
|
|
2184
2320
|
"fields": {
|
|
2185
2321
|
"profileId": {
|
|
@@ -2456,7 +2592,7 @@
|
|
|
2456
2592
|
"className": "AuditLog",
|
|
2457
2593
|
"qualifiedName": "@happyvertical/smrt-profiles:AuditLog",
|
|
2458
2594
|
"collection": "auditlogs",
|
|
2459
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
2595
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/AuditLog.ts",
|
|
2460
2596
|
"packageName": "@happyvertical/smrt-profiles",
|
|
2461
2597
|
"fields": {
|
|
2462
2598
|
"tenantId": {
|
|
@@ -2695,7 +2831,7 @@
|
|
|
2695
2831
|
"className": "MagicLinkToken",
|
|
2696
2832
|
"qualifiedName": "@happyvertical/smrt-profiles:MagicLinkToken",
|
|
2697
2833
|
"collection": "magiclinktokens",
|
|
2698
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
2834
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/MagicLinkToken.ts",
|
|
2699
2835
|
"packageName": "@happyvertical/smrt-profiles",
|
|
2700
2836
|
"fields": {
|
|
2701
2837
|
"nostrIdentityId": {
|
|
@@ -2957,7 +3093,7 @@
|
|
|
2957
3093
|
"className": "NostrIdentity",
|
|
2958
3094
|
"qualifiedName": "@happyvertical/smrt-profiles:NostrIdentity",
|
|
2959
3095
|
"collection": "nostridentities",
|
|
2960
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
3096
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/NostrIdentity.ts",
|
|
2961
3097
|
"packageName": "@happyvertical/smrt-profiles",
|
|
2962
3098
|
"fields": {
|
|
2963
3099
|
"profileId": {
|
|
@@ -3277,7 +3413,7 @@
|
|
|
3277
3413
|
"className": "OidcIdentity",
|
|
3278
3414
|
"qualifiedName": "@happyvertical/smrt-profiles:OidcIdentity",
|
|
3279
3415
|
"collection": "oidcidentities",
|
|
3280
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
3416
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/OidcIdentity.ts",
|
|
3281
3417
|
"packageName": "@happyvertical/smrt-profiles",
|
|
3282
3418
|
"fields": {
|
|
3283
3419
|
"profileId": {
|
|
@@ -3296,12 +3432,26 @@
|
|
|
3296
3432
|
"issuer": {
|
|
3297
3433
|
"type": "text",
|
|
3298
3434
|
"required": false,
|
|
3299
|
-
"_meta": {
|
|
3435
|
+
"_meta": {
|
|
3436
|
+
"indexed": true
|
|
3437
|
+
}
|
|
3300
3438
|
},
|
|
3301
3439
|
"subject": {
|
|
3302
3440
|
"type": "text",
|
|
3303
3441
|
"required": false,
|
|
3304
|
-
"_meta": {
|
|
3442
|
+
"_meta": {
|
|
3443
|
+
"indexed": true
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
"identityKey": {
|
|
3447
|
+
"type": "text",
|
|
3448
|
+
"required": false,
|
|
3449
|
+
"_meta": {
|
|
3450
|
+
"nullable": true,
|
|
3451
|
+
"unique": true,
|
|
3452
|
+
"readonly": true
|
|
3453
|
+
},
|
|
3454
|
+
"readonly": true
|
|
3305
3455
|
},
|
|
3306
3456
|
"email": {
|
|
3307
3457
|
"type": "text",
|
|
@@ -3349,6 +3499,33 @@
|
|
|
3349
3499
|
"isStatic": true,
|
|
3350
3500
|
"isPublic": true
|
|
3351
3501
|
},
|
|
3502
|
+
"buildIdentityKey": {
|
|
3503
|
+
"name": "buildIdentityKey",
|
|
3504
|
+
"async": false,
|
|
3505
|
+
"parameters": [
|
|
3506
|
+
{
|
|
3507
|
+
"name": "issuer",
|
|
3508
|
+
"type": "string",
|
|
3509
|
+
"optional": false
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
"name": "subject",
|
|
3513
|
+
"type": "string",
|
|
3514
|
+
"optional": false
|
|
3515
|
+
}
|
|
3516
|
+
],
|
|
3517
|
+
"returnType": "string",
|
|
3518
|
+
"isStatic": true,
|
|
3519
|
+
"isPublic": true
|
|
3520
|
+
},
|
|
3521
|
+
"save": {
|
|
3522
|
+
"name": "save",
|
|
3523
|
+
"async": true,
|
|
3524
|
+
"parameters": [],
|
|
3525
|
+
"returnType": "Promise",
|
|
3526
|
+
"isStatic": false,
|
|
3527
|
+
"isPublic": true
|
|
3528
|
+
},
|
|
3352
3529
|
"findOrCreate": {
|
|
3353
3530
|
"name": "findOrCreate",
|
|
3354
3531
|
"async": true,
|
|
@@ -3385,8 +3562,9 @@
|
|
|
3385
3562
|
"decoratorConfig": {
|
|
3386
3563
|
"tableName": "oidc_identities",
|
|
3387
3564
|
"api": {
|
|
3388
|
-
"
|
|
3389
|
-
"
|
|
3565
|
+
"include": [
|
|
3566
|
+
"list",
|
|
3567
|
+
"get"
|
|
3390
3568
|
]
|
|
3391
3569
|
},
|
|
3392
3570
|
"mcp": {
|
|
@@ -3414,7 +3592,7 @@
|
|
|
3414
3592
|
],
|
|
3415
3593
|
"schema": {
|
|
3416
3594
|
"tableName": "oidc_identities",
|
|
3417
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_identities\" (\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 \"profile_id\" UUID NOT NULL,\n \"provider\" TEXT,\n \"issuer\" TEXT,\n \"subject\" TEXT,\n \"email\" TEXT,\n \"last_used_at\" TIMESTAMP\n);",
|
|
3595
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_identities\" (\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 \"profile_id\" UUID NOT NULL,\n \"provider\" TEXT,\n \"issuer\" TEXT,\n \"subject\" TEXT,\n \"identity_key\" TEXT UNIQUE,\n \"email\" TEXT,\n \"last_used_at\" TIMESTAMP\n);",
|
|
3418
3596
|
"columns": {
|
|
3419
3597
|
"id": {
|
|
3420
3598
|
"type": "UUID",
|
|
@@ -3462,6 +3640,11 @@
|
|
|
3462
3640
|
"notNull": false,
|
|
3463
3641
|
"unique": false
|
|
3464
3642
|
},
|
|
3643
|
+
"identity_key": {
|
|
3644
|
+
"type": "TEXT",
|
|
3645
|
+
"notNull": false,
|
|
3646
|
+
"unique": true
|
|
3647
|
+
},
|
|
3465
3648
|
"email": {
|
|
3466
3649
|
"type": "TEXT",
|
|
3467
3650
|
"notNull": false,
|
|
@@ -3487,9 +3670,131 @@
|
|
|
3487
3670
|
"context"
|
|
3488
3671
|
],
|
|
3489
3672
|
"unique": true
|
|
3673
|
+
},
|
|
3674
|
+
{
|
|
3675
|
+
"name": "oidc_identities_issuer_idx",
|
|
3676
|
+
"columns": [
|
|
3677
|
+
"issuer"
|
|
3678
|
+
]
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"name": "oidc_identities_subject_idx",
|
|
3682
|
+
"columns": [
|
|
3683
|
+
"subject"
|
|
3684
|
+
]
|
|
3490
3685
|
}
|
|
3491
3686
|
],
|
|
3492
|
-
"version": "
|
|
3687
|
+
"version": "0686d3f4"
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3690
|
+
"@happyvertical/smrt-profiles:OidcProfileEmailReservation": {
|
|
3691
|
+
"name": "oidcprofileemailreservation",
|
|
3692
|
+
"className": "OidcProfileEmailReservation",
|
|
3693
|
+
"qualifiedName": "@happyvertical/smrt-profiles:OidcProfileEmailReservation",
|
|
3694
|
+
"collection": "oidcprofileemailreservations",
|
|
3695
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/OidcProfileEmailReservation.ts",
|
|
3696
|
+
"packageName": "@happyvertical/smrt-profiles",
|
|
3697
|
+
"fields": {
|
|
3698
|
+
"profileId": {
|
|
3699
|
+
"type": "foreignKey",
|
|
3700
|
+
"required": true,
|
|
3701
|
+
"related": "Profile",
|
|
3702
|
+
"_meta": {
|
|
3703
|
+
"required": true,
|
|
3704
|
+
"unique": true
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
"emailKey": {
|
|
3708
|
+
"type": "text",
|
|
3709
|
+
"required": true,
|
|
3710
|
+
"_meta": {
|
|
3711
|
+
"required": true,
|
|
3712
|
+
"unique": true,
|
|
3713
|
+
"readonly": true
|
|
3714
|
+
},
|
|
3715
|
+
"readonly": true
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3718
|
+
"methods": {},
|
|
3719
|
+
"decoratorConfig": {
|
|
3720
|
+
"tableName": "oidc_profile_email_reservations",
|
|
3721
|
+
"api": false,
|
|
3722
|
+
"mcp": false,
|
|
3723
|
+
"cli": false
|
|
3724
|
+
},
|
|
3725
|
+
"extends": "SmrtObject",
|
|
3726
|
+
"exportName": "OidcProfileEmailReservation",
|
|
3727
|
+
"collectionExportName": "OidcProfileEmailReservationCollection",
|
|
3728
|
+
"validationRules": [
|
|
3729
|
+
{
|
|
3730
|
+
"field": "profileId",
|
|
3731
|
+
"rule": "required",
|
|
3732
|
+
"fieldType": "foreignKey"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"field": "emailKey",
|
|
3736
|
+
"rule": "required",
|
|
3737
|
+
"fieldType": "text"
|
|
3738
|
+
}
|
|
3739
|
+
],
|
|
3740
|
+
"schema": {
|
|
3741
|
+
"tableName": "oidc_profile_email_reservations",
|
|
3742
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_profile_email_reservations\" (\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 \"profile_id\" UUID NOT NULL UNIQUE,\n \"email_key\" TEXT NOT NULL UNIQUE\n);",
|
|
3743
|
+
"columns": {
|
|
3744
|
+
"id": {
|
|
3745
|
+
"type": "UUID",
|
|
3746
|
+
"primaryKey": true,
|
|
3747
|
+
"referenceKind": "id",
|
|
3748
|
+
"notNull": true
|
|
3749
|
+
},
|
|
3750
|
+
"slug": {
|
|
3751
|
+
"type": "TEXT",
|
|
3752
|
+
"notNull": true
|
|
3753
|
+
},
|
|
3754
|
+
"context": {
|
|
3755
|
+
"type": "TEXT",
|
|
3756
|
+
"notNull": true,
|
|
3757
|
+
"default": ""
|
|
3758
|
+
},
|
|
3759
|
+
"created_at": {
|
|
3760
|
+
"type": "TIMESTAMP",
|
|
3761
|
+
"notNull": true,
|
|
3762
|
+
"default": "current_timestamp"
|
|
3763
|
+
},
|
|
3764
|
+
"updated_at": {
|
|
3765
|
+
"type": "TIMESTAMP",
|
|
3766
|
+
"notNull": true,
|
|
3767
|
+
"default": "current_timestamp"
|
|
3768
|
+
},
|
|
3769
|
+
"profile_id": {
|
|
3770
|
+
"type": "UUID",
|
|
3771
|
+
"referenceKind": "foreignKey",
|
|
3772
|
+
"notNull": true,
|
|
3773
|
+
"unique": true
|
|
3774
|
+
},
|
|
3775
|
+
"email_key": {
|
|
3776
|
+
"type": "TEXT",
|
|
3777
|
+
"notNull": true,
|
|
3778
|
+
"unique": true
|
|
3779
|
+
}
|
|
3780
|
+
},
|
|
3781
|
+
"indexes": [
|
|
3782
|
+
{
|
|
3783
|
+
"name": "oidc_profile_email_reservations_id_idx",
|
|
3784
|
+
"columns": [
|
|
3785
|
+
"id"
|
|
3786
|
+
]
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"name": "oidc_profile_email_reservations_slug_context_idx",
|
|
3790
|
+
"columns": [
|
|
3791
|
+
"slug",
|
|
3792
|
+
"context"
|
|
3793
|
+
],
|
|
3794
|
+
"unique": true
|
|
3795
|
+
}
|
|
3796
|
+
],
|
|
3797
|
+
"version": "311f2b6f"
|
|
3493
3798
|
}
|
|
3494
3799
|
},
|
|
3495
3800
|
"@happyvertical/smrt-profiles:Profile": {
|
|
@@ -3497,7 +3802,7 @@
|
|
|
3497
3802
|
"className": "Profile",
|
|
3498
3803
|
"qualifiedName": "@happyvertical/smrt-profiles:Profile",
|
|
3499
3804
|
"collection": "profiles",
|
|
3500
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
3805
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/Profile.ts",
|
|
3501
3806
|
"packageName": "@happyvertical/smrt-profiles",
|
|
3502
3807
|
"fields": {
|
|
3503
3808
|
"created_at": {
|
|
@@ -3541,6 +3846,16 @@
|
|
|
3541
3846
|
"unique": true
|
|
3542
3847
|
}
|
|
3543
3848
|
},
|
|
3849
|
+
"emailKey": {
|
|
3850
|
+
"type": "text",
|
|
3851
|
+
"required": false,
|
|
3852
|
+
"_meta": {
|
|
3853
|
+
"nullable": true,
|
|
3854
|
+
"indexed": true,
|
|
3855
|
+
"readonly": true
|
|
3856
|
+
},
|
|
3857
|
+
"readonly": true
|
|
3858
|
+
},
|
|
3544
3859
|
"name": {
|
|
3545
3860
|
"type": "text",
|
|
3546
3861
|
"required": true,
|
|
@@ -3740,7 +4055,7 @@
|
|
|
3740
4055
|
"name": "save",
|
|
3741
4056
|
"async": true,
|
|
3742
4057
|
"parameters": [],
|
|
3743
|
-
"returnType": "
|
|
4058
|
+
"returnType": "Promise",
|
|
3744
4059
|
"isStatic": false,
|
|
3745
4060
|
"isPublic": true
|
|
3746
4061
|
},
|
|
@@ -4503,7 +4818,7 @@
|
|
|
4503
4818
|
],
|
|
4504
4819
|
"schema": {
|
|
4505
4820
|
"tableName": "profiles",
|
|
4506
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
4821
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"email_key\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
4507
4822
|
"columns": {
|
|
4508
4823
|
"id": {
|
|
4509
4824
|
"type": "UUID",
|
|
@@ -4552,6 +4867,10 @@
|
|
|
4552
4867
|
"type": "TEXT",
|
|
4553
4868
|
"notNull": false
|
|
4554
4869
|
},
|
|
4870
|
+
"email_key": {
|
|
4871
|
+
"type": "TEXT",
|
|
4872
|
+
"notNull": false
|
|
4873
|
+
},
|
|
4555
4874
|
"name": {
|
|
4556
4875
|
"type": "TEXT",
|
|
4557
4876
|
"notNull": false,
|
|
@@ -4583,9 +4902,15 @@
|
|
|
4583
4902
|
"columns": [
|
|
4584
4903
|
"_meta_type"
|
|
4585
4904
|
]
|
|
4905
|
+
},
|
|
4906
|
+
{
|
|
4907
|
+
"name": "profiles_email_key_idx",
|
|
4908
|
+
"columns": [
|
|
4909
|
+
"email_key"
|
|
4910
|
+
]
|
|
4586
4911
|
}
|
|
4587
4912
|
],
|
|
4588
|
-
"version": "
|
|
4913
|
+
"version": "6f91abae"
|
|
4589
4914
|
}
|
|
4590
4915
|
},
|
|
4591
4916
|
"@happyvertical/smrt-profiles:ProfileAsset": {
|
|
@@ -4593,7 +4918,7 @@
|
|
|
4593
4918
|
"className": "ProfileAsset",
|
|
4594
4919
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileAsset",
|
|
4595
4920
|
"collection": "profileassets",
|
|
4596
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
4921
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileAsset.ts",
|
|
4597
4922
|
"packageName": "@happyvertical/smrt-profiles",
|
|
4598
4923
|
"fields": {
|
|
4599
4924
|
"tenantId": {
|
|
@@ -4764,7 +5089,7 @@
|
|
|
4764
5089
|
"className": "ProfileMetadata",
|
|
4765
5090
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileMetadata",
|
|
4766
5091
|
"collection": "profilemetadatas",
|
|
4767
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
5092
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileMetadata.ts",
|
|
4768
5093
|
"packageName": "@happyvertical/smrt-profiles",
|
|
4769
5094
|
"fields": {
|
|
4770
5095
|
"created_at": {
|
|
@@ -5456,7 +5781,7 @@
|
|
|
5456
5781
|
"className": "ProfileMetafield",
|
|
5457
5782
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileMetafield",
|
|
5458
5783
|
"collection": "profilemetafields",
|
|
5459
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
5784
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileMetafield.ts",
|
|
5460
5785
|
"packageName": "@happyvertical/smrt-profiles",
|
|
5461
5786
|
"fields": {
|
|
5462
5787
|
"created_at": {
|
|
@@ -6172,7 +6497,7 @@
|
|
|
6172
6497
|
"className": "ProfileRelationship",
|
|
6173
6498
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileRelationship",
|
|
6174
6499
|
"collection": "profilerelationships",
|
|
6175
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
6500
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileRelationship.ts",
|
|
6176
6501
|
"packageName": "@happyvertical/smrt-profiles",
|
|
6177
6502
|
"fields": {
|
|
6178
6503
|
"created_at": {
|
|
@@ -6919,7 +7244,7 @@
|
|
|
6919
7244
|
"className": "ProfileRelationshipTerm",
|
|
6920
7245
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileRelationshipTerm",
|
|
6921
7246
|
"collection": "profilerelationshipterms",
|
|
6922
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
7247
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileRelationshipTerm.ts",
|
|
6923
7248
|
"packageName": "@happyvertical/smrt-profiles",
|
|
6924
7249
|
"fields": {
|
|
6925
7250
|
"created_at": {
|
|
@@ -7587,7 +7912,7 @@
|
|
|
7587
7912
|
"className": "ProfileRelationshipType",
|
|
7588
7913
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileRelationshipType",
|
|
7589
7914
|
"collection": "profilerelationshiptypes",
|
|
7590
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
7915
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileRelationshipType.ts",
|
|
7591
7916
|
"packageName": "@happyvertical/smrt-profiles",
|
|
7592
7917
|
"fields": {
|
|
7593
7918
|
"created_at": {
|
|
@@ -8271,7 +8596,7 @@
|
|
|
8271
8596
|
"className": "ProfileType",
|
|
8272
8597
|
"qualifiedName": "@happyvertical/smrt-profiles:ProfileType",
|
|
8273
8598
|
"collection": "profiletypes",
|
|
8274
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
8599
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileType.ts",
|
|
8275
8600
|
"packageName": "@happyvertical/smrt-profiles",
|
|
8276
8601
|
"fields": {
|
|
8277
8602
|
"created_at": {
|
|
@@ -8932,7 +9257,7 @@
|
|
|
8932
9257
|
"className": "Person",
|
|
8933
9258
|
"qualifiedName": "@happyvertical/smrt-profiles:Person",
|
|
8934
9259
|
"collection": "profiles",
|
|
8935
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
9260
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileTypes.ts",
|
|
8936
9261
|
"packageName": "@happyvertical/smrt-profiles",
|
|
8937
9262
|
"fields": {
|
|
8938
9263
|
"created_at": {
|
|
@@ -8973,6 +9298,16 @@
|
|
|
8973
9298
|
"unique": true
|
|
8974
9299
|
}
|
|
8975
9300
|
},
|
|
9301
|
+
"emailKey": {
|
|
9302
|
+
"type": "text",
|
|
9303
|
+
"required": false,
|
|
9304
|
+
"_meta": {
|
|
9305
|
+
"nullable": true,
|
|
9306
|
+
"indexed": true,
|
|
9307
|
+
"readonly": true
|
|
9308
|
+
},
|
|
9309
|
+
"readonly": true
|
|
9310
|
+
},
|
|
8976
9311
|
"name": {
|
|
8977
9312
|
"type": "text",
|
|
8978
9313
|
"required": true,
|
|
@@ -9915,7 +10250,7 @@
|
|
|
9915
10250
|
],
|
|
9916
10251
|
"schema": {
|
|
9917
10252
|
"tableName": "profiles",
|
|
9918
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
10253
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"email_key\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
9919
10254
|
"columns": {
|
|
9920
10255
|
"id": {
|
|
9921
10256
|
"type": "UUID",
|
|
@@ -9964,6 +10299,10 @@
|
|
|
9964
10299
|
"type": "TEXT",
|
|
9965
10300
|
"notNull": false
|
|
9966
10301
|
},
|
|
10302
|
+
"email_key": {
|
|
10303
|
+
"type": "TEXT",
|
|
10304
|
+
"notNull": false
|
|
10305
|
+
},
|
|
9967
10306
|
"name": {
|
|
9968
10307
|
"type": "TEXT",
|
|
9969
10308
|
"notNull": false,
|
|
@@ -9995,9 +10334,15 @@
|
|
|
9995
10334
|
"columns": [
|
|
9996
10335
|
"_meta_type"
|
|
9997
10336
|
]
|
|
10337
|
+
},
|
|
10338
|
+
{
|
|
10339
|
+
"name": "profiles_email_key_idx",
|
|
10340
|
+
"columns": [
|
|
10341
|
+
"email_key"
|
|
10342
|
+
]
|
|
9998
10343
|
}
|
|
9999
10344
|
],
|
|
10000
|
-
"version": "
|
|
10345
|
+
"version": "23f35a07"
|
|
10001
10346
|
}
|
|
10002
10347
|
},
|
|
10003
10348
|
"@happyvertical/smrt-profiles:Organization": {
|
|
@@ -10005,7 +10350,7 @@
|
|
|
10005
10350
|
"className": "Organization",
|
|
10006
10351
|
"qualifiedName": "@happyvertical/smrt-profiles:Organization",
|
|
10007
10352
|
"collection": "profiles",
|
|
10008
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
10353
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileTypes.ts",
|
|
10009
10354
|
"packageName": "@happyvertical/smrt-profiles",
|
|
10010
10355
|
"fields": {
|
|
10011
10356
|
"created_at": {
|
|
@@ -10046,6 +10391,16 @@
|
|
|
10046
10391
|
"unique": true
|
|
10047
10392
|
}
|
|
10048
10393
|
},
|
|
10394
|
+
"emailKey": {
|
|
10395
|
+
"type": "text",
|
|
10396
|
+
"required": false,
|
|
10397
|
+
"_meta": {
|
|
10398
|
+
"nullable": true,
|
|
10399
|
+
"indexed": true,
|
|
10400
|
+
"readonly": true
|
|
10401
|
+
},
|
|
10402
|
+
"readonly": true
|
|
10403
|
+
},
|
|
10049
10404
|
"name": {
|
|
10050
10405
|
"type": "text",
|
|
10051
10406
|
"required": true,
|
|
@@ -10988,7 +11343,7 @@
|
|
|
10988
11343
|
],
|
|
10989
11344
|
"schema": {
|
|
10990
11345
|
"tableName": "profiles",
|
|
10991
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
11346
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"email_key\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
10992
11347
|
"columns": {
|
|
10993
11348
|
"id": {
|
|
10994
11349
|
"type": "UUID",
|
|
@@ -11037,6 +11392,10 @@
|
|
|
11037
11392
|
"type": "TEXT",
|
|
11038
11393
|
"notNull": false
|
|
11039
11394
|
},
|
|
11395
|
+
"email_key": {
|
|
11396
|
+
"type": "TEXT",
|
|
11397
|
+
"notNull": false
|
|
11398
|
+
},
|
|
11040
11399
|
"name": {
|
|
11041
11400
|
"type": "TEXT",
|
|
11042
11401
|
"notNull": false,
|
|
@@ -11068,9 +11427,15 @@
|
|
|
11068
11427
|
"columns": [
|
|
11069
11428
|
"_meta_type"
|
|
11070
11429
|
]
|
|
11430
|
+
},
|
|
11431
|
+
{
|
|
11432
|
+
"name": "profiles_email_key_idx",
|
|
11433
|
+
"columns": [
|
|
11434
|
+
"email_key"
|
|
11435
|
+
]
|
|
11071
11436
|
}
|
|
11072
11437
|
],
|
|
11073
|
-
"version": "
|
|
11438
|
+
"version": "144faf5c"
|
|
11074
11439
|
}
|
|
11075
11440
|
},
|
|
11076
11441
|
"@happyvertical/smrt-profiles:Bot": {
|
|
@@ -11078,7 +11443,7 @@
|
|
|
11078
11443
|
"className": "Bot",
|
|
11079
11444
|
"qualifiedName": "@happyvertical/smrt-profiles:Bot",
|
|
11080
11445
|
"collection": "profiles",
|
|
11081
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-
|
|
11446
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-8l5wt-runner-5hwvc/smrt/smrt/packages/profiles/src/models/ProfileTypes.ts",
|
|
11082
11447
|
"packageName": "@happyvertical/smrt-profiles",
|
|
11083
11448
|
"fields": {
|
|
11084
11449
|
"created_at": {
|
|
@@ -11119,6 +11484,16 @@
|
|
|
11119
11484
|
"unique": true
|
|
11120
11485
|
}
|
|
11121
11486
|
},
|
|
11487
|
+
"emailKey": {
|
|
11488
|
+
"type": "text",
|
|
11489
|
+
"required": false,
|
|
11490
|
+
"_meta": {
|
|
11491
|
+
"nullable": true,
|
|
11492
|
+
"indexed": true,
|
|
11493
|
+
"readonly": true
|
|
11494
|
+
},
|
|
11495
|
+
"readonly": true
|
|
11496
|
+
},
|
|
11122
11497
|
"name": {
|
|
11123
11498
|
"type": "text",
|
|
11124
11499
|
"required": true,
|
|
@@ -12061,7 +12436,7 @@
|
|
|
12061
12436
|
],
|
|
12062
12437
|
"schema": {
|
|
12063
12438
|
"tableName": "profiles",
|
|
12064
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
12439
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"email_key\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
12065
12440
|
"columns": {
|
|
12066
12441
|
"id": {
|
|
12067
12442
|
"type": "UUID",
|
|
@@ -12110,6 +12485,10 @@
|
|
|
12110
12485
|
"type": "TEXT",
|
|
12111
12486
|
"notNull": false
|
|
12112
12487
|
},
|
|
12488
|
+
"email_key": {
|
|
12489
|
+
"type": "TEXT",
|
|
12490
|
+
"notNull": false
|
|
12491
|
+
},
|
|
12113
12492
|
"name": {
|
|
12114
12493
|
"type": "TEXT",
|
|
12115
12494
|
"notNull": false,
|
|
@@ -12141,9 +12520,15 @@
|
|
|
12141
12520
|
"columns": [
|
|
12142
12521
|
"_meta_type"
|
|
12143
12522
|
]
|
|
12523
|
+
},
|
|
12524
|
+
{
|
|
12525
|
+
"name": "profiles_email_key_idx",
|
|
12526
|
+
"columns": [
|
|
12527
|
+
"email_key"
|
|
12528
|
+
]
|
|
12144
12529
|
}
|
|
12145
12530
|
],
|
|
12146
|
-
"version": "
|
|
12531
|
+
"version": "38738f31"
|
|
12147
12532
|
}
|
|
12148
12533
|
}
|
|
12149
12534
|
},
|