@contractspec/lib.identity-rbac 1.61.0 → 2.0.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 +3 -3
- package/dist/browser/contracts/organization.js +2 -2
- package/dist/browser/contracts/rbac.js +2 -2
- package/dist/browser/contracts/user.js +1 -1
- package/dist/browser/events.js +1 -1
- package/dist/browser/identity-rbac.capability.js +4 -1
- package/dist/browser/identity-rbac.feature.js +1 -1
- package/dist/browser/index.js +5 -5
- package/dist/contracts/index.d.ts +0 -1
- package/dist/contracts/index.js +3 -3
- package/dist/contracts/organization.d.ts +8 -9
- package/dist/contracts/organization.js +2 -2
- package/dist/contracts/rbac.d.ts +8 -9
- package/dist/contracts/rbac.js +2 -2
- package/dist/contracts/user.d.ts +5 -6
- package/dist/contracts/user.js +1 -1
- package/dist/entities/index.d.ts +0 -1
- package/dist/entities/organization.d.ts +0 -1
- package/dist/entities/rbac.d.ts +0 -1
- package/dist/entities/user.d.ts +0 -1
- package/dist/events.d.ts +30 -31
- package/dist/events.js +1 -1
- package/dist/identity-rbac.capability.d.ts +2 -3
- package/dist/identity-rbac.capability.js +4 -1
- package/dist/identity-rbac.feature.d.ts +1 -2
- package/dist/identity-rbac.feature.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +5 -5
- package/dist/node/contracts/index.js +3 -3
- package/dist/node/contracts/organization.js +2 -2
- package/dist/node/contracts/rbac.js +2 -2
- package/dist/node/contracts/user.js +1 -1
- package/dist/node/events.js +1 -1
- package/dist/node/identity-rbac.capability.js +4 -1
- package/dist/node/identity-rbac.feature.js +1 -1
- package/dist/node/index.js +5 -5
- package/dist/policies/engine.d.ts +0 -1
- package/dist/policies/index.d.ts +0 -1
- package/package.json +5 -5
- package/dist/contracts/index.d.ts.map +0 -1
- package/dist/contracts/organization.d.ts.map +0 -1
- package/dist/contracts/rbac.d.ts.map +0 -1
- package/dist/contracts/user.d.ts.map +0 -1
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/organization.d.ts.map +0 -1
- package/dist/entities/rbac.d.ts.map +0 -1
- package/dist/entities/user.d.ts.map +0 -1
- package/dist/events.d.ts.map +0 -1
- package/dist/identity-rbac.capability.d.ts.map +0 -1
- package/dist/identity-rbac.feature.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/policies/engine.d.ts.map +0 -1
- package/dist/policies/index.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/organization.ts
|
|
223
223
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
226
226
|
var OrganizationModel = new SchemaModel2({
|
|
227
227
|
name: "Organization",
|
|
@@ -631,7 +631,7 @@ var ListUserOrgsContract = defineQuery2({
|
|
|
631
631
|
|
|
632
632
|
// src/contracts/rbac.ts
|
|
633
633
|
import { SchemaModel as SchemaModel3, ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
634
|
-
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts";
|
|
634
|
+
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts-spec";
|
|
635
635
|
var RoleModel = new SchemaModel3({
|
|
636
636
|
name: "Role",
|
|
637
637
|
description: "RBAC role definition",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/organization.ts
|
|
223
223
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
226
226
|
var OrganizationModel = new SchemaModel2({
|
|
227
227
|
name: "Organization",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/rbac.ts
|
|
223
223
|
import { SchemaModel as SchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var RoleModel = new SchemaModel2({
|
|
226
226
|
name: "Role",
|
|
227
227
|
description: "RBAC role definition",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
package/dist/browser/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var UserCreatedPayload = new SchemaModel({
|
|
5
5
|
name: "UserCreatedPayload",
|
|
6
6
|
description: "Payload for user created event",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/identity-rbac.capability.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
defineCapability,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var IdentityCapability = defineCapability({
|
|
4
7
|
meta: {
|
|
5
8
|
key: "identity",
|
package/dist/browser/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/organization.ts
|
|
223
223
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
226
226
|
var OrganizationModel = new SchemaModel2({
|
|
227
227
|
name: "Organization",
|
|
@@ -631,7 +631,7 @@ var ListUserOrgsContract = defineQuery2({
|
|
|
631
631
|
|
|
632
632
|
// src/contracts/rbac.ts
|
|
633
633
|
import { SchemaModel as SchemaModel3, ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
634
|
-
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts";
|
|
634
|
+
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts-spec";
|
|
635
635
|
var RoleModel = new SchemaModel3({
|
|
636
636
|
name: "Role",
|
|
637
637
|
description: "RBAC role definition",
|
|
@@ -1432,7 +1432,7 @@ var identityRbacSchemaContribution = {
|
|
|
1432
1432
|
|
|
1433
1433
|
// src/events.ts
|
|
1434
1434
|
import { SchemaModel as SchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
1435
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
1435
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
1436
1436
|
var UserCreatedPayload = new SchemaModel4({
|
|
1437
1437
|
name: "UserCreatedPayload",
|
|
1438
1438
|
description: "Payload for user created event",
|
|
@@ -1788,7 +1788,7 @@ var IdentityRbacEvents = {
|
|
|
1788
1788
|
};
|
|
1789
1789
|
|
|
1790
1790
|
// src/identity-rbac.feature.ts
|
|
1791
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
1791
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
1792
1792
|
var IdentityRbacFeature = defineFeature({
|
|
1793
1793
|
meta: {
|
|
1794
1794
|
key: "identity-rbac",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { UserProfileModel, CreateUserInputModel, UpdateUserInputModel, SuccessResultModel, UserDeletedPayloadModel, ListUsersInputModel, ListUsersOutputModel, DeleteUserInputModel, CreateUserContract, GetCurrentUserContract, UpdateUserContract, DeleteUserContract, ListUsersContract, } from './user';
|
|
2
2
|
export { OrganizationModel, MemberModel, MemberUserModel, InvitationModel, CreateOrgInputModel, GetOrgInputModel, UpdateOrgInputModel, InviteMemberInputModel, AcceptInviteInputModel, RemoveMemberInputModel, MemberRemovedPayloadModel, ListMembersInputModel, ListMembersOutputModel, OrganizationWithRoleModel, ListUserOrgsOutputModel, CreateOrgContract, GetOrgContract, UpdateOrgContract, InviteMemberContract, AcceptInviteContract, RemoveMemberContract, ListMembersContract, ListUserOrgsContract, } from './organization';
|
|
3
3
|
export { RoleModel, PolicyBindingModel, PermissionCheckResultModel, CreateRoleInputModel, UpdateRoleInputModel, DeleteRoleInputModel, ListRolesOutputModel, AssignRoleInputModel, RevokeRoleInputModel, BindingIdPayloadModel, CheckPermissionInputModel, ListUserPermissionsInputModel, ListUserPermissionsOutputModel, CreateRoleContract, UpdateRoleContract, DeleteRoleContract, ListRolesContract, AssignRoleContract, RevokeRoleContract, CheckPermissionContract, ListUserPermissionsContract, } from './rbac';
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/contracts/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/contracts/user.ts
|
|
3
3
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var OWNERS = ["platform.identity-rbac"];
|
|
6
6
|
var UserProfileModel = new SchemaModel({
|
|
7
7
|
name: "UserProfile",
|
|
@@ -222,7 +222,7 @@ var ListUsersContract = defineQuery({
|
|
|
222
222
|
|
|
223
223
|
// src/contracts/organization.ts
|
|
224
224
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
225
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
225
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
226
226
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
227
227
|
var OrganizationModel = new SchemaModel2({
|
|
228
228
|
name: "Organization",
|
|
@@ -632,7 +632,7 @@ var ListUserOrgsContract = defineQuery2({
|
|
|
632
632
|
|
|
633
633
|
// src/contracts/rbac.ts
|
|
634
634
|
import { SchemaModel as SchemaModel3, ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
635
|
-
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts";
|
|
635
|
+
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts-spec";
|
|
636
636
|
var RoleModel = new SchemaModel3({
|
|
637
637
|
name: "Role",
|
|
638
638
|
description: "RBAC role definition",
|
|
@@ -350,7 +350,7 @@ export declare const ListUserOrgsOutputModel: SchemaModel<{
|
|
|
350
350
|
/**
|
|
351
351
|
* Create a new organization.
|
|
352
352
|
*/
|
|
353
|
-
export declare const CreateOrgContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
353
|
+
export declare const CreateOrgContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
354
354
|
name: {
|
|
355
355
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
356
356
|
isOptional: false;
|
|
@@ -442,7 +442,7 @@ export declare const CreateOrgContract: import("@contractspec/lib.contracts").Op
|
|
|
442
442
|
/**
|
|
443
443
|
* Get organization details.
|
|
444
444
|
*/
|
|
445
|
-
export declare const GetOrgContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
445
|
+
export declare const GetOrgContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
446
446
|
orgId: {
|
|
447
447
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
448
448
|
isOptional: false;
|
|
@@ -484,7 +484,7 @@ export declare const GetOrgContract: import("@contractspec/lib.contracts").Opera
|
|
|
484
484
|
/**
|
|
485
485
|
* Update organization.
|
|
486
486
|
*/
|
|
487
|
-
export declare const UpdateOrgContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
487
|
+
export declare const UpdateOrgContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
488
488
|
orgId: {
|
|
489
489
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
490
490
|
isOptional: false;
|
|
@@ -580,7 +580,7 @@ export declare const UpdateOrgContract: import("@contractspec/lib.contracts").Op
|
|
|
580
580
|
/**
|
|
581
581
|
* Invite a member to the organization.
|
|
582
582
|
*/
|
|
583
|
-
export declare const InviteMemberContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
583
|
+
export declare const InviteMemberContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
584
584
|
orgId: {
|
|
585
585
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
586
586
|
isOptional: false;
|
|
@@ -656,7 +656,7 @@ export declare const InviteMemberContract: import("@contractspec/lib.contracts")
|
|
|
656
656
|
/**
|
|
657
657
|
* Accept an invitation.
|
|
658
658
|
*/
|
|
659
|
-
export declare const AcceptInviteContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
659
|
+
export declare const AcceptInviteContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
660
660
|
invitationId: {
|
|
661
661
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
662
662
|
isOptional: false;
|
|
@@ -746,7 +746,7 @@ export declare const AcceptInviteContract: import("@contractspec/lib.contracts")
|
|
|
746
746
|
/**
|
|
747
747
|
* Remove a member from the organization.
|
|
748
748
|
*/
|
|
749
|
-
export declare const RemoveMemberContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
749
|
+
export declare const RemoveMemberContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
750
750
|
orgId: {
|
|
751
751
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
752
752
|
isOptional: false;
|
|
@@ -778,7 +778,7 @@ export declare const RemoveMemberContract: import("@contractspec/lib.contracts")
|
|
|
778
778
|
/**
|
|
779
779
|
* List organization members.
|
|
780
780
|
*/
|
|
781
|
-
export declare const ListMembersContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
781
|
+
export declare const ListMembersContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
782
782
|
orgId: {
|
|
783
783
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
784
784
|
isOptional: false;
|
|
@@ -843,7 +843,7 @@ export declare const ListMembersContract: import("@contractspec/lib.contracts").
|
|
|
843
843
|
/**
|
|
844
844
|
* List user's organizations.
|
|
845
845
|
*/
|
|
846
|
-
export declare const ListUserOrgsContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
846
|
+
export declare const ListUserOrgsContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
847
847
|
organizations: {
|
|
848
848
|
type: SchemaModel<{
|
|
849
849
|
id: {
|
|
@@ -887,4 +887,3 @@ export declare const ListUserOrgsContract: import("@contractspec/lib.contracts")
|
|
|
887
887
|
isArray: true;
|
|
888
888
|
};
|
|
889
889
|
}>, undefined>;
|
|
890
|
-
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/contracts/user.ts
|
|
3
3
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var OWNERS = ["platform.identity-rbac"];
|
|
6
6
|
var UserProfileModel = new SchemaModel({
|
|
7
7
|
name: "UserProfile",
|
|
@@ -222,7 +222,7 @@ var ListUsersContract = defineQuery({
|
|
|
222
222
|
|
|
223
223
|
// src/contracts/organization.ts
|
|
224
224
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
225
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
225
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
226
226
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
227
227
|
var OrganizationModel = new SchemaModel2({
|
|
228
228
|
name: "Organization",
|
package/dist/contracts/rbac.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ export declare const ListUserPermissionsOutputModel: SchemaModel<{
|
|
|
248
248
|
/**
|
|
249
249
|
* Create a new role.
|
|
250
250
|
*/
|
|
251
|
-
export declare const CreateRoleContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
251
|
+
export declare const CreateRoleContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
252
252
|
name: {
|
|
253
253
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
254
254
|
isOptional: false;
|
|
@@ -288,7 +288,7 @@ export declare const CreateRoleContract: import("@contractspec/lib.contracts").O
|
|
|
288
288
|
/**
|
|
289
289
|
* Update a role.
|
|
290
290
|
*/
|
|
291
|
-
export declare const UpdateRoleContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
291
|
+
export declare const UpdateRoleContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
292
292
|
roleId: {
|
|
293
293
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
294
294
|
isOptional: false;
|
|
@@ -332,7 +332,7 @@ export declare const UpdateRoleContract: import("@contractspec/lib.contracts").O
|
|
|
332
332
|
/**
|
|
333
333
|
* Delete a role.
|
|
334
334
|
*/
|
|
335
|
-
export declare const DeleteRoleContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
335
|
+
export declare const DeleteRoleContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
336
336
|
roleId: {
|
|
337
337
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
338
338
|
isOptional: false;
|
|
@@ -346,7 +346,7 @@ export declare const DeleteRoleContract: import("@contractspec/lib.contracts").O
|
|
|
346
346
|
/**
|
|
347
347
|
* List all roles.
|
|
348
348
|
*/
|
|
349
|
-
export declare const ListRolesContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
349
|
+
export declare const ListRolesContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
350
350
|
roles: {
|
|
351
351
|
type: SchemaModel<{
|
|
352
352
|
id: {
|
|
@@ -378,7 +378,7 @@ export declare const ListRolesContract: import("@contractspec/lib.contracts").Op
|
|
|
378
378
|
/**
|
|
379
379
|
* Assign a role to a user or organization.
|
|
380
380
|
*/
|
|
381
|
-
export declare const AssignRoleContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
381
|
+
export declare const AssignRoleContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
382
382
|
roleId: {
|
|
383
383
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
384
384
|
isOptional: false;
|
|
@@ -506,7 +506,7 @@ export declare const AssignRoleContract: import("@contractspec/lib.contracts").O
|
|
|
506
506
|
/**
|
|
507
507
|
* Revoke a role from a user or organization.
|
|
508
508
|
*/
|
|
509
|
-
export declare const RevokeRoleContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
509
|
+
export declare const RevokeRoleContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
510
510
|
bindingId: {
|
|
511
511
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
512
512
|
isOptional: false;
|
|
@@ -530,7 +530,7 @@ export declare const RevokeRoleContract: import("@contractspec/lib.contracts").O
|
|
|
530
530
|
/**
|
|
531
531
|
* Check if a user has a specific permission.
|
|
532
532
|
*/
|
|
533
|
-
export declare const CheckPermissionContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
533
|
+
export declare const CheckPermissionContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
534
534
|
userId: {
|
|
535
535
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
536
536
|
isOptional: false;
|
|
@@ -560,7 +560,7 @@ export declare const CheckPermissionContract: import("@contractspec/lib.contract
|
|
|
560
560
|
/**
|
|
561
561
|
* List permissions for a user.
|
|
562
562
|
*/
|
|
563
|
-
export declare const ListUserPermissionsContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
563
|
+
export declare const ListUserPermissionsContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
564
564
|
userId: {
|
|
565
565
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
566
566
|
isOptional: false;
|
|
@@ -603,4 +603,3 @@ export declare const ListUserPermissionsContract: import("@contractspec/lib.cont
|
|
|
603
603
|
isArray: true;
|
|
604
604
|
};
|
|
605
605
|
}>, undefined>;
|
|
606
|
-
//# sourceMappingURL=rbac.d.ts.map
|
package/dist/contracts/rbac.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/contracts/user.ts
|
|
3
3
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var OWNERS = ["platform.identity-rbac"];
|
|
6
6
|
var UserProfileModel = new SchemaModel({
|
|
7
7
|
name: "UserProfile",
|
|
@@ -222,7 +222,7 @@ var ListUsersContract = defineQuery({
|
|
|
222
222
|
|
|
223
223
|
// src/contracts/rbac.ts
|
|
224
224
|
import { SchemaModel as SchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
225
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
225
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
226
226
|
var RoleModel = new SchemaModel2({
|
|
227
227
|
name: "Role",
|
|
228
228
|
description: "RBAC role definition",
|
package/dist/contracts/user.d.ts
CHANGED
|
@@ -192,7 +192,7 @@ export declare const ListUsersOutputModel: SchemaModel<{
|
|
|
192
192
|
/**
|
|
193
193
|
* Create a new user account.
|
|
194
194
|
*/
|
|
195
|
-
export declare const CreateUserContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
195
|
+
export declare const CreateUserContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
196
196
|
email: {
|
|
197
197
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
198
198
|
isOptional: false;
|
|
@@ -320,7 +320,7 @@ export declare const CreateUserContract: import("@contractspec/lib.contracts").O
|
|
|
320
320
|
/**
|
|
321
321
|
* Get the current user's profile.
|
|
322
322
|
*/
|
|
323
|
-
export declare const GetCurrentUserContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
323
|
+
export declare const GetCurrentUserContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
324
324
|
id: {
|
|
325
325
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
326
326
|
isOptional: false;
|
|
@@ -373,7 +373,7 @@ export declare const GetCurrentUserContract: import("@contractspec/lib.contracts
|
|
|
373
373
|
/**
|
|
374
374
|
* Update user profile.
|
|
375
375
|
*/
|
|
376
|
-
export declare const UpdateUserContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
376
|
+
export declare const UpdateUserContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
377
377
|
name: {
|
|
378
378
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
379
379
|
isOptional: true;
|
|
@@ -505,7 +505,7 @@ export declare const UpdateUserContract: import("@contractspec/lib.contracts").O
|
|
|
505
505
|
/**
|
|
506
506
|
* Delete user account.
|
|
507
507
|
*/
|
|
508
|
-
export declare const DeleteUserContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
508
|
+
export declare const DeleteUserContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
509
509
|
confirmEmail: {
|
|
510
510
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
511
511
|
isOptional: false;
|
|
@@ -529,7 +529,7 @@ export declare const DeleteUserContract: import("@contractspec/lib.contracts").O
|
|
|
529
529
|
/**
|
|
530
530
|
* List users (admin only).
|
|
531
531
|
*/
|
|
532
|
-
export declare const ListUsersContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
532
|
+
export declare const ListUsersContract: import("@contractspec/lib.contracts-spec").OperationSpec<SchemaModel<{
|
|
533
533
|
limit: {
|
|
534
534
|
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
535
535
|
isOptional: true;
|
|
@@ -602,4 +602,3 @@ export declare const ListUsersContract: import("@contractspec/lib.contracts").Op
|
|
|
602
602
|
isOptional: false;
|
|
603
603
|
};
|
|
604
604
|
}>, undefined>;
|
|
605
|
-
//# sourceMappingURL=user.d.ts.map
|
package/dist/contracts/user.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/contracts/user.ts
|
|
3
3
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var OWNERS = ["platform.identity-rbac"];
|
|
6
6
|
var UserProfileModel = new SchemaModel({
|
|
7
7
|
name: "UserProfile",
|
package/dist/entities/index.d.ts
CHANGED
package/dist/entities/rbac.d.ts
CHANGED
package/dist/entities/user.d.ts
CHANGED
package/dist/events.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SchemaModel } from '@contractspec/lib.schema';
|
|
|
2
2
|
/**
|
|
3
3
|
* Emitted when a new user is created.
|
|
4
4
|
*/
|
|
5
|
-
export declare const UserCreatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
5
|
+
export declare const UserCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
6
6
|
userId: {
|
|
7
7
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
@@ -23,7 +23,7 @@ export declare const UserCreatedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
23
23
|
/**
|
|
24
24
|
* Emitted when a user profile is updated.
|
|
25
25
|
*/
|
|
26
|
-
export declare const UserUpdatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
26
|
+
export declare const UserUpdatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
27
27
|
userId: {
|
|
28
28
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
29
29
|
isOptional: false;
|
|
@@ -41,7 +41,7 @@ export declare const UserUpdatedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
41
41
|
/**
|
|
42
42
|
* Emitted when a user is deleted.
|
|
43
43
|
*/
|
|
44
|
-
export declare const UserDeletedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
44
|
+
export declare const UserDeletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
45
45
|
userId: {
|
|
46
46
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
@@ -58,7 +58,7 @@ export declare const UserDeletedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
58
58
|
/**
|
|
59
59
|
* Emitted when a user's email is verified.
|
|
60
60
|
*/
|
|
61
|
-
export declare const UserEmailVerifiedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
61
|
+
export declare const UserEmailVerifiedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
62
62
|
userId: {
|
|
63
63
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
@@ -75,7 +75,7 @@ export declare const UserEmailVerifiedEvent: import("@contractspec/lib.contracts
|
|
|
75
75
|
/**
|
|
76
76
|
* Emitted when a new organization is created.
|
|
77
77
|
*/
|
|
78
|
-
export declare const OrgCreatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
78
|
+
export declare const OrgCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
79
79
|
orgId: {
|
|
80
80
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
@@ -100,7 +100,7 @@ export declare const OrgCreatedEvent: import("@contractspec/lib.contracts").Even
|
|
|
100
100
|
/**
|
|
101
101
|
* Emitted when an organization is updated.
|
|
102
102
|
*/
|
|
103
|
-
export declare const OrgUpdatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
103
|
+
export declare const OrgUpdatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
104
104
|
orgId: {
|
|
105
105
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
@@ -122,7 +122,7 @@ export declare const OrgUpdatedEvent: import("@contractspec/lib.contracts").Even
|
|
|
122
122
|
/**
|
|
123
123
|
* Emitted when an organization is deleted.
|
|
124
124
|
*/
|
|
125
|
-
export declare const OrgDeletedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
125
|
+
export declare const OrgDeletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
126
126
|
orgId: {
|
|
127
127
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
128
128
|
isOptional: false;
|
|
@@ -143,7 +143,7 @@ export declare const OrgDeletedEvent: import("@contractspec/lib.contracts").Even
|
|
|
143
143
|
/**
|
|
144
144
|
* Emitted when a member joins an organization.
|
|
145
145
|
*/
|
|
146
|
-
export declare const OrgMemberAddedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
146
|
+
export declare const OrgMemberAddedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
147
147
|
orgId: {
|
|
148
148
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
@@ -168,7 +168,7 @@ export declare const OrgMemberAddedEvent: import("@contractspec/lib.contracts").
|
|
|
168
168
|
/**
|
|
169
169
|
* Emitted when a member leaves or is removed from an organization.
|
|
170
170
|
*/
|
|
171
|
-
export declare const OrgMemberRemovedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
171
|
+
export declare const OrgMemberRemovedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
172
172
|
orgId: {
|
|
173
173
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
174
174
|
isOptional: false;
|
|
@@ -193,7 +193,7 @@ export declare const OrgMemberRemovedEvent: import("@contractspec/lib.contracts"
|
|
|
193
193
|
/**
|
|
194
194
|
* Emitted when a member's role is changed.
|
|
195
195
|
*/
|
|
196
|
-
export declare const OrgMemberRoleChangedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
196
|
+
export declare const OrgMemberRoleChangedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
197
197
|
orgId: {
|
|
198
198
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
@@ -222,7 +222,7 @@ export declare const OrgMemberRoleChangedEvent: import("@contractspec/lib.contra
|
|
|
222
222
|
/**
|
|
223
223
|
* Emitted when an invitation is sent.
|
|
224
224
|
*/
|
|
225
|
-
export declare const OrgInviteSentEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
225
|
+
export declare const OrgInviteSentEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
226
226
|
invitationId: {
|
|
227
227
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
228
228
|
isOptional: false;
|
|
@@ -255,7 +255,7 @@ export declare const OrgInviteSentEvent: import("@contractspec/lib.contracts").E
|
|
|
255
255
|
/**
|
|
256
256
|
* Emitted when an invitation is accepted.
|
|
257
257
|
*/
|
|
258
|
-
export declare const OrgInviteAcceptedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
258
|
+
export declare const OrgInviteAcceptedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
259
259
|
invitationId: {
|
|
260
260
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
261
261
|
isOptional: false;
|
|
@@ -276,7 +276,7 @@ export declare const OrgInviteAcceptedEvent: import("@contractspec/lib.contracts
|
|
|
276
276
|
/**
|
|
277
277
|
* Emitted when an invitation is declined.
|
|
278
278
|
*/
|
|
279
|
-
export declare const OrgInviteDeclinedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
279
|
+
export declare const OrgInviteDeclinedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
280
280
|
invitationId: {
|
|
281
281
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
282
282
|
isOptional: false;
|
|
@@ -293,7 +293,7 @@ export declare const OrgInviteDeclinedEvent: import("@contractspec/lib.contracts
|
|
|
293
293
|
/**
|
|
294
294
|
* Emitted when a role is assigned to a user or organization.
|
|
295
295
|
*/
|
|
296
|
-
export declare const RoleAssignedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
296
|
+
export declare const RoleAssignedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
297
297
|
bindingId: {
|
|
298
298
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
@@ -330,7 +330,7 @@ export declare const RoleAssignedEvent: import("@contractspec/lib.contracts").Ev
|
|
|
330
330
|
/**
|
|
331
331
|
* Emitted when a role is revoked from a user or organization.
|
|
332
332
|
*/
|
|
333
|
-
export declare const RoleRevokedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
333
|
+
export declare const RoleRevokedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
334
334
|
bindingId: {
|
|
335
335
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
336
336
|
isOptional: false;
|
|
@@ -364,7 +364,7 @@ export declare const RoleRevokedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
364
364
|
* All identity-rbac events.
|
|
365
365
|
*/
|
|
366
366
|
export declare const IdentityRbacEvents: {
|
|
367
|
-
UserCreatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
367
|
+
UserCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
368
368
|
userId: {
|
|
369
369
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
370
370
|
isOptional: false;
|
|
@@ -382,7 +382,7 @@ export declare const IdentityRbacEvents: {
|
|
|
382
382
|
isOptional: false;
|
|
383
383
|
};
|
|
384
384
|
}>>;
|
|
385
|
-
UserUpdatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
385
|
+
UserUpdatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
386
386
|
userId: {
|
|
387
387
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
388
388
|
isOptional: false;
|
|
@@ -397,7 +397,7 @@ export declare const IdentityRbacEvents: {
|
|
|
397
397
|
isOptional: false;
|
|
398
398
|
};
|
|
399
399
|
}>>;
|
|
400
|
-
UserDeletedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
400
|
+
UserDeletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
401
401
|
userId: {
|
|
402
402
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
403
403
|
isOptional: false;
|
|
@@ -411,7 +411,7 @@ export declare const IdentityRbacEvents: {
|
|
|
411
411
|
isOptional: false;
|
|
412
412
|
};
|
|
413
413
|
}>>;
|
|
414
|
-
UserEmailVerifiedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
414
|
+
UserEmailVerifiedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
415
415
|
userId: {
|
|
416
416
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
417
417
|
isOptional: false;
|
|
@@ -425,7 +425,7 @@ export declare const IdentityRbacEvents: {
|
|
|
425
425
|
isOptional: false;
|
|
426
426
|
};
|
|
427
427
|
}>>;
|
|
428
|
-
OrgCreatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
428
|
+
OrgCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
429
429
|
orgId: {
|
|
430
430
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
431
431
|
isOptional: false;
|
|
@@ -447,7 +447,7 @@ export declare const IdentityRbacEvents: {
|
|
|
447
447
|
isOptional: false;
|
|
448
448
|
};
|
|
449
449
|
}>>;
|
|
450
|
-
OrgUpdatedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
450
|
+
OrgUpdatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
451
451
|
orgId: {
|
|
452
452
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
453
453
|
isOptional: false;
|
|
@@ -466,7 +466,7 @@ export declare const IdentityRbacEvents: {
|
|
|
466
466
|
isOptional: false;
|
|
467
467
|
};
|
|
468
468
|
}>>;
|
|
469
|
-
OrgDeletedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
469
|
+
OrgDeletedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
470
470
|
orgId: {
|
|
471
471
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
472
472
|
isOptional: false;
|
|
@@ -484,7 +484,7 @@ export declare const IdentityRbacEvents: {
|
|
|
484
484
|
isOptional: false;
|
|
485
485
|
};
|
|
486
486
|
}>>;
|
|
487
|
-
OrgMemberAddedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
487
|
+
OrgMemberAddedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
488
488
|
orgId: {
|
|
489
489
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
490
490
|
isOptional: false;
|
|
@@ -506,7 +506,7 @@ export declare const IdentityRbacEvents: {
|
|
|
506
506
|
isOptional: false;
|
|
507
507
|
};
|
|
508
508
|
}>>;
|
|
509
|
-
OrgMemberRemovedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
509
|
+
OrgMemberRemovedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
510
510
|
orgId: {
|
|
511
511
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
512
512
|
isOptional: false;
|
|
@@ -528,7 +528,7 @@ export declare const IdentityRbacEvents: {
|
|
|
528
528
|
isOptional: false;
|
|
529
529
|
};
|
|
530
530
|
}>>;
|
|
531
|
-
OrgMemberRoleChangedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
531
|
+
OrgMemberRoleChangedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
532
532
|
orgId: {
|
|
533
533
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
534
534
|
isOptional: false;
|
|
@@ -554,7 +554,7 @@ export declare const IdentityRbacEvents: {
|
|
|
554
554
|
isOptional: false;
|
|
555
555
|
};
|
|
556
556
|
}>>;
|
|
557
|
-
OrgInviteSentEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
557
|
+
OrgInviteSentEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
558
558
|
invitationId: {
|
|
559
559
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
560
560
|
isOptional: false;
|
|
@@ -584,7 +584,7 @@ export declare const IdentityRbacEvents: {
|
|
|
584
584
|
isOptional: false;
|
|
585
585
|
};
|
|
586
586
|
}>>;
|
|
587
|
-
OrgInviteAcceptedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
587
|
+
OrgInviteAcceptedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
588
588
|
invitationId: {
|
|
589
589
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
590
590
|
isOptional: false;
|
|
@@ -602,7 +602,7 @@ export declare const IdentityRbacEvents: {
|
|
|
602
602
|
isOptional: false;
|
|
603
603
|
};
|
|
604
604
|
}>>;
|
|
605
|
-
OrgInviteDeclinedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
605
|
+
OrgInviteDeclinedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
606
606
|
invitationId: {
|
|
607
607
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
608
608
|
isOptional: false;
|
|
@@ -616,7 +616,7 @@ export declare const IdentityRbacEvents: {
|
|
|
616
616
|
isOptional: false;
|
|
617
617
|
};
|
|
618
618
|
}>>;
|
|
619
|
-
RoleAssignedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
619
|
+
RoleAssignedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
620
620
|
bindingId: {
|
|
621
621
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
622
622
|
isOptional: false;
|
|
@@ -650,7 +650,7 @@ export declare const IdentityRbacEvents: {
|
|
|
650
650
|
isOptional: false;
|
|
651
651
|
};
|
|
652
652
|
}>>;
|
|
653
|
-
RoleRevokedEvent: import("@contractspec/lib.contracts").EventSpec<SchemaModel<{
|
|
653
|
+
RoleRevokedEvent: import("@contractspec/lib.contracts-spec").EventSpec<SchemaModel<{
|
|
654
654
|
bindingId: {
|
|
655
655
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
656
656
|
isOptional: false;
|
|
@@ -681,4 +681,3 @@ export declare const IdentityRbacEvents: {
|
|
|
681
681
|
};
|
|
682
682
|
}>>;
|
|
683
683
|
};
|
|
684
|
-
//# sourceMappingURL=events.d.ts.map
|
package/dist/events.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/events.ts
|
|
3
3
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var UserCreatedPayload = new SchemaModel({
|
|
6
6
|
name: "UserCreatedPayload",
|
|
7
7
|
description: "Payload for user created event",
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const IdentityCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
2
|
-
export declare const RbacCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
3
|
-
//# sourceMappingURL=identity-rbac.capability.d.ts.map
|
|
1
|
+
export declare const IdentityCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
2
|
+
export declare const RbacCapability: import("@contractspec/lib.contracts-spec").CapabilitySpec;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/identity-rbac.capability.ts
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
defineCapability,
|
|
5
|
+
StabilityEnum
|
|
6
|
+
} from "@contractspec/lib.contracts-spec";
|
|
4
7
|
var IdentityCapability = defineCapability({
|
|
5
8
|
meta: {
|
|
6
9
|
key: "identity",
|
|
@@ -2,5 +2,4 @@
|
|
|
2
2
|
* Identity & RBAC feature module that bundles user management,
|
|
3
3
|
* organization tenancy, and role-based access control.
|
|
4
4
|
*/
|
|
5
|
-
export declare const IdentityRbacFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
6
|
-
//# sourceMappingURL=identity-rbac.feature.d.ts.map
|
|
5
|
+
export declare const IdentityRbacFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/contracts/user.ts
|
|
3
3
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var OWNERS = ["platform.identity-rbac"];
|
|
6
6
|
var UserProfileModel = new SchemaModel({
|
|
7
7
|
name: "UserProfile",
|
|
@@ -222,7 +222,7 @@ var ListUsersContract = defineQuery({
|
|
|
222
222
|
|
|
223
223
|
// src/contracts/organization.ts
|
|
224
224
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
225
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
225
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
226
226
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
227
227
|
var OrganizationModel = new SchemaModel2({
|
|
228
228
|
name: "Organization",
|
|
@@ -632,7 +632,7 @@ var ListUserOrgsContract = defineQuery2({
|
|
|
632
632
|
|
|
633
633
|
// src/contracts/rbac.ts
|
|
634
634
|
import { SchemaModel as SchemaModel3, ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
635
|
-
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts";
|
|
635
|
+
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts-spec";
|
|
636
636
|
var RoleModel = new SchemaModel3({
|
|
637
637
|
name: "Role",
|
|
638
638
|
description: "RBAC role definition",
|
|
@@ -1433,7 +1433,7 @@ var identityRbacSchemaContribution = {
|
|
|
1433
1433
|
|
|
1434
1434
|
// src/events.ts
|
|
1435
1435
|
import { SchemaModel as SchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
1436
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
1436
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
1437
1437
|
var UserCreatedPayload = new SchemaModel4({
|
|
1438
1438
|
name: "UserCreatedPayload",
|
|
1439
1439
|
description: "Payload for user created event",
|
|
@@ -1789,7 +1789,7 @@ var IdentityRbacEvents = {
|
|
|
1789
1789
|
};
|
|
1790
1790
|
|
|
1791
1791
|
// src/identity-rbac.feature.ts
|
|
1792
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
1792
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
1793
1793
|
var IdentityRbacFeature = defineFeature({
|
|
1794
1794
|
meta: {
|
|
1795
1795
|
key: "identity-rbac",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/organization.ts
|
|
223
223
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
226
226
|
var OrganizationModel = new SchemaModel2({
|
|
227
227
|
name: "Organization",
|
|
@@ -631,7 +631,7 @@ var ListUserOrgsContract = defineQuery2({
|
|
|
631
631
|
|
|
632
632
|
// src/contracts/rbac.ts
|
|
633
633
|
import { SchemaModel as SchemaModel3, ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
634
|
-
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts";
|
|
634
|
+
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts-spec";
|
|
635
635
|
var RoleModel = new SchemaModel3({
|
|
636
636
|
name: "Role",
|
|
637
637
|
description: "RBAC role definition",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/organization.ts
|
|
223
223
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
226
226
|
var OrganizationModel = new SchemaModel2({
|
|
227
227
|
name: "Organization",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/rbac.ts
|
|
223
223
|
import { SchemaModel as SchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var RoleModel = new SchemaModel2({
|
|
226
226
|
name: "Role",
|
|
227
227
|
description: "RBAC role definition",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
package/dist/node/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var UserCreatedPayload = new SchemaModel({
|
|
5
5
|
name: "UserCreatedPayload",
|
|
6
6
|
description: "Payload for user created event",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/identity-rbac.capability.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
defineCapability,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var IdentityCapability = defineCapability({
|
|
4
7
|
meta: {
|
|
5
8
|
key: "identity",
|
package/dist/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/contracts/user.ts
|
|
2
2
|
import { SchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var OWNERS = ["platform.identity-rbac"];
|
|
5
5
|
var UserProfileModel = new SchemaModel({
|
|
6
6
|
name: "UserProfile",
|
|
@@ -221,7 +221,7 @@ var ListUsersContract = defineQuery({
|
|
|
221
221
|
|
|
222
222
|
// src/contracts/organization.ts
|
|
223
223
|
import { ScalarTypeEnum as ScalarTypeEnum2, SchemaModel as SchemaModel2 } from "@contractspec/lib.schema";
|
|
224
|
-
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts";
|
|
224
|
+
import { defineCommand as defineCommand2, defineQuery as defineQuery2 } from "@contractspec/lib.contracts-spec";
|
|
225
225
|
var OWNERS2 = ["platform.identity-rbac"];
|
|
226
226
|
var OrganizationModel = new SchemaModel2({
|
|
227
227
|
name: "Organization",
|
|
@@ -631,7 +631,7 @@ var ListUserOrgsContract = defineQuery2({
|
|
|
631
631
|
|
|
632
632
|
// src/contracts/rbac.ts
|
|
633
633
|
import { SchemaModel as SchemaModel3, ScalarTypeEnum as ScalarTypeEnum3 } from "@contractspec/lib.schema";
|
|
634
|
-
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts";
|
|
634
|
+
import { defineCommand as defineCommand3, defineQuery as defineQuery3 } from "@contractspec/lib.contracts-spec";
|
|
635
635
|
var RoleModel = new SchemaModel3({
|
|
636
636
|
name: "Role",
|
|
637
637
|
description: "RBAC role definition",
|
|
@@ -1432,7 +1432,7 @@ var identityRbacSchemaContribution = {
|
|
|
1432
1432
|
|
|
1433
1433
|
// src/events.ts
|
|
1434
1434
|
import { SchemaModel as SchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
1435
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
1435
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
1436
1436
|
var UserCreatedPayload = new SchemaModel4({
|
|
1437
1437
|
name: "UserCreatedPayload",
|
|
1438
1438
|
description: "Payload for user created event",
|
|
@@ -1788,7 +1788,7 @@ var IdentityRbacEvents = {
|
|
|
1788
1788
|
};
|
|
1789
1789
|
|
|
1790
1790
|
// src/identity-rbac.feature.ts
|
|
1791
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
1791
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
1792
1792
|
var IdentityRbacFeature = defineFeature({
|
|
1793
1793
|
meta: {
|
|
1794
1794
|
key: "identity-rbac",
|
package/dist/policies/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.identity-rbac",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Identity, Organizations, and RBAC module for ContractSpec applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"typecheck": "tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@contractspec/lib.schema": "
|
|
31
|
-
"@contractspec/lib.contracts": "
|
|
30
|
+
"@contractspec/lib.schema": "2.0.0",
|
|
31
|
+
"@contractspec/lib.contracts-spec": "2.0.0",
|
|
32
32
|
"zod": "^4.3.5"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@contractspec/tool.typescript": "
|
|
35
|
+
"@contractspec/tool.typescript": "2.0.0",
|
|
36
36
|
"typescript": "^5.9.3",
|
|
37
|
-
"@contractspec/tool.bun": "
|
|
37
|
+
"@contractspec/tool.bun": "2.0.0"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
40
|
".": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,SAAS,EACT,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,6BAA6B,EAC7B,8BAA8B,EAC9B,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sour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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;IA+B7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,aAAa,EACb,aAAa,EACb,kBAAkB,GACnB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,aAAa,GACd,MAAM,QAAQ,CAAC;AAwBhB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAehC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,wBAI5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/entities/organization.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,oBAAoB,kDAK/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAkD7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;EAqBvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAmC3B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;EAmBrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;EAe3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/entities/user.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+FrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;EAoCxB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EA2BxB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;EAa7B,CAAC"}
|
package/dist/events.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.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AAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identity-rbac.capability.d.ts","sourceRoot":"","sources":["../src/identity-rbac.capability.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,sDAU7B,CAAC;AAEH,eAAO,MAAM,cAAc,sDAUzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identity-rbac.feature.d.ts","sourceRoot":"","sources":["../src/identity-rbac.feature.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yDAkF9B,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAG3B,cAAc,aAAa,CAAC;AAG5B,cAAc,YAAY,CAAC;AAG3B,cAAc,UAAU,CAAC;AAGzB,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../src/policies/engine.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDb,CAAC;AAE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