@happyvertical/smrt-users 0.40.1 → 0.40.2
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/dist/chunks/{TerminalAuthService-DPO_Mo84.js → TerminalAuthService-B_9atAdL.js} +2 -2
- package/dist/chunks/{TerminalAuthService-DPO_Mo84.js.map → TerminalAuthService-B_9atAdL.js.map} +1 -1
- package/dist/index.js +3 -3
- package/dist/manifest.json +34 -34
- package/dist/smrt-knowledge.json +4 -4
- package/dist/sveltekit.js +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as PermissionCollection, A as UserEmailKeyBackfillError, B as Session, C as decodeOidcTransaction, Ct as TenantPermissionEffect, E as resolveOidcProviderConfig, F as TenantHierarchyError, G as deriveOperationPermissionCollectionName, H as DEFAULT_ROLE_PERMISSION_PATTERNS, I as MAX_TENANT_HIERARCHY_DEPTH, J as registerPermissionDefinitions, K as deriveOperationPermissionSlug, L as Tenant, M as TenantPermissionOverrideCollection, N as TenantPermissionOverride, O as OidcProvisioningError, P as TenantCollection, Q as Role, R as SessionCollection, S as OidcLoginService, St as SessionStatus, T as getUsersOidcConfig, Tt as UserStatus, U as RolePermissionCollection, V as generateSessionId, W as PermissionCatalogService, X as RolePermission, Y as syncPermissionCatalog, Z as RoleCollection, _ as readMobileBearerToken, _t as DEFAULT_ROLES, a as TerminalAuthRateLimitError, at as GroupRoleCollection, b as PermissionResolver, bt as MembershipStatus, c as assertOperationPermission, ct as GroupMember, d as getCurrentSessionPermissionContext, dt as UsersCliAuthRequestCollection, et as Permission, f as getRequestScopedDatabase, ft as UsersCliAuthRequest, g as MobileAuthService, gt as AccessRequestStatus, h as MobileAuthError, ht as normalizeEmail, i as TerminalAuthError, it as Membership, j as backfillUserEmailKeys, k as UserCollection, l as checkOperationPermission, lt as GroupCollection, m as withSessionPermissionContext, mt as isValidEmail, n as DEFAULT_CLI_AUTH_REQUEST_TTL_SECONDS, nt as MembershipOverride, o as TerminalAuthService, ot as GroupRole, p as withPrincipalPermissionContext, pt as User, q as normalizeOperationPermissionAction, r as DEFAULT_CLI_SESSION_TTL_SECONDS, rt as MembershipCollection, s as OperationPermissionError, st as GroupMemberCollection, t as DEFAULT_CLI_AUTH_POLL_INTERVAL_SECONDS, tt as MembershipOverrideCollection, u as hasOperationPermission, ut as Group, v as validateMobileRedirectUri, vt as DEFAULT_ROLE_SLUGS, w as encodeOidcTransaction, wt as TenantStatus, x as OidcLoginError, xt as OverrideEffect, y as SessionService, yt as DEFAULT_TENANT_POLICY, z as DEFAULT_SESSION_TTL } from "./chunks/TerminalAuthService-
|
|
1
|
+
import { $ as PermissionCollection, A as UserEmailKeyBackfillError, B as Session, C as decodeOidcTransaction, Ct as TenantPermissionEffect, E as resolveOidcProviderConfig, F as TenantHierarchyError, G as deriveOperationPermissionCollectionName, H as DEFAULT_ROLE_PERMISSION_PATTERNS, I as MAX_TENANT_HIERARCHY_DEPTH, J as registerPermissionDefinitions, K as deriveOperationPermissionSlug, L as Tenant, M as TenantPermissionOverrideCollection, N as TenantPermissionOverride, O as OidcProvisioningError, P as TenantCollection, Q as Role, R as SessionCollection, S as OidcLoginService, St as SessionStatus, T as getUsersOidcConfig, Tt as UserStatus, U as RolePermissionCollection, V as generateSessionId, W as PermissionCatalogService, X as RolePermission, Y as syncPermissionCatalog, Z as RoleCollection, _ as readMobileBearerToken, _t as DEFAULT_ROLES, a as TerminalAuthRateLimitError, at as GroupRoleCollection, b as PermissionResolver, bt as MembershipStatus, c as assertOperationPermission, ct as GroupMember, d as getCurrentSessionPermissionContext, dt as UsersCliAuthRequestCollection, et as Permission, f as getRequestScopedDatabase, ft as UsersCliAuthRequest, g as MobileAuthService, gt as AccessRequestStatus, h as MobileAuthError, ht as normalizeEmail, i as TerminalAuthError, it as Membership, j as backfillUserEmailKeys, k as UserCollection, l as checkOperationPermission, lt as GroupCollection, m as withSessionPermissionContext, mt as isValidEmail, n as DEFAULT_CLI_AUTH_REQUEST_TTL_SECONDS, nt as MembershipOverride, o as TerminalAuthService, ot as GroupRole, p as withPrincipalPermissionContext, pt as User, q as normalizeOperationPermissionAction, r as DEFAULT_CLI_SESSION_TTL_SECONDS, rt as MembershipCollection, s as OperationPermissionError, st as GroupMemberCollection, t as DEFAULT_CLI_AUTH_POLL_INTERVAL_SECONDS, tt as MembershipOverrideCollection, u as hasOperationPermission, ut as Group, v as validateMobileRedirectUri, vt as DEFAULT_ROLE_SLUGS, w as encodeOidcTransaction, wt as TenantStatus, x as OidcLoginError, xt as OverrideEffect, y as SessionService, yt as DEFAULT_TENANT_POLICY, z as DEFAULT_SESSION_TTL } from "./chunks/TerminalAuthService-B_9atAdL.js";
|
|
2
2
|
import { ObjectRegistry, SmrtCollection, SmrtObject, field, findManifestEntryByQualifiedName, smrt } from "@happyvertical/smrt-core";
|
|
3
3
|
import { TenantScoped, tenantId } from "@happyvertical/smrt-tenancy";
|
|
4
4
|
import { createLogger } from "@happyvertical/logger";
|
|
@@ -918,7 +918,7 @@ var MagicLinkService = class MagicLinkService {
|
|
|
918
918
|
* The caller is responsible for emailing the token to the user.
|
|
919
919
|
*/
|
|
920
920
|
async generate(email) {
|
|
921
|
-
const { SignJWT } = await import("./chunks/TerminalAuthService-
|
|
921
|
+
const { SignJWT } = await import("./chunks/TerminalAuthService-B_9atAdL.js").then((n) => n.D);
|
|
922
922
|
const key = await this.getSigningKey();
|
|
923
923
|
const nonce = crypto.randomUUID();
|
|
924
924
|
const normalizedEmail = normalizeEmail(email);
|
|
@@ -947,7 +947,7 @@ var MagicLinkService = class MagicLinkService {
|
|
|
947
947
|
* @throws {MagicLinkError} If the token is invalid, expired, or already used
|
|
948
948
|
*/
|
|
949
949
|
async verify(token) {
|
|
950
|
-
const { jwtVerify, errors } = await import("./chunks/TerminalAuthService-
|
|
950
|
+
const { jwtVerify, errors } = await import("./chunks/TerminalAuthService-B_9atAdL.js").then((n) => n.D);
|
|
951
951
|
const key = await this.getSigningKey();
|
|
952
952
|
let payload;
|
|
953
953
|
try {
|
package/dist/manifest.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1784101452578,
|
|
4
4
|
"packageName": "@happyvertical/smrt-users",
|
|
5
|
-
"packageVersion": "0.40.
|
|
5
|
+
"packageVersion": "0.40.2",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-users:AccessRequestCollection": {
|
|
8
8
|
"name": "accessrequestcollection",
|
|
9
9
|
"className": "AccessRequestCollection",
|
|
10
10
|
"qualifiedName": "@happyvertical/smrt-users:AccessRequestCollection",
|
|
11
11
|
"collection": "accessrequests",
|
|
12
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
12
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/AccessRequestCollection.ts",
|
|
13
13
|
"packageName": "@happyvertical/smrt-users",
|
|
14
14
|
"fields": {},
|
|
15
15
|
"methods": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"className": "UsersCliAuthRequestCollection",
|
|
126
126
|
"qualifiedName": "@happyvertical/smrt-users:UsersCliAuthRequestCollection",
|
|
127
127
|
"collection": "userscliauthrequests",
|
|
128
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
128
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/CliAuthRequestCollection.ts",
|
|
129
129
|
"packageName": "@happyvertical/smrt-users",
|
|
130
130
|
"fields": {},
|
|
131
131
|
"methods": {
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"className": "GroupCollection",
|
|
228
228
|
"qualifiedName": "@happyvertical/smrt-users:GroupCollection",
|
|
229
229
|
"collection": "groups",
|
|
230
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
230
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/GroupCollection.ts",
|
|
231
231
|
"packageName": "@happyvertical/smrt-users",
|
|
232
232
|
"fields": {},
|
|
233
233
|
"methods": {
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"className": "GroupMemberCollection",
|
|
325
325
|
"qualifiedName": "@happyvertical/smrt-users:GroupMemberCollection",
|
|
326
326
|
"collection": "groupmembers",
|
|
327
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
327
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/GroupMemberCollection.ts",
|
|
328
328
|
"packageName": "@happyvertical/smrt-users",
|
|
329
329
|
"fields": {},
|
|
330
330
|
"methods": {
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"className": "GroupRoleCollection",
|
|
521
521
|
"qualifiedName": "@happyvertical/smrt-users:GroupRoleCollection",
|
|
522
522
|
"collection": "grouproles",
|
|
523
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
523
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/GroupRoleCollection.ts",
|
|
524
524
|
"packageName": "@happyvertical/smrt-users",
|
|
525
525
|
"fields": {},
|
|
526
526
|
"methods": {
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
"className": "UsersMagicLinkTokenCollection",
|
|
684
684
|
"qualifiedName": "@happyvertical/smrt-users:UsersMagicLinkTokenCollection",
|
|
685
685
|
"collection": "usersmagiclinktokens",
|
|
686
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
686
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/MagicLinkTokenCollection.ts",
|
|
687
687
|
"packageName": "@happyvertical/smrt-users",
|
|
688
688
|
"fields": {},
|
|
689
689
|
"methods": {
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
"className": "MembershipCollection",
|
|
786
786
|
"qualifiedName": "@happyvertical/smrt-users:MembershipCollection",
|
|
787
787
|
"collection": "memberships",
|
|
788
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
788
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/MembershipCollection.ts",
|
|
789
789
|
"packageName": "@happyvertical/smrt-users",
|
|
790
790
|
"fields": {},
|
|
791
791
|
"methods": {
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
"className": "MembershipOverrideCollection",
|
|
953
953
|
"qualifiedName": "@happyvertical/smrt-users:MembershipOverrideCollection",
|
|
954
954
|
"collection": "membershipoverrides",
|
|
955
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
955
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/MembershipOverrideCollection.ts",
|
|
956
956
|
"packageName": "@happyvertical/smrt-users",
|
|
957
957
|
"fields": {},
|
|
958
958
|
"methods": {
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
"className": "PermissionCollection",
|
|
1168
1168
|
"qualifiedName": "@happyvertical/smrt-users:PermissionCollection",
|
|
1169
1169
|
"collection": "permissions",
|
|
1170
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
1170
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/PermissionCollection.ts",
|
|
1171
1171
|
"packageName": "@happyvertical/smrt-users",
|
|
1172
1172
|
"fields": {},
|
|
1173
1173
|
"methods": {
|
|
@@ -1300,7 +1300,7 @@
|
|
|
1300
1300
|
"className": "RoleCollection",
|
|
1301
1301
|
"qualifiedName": "@happyvertical/smrt-users:RoleCollection",
|
|
1302
1302
|
"collection": "roles",
|
|
1303
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
1303
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/RoleCollection.ts",
|
|
1304
1304
|
"packageName": "@happyvertical/smrt-users",
|
|
1305
1305
|
"fields": {},
|
|
1306
1306
|
"methods": {
|
|
@@ -1433,7 +1433,7 @@
|
|
|
1433
1433
|
"className": "RolePermissionCollection",
|
|
1434
1434
|
"qualifiedName": "@happyvertical/smrt-users:RolePermissionCollection",
|
|
1435
1435
|
"collection": "rolepermissions",
|
|
1436
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
1436
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/RolePermissionCollection.ts",
|
|
1437
1437
|
"packageName": "@happyvertical/smrt-users",
|
|
1438
1438
|
"fields": {},
|
|
1439
1439
|
"methods": {
|
|
@@ -1615,7 +1615,7 @@
|
|
|
1615
1615
|
"className": "SessionCollection",
|
|
1616
1616
|
"qualifiedName": "@happyvertical/smrt-users:SessionCollection",
|
|
1617
1617
|
"collection": "sessions",
|
|
1618
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
1618
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/SessionCollection.ts",
|
|
1619
1619
|
"packageName": "@happyvertical/smrt-users",
|
|
1620
1620
|
"fields": {},
|
|
1621
1621
|
"methods": {
|
|
@@ -1871,7 +1871,7 @@
|
|
|
1871
1871
|
"className": "TenantCollection",
|
|
1872
1872
|
"qualifiedName": "@happyvertical/smrt-users:TenantCollection",
|
|
1873
1873
|
"collection": "tenants",
|
|
1874
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
1874
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/TenantCollection.ts",
|
|
1875
1875
|
"packageName": "@happyvertical/smrt-users",
|
|
1876
1876
|
"fields": {},
|
|
1877
1877
|
"methods": {
|
|
@@ -2195,7 +2195,7 @@
|
|
|
2195
2195
|
"className": "TenantIntegrationCollection",
|
|
2196
2196
|
"qualifiedName": "@happyvertical/smrt-users:TenantIntegrationCollection",
|
|
2197
2197
|
"collection": "tenantintegrations",
|
|
2198
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
2198
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/TenantIntegrationCollection.ts",
|
|
2199
2199
|
"packageName": "@happyvertical/smrt-users",
|
|
2200
2200
|
"fields": {},
|
|
2201
2201
|
"methods": {
|
|
@@ -2313,7 +2313,7 @@
|
|
|
2313
2313
|
"className": "TenantPermissionOverrideCollection",
|
|
2314
2314
|
"qualifiedName": "@happyvertical/smrt-users:TenantPermissionOverrideCollection",
|
|
2315
2315
|
"collection": "tenantpermissionoverrides",
|
|
2316
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
2316
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/TenantPermissionOverrideCollection.ts",
|
|
2317
2317
|
"packageName": "@happyvertical/smrt-users",
|
|
2318
2318
|
"fields": {},
|
|
2319
2319
|
"methods": {
|
|
@@ -2641,7 +2641,7 @@
|
|
|
2641
2641
|
"className": "UserCollection",
|
|
2642
2642
|
"qualifiedName": "@happyvertical/smrt-users:UserCollection",
|
|
2643
2643
|
"collection": "users",
|
|
2644
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
2644
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/collections/UserCollection.ts",
|
|
2645
2645
|
"packageName": "@happyvertical/smrt-users",
|
|
2646
2646
|
"fields": {},
|
|
2647
2647
|
"methods": {
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
"className": "AccessRequest",
|
|
2812
2812
|
"qualifiedName": "@happyvertical/smrt-users:AccessRequest",
|
|
2813
2813
|
"collection": "accessrequests",
|
|
2814
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
2814
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/AccessRequest.ts",
|
|
2815
2815
|
"packageName": "@happyvertical/smrt-users",
|
|
2816
2816
|
"fields": {
|
|
2817
2817
|
"email": {
|
|
@@ -3114,7 +3114,7 @@
|
|
|
3114
3114
|
"className": "UsersCliAuthRequest",
|
|
3115
3115
|
"qualifiedName": "@happyvertical/smrt-users:UsersCliAuthRequest",
|
|
3116
3116
|
"collection": "userscliauthrequests",
|
|
3117
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3117
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/CliAuthRequest.ts",
|
|
3118
3118
|
"packageName": "@happyvertical/smrt-users",
|
|
3119
3119
|
"fields": {
|
|
3120
3120
|
"userCode": {
|
|
@@ -3270,7 +3270,7 @@
|
|
|
3270
3270
|
"className": "Group",
|
|
3271
3271
|
"qualifiedName": "@happyvertical/smrt-users:Group",
|
|
3272
3272
|
"collection": "groups",
|
|
3273
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3273
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/Group.ts",
|
|
3274
3274
|
"packageName": "@happyvertical/smrt-users",
|
|
3275
3275
|
"fields": {
|
|
3276
3276
|
"tenantId": {
|
|
@@ -3390,7 +3390,7 @@
|
|
|
3390
3390
|
"className": "GroupMember",
|
|
3391
3391
|
"qualifiedName": "@happyvertical/smrt-users:GroupMember",
|
|
3392
3392
|
"collection": "groupmembers",
|
|
3393
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3393
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/GroupMember.ts",
|
|
3394
3394
|
"packageName": "@happyvertical/smrt-users",
|
|
3395
3395
|
"fields": {
|
|
3396
3396
|
"groupId": {
|
|
@@ -3507,7 +3507,7 @@
|
|
|
3507
3507
|
"className": "GroupRole",
|
|
3508
3508
|
"qualifiedName": "@happyvertical/smrt-users:GroupRole",
|
|
3509
3509
|
"collection": "grouproles",
|
|
3510
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3510
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/GroupRole.ts",
|
|
3511
3511
|
"packageName": "@happyvertical/smrt-users",
|
|
3512
3512
|
"fields": {
|
|
3513
3513
|
"groupId": {
|
|
@@ -3624,7 +3624,7 @@
|
|
|
3624
3624
|
"className": "UsersMagicLinkToken",
|
|
3625
3625
|
"qualifiedName": "@happyvertical/smrt-users:UsersMagicLinkToken",
|
|
3626
3626
|
"collection": "usersmagiclinktokens",
|
|
3627
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3627
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/MagicLinkToken.ts",
|
|
3628
3628
|
"packageName": "@happyvertical/smrt-users",
|
|
3629
3629
|
"fields": {
|
|
3630
3630
|
"nonce": {
|
|
@@ -3766,7 +3766,7 @@
|
|
|
3766
3766
|
"className": "Membership",
|
|
3767
3767
|
"qualifiedName": "@happyvertical/smrt-users:Membership",
|
|
3768
3768
|
"collection": "memberships",
|
|
3769
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3769
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/Membership.ts",
|
|
3770
3770
|
"packageName": "@happyvertical/smrt-users",
|
|
3771
3771
|
"fields": {
|
|
3772
3772
|
"userId": {
|
|
@@ -3929,7 +3929,7 @@
|
|
|
3929
3929
|
"className": "MembershipOverride",
|
|
3930
3930
|
"qualifiedName": "@happyvertical/smrt-users:MembershipOverride",
|
|
3931
3931
|
"collection": "membershipoverrides",
|
|
3932
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
3932
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/MembershipOverride.ts",
|
|
3933
3933
|
"packageName": "@happyvertical/smrt-users",
|
|
3934
3934
|
"fields": {
|
|
3935
3935
|
"membershipId": {
|
|
@@ -4073,7 +4073,7 @@
|
|
|
4073
4073
|
"className": "Permission",
|
|
4074
4074
|
"qualifiedName": "@happyvertical/smrt-users:Permission",
|
|
4075
4075
|
"collection": "permissions",
|
|
4076
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
4076
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/Permission.ts",
|
|
4077
4077
|
"packageName": "@happyvertical/smrt-users",
|
|
4078
4078
|
"fields": {
|
|
4079
4079
|
"name": {
|
|
@@ -4216,7 +4216,7 @@
|
|
|
4216
4216
|
"className": "Role",
|
|
4217
4217
|
"qualifiedName": "@happyvertical/smrt-users:Role",
|
|
4218
4218
|
"collection": "roles",
|
|
4219
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
4219
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/Role.ts",
|
|
4220
4220
|
"packageName": "@happyvertical/smrt-users",
|
|
4221
4221
|
"fields": {
|
|
4222
4222
|
"tenantId": {
|
|
@@ -4384,7 +4384,7 @@
|
|
|
4384
4384
|
"className": "RolePermission",
|
|
4385
4385
|
"qualifiedName": "@happyvertical/smrt-users:RolePermission",
|
|
4386
4386
|
"collection": "rolepermissions",
|
|
4387
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
4387
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/RolePermission.ts",
|
|
4388
4388
|
"packageName": "@happyvertical/smrt-users",
|
|
4389
4389
|
"fields": {
|
|
4390
4390
|
"roleId": {
|
|
@@ -4501,7 +4501,7 @@
|
|
|
4501
4501
|
"className": "Session",
|
|
4502
4502
|
"qualifiedName": "@happyvertical/smrt-users:Session",
|
|
4503
4503
|
"collection": "sessions",
|
|
4504
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
4504
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/Session.ts",
|
|
4505
4505
|
"packageName": "@happyvertical/smrt-users",
|
|
4506
4506
|
"fields": {
|
|
4507
4507
|
"userId": {
|
|
@@ -4777,7 +4777,7 @@
|
|
|
4777
4777
|
"className": "Tenant",
|
|
4778
4778
|
"qualifiedName": "@happyvertical/smrt-users:Tenant",
|
|
4779
4779
|
"collection": "tenants",
|
|
4780
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
4780
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/Tenant.ts",
|
|
4781
4781
|
"packageName": "@happyvertical/smrt-users",
|
|
4782
4782
|
"fields": {
|
|
4783
4783
|
"created_at": {
|
|
@@ -5498,7 +5498,7 @@
|
|
|
5498
5498
|
"className": "TenantIntegration",
|
|
5499
5499
|
"qualifiedName": "@happyvertical/smrt-users:TenantIntegration",
|
|
5500
5500
|
"collection": "tenantintegrations",
|
|
5501
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
5501
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/TenantIntegration.ts",
|
|
5502
5502
|
"packageName": "@happyvertical/smrt-users",
|
|
5503
5503
|
"fields": {
|
|
5504
5504
|
"tenantId": {
|
|
@@ -5771,7 +5771,7 @@
|
|
|
5771
5771
|
"className": "TenantPermissionOverride",
|
|
5772
5772
|
"qualifiedName": "@happyvertical/smrt-users:TenantPermissionOverride",
|
|
5773
5773
|
"collection": "tenantpermissionoverrides",
|
|
5774
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
5774
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/TenantPermissionOverride.ts",
|
|
5775
5775
|
"packageName": "@happyvertical/smrt-users",
|
|
5776
5776
|
"fields": {
|
|
5777
5777
|
"tenantId": {
|
|
@@ -5931,7 +5931,7 @@
|
|
|
5931
5931
|
"className": "User",
|
|
5932
5932
|
"qualifiedName": "@happyvertical/smrt-users:User",
|
|
5933
5933
|
"collection": "users",
|
|
5934
|
-
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-
|
|
5934
|
+
"filePath": "/home/runner/.local/share/pnpm/store/.workspaces/arc-happyvertical-node-sqm7p-runner-x4flp/smrt/smrt/packages/users/src/models/User.ts",
|
|
5935
5935
|
"packageName": "@happyvertical/smrt-users",
|
|
5936
5936
|
"fields": {
|
|
5937
5937
|
"profileId": {
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-15T07:44:19.066Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-users",
|
|
5
|
-
"packageVersion": "0.40.
|
|
5
|
+
"packageVersion": "0.40.2",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "be73b8c7392758c520018bdf96313e455187cc3bafc77e244723d809b7286676",
|
|
10
|
+
"packageJson": "71161399273076b75d33433445378257dbbbc00ed0a56015dad9c8b247f2b3a8",
|
|
11
11
|
"agents": "60d1174c3558a153e66eeea1763ce4550231610cc1d7d537781d7ca7ef274047"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
package/dist/sveltekit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as decodeOidcTransaction, E as resolveOidcProviderConfig, S as OidcLoginService, T as getUsersOidcConfig, _ as readMobileBearerToken, a as TerminalAuthRateLimitError, g as MobileAuthService, h as MobileAuthError, i as TerminalAuthError, m as withSessionPermissionContext, o as TerminalAuthService, s as OperationPermissionError, v as validateMobileRedirectUri, w as encodeOidcTransaction, x as OidcLoginError, y as SessionService } from "./chunks/TerminalAuthService-
|
|
1
|
+
import { C as decodeOidcTransaction, E as resolveOidcProviderConfig, S as OidcLoginService, T as getUsersOidcConfig, _ as readMobileBearerToken, a as TerminalAuthRateLimitError, g as MobileAuthService, h as MobileAuthError, i as TerminalAuthError, m as withSessionPermissionContext, o as TerminalAuthService, s as OperationPermissionError, v as validateMobileRedirectUri, w as encodeOidcTransaction, x as OidcLoginError, y as SessionService } from "./chunks/TerminalAuthService-B_9atAdL.js";
|
|
2
2
|
import { ObjectRegistry } from "@happyvertical/smrt-core";
|
|
3
3
|
import { createLogger } from "@happyvertical/logger";
|
|
4
4
|
import { classnameToTablename } from "@happyvertical/smrt-core/utils";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-users",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.2",
|
|
4
4
|
"description": "Multi-tenant user management for the SMRT framework - users, tenants, roles, permissions, groups",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"smrtRawPrimitives": "strict",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@happyvertical/logger": "^0.80.0",
|
|
45
45
|
"@happyvertical/sql": "^0.80.0",
|
|
46
46
|
"jose": "^6.2.3",
|
|
47
|
-
"@happyvertical/smrt-config": "0.40.
|
|
48
|
-
"@happyvertical/smrt-
|
|
49
|
-
"@happyvertical/smrt-
|
|
50
|
-
"@happyvertical/smrt-
|
|
51
|
-
"@happyvertical/smrt-types": "0.40.
|
|
52
|
-
"@happyvertical/smrt-tenancy": "0.40.
|
|
53
|
-
"@happyvertical/smrt-ui": "0.40.
|
|
47
|
+
"@happyvertical/smrt-config": "0.40.2",
|
|
48
|
+
"@happyvertical/smrt-mobile-contract": "0.40.2",
|
|
49
|
+
"@happyvertical/smrt-core": "0.40.2",
|
|
50
|
+
"@happyvertical/smrt-profiles": "0.40.2",
|
|
51
|
+
"@happyvertical/smrt-types": "0.40.2",
|
|
52
|
+
"@happyvertical/smrt-tenancy": "0.40.2",
|
|
53
|
+
"@happyvertical/smrt-ui": "0.40.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@sveltejs/package": "^2.5.8",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
63
|
"vite": "^8.1.3",
|
|
64
64
|
"vitest": "^4.1.9",
|
|
65
|
-
"@happyvertical/smrt-vitest": "0.40.
|
|
65
|
+
"@happyvertical/smrt-vitest": "0.40.2"
|
|
66
66
|
},
|
|
67
67
|
"keywords": [
|
|
68
68
|
"smrt",
|