@contractspec/lib.identity-rbac 1.56.1 → 1.58.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/dist/browser/contracts/index.js +1045 -0
- package/dist/browser/contracts/organization.js +655 -0
- package/dist/browser/contracts/rbac.js +599 -0
- package/dist/browser/contracts/user.js +235 -0
- package/dist/browser/entities/index.js +464 -0
- package/dist/browser/entities/organization.js +150 -0
- package/dist/browser/entities/rbac.js +124 -0
- package/dist/browser/entities/user.js +168 -0
- package/dist/browser/events.js +374 -0
- package/dist/browser/identity-rbac.capability.js +28 -0
- package/dist/browser/identity-rbac.feature.js +67 -0
- package/dist/browser/index.js +2099 -0
- package/dist/browser/policies/engine.js +154 -0
- package/dist/browser/policies/index.js +154 -0
- package/dist/contracts/index.d.ts +4 -4
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +1045 -4
- package/dist/contracts/organization.d.ts +758 -764
- package/dist/contracts/organization.d.ts.map +1 -1
- package/dist/contracts/organization.js +653 -602
- package/dist/contracts/rbac.d.ts +517 -523
- package/dist/contracts/rbac.d.ts.map +1 -1
- package/dist/contracts/rbac.js +597 -481
- package/dist/contracts/user.d.ts +513 -519
- package/dist/contracts/user.d.ts.map +1 -1
- package/dist/contracts/user.js +222 -319
- package/dist/entities/index.d.ts +164 -169
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +462 -33
- package/dist/entities/organization.d.ts +58 -63
- package/dist/entities/organization.d.ts.map +1 -1
- package/dist/entities/organization.js +145 -145
- package/dist/entities/rbac.d.ts +62 -67
- package/dist/entities/rbac.d.ts.map +1 -1
- package/dist/entities/rbac.js +119 -132
- package/dist/entities/user.d.ts +66 -71
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/entities/user.js +164 -189
- package/dist/events.d.ts +537 -543
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +343 -651
- package/dist/identity-rbac.capability.d.ts +2 -7
- package/dist/identity-rbac.capability.d.ts.map +1 -1
- package/dist/identity-rbac.capability.js +29 -29
- package/dist/identity-rbac.feature.d.ts +1 -7
- package/dist/identity-rbac.feature.d.ts.map +1 -1
- package/dist/identity-rbac.feature.js +66 -193
- package/dist/index.d.ts +6 -12
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2100 -14
- package/dist/node/contracts/index.js +1045 -0
- package/dist/node/contracts/organization.js +655 -0
- package/dist/node/contracts/rbac.js +599 -0
- package/dist/node/contracts/user.js +235 -0
- package/dist/node/entities/index.js +464 -0
- package/dist/node/entities/organization.js +150 -0
- package/dist/node/entities/rbac.js +124 -0
- package/dist/node/entities/user.js +168 -0
- package/dist/node/events.js +374 -0
- package/dist/node/identity-rbac.capability.js +28 -0
- package/dist/node/identity-rbac.feature.js +67 -0
- package/dist/node/index.js +2099 -0
- package/dist/node/policies/engine.js +154 -0
- package/dist/node/policies/index.js +154 -0
- package/dist/policies/engine.d.ts +98 -101
- package/dist/policies/engine.d.ts.map +1 -1
- package/dist/policies/engine.js +151 -164
- package/dist/policies/index.d.ts +2 -2
- package/dist/policies/index.d.ts.map +1 -0
- package/dist/policies/index.js +154 -2
- package/package.json +149 -40
- package/dist/contracts/organization.js.map +0 -1
- package/dist/contracts/rbac.js.map +0 -1
- package/dist/contracts/user.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/organization.js.map +0 -1
- package/dist/entities/rbac.js.map +0 -1
- package/dist/entities/user.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/identity-rbac.capability.js.map +0 -1
- package/dist/identity-rbac.feature.js.map +0 -1
- package/dist/policies/engine.js.map +0 -1
|
@@ -1,151 +1,151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
// src/entities/organization.ts
|
|
3
|
+
import {
|
|
4
|
+
defineEntity,
|
|
5
|
+
defineEntityEnum,
|
|
6
|
+
field,
|
|
7
|
+
index
|
|
8
|
+
} from "@contractspec/lib.schema";
|
|
9
|
+
var OrganizationTypeEnum = defineEntityEnum({
|
|
10
|
+
name: "OrganizationType",
|
|
11
|
+
values: ["PLATFORM_ADMIN", "CONTRACT_SPEC_CUSTOMER"],
|
|
12
|
+
schema: "lssm_sigil",
|
|
13
|
+
description: "Type of organization in the platform."
|
|
12
14
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
members: field.hasMany("Member"),
|
|
56
|
-
invitations: field.hasMany("Invitation"),
|
|
57
|
-
teams: field.hasMany("Team"),
|
|
58
|
-
policyBindings: field.hasMany("PolicyBinding")
|
|
59
|
-
},
|
|
60
|
-
enums: [OrganizationTypeEnum]
|
|
15
|
+
var OrganizationEntity = defineEntity({
|
|
16
|
+
name: "Organization",
|
|
17
|
+
description: "An organization is a tenant boundary grouping users.",
|
|
18
|
+
schema: "lssm_sigil",
|
|
19
|
+
map: "organization",
|
|
20
|
+
fields: {
|
|
21
|
+
id: field.id({ description: "Unique organization identifier" }),
|
|
22
|
+
name: field.string({ description: "Organization display name" }),
|
|
23
|
+
slug: field.string({
|
|
24
|
+
isOptional: true,
|
|
25
|
+
isUnique: true,
|
|
26
|
+
description: "URL-friendly identifier"
|
|
27
|
+
}),
|
|
28
|
+
logo: field.url({ isOptional: true, description: "Organization logo URL" }),
|
|
29
|
+
description: field.string({
|
|
30
|
+
isOptional: true,
|
|
31
|
+
description: "Organization description"
|
|
32
|
+
}),
|
|
33
|
+
metadata: field.json({
|
|
34
|
+
isOptional: true,
|
|
35
|
+
description: "Arbitrary organization metadata"
|
|
36
|
+
}),
|
|
37
|
+
type: field.enum("OrganizationType", { description: "Organization type" }),
|
|
38
|
+
onboardingCompleted: field.boolean({ default: false }),
|
|
39
|
+
onboardingStep: field.string({ isOptional: true }),
|
|
40
|
+
referralCode: field.string({
|
|
41
|
+
isOptional: true,
|
|
42
|
+
isUnique: true,
|
|
43
|
+
description: "Unique referral code"
|
|
44
|
+
}),
|
|
45
|
+
referredBy: field.string({
|
|
46
|
+
isOptional: true,
|
|
47
|
+
description: "ID of referring user"
|
|
48
|
+
}),
|
|
49
|
+
createdAt: field.createdAt(),
|
|
50
|
+
updatedAt: field.updatedAt(),
|
|
51
|
+
members: field.hasMany("Member"),
|
|
52
|
+
invitations: field.hasMany("Invitation"),
|
|
53
|
+
teams: field.hasMany("Team"),
|
|
54
|
+
policyBindings: field.hasMany("PolicyBinding")
|
|
55
|
+
},
|
|
56
|
+
enums: [OrganizationTypeEnum]
|
|
61
57
|
});
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
58
|
+
var MemberEntity = defineEntity({
|
|
59
|
+
name: "Member",
|
|
60
|
+
description: "Membership of a user in an organization with a role.",
|
|
61
|
+
schema: "lssm_sigil",
|
|
62
|
+
map: "member",
|
|
63
|
+
fields: {
|
|
64
|
+
id: field.id(),
|
|
65
|
+
userId: field.foreignKey(),
|
|
66
|
+
organizationId: field.foreignKey(),
|
|
67
|
+
role: field.string({
|
|
68
|
+
description: "Role in organization (owner, admin, member)"
|
|
69
|
+
}),
|
|
70
|
+
createdAt: field.createdAt(),
|
|
71
|
+
user: field.belongsTo("User", ["userId"], ["id"], { onDelete: "Cascade" }),
|
|
72
|
+
organization: field.belongsTo("Organization", ["organizationId"], ["id"], {
|
|
73
|
+
onDelete: "Cascade"
|
|
74
|
+
})
|
|
75
|
+
},
|
|
76
|
+
indexes: [index.unique(["userId", "organizationId"])]
|
|
80
77
|
});
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
78
|
+
var InvitationEntity = defineEntity({
|
|
79
|
+
name: "Invitation",
|
|
80
|
+
description: "An invitation to join an organization.",
|
|
81
|
+
schema: "lssm_sigil",
|
|
82
|
+
map: "invitation",
|
|
83
|
+
fields: {
|
|
84
|
+
id: field.id(),
|
|
85
|
+
organizationId: field.foreignKey(),
|
|
86
|
+
email: field.email({ description: "Invited email address" }),
|
|
87
|
+
role: field.string({
|
|
88
|
+
isOptional: true,
|
|
89
|
+
description: "Role to assign on acceptance"
|
|
90
|
+
}),
|
|
91
|
+
status: field.string({
|
|
92
|
+
default: '"pending"',
|
|
93
|
+
description: "Invitation status"
|
|
94
|
+
}),
|
|
95
|
+
acceptedAt: field.dateTime({ isOptional: true }),
|
|
96
|
+
expiresAt: field.dateTime({ isOptional: true }),
|
|
97
|
+
inviterId: field.foreignKey({
|
|
98
|
+
description: "User who sent the invitation"
|
|
99
|
+
}),
|
|
100
|
+
teamId: field.string({ isOptional: true }),
|
|
101
|
+
createdAt: field.createdAt(),
|
|
102
|
+
updatedAt: field.updatedAt(),
|
|
103
|
+
organization: field.belongsTo("Organization", ["organizationId"], ["id"], {
|
|
104
|
+
onDelete: "Cascade"
|
|
105
|
+
}),
|
|
106
|
+
inviter: field.belongsTo("User", ["inviterId"], ["id"], {
|
|
107
|
+
onDelete: "Cascade"
|
|
108
|
+
}),
|
|
109
|
+
team: field.belongsTo("Team", ["teamId"], ["id"], { onDelete: "Cascade" })
|
|
110
|
+
}
|
|
111
111
|
});
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
112
|
+
var TeamEntity = defineEntity({
|
|
113
|
+
name: "Team",
|
|
114
|
+
description: "Team within an organization.",
|
|
115
|
+
schema: "lssm_sigil",
|
|
116
|
+
map: "team",
|
|
117
|
+
fields: {
|
|
118
|
+
id: field.id(),
|
|
119
|
+
name: field.string({ description: "Team name" }),
|
|
120
|
+
organizationId: field.foreignKey(),
|
|
121
|
+
createdAt: field.createdAt(),
|
|
122
|
+
updatedAt: field.updatedAt(),
|
|
123
|
+
organization: field.belongsTo("Organization", ["organizationId"], ["id"], {
|
|
124
|
+
onDelete: "Cascade"
|
|
125
|
+
}),
|
|
126
|
+
members: field.hasMany("TeamMember"),
|
|
127
|
+
invitations: field.hasMany("Invitation")
|
|
128
|
+
}
|
|
130
129
|
});
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
team: field.belongsTo("Team", ["teamId"], ["id"], { onDelete: "Cascade" }),
|
|
145
|
-
user: field.belongsTo("User", ["userId"], ["id"], { onDelete: "Cascade" })
|
|
146
|
-
}
|
|
130
|
+
var TeamMemberEntity = defineEntity({
|
|
131
|
+
name: "TeamMember",
|
|
132
|
+
description: "Team membership for a user.",
|
|
133
|
+
schema: "lssm_sigil",
|
|
134
|
+
map: "team_member",
|
|
135
|
+
fields: {
|
|
136
|
+
id: field.id(),
|
|
137
|
+
teamId: field.foreignKey(),
|
|
138
|
+
userId: field.foreignKey(),
|
|
139
|
+
createdAt: field.createdAt(),
|
|
140
|
+
team: field.belongsTo("Team", ["teamId"], ["id"], { onDelete: "Cascade" }),
|
|
141
|
+
user: field.belongsTo("User", ["userId"], ["id"], { onDelete: "Cascade" })
|
|
142
|
+
}
|
|
147
143
|
});
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
144
|
+
export {
|
|
145
|
+
TeamMemberEntity,
|
|
146
|
+
TeamEntity,
|
|
147
|
+
OrganizationTypeEnum,
|
|
148
|
+
OrganizationEntity,
|
|
149
|
+
MemberEntity,
|
|
150
|
+
InvitationEntity
|
|
151
|
+
};
|
package/dist/entities/rbac.d.ts
CHANGED
|
@@ -1,88 +1,83 @@
|
|
|
1
|
-
import * as _contractspec_lib_schema792 from "@contractspec/lib.schema";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/rbac.d.ts
|
|
4
1
|
/**
|
|
5
2
|
* Role entity - named set of permissions.
|
|
6
3
|
*/
|
|
7
|
-
declare const RoleEntity:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
export declare const RoleEntity: import("@contractspec/lib.schema").EntitySpec<{
|
|
5
|
+
id: import("@contractspec/lib.schema").EntityScalarField;
|
|
6
|
+
name: import("@contractspec/lib.schema").EntityScalarField;
|
|
7
|
+
description: import("@contractspec/lib.schema").EntityScalarField;
|
|
8
|
+
permissions: import("@contractspec/lib.schema").EntityScalarField;
|
|
9
|
+
createdAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
10
|
+
updatedAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
11
|
+
policyBindings: import("@contractspec/lib.schema").EntityRelationField;
|
|
15
12
|
}>;
|
|
16
13
|
/**
|
|
17
14
|
* Permission entity - atomic access right.
|
|
18
15
|
*/
|
|
19
|
-
declare const PermissionEntity:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
export declare const PermissionEntity: import("@contractspec/lib.schema").EntitySpec<{
|
|
17
|
+
id: import("@contractspec/lib.schema").EntityScalarField;
|
|
18
|
+
name: import("@contractspec/lib.schema").EntityScalarField;
|
|
19
|
+
description: import("@contractspec/lib.schema").EntityScalarField;
|
|
20
|
+
createdAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
21
|
+
updatedAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
25
22
|
}>;
|
|
26
23
|
/**
|
|
27
24
|
* PolicyBinding entity - binds roles to principals.
|
|
28
25
|
*/
|
|
29
|
-
declare const PolicyBindingEntity:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
26
|
+
export declare const PolicyBindingEntity: import("@contractspec/lib.schema").EntitySpec<{
|
|
27
|
+
id: import("@contractspec/lib.schema").EntityScalarField;
|
|
28
|
+
roleId: import("@contractspec/lib.schema").EntityScalarField;
|
|
29
|
+
targetType: import("@contractspec/lib.schema").EntityScalarField;
|
|
30
|
+
targetId: import("@contractspec/lib.schema").EntityScalarField;
|
|
31
|
+
expiresAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
32
|
+
createdAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
33
|
+
userId: import("@contractspec/lib.schema").EntityScalarField;
|
|
34
|
+
organizationId: import("@contractspec/lib.schema").EntityScalarField;
|
|
35
|
+
role: import("@contractspec/lib.schema").EntityRelationField;
|
|
36
|
+
user: import("@contractspec/lib.schema").EntityRelationField;
|
|
37
|
+
organization: import("@contractspec/lib.schema").EntityRelationField;
|
|
41
38
|
}>;
|
|
42
39
|
/**
|
|
43
40
|
* ApiKey entity - API keys for programmatic access.
|
|
44
41
|
*/
|
|
45
|
-
declare const ApiKeyEntity:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
42
|
+
export declare const ApiKeyEntity: import("@contractspec/lib.schema").EntitySpec<{
|
|
43
|
+
id: import("@contractspec/lib.schema").EntityScalarField;
|
|
44
|
+
name: import("@contractspec/lib.schema").EntityScalarField;
|
|
45
|
+
start: import("@contractspec/lib.schema").EntityScalarField;
|
|
46
|
+
prefix: import("@contractspec/lib.schema").EntityScalarField;
|
|
47
|
+
key: import("@contractspec/lib.schema").EntityScalarField;
|
|
48
|
+
userId: import("@contractspec/lib.schema").EntityScalarField;
|
|
49
|
+
refillInterval: import("@contractspec/lib.schema").EntityScalarField;
|
|
50
|
+
refillAmount: import("@contractspec/lib.schema").EntityScalarField;
|
|
51
|
+
lastRefillAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
52
|
+
remaining: import("@contractspec/lib.schema").EntityScalarField;
|
|
53
|
+
requestCount: import("@contractspec/lib.schema").EntityScalarField;
|
|
54
|
+
lastRequest: import("@contractspec/lib.schema").EntityScalarField;
|
|
55
|
+
enabled: import("@contractspec/lib.schema").EntityScalarField;
|
|
56
|
+
rateLimitEnabled: import("@contractspec/lib.schema").EntityScalarField;
|
|
57
|
+
rateLimitTimeWindow: import("@contractspec/lib.schema").EntityScalarField;
|
|
58
|
+
rateLimitMax: import("@contractspec/lib.schema").EntityScalarField;
|
|
59
|
+
expiresAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
60
|
+
permissions: import("@contractspec/lib.schema").EntityScalarField;
|
|
61
|
+
metadata: import("@contractspec/lib.schema").EntityScalarField;
|
|
62
|
+
createdAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
63
|
+
updatedAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
64
|
+
user: import("@contractspec/lib.schema").EntityRelationField;
|
|
68
65
|
}>;
|
|
69
66
|
/**
|
|
70
67
|
* Passkey entity - WebAuthn passkeys.
|
|
71
68
|
*/
|
|
72
|
-
declare const PasskeyEntity:
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
69
|
+
export declare const PasskeyEntity: import("@contractspec/lib.schema").EntitySpec<{
|
|
70
|
+
id: import("@contractspec/lib.schema").EntityScalarField;
|
|
71
|
+
name: import("@contractspec/lib.schema").EntityScalarField;
|
|
72
|
+
publicKey: import("@contractspec/lib.schema").EntityScalarField;
|
|
73
|
+
userId: import("@contractspec/lib.schema").EntityScalarField;
|
|
74
|
+
credentialID: import("@contractspec/lib.schema").EntityScalarField;
|
|
75
|
+
counter: import("@contractspec/lib.schema").EntityScalarField;
|
|
76
|
+
deviceType: import("@contractspec/lib.schema").EntityScalarField;
|
|
77
|
+
backedUp: import("@contractspec/lib.schema").EntityScalarField;
|
|
78
|
+
transports: import("@contractspec/lib.schema").EntityScalarField;
|
|
79
|
+
aaguid: import("@contractspec/lib.schema").EntityScalarField;
|
|
80
|
+
createdAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
81
|
+
user: import("@contractspec/lib.schema").EntityRelationField;
|
|
85
82
|
}>;
|
|
86
|
-
//#endregion
|
|
87
|
-
export { ApiKeyEntity, PasskeyEntity, PermissionEntity, PolicyBindingEntity, RoleEntity };
|
|
88
83
|
//# sourceMappingURL=rbac.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rbac.d.ts","
|
|
1
|
+
{"version":3,"file":"rbac.d.ts","sourceRoot":"","sources":["../../src/entities/rbac.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;EAsBrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;EAkB3B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EA0B9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;EA0CvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;EAqBxB,CAAC"}
|