@contractspec/lib.identity-rbac 1.46.0 → 1.46.1
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/contracts/user.d.ts +134 -134
- package/dist/entities/index.d.ts +160 -160
- package/dist/entities/rbac.d.ts +63 -63
- package/dist/entities/user.d.ts +67 -67
- package/package.json +5 -5
package/dist/entities/user.d.ts
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema854 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/user.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* User entity - core user profile and authentication.
|
|
6
6
|
*/
|
|
7
|
-
declare const UserEntity:
|
|
8
|
-
id:
|
|
9
|
-
email:
|
|
10
|
-
emailVerified:
|
|
11
|
-
name:
|
|
12
|
-
firstName:
|
|
13
|
-
lastName:
|
|
14
|
-
locale:
|
|
15
|
-
timezone:
|
|
16
|
-
imageUrl:
|
|
17
|
-
image:
|
|
18
|
-
metadata:
|
|
19
|
-
onboardingCompleted:
|
|
20
|
-
onboardingStep:
|
|
21
|
-
whitelistedAt:
|
|
22
|
-
role:
|
|
23
|
-
banned:
|
|
24
|
-
banReason:
|
|
25
|
-
banExpires:
|
|
26
|
-
phoneNumber:
|
|
27
|
-
phoneNumberVerified:
|
|
28
|
-
createdAt:
|
|
29
|
-
updatedAt:
|
|
30
|
-
sessions:
|
|
31
|
-
accounts:
|
|
32
|
-
memberships:
|
|
33
|
-
invitations:
|
|
34
|
-
teamMemberships:
|
|
35
|
-
policyBindings:
|
|
36
|
-
apiKeys:
|
|
37
|
-
passkeys:
|
|
7
|
+
declare const UserEntity: _contractspec_lib_schema854.EntitySpec<{
|
|
8
|
+
id: _contractspec_lib_schema854.EntityScalarField;
|
|
9
|
+
email: _contractspec_lib_schema854.EntityScalarField;
|
|
10
|
+
emailVerified: _contractspec_lib_schema854.EntityScalarField;
|
|
11
|
+
name: _contractspec_lib_schema854.EntityScalarField;
|
|
12
|
+
firstName: _contractspec_lib_schema854.EntityScalarField;
|
|
13
|
+
lastName: _contractspec_lib_schema854.EntityScalarField;
|
|
14
|
+
locale: _contractspec_lib_schema854.EntityScalarField;
|
|
15
|
+
timezone: _contractspec_lib_schema854.EntityScalarField;
|
|
16
|
+
imageUrl: _contractspec_lib_schema854.EntityScalarField;
|
|
17
|
+
image: _contractspec_lib_schema854.EntityScalarField;
|
|
18
|
+
metadata: _contractspec_lib_schema854.EntityScalarField;
|
|
19
|
+
onboardingCompleted: _contractspec_lib_schema854.EntityScalarField;
|
|
20
|
+
onboardingStep: _contractspec_lib_schema854.EntityScalarField;
|
|
21
|
+
whitelistedAt: _contractspec_lib_schema854.EntityScalarField;
|
|
22
|
+
role: _contractspec_lib_schema854.EntityScalarField;
|
|
23
|
+
banned: _contractspec_lib_schema854.EntityScalarField;
|
|
24
|
+
banReason: _contractspec_lib_schema854.EntityScalarField;
|
|
25
|
+
banExpires: _contractspec_lib_schema854.EntityScalarField;
|
|
26
|
+
phoneNumber: _contractspec_lib_schema854.EntityScalarField;
|
|
27
|
+
phoneNumberVerified: _contractspec_lib_schema854.EntityScalarField;
|
|
28
|
+
createdAt: _contractspec_lib_schema854.EntityScalarField;
|
|
29
|
+
updatedAt: _contractspec_lib_schema854.EntityScalarField;
|
|
30
|
+
sessions: _contractspec_lib_schema854.EntityRelationField;
|
|
31
|
+
accounts: _contractspec_lib_schema854.EntityRelationField;
|
|
32
|
+
memberships: _contractspec_lib_schema854.EntityRelationField;
|
|
33
|
+
invitations: _contractspec_lib_schema854.EntityRelationField;
|
|
34
|
+
teamMemberships: _contractspec_lib_schema854.EntityRelationField;
|
|
35
|
+
policyBindings: _contractspec_lib_schema854.EntityRelationField;
|
|
36
|
+
apiKeys: _contractspec_lib_schema854.EntityRelationField;
|
|
37
|
+
passkeys: _contractspec_lib_schema854.EntityRelationField;
|
|
38
38
|
}>;
|
|
39
39
|
/**
|
|
40
40
|
* Session entity - login sessions.
|
|
41
41
|
*/
|
|
42
|
-
declare const SessionEntity:
|
|
43
|
-
id:
|
|
44
|
-
userId:
|
|
45
|
-
expiresAt:
|
|
46
|
-
token:
|
|
47
|
-
ipAddress:
|
|
48
|
-
userAgent:
|
|
49
|
-
impersonatedBy:
|
|
50
|
-
activeOrganizationId:
|
|
51
|
-
activeTeamId:
|
|
52
|
-
createdAt:
|
|
53
|
-
updatedAt:
|
|
54
|
-
user:
|
|
42
|
+
declare const SessionEntity: _contractspec_lib_schema854.EntitySpec<{
|
|
43
|
+
id: _contractspec_lib_schema854.EntityScalarField;
|
|
44
|
+
userId: _contractspec_lib_schema854.EntityScalarField;
|
|
45
|
+
expiresAt: _contractspec_lib_schema854.EntityScalarField;
|
|
46
|
+
token: _contractspec_lib_schema854.EntityScalarField;
|
|
47
|
+
ipAddress: _contractspec_lib_schema854.EntityScalarField;
|
|
48
|
+
userAgent: _contractspec_lib_schema854.EntityScalarField;
|
|
49
|
+
impersonatedBy: _contractspec_lib_schema854.EntityScalarField;
|
|
50
|
+
activeOrganizationId: _contractspec_lib_schema854.EntityScalarField;
|
|
51
|
+
activeTeamId: _contractspec_lib_schema854.EntityScalarField;
|
|
52
|
+
createdAt: _contractspec_lib_schema854.EntityScalarField;
|
|
53
|
+
updatedAt: _contractspec_lib_schema854.EntityScalarField;
|
|
54
|
+
user: _contractspec_lib_schema854.EntityRelationField;
|
|
55
55
|
}>;
|
|
56
56
|
/**
|
|
57
57
|
* Account entity - external authentication accounts.
|
|
58
58
|
*/
|
|
59
|
-
declare const AccountEntity:
|
|
60
|
-
id:
|
|
61
|
-
accountId:
|
|
62
|
-
providerId:
|
|
63
|
-
userId:
|
|
64
|
-
accessToken:
|
|
65
|
-
refreshToken:
|
|
66
|
-
idToken:
|
|
67
|
-
accessTokenExpiresAt:
|
|
68
|
-
refreshTokenExpiresAt:
|
|
69
|
-
scope:
|
|
70
|
-
password:
|
|
71
|
-
createdAt:
|
|
72
|
-
updatedAt:
|
|
73
|
-
user:
|
|
59
|
+
declare const AccountEntity: _contractspec_lib_schema854.EntitySpec<{
|
|
60
|
+
id: _contractspec_lib_schema854.EntityScalarField;
|
|
61
|
+
accountId: _contractspec_lib_schema854.EntityScalarField;
|
|
62
|
+
providerId: _contractspec_lib_schema854.EntityScalarField;
|
|
63
|
+
userId: _contractspec_lib_schema854.EntityScalarField;
|
|
64
|
+
accessToken: _contractspec_lib_schema854.EntityScalarField;
|
|
65
|
+
refreshToken: _contractspec_lib_schema854.EntityScalarField;
|
|
66
|
+
idToken: _contractspec_lib_schema854.EntityScalarField;
|
|
67
|
+
accessTokenExpiresAt: _contractspec_lib_schema854.EntityScalarField;
|
|
68
|
+
refreshTokenExpiresAt: _contractspec_lib_schema854.EntityScalarField;
|
|
69
|
+
scope: _contractspec_lib_schema854.EntityScalarField;
|
|
70
|
+
password: _contractspec_lib_schema854.EntityScalarField;
|
|
71
|
+
createdAt: _contractspec_lib_schema854.EntityScalarField;
|
|
72
|
+
updatedAt: _contractspec_lib_schema854.EntityScalarField;
|
|
73
|
+
user: _contractspec_lib_schema854.EntityRelationField;
|
|
74
74
|
}>;
|
|
75
75
|
/**
|
|
76
76
|
* Verification entity - email/phone verification tokens.
|
|
77
77
|
*/
|
|
78
|
-
declare const VerificationEntity:
|
|
79
|
-
id:
|
|
80
|
-
identifier:
|
|
81
|
-
value:
|
|
82
|
-
expiresAt:
|
|
83
|
-
createdAt:
|
|
84
|
-
updatedAt:
|
|
78
|
+
declare const VerificationEntity: _contractspec_lib_schema854.EntitySpec<{
|
|
79
|
+
id: _contractspec_lib_schema854.EntityScalarField;
|
|
80
|
+
identifier: _contractspec_lib_schema854.EntityScalarField;
|
|
81
|
+
value: _contractspec_lib_schema854.EntityScalarField;
|
|
82
|
+
expiresAt: _contractspec_lib_schema854.EntityScalarField;
|
|
83
|
+
createdAt: _contractspec_lib_schema854.EntityScalarField;
|
|
84
|
+
updatedAt: _contractspec_lib_schema854.EntityScalarField;
|
|
85
85
|
}>;
|
|
86
86
|
//#endregion
|
|
87
87
|
export { AccountEntity, SessionEntity, UserEntity, VerificationEntity };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.identity-rbac",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.1",
|
|
4
4
|
"description": "Identity, Organizations, and RBAC module for ContractSpec applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"lint:check": "eslint src"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@contractspec/lib.schema": "1.46.
|
|
30
|
-
"@contractspec/lib.contracts": "1.46.
|
|
29
|
+
"@contractspec/lib.schema": "1.46.1",
|
|
30
|
+
"@contractspec/lib.contracts": "1.46.1",
|
|
31
31
|
"zod": "^4.1.13"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@contractspec/tool.typescript": "1.46.
|
|
35
|
-
"@contractspec/tool.tsdown": "1.46.
|
|
34
|
+
"@contractspec/tool.typescript": "1.46.1",
|
|
35
|
+
"@contractspec/tool.tsdown": "1.46.1",
|
|
36
36
|
"typescript": "^5.9.3"
|
|
37
37
|
},
|
|
38
38
|
"exports": {
|