@xemahq/contracts 0.74.0 → 0.75.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/.source-stamp.json +2 -2
- package/dist/audit/lib/authority.d.ts +2 -0
- package/dist/audit/lib/authority.d.ts.map +1 -1
- package/dist/audit/lib/authority.js +2 -0
- package/dist/audit/lib/authority.js.map +1 -1
- package/dist/authzen/lib/org-authority-contextual-tuple.d.ts +4 -1
- package/dist/authzen/lib/org-authority-contextual-tuple.d.ts.map +1 -1
- package/dist/authzen/lib/org-authority-contextual-tuple.js +74 -6
- package/dist/authzen/lib/org-authority-contextual-tuple.js.map +1 -1
- package/dist/biome/component-vocabulary/index.d.ts +2 -0
- package/dist/biome/component-vocabulary/index.d.ts.map +1 -0
- package/dist/biome/component-vocabulary/index.js +6 -0
- package/dist/biome/component-vocabulary/index.js.map +1 -0
- package/dist/workflow/nexus-endpoint/index.d.ts +2 -0
- package/dist/workflow/nexus-endpoint/index.d.ts.map +1 -0
- package/dist/workflow/nexus-endpoint/index.js +8 -0
- package/dist/workflow/nexus-endpoint/index.js.map +1 -0
- package/package.json +1 -1
package/dist/.source-stamp.json
CHANGED
|
@@ -11,7 +11,9 @@ export declare enum AuditAuthorityKind {
|
|
|
11
11
|
JobToken = "job_token",
|
|
12
12
|
RuntimeCapabilityAuthority = "runtime_capability_authority",
|
|
13
13
|
Decision = "decision",
|
|
14
|
+
PlatformOwner = "platform_owner",
|
|
14
15
|
PlatformAdmin = "platform_admin",
|
|
16
|
+
PlatformOperator = "platform_operator",
|
|
15
17
|
System = "system"
|
|
16
18
|
}
|
|
17
19
|
export declare const AuditAuthorityKindSchema: z.ZodEnum<typeof AuditAuthorityKind>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority.d.ts","sourceRoot":"","sources":["../../../src/audit/lib/authority.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqCxB,oBAAY,kBAAkB;IAM5B,eAAe,qBAAqB;IAKpC,KAAK,UAAU;IAMf,OAAO,aAAa;IAEpB,cAAc,oBAAoB;IAElC,cAAc,oBAAoB;IAMlC,UAAU,eAAe;IAOzB,oBAAoB,0BAA0B;IAE9C,YAAY,kBAAkB;IAK9B,QAAQ,cAAc;IAKtB,0BAA0B,iCAAiC;IAE3D,QAAQ,aAAa;
|
|
1
|
+
{"version":3,"file":"authority.d.ts","sourceRoot":"","sources":["../../../src/audit/lib/authority.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqCxB,oBAAY,kBAAkB;IAM5B,eAAe,qBAAqB;IAKpC,KAAK,UAAU;IAMf,OAAO,aAAa;IAEpB,cAAc,oBAAoB;IAElC,cAAc,oBAAoB;IAMlC,UAAU,eAAe;IAOzB,oBAAoB,0BAA0B;IAE9C,YAAY,kBAAkB;IAK9B,QAAQ,cAAc;IAKtB,0BAA0B,iCAAiC;IAE3D,QAAQ,aAAa;IAMrB,aAAa,mBAAmB;IAEhC,aAAa,mBAAmB;IAKhC,gBAAgB,sBAAsB;IAOtC,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,wBAAwB,sCAAmC,CAAC;AAWzE,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -15,7 +15,9 @@ var AuditAuthorityKind;
|
|
|
15
15
|
AuditAuthorityKind["JobToken"] = "job_token";
|
|
16
16
|
AuditAuthorityKind["RuntimeCapabilityAuthority"] = "runtime_capability_authority";
|
|
17
17
|
AuditAuthorityKind["Decision"] = "decision";
|
|
18
|
+
AuditAuthorityKind["PlatformOwner"] = "platform_owner";
|
|
18
19
|
AuditAuthorityKind["PlatformAdmin"] = "platform_admin";
|
|
20
|
+
AuditAuthorityKind["PlatformOperator"] = "platform_operator";
|
|
19
21
|
AuditAuthorityKind["System"] = "system";
|
|
20
22
|
})(AuditAuthorityKind || (exports.AuditAuthorityKind = AuditAuthorityKind = {}));
|
|
21
23
|
exports.AuditAuthorityKindSchema = zod_1.z.nativeEnum(AuditAuthorityKind);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../../src/audit/lib/authority.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAqCxB,IAAY,
|
|
1
|
+
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../../src/audit/lib/authority.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAqCxB,IAAY,kBAqEX;AArED,WAAY,kBAAkB;IAM5B,0DAAoC,CAAA;IAKpC,qCAAe,CAAA;IAMf,0CAAoB,CAAA;IAEpB,wDAAkC,CAAA;IAElC,wDAAkC,CAAA;IAMlC,+CAAyB,CAAA;IAOzB,oEAA8C,CAAA;IAE9C,oDAA8B,CAAA;IAK9B,4CAAsB,CAAA;IAKtB,iFAA2D,CAAA;IAE3D,2CAAqB,CAAA;IAMrB,sDAAgC,CAAA;IAEhC,sDAAgC,CAAA;IAKhC,4DAAsC,CAAA;IAOtC,uCAAiB,CAAA;AACnB,CAAC,EArEW,kBAAkB,kCAAlB,kBAAkB,QAqE7B;AAEY,QAAA,wBAAwB,GAAG,OAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAW5D,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,gCAAwB;IAC9B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACzC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC"}
|
|
@@ -32,11 +32,14 @@ export interface XemaOrgAuthorityConformanceVector {
|
|
|
32
32
|
readonly id: string;
|
|
33
33
|
};
|
|
34
34
|
readonly orgId: string;
|
|
35
|
-
readonly
|
|
35
|
+
readonly platformRoles: readonly string[];
|
|
36
|
+
readonly instrument: unknown;
|
|
36
37
|
readonly expect: {
|
|
37
38
|
readonly tuples: readonly AuthzContextualTuple[];
|
|
38
39
|
} | {
|
|
39
40
|
readonly refusal: OrgAuthorityContextualTupleRefusal;
|
|
41
|
+
} | {
|
|
42
|
+
readonly instrumentRefused: true;
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
45
|
export declare const XEMA_ORG_AUTHORITY_CONFORMANCE_VECTORS: readonly XemaOrgAuthorityConformanceVector[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org-authority-contextual-tuple.d.ts","sourceRoot":"","sources":["../../../src/authzen/lib/org-authority-contextual-tuple.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAoCzE,eAAO,MAAM,oBAAoB,QAAQ,CAAC;AAC1C,eAAO,MAAM,uBAAuB,UAAU,CAAC;AAM/C,eAAO,MAAM,uBAAuB,UAAU,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAGD,oBAAY,kCAAkC;IAE5C,cAAc,qBAAqB;IAEnC,cAAc,qBAAqB;CACpC;AAED,qBAAa,gCAAiC,SAAQ,KAAK;IAC7C,QAAQ,CAAC,OAAO,EAAE,kCAAkC;gBAA3C,OAAO,EAAE,kCAAkC;CAQjE;AAGD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD;AAQD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAA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C,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,0BAA0B,GAAG,SAAS,CAAC;CAC7D,GAAG,SAAS,oBAAoB,EAAE,CAsBlC;AAeD,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAE1C,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAE7B,QAAQ,CAAC,MAAM,EACX;QAAE,QAAQ,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAA;KAAE,GACpD;QAAE,QAAQ,CAAC,OAAO,EAAE,kCAAkC,CAAA;KAAE,GACxD;QAAE,QAAQ,CAAC,iBAAiB,EAAE,IAAI,CAAA;KAAE,CAAC;CAC1C;AAaD,eAAO,MAAM,sCAAsC,EAAE,SAAS,iCAAiC,EA0G3F,CAAC"}
|
|
@@ -53,11 +53,16 @@ function buildOrgAuthorityContextualTuples(input) {
|
|
|
53
53
|
}
|
|
54
54
|
return [{ user, relation: exports.XEMA_ORG_ADMIN_RELATION, object }];
|
|
55
55
|
}
|
|
56
|
+
const OWNER_TUPLES = [
|
|
57
|
+
{ user: 'user:u1', relation: exports.XEMA_ORG_OWNER_RELATION, object: 'org:o1' },
|
|
58
|
+
{ user: 'user:u1', relation: exports.XEMA_ORG_ADMIN_RELATION, object: 'org:o1' },
|
|
59
|
+
];
|
|
56
60
|
exports.XEMA_ORG_AUTHORITY_CONFORMANCE_VECTORS = Object.freeze([
|
|
57
61
|
{
|
|
58
62
|
name: 'no instrument derives no fact',
|
|
59
63
|
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
60
64
|
orgId: 'o1',
|
|
65
|
+
platformRoles: [],
|
|
61
66
|
instrument: undefined,
|
|
62
67
|
expect: { tuples: [] },
|
|
63
68
|
},
|
|
@@ -65,6 +70,7 @@ exports.XEMA_ORG_AUTHORITY_CONFORMANCE_VECTORS = Object.freeze([
|
|
|
65
70
|
name: 'an org admin is the org administrator only, never the owner',
|
|
66
71
|
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
67
72
|
orgId: 'o1',
|
|
73
|
+
platformRoles: [],
|
|
68
74
|
instrument: { kind: audit_1.AuditAuthorityKind.OrgRole, orgRole: tenant_1.OrgRole.Admin },
|
|
69
75
|
expect: { tuples: [{ user: 'user:u1', relation: exports.XEMA_ORG_ADMIN_RELATION, object: 'org:o1' }] },
|
|
70
76
|
},
|
|
@@ -72,18 +78,15 @@ exports.XEMA_ORG_AUTHORITY_CONFORMANCE_VECTORS = Object.freeze([
|
|
|
72
78
|
name: 'an org owner is the org owner AND an org administrator',
|
|
73
79
|
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
74
80
|
orgId: 'o1',
|
|
81
|
+
platformRoles: [],
|
|
75
82
|
instrument: { kind: audit_1.AuditAuthorityKind.OrgRole, orgRole: tenant_1.OrgRole.Owner },
|
|
76
|
-
expect: {
|
|
77
|
-
tuples: [
|
|
78
|
-
{ user: 'user:u1', relation: exports.XEMA_ORG_OWNER_RELATION, object: 'org:o1' },
|
|
79
|
-
{ user: 'user:u1', relation: exports.XEMA_ORG_ADMIN_RELATION, object: 'org:o1' },
|
|
80
|
-
],
|
|
81
|
-
},
|
|
83
|
+
expect: { tuples: OWNER_TUPLES },
|
|
82
84
|
},
|
|
83
85
|
{
|
|
84
86
|
name: 'a member instrument is refused',
|
|
85
87
|
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
86
88
|
orgId: 'o1',
|
|
89
|
+
platformRoles: [],
|
|
87
90
|
instrument: { kind: audit_1.AuditAuthorityKind.OrgRole, orgRole: tenant_1.OrgRole.Member },
|
|
88
91
|
expect: { refusal: OrgAuthorityContextualTupleRefusal.RoleBelowAdmin },
|
|
89
92
|
},
|
|
@@ -91,8 +94,73 @@ exports.XEMA_ORG_AUTHORITY_CONFORMANCE_VECTORS = Object.freeze([
|
|
|
91
94
|
name: 'an instrument on a non-user subject is refused',
|
|
92
95
|
subject: { kind: subject_1.SubjectKind.Agent, id: 'a1' },
|
|
93
96
|
orgId: 'o1',
|
|
97
|
+
platformRoles: [],
|
|
94
98
|
instrument: { kind: audit_1.AuditAuthorityKind.OrgRole, orgRole: tenant_1.OrgRole.Admin },
|
|
95
99
|
expect: { refusal: OrgAuthorityContextualTupleRefusal.SubjectNotUser },
|
|
96
100
|
},
|
|
101
|
+
{
|
|
102
|
+
name: 'a platform owner with no org role derives no fact',
|
|
103
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
104
|
+
orgId: 'o1',
|
|
105
|
+
platformRoles: ['platform_owner'],
|
|
106
|
+
instrument: undefined,
|
|
107
|
+
expect: { tuples: [] },
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: 'a platform owner who is also platform admin, with no org role, derives no fact',
|
|
111
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
112
|
+
orgId: 'o1',
|
|
113
|
+
platformRoles: ['platform_owner', 'platform_admin'],
|
|
114
|
+
instrument: undefined,
|
|
115
|
+
expect: { tuples: [] },
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'a platform operator with no org role derives no fact',
|
|
119
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
120
|
+
orgId: 'o1',
|
|
121
|
+
platformRoles: ['platform_operator'],
|
|
122
|
+
instrument: undefined,
|
|
123
|
+
expect: { tuples: [] },
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'a platform_owner instrument is refused by the schema',
|
|
127
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
128
|
+
orgId: 'o1',
|
|
129
|
+
platformRoles: ['platform_owner'],
|
|
130
|
+
instrument: { kind: 'platform_owner' },
|
|
131
|
+
expect: { instrumentRefused: true },
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: 'a platform_admin instrument is refused by the schema',
|
|
135
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
136
|
+
orgId: 'o1',
|
|
137
|
+
platformRoles: ['platform_admin'],
|
|
138
|
+
instrument: { kind: 'platform_admin' },
|
|
139
|
+
expect: { instrumentRefused: true },
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'a platform_operator instrument is refused by the schema',
|
|
143
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
144
|
+
orgId: 'o1',
|
|
145
|
+
platformRoles: ['platform_operator'],
|
|
146
|
+
instrument: { kind: 'platform_operator' },
|
|
147
|
+
expect: { instrumentRefused: true },
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'a platform owner who is also the org owner (separate grants) is the org owner AND administrator',
|
|
151
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
152
|
+
orgId: 'o1',
|
|
153
|
+
platformRoles: ['platform_owner'],
|
|
154
|
+
instrument: { kind: audit_1.AuditAuthorityKind.OrgRole, orgRole: tenant_1.OrgRole.Owner },
|
|
155
|
+
expect: { tuples: OWNER_TUPLES },
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: 'revoking platform_owner leaves the org owner facts unchanged',
|
|
159
|
+
subject: { kind: subject_1.SubjectKind.User, id: 'u1' },
|
|
160
|
+
orgId: 'o1',
|
|
161
|
+
platformRoles: [],
|
|
162
|
+
instrument: { kind: audit_1.AuditAuthorityKind.OrgRole, orgRole: tenant_1.OrgRole.Owner },
|
|
163
|
+
expect: { tuples: OWNER_TUPLES },
|
|
164
|
+
},
|
|
97
165
|
]);
|
|
98
166
|
//# sourceMappingURL=org-authority-contextual-tuple.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org-authority-contextual-tuple.js","sourceRoot":"","sources":["../../../src/authzen/lib/org-authority-contextual-tuple.ts"],"names":[],"mappings":";;;AA4EA,gDAEC;AAQD,sEAEC;AAQD,8EA0BC;AA1HD,uCAAiD;AACjD,2CAAgE;AAChE,yCAAyD;AAEzD,yEAAiE;AAqCpD,QAAA,oBAAoB,GAAG,KAAK,CAAC;AAC7B,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAMlC,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAS/C,IAAY,kCAKX;AALD,WAAY,kCAAkC;IAE5C,yEAAmC,CAAA;IAEnC,yEAAmC,CAAA;AACrC,CAAC,EALW,kCAAkC,kDAAlC,kCAAkC,QAK7C;AAED,MAAa,gCAAiC,SAAQ,KAAK;IACpC;IAArB,YAAqB,OAA2C;QAC9D,KAAK,CACH,OAAO,KAAK,kCAAkC,CAAC,cAAc;YAC3D,CAAC,CAAC,gEAAgE;YAClE,CAAC,CAAC,yFAAyF,CAC9F,CAAC;QALiB,YAAO,GAAP,OAAO,CAAoC;QAM9D,IAAI,CAAC,IAAI,GAAG,kCAAkC,CAAC;IACjD,CAAC;CACF;AATD,4EASC;AAGD,SAAgB,kBAAkB,CAAC,KAAa;IAC9C,OAAO,GAAG,4BAAoB,IAAI,IAAA,8CAAmB,EAAC,KAAK,CAAC,EAAE,CAAC;AACjE,CAAC;AAQD,SAAgB,6BAA6B,CAAC,KAAa;IACzD,OAAO,GAAG,kBAAkB,CAAC,KAAK,CAAC,IAAI,+BAAuB,EAAE,CAAC;AACnE,CAAC;AAQD,SAAgB,iCAAiC,CAAC,KAIjD;IACC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAC7C,IAAI,UAAU,KAAK,SAAS;QAAE,OAAO,EAAE,CAAC;IACxC,IAAI,OAAO,CAAC,IAAI,KAAK,qBAAW,CAAC,IAAI,EAAE,CAAC;QACtC,MAAM,IAAI,gCAAgC,CACxC,kCAAkC,CAAC,cAAc,CAClD,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,IAAA,yBAAgB,EAAC,UAAU,CAAC,OAAO,EAAE,gBAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzD,MAAM,IAAI,gCAAgC,CACxC,kCAAkC,CAAC,cAAc,CAClD,CAAC;IACJ,CAAC;IACD,MAAM,IAAI,GAAG,IAAA,4BAAkB,EAAC,EAAE,IAAI,EAAE,qBAAW,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5E,MAAM,MAAM,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACzC,IAAI,UAAU,CAAC,OAAO,KAAK,gBAAO,CAAC,KAAK,EAAE,CAAC;QACzC,OAAO;YACL,EAAE,IAAI,EAAE,QAAQ,EAAE,+BAAuB,EAAE,MAAM,EAAE;YACnD,EAAE,IAAI,EAAE,QAAQ,EAAE,+BAAuB,EAAE,MAAM,EAAE;SACpD,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,+BAAuB,EAAE,MAAM,EAAE,CAAC,CAAC;AAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"org-authority-contextual-tuple.js","sourceRoot":"","sources":["../../../src/authzen/lib/org-authority-contextual-tuple.ts"],"names":[],"mappings":";;;AA4EA,gDAEC;AAQD,sEAEC;AAQD,8EA0BC;AA1HD,uCAAiD;AACjD,2CAAgE;AAChE,yCAAyD;AAEzD,yEAAiE;AAqCpD,QAAA,oBAAoB,GAAG,KAAK,CAAC;AAC7B,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAMlC,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAS/C,IAAY,kCAKX;AALD,WAAY,kCAAkC;IAE5C,yEAAmC,CAAA;IAEnC,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IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QAC7C,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,CAAC,mBAAmB,CAAC;QACpC,UAAU,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;QACzC,MAAM,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE;KACpC;IACD;QACE,IAAI,EAAE,iGAAiG;QACvG,OAAO,EAAE,EAAE,IAAI,EAAE,qBAAW,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QAC7C,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,CAAC,gBAAgB,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,0BAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAO,CAAC,KAAK,EAAE;QACxE,MAAM,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE;KACjC;IACD;QACE,IAAI,EAAE,8DAA8D;QACpE,OAAO,EAAE,EAAE,IAAI,EAAE,qBAAW,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QAC7C,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,EAAE;QACjB,UAAU,EAAE,EAAE,IAAI,EAAE,0BAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,gBAAO,CAAC,KAAK,EAAE;QACxE,MAAM,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE;KACjC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/biome/component-vocabulary/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BiomeNexusOperationMode = void 0;
|
|
4
|
+
var biome_component_vocabulary_1 = require("../lib/biome-component-vocabulary");
|
|
5
|
+
Object.defineProperty(exports, "BiomeNexusOperationMode", { enumerable: true, get: function () { return biome_component_vocabulary_1.BiomeNexusOperationMode; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/biome/component-vocabulary/index.ts"],"names":[],"mappings":";;;AAGA,gFAA4E;AAAnE,qIAAA,uBAAuB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/nexus-endpoint/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NexusServiceVersionSchema = exports.NexusServiceNameSchema = exports.NexusOperationNameSchema = void 0;
|
|
4
|
+
var nexus_endpoint_1 = require("../lib/nexus-endpoint");
|
|
5
|
+
Object.defineProperty(exports, "NexusOperationNameSchema", { enumerable: true, get: function () { return nexus_endpoint_1.NexusOperationNameSchema; } });
|
|
6
|
+
Object.defineProperty(exports, "NexusServiceNameSchema", { enumerable: true, get: function () { return nexus_endpoint_1.NexusServiceNameSchema; } });
|
|
7
|
+
Object.defineProperty(exports, "NexusServiceVersionSchema", { enumerable: true, get: function () { return nexus_endpoint_1.NexusServiceVersionSchema; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/nexus-endpoint/index.ts"],"names":[],"mappings":";;;AAGA,wDAI+B;AAH7B,0HAAA,wBAAwB,OAAA;AACxB,wHAAA,sBAAsB,OAAA;AACtB,2HAAA,yBAAyB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.0",
|
|
4
4
|
"description": "Consolidated Xema OS kernel wire contracts — pure types + zod schemas for the kernel protocol surfaces. One package, one npm scope, wildcard per-surface subpath exports. No framework deps; the one runtime dependency beside zod is the OpenFGA syntax transformer the authorization-module composer runs.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
|