@dynamicalsystems/idl 0.11.0 → 0.12.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/index.cjs +205 -1
- package/dist/index.d.cts +176 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +176 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +192 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/dsg-organization-source-v2.json +623 -0
- package/src/index.ts +32 -0
- package/src/organization/source.v2.ts +219 -0
package/dist/index.cjs
CHANGED
|
@@ -952,6 +952,195 @@ const identityBindingV1 = {
|
|
|
952
952
|
documents: { binding: IdentityBindingSchema }
|
|
953
953
|
};
|
|
954
954
|
//#endregion
|
|
955
|
+
//#region src/organization/source.v2.ts
|
|
956
|
+
const ORGANIZATION_SOURCE_PROFILE = "dsg.organization.source/2";
|
|
957
|
+
const OrganizationSpaceSchema = _sinclair_typebox.Type.String({ pattern: "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)+$" });
|
|
958
|
+
/** A path interpreted relative to the organization source root. Filesystem
|
|
959
|
+
* containment and symlink checks belong to the consumer that opens it. */
|
|
960
|
+
const OrganizationDocumentPathSchema = _sinclair_typebox.Type.String({
|
|
961
|
+
minLength: 1,
|
|
962
|
+
pattern: "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)(?!.*\\\\).+$"
|
|
963
|
+
});
|
|
964
|
+
const OrganizationSourceLocationSchema = closed({
|
|
965
|
+
repository: NonEmptyString,
|
|
966
|
+
ref: NonEmptyString,
|
|
967
|
+
subdirectory: OrganizationDocumentPathSchema
|
|
968
|
+
});
|
|
969
|
+
const OrganizationSourceLocationV1Schema = closed({
|
|
970
|
+
repository: _sinclair_typebox.Type.String(),
|
|
971
|
+
ref: _sinclair_typebox.Type.String(),
|
|
972
|
+
subdirectory: _sinclair_typebox.Type.String()
|
|
973
|
+
});
|
|
974
|
+
const ProjectSourceSchema = closed({
|
|
975
|
+
repository: NonEmptyString,
|
|
976
|
+
revision: _sinclair_typebox.Type.String({ pattern: "^(?:[0-9a-f]{40}|[0-9a-f]{64})$" })
|
|
977
|
+
});
|
|
978
|
+
const UniquePaths = () => _sinclair_typebox.Type.Array(OrganizationDocumentPathSchema, { uniqueItems: true });
|
|
979
|
+
const UniqueNames = () => _sinclair_typebox.Type.Array(NonEmptyString, { uniqueItems: true });
|
|
980
|
+
/** Frozen compatibility shape. Version one is loaded only through the explicit
|
|
981
|
+
* compatibility path; it is never silently reinterpreted as version two. */
|
|
982
|
+
const OrganizationRootV1Schema = closed({
|
|
983
|
+
schemaVersion: _sinclair_typebox.Type.Literal(1),
|
|
984
|
+
kind: _sinclair_typebox.Type.Literal("organization"),
|
|
985
|
+
org: NonEmptyString,
|
|
986
|
+
space: OrganizationSpaceSchema,
|
|
987
|
+
identity: closed({
|
|
988
|
+
principals: NonEmptyString,
|
|
989
|
+
qualifications: NonEmptyString,
|
|
990
|
+
designations: NonEmptyString
|
|
991
|
+
}),
|
|
992
|
+
policies: NonEmptyString,
|
|
993
|
+
vocabulary: NonEmptyString,
|
|
994
|
+
admissions: NonEmptyString,
|
|
995
|
+
deployment: NonEmptyString,
|
|
996
|
+
source: _sinclair_typebox.Type.Optional(OrganizationSourceLocationV1Schema)
|
|
997
|
+
});
|
|
998
|
+
const OrganizationInstructionSchema = closed({
|
|
999
|
+
layer: _sinclair_typebox.Type.Union([
|
|
1000
|
+
_sinclair_typebox.Type.Literal("constitution"),
|
|
1001
|
+
_sinclair_typebox.Type.Literal("profile"),
|
|
1002
|
+
_sinclair_typebox.Type.Literal("project")
|
|
1003
|
+
]),
|
|
1004
|
+
source: OrganizationDocumentPathSchema,
|
|
1005
|
+
provenance: OrganizationDocumentPathSchema
|
|
1006
|
+
});
|
|
1007
|
+
/** The generic root requires only stable identity, accountability, purpose and
|
|
1008
|
+
* a selected profile. Optional declaration groups become required only when
|
|
1009
|
+
* that profile says so. */
|
|
1010
|
+
const OrganizationRootSchema = closed({
|
|
1011
|
+
schemaVersion: _sinclair_typebox.Type.Literal(2),
|
|
1012
|
+
kind: _sinclair_typebox.Type.Literal("organization"),
|
|
1013
|
+
org: NonEmptyString,
|
|
1014
|
+
space: OrganizationSpaceSchema,
|
|
1015
|
+
owner: closed({
|
|
1016
|
+
responsibility: NonEmptyString,
|
|
1017
|
+
qualification: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1018
|
+
designation: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema)
|
|
1019
|
+
}),
|
|
1020
|
+
purpose: NonEmptyString,
|
|
1021
|
+
profile: closed({
|
|
1022
|
+
document: OrganizationDocumentPathSchema,
|
|
1023
|
+
facts: _sinclair_typebox.Type.Record(_sinclair_typebox.Type.String({ pattern: "^[a-z][a-z0-9-]*$" }), OrganizationDocumentPathSchema, { additionalProperties: false })
|
|
1024
|
+
}),
|
|
1025
|
+
identity: _sinclair_typebox.Type.Optional(closed({
|
|
1026
|
+
principals: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1027
|
+
qualifications: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1028
|
+
designations: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1029
|
+
eligibility: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema)
|
|
1030
|
+
})),
|
|
1031
|
+
policies: _sinclair_typebox.Type.Optional(closed({
|
|
1032
|
+
sources: _sinclair_typebox.Type.Array(OrganizationDocumentPathSchema, {
|
|
1033
|
+
minItems: 1,
|
|
1034
|
+
uniqueItems: true
|
|
1035
|
+
}),
|
|
1036
|
+
release: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema)
|
|
1037
|
+
})),
|
|
1038
|
+
vocabulary: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1039
|
+
admissions: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1040
|
+
projects: _sinclair_typebox.Type.Optional(UniquePaths()),
|
|
1041
|
+
capabilities: _sinclair_typebox.Type.Optional(UniquePaths()),
|
|
1042
|
+
instructions: _sinclair_typebox.Type.Optional(_sinclair_typebox.Type.Array(OrganizationInstructionSchema)),
|
|
1043
|
+
documents: _sinclair_typebox.Type.Optional(UniquePaths()),
|
|
1044
|
+
archive: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1045
|
+
releases: _sinclair_typebox.Type.Optional(UniquePaths()),
|
|
1046
|
+
deployment: _sinclair_typebox.Type.Optional(OrganizationDocumentPathSchema),
|
|
1047
|
+
source: _sinclair_typebox.Type.Optional(OrganizationSourceLocationSchema)
|
|
1048
|
+
});
|
|
1049
|
+
const WorkspaceProfileSchema = closed({
|
|
1050
|
+
schemaVersion: _sinclair_typebox.Type.Literal(1),
|
|
1051
|
+
kind: _sinclair_typebox.Type.Literal("workspace-profile"),
|
|
1052
|
+
id: NonEmptyString,
|
|
1053
|
+
profile: _sinclair_typebox.Type.Literal(ORGANIZATION_SOURCE_PROFILE),
|
|
1054
|
+
version: _sinclair_typebox.Type.String({ pattern: "^[1-9][0-9]*\\.[0-9]+\\.[0-9]+$" }),
|
|
1055
|
+
requirements: closed({
|
|
1056
|
+
facts: UniqueNames(),
|
|
1057
|
+
minimumProjects: SafeInt,
|
|
1058
|
+
requiredCapabilities: UniqueNames(),
|
|
1059
|
+
instructions: _sinclair_typebox.Type.Boolean()
|
|
1060
|
+
}),
|
|
1061
|
+
allowedCapabilityOrigins: _sinclair_typebox.Type.Array(_sinclair_typebox.Type.Union([
|
|
1062
|
+
_sinclair_typebox.Type.Literal("workspace"),
|
|
1063
|
+
_sinclair_typebox.Type.Literal("official"),
|
|
1064
|
+
_sinclair_typebox.Type.Literal("curated")
|
|
1065
|
+
]), { uniqueItems: true }),
|
|
1066
|
+
handling: closed({ required: _sinclair_typebox.Type.Boolean() }),
|
|
1067
|
+
readinessChecks: UniquePaths()
|
|
1068
|
+
});
|
|
1069
|
+
const ProjectMembershipSchema = closed({
|
|
1070
|
+
schemaVersion: _sinclair_typebox.Type.Literal(1),
|
|
1071
|
+
kind: _sinclair_typebox.Type.Literal("project-membership"),
|
|
1072
|
+
id: NonEmptyString,
|
|
1073
|
+
mode: _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("managed"), _sinclair_typebox.Type.Literal("independent")]),
|
|
1074
|
+
source: ProjectSourceSchema,
|
|
1075
|
+
role: NonEmptyString,
|
|
1076
|
+
contract: OrganizationDocumentPathSchema,
|
|
1077
|
+
handling: OrganizationDocumentPathSchema,
|
|
1078
|
+
state: _sinclair_typebox.Type.Union([
|
|
1079
|
+
_sinclair_typebox.Type.Literal("active"),
|
|
1080
|
+
_sinclair_typebox.Type.Literal("suspended"),
|
|
1081
|
+
_sinclair_typebox.Type.Literal("removed")
|
|
1082
|
+
])
|
|
1083
|
+
});
|
|
1084
|
+
const CapabilityOriginSchema = _sinclair_typebox.Type.Union([
|
|
1085
|
+
_sinclair_typebox.Type.Literal("workspace"),
|
|
1086
|
+
_sinclair_typebox.Type.Literal("official"),
|
|
1087
|
+
_sinclair_typebox.Type.Literal("curated")
|
|
1088
|
+
]);
|
|
1089
|
+
/** `declaration` and component `reference` point to their owning existing
|
|
1090
|
+
* capability/Definition formats; this schema does not duplicate them. */
|
|
1091
|
+
const CapabilitySelectionSchema = closed({
|
|
1092
|
+
schemaVersion: _sinclair_typebox.Type.Literal(1),
|
|
1093
|
+
kind: _sinclair_typebox.Type.Literal("capability-selection"),
|
|
1094
|
+
id: NonEmptyString,
|
|
1095
|
+
declaration: OrganizationDocumentPathSchema,
|
|
1096
|
+
components: _sinclair_typebox.Type.Array(closed({
|
|
1097
|
+
id: NonEmptyString,
|
|
1098
|
+
reference: OrganizationDocumentPathSchema
|
|
1099
|
+
}), { uniqueItems: true }),
|
|
1100
|
+
origin: CapabilityOriginSchema,
|
|
1101
|
+
dependencyLock: OrganizationDocumentPathSchema,
|
|
1102
|
+
requiredDispositions: UniqueNames()
|
|
1103
|
+
});
|
|
1104
|
+
const ReleaseMemberKindSchema = _sinclair_typebox.Type.Union([
|
|
1105
|
+
_sinclair_typebox.Type.Literal("policy"),
|
|
1106
|
+
_sinclair_typebox.Type.Literal("capability-admission"),
|
|
1107
|
+
_sinclair_typebox.Type.Literal("workflow-publication"),
|
|
1108
|
+
_sinclair_typebox.Type.Literal("contract-check"),
|
|
1109
|
+
_sinclair_typebox.Type.Literal("target-readiness"),
|
|
1110
|
+
_sinclair_typebox.Type.Literal("setup-condition")
|
|
1111
|
+
]);
|
|
1112
|
+
const ReleaseDeclarationSchema = closed({
|
|
1113
|
+
schemaVersion: _sinclair_typebox.Type.Literal(1),
|
|
1114
|
+
kind: _sinclair_typebox.Type.Literal("release-declaration"),
|
|
1115
|
+
name: NonEmptyString,
|
|
1116
|
+
selection: closed({
|
|
1117
|
+
projects: UniqueNames(),
|
|
1118
|
+
capabilities: UniqueNames()
|
|
1119
|
+
}),
|
|
1120
|
+
members: _sinclair_typebox.Type.Array(closed({
|
|
1121
|
+
key: NonEmptyString,
|
|
1122
|
+
artifact: OrganizationDocumentPathSchema,
|
|
1123
|
+
kind: ReleaseMemberKindSchema,
|
|
1124
|
+
required: _sinclair_typebox.Type.Boolean(),
|
|
1125
|
+
acceptableDispositions: _sinclair_typebox.Type.Array(NonEmptyString, {
|
|
1126
|
+
minItems: 1,
|
|
1127
|
+
uniqueItems: true
|
|
1128
|
+
})
|
|
1129
|
+
})),
|
|
1130
|
+
predecessors: UniqueNames()
|
|
1131
|
+
});
|
|
1132
|
+
const organizationSourceV2 = {
|
|
1133
|
+
literal: ORGANIZATION_SOURCE_PROFILE,
|
|
1134
|
+
rootDocument: "organization",
|
|
1135
|
+
documents: {
|
|
1136
|
+
organization: OrganizationRootSchema,
|
|
1137
|
+
workspaceProfile: WorkspaceProfileSchema,
|
|
1138
|
+
projectMembership: ProjectMembershipSchema,
|
|
1139
|
+
capabilitySelection: CapabilitySelectionSchema,
|
|
1140
|
+
releaseDeclaration: ReleaseDeclarationSchema
|
|
1141
|
+
}
|
|
1142
|
+
};
|
|
1143
|
+
//#endregion
|
|
955
1144
|
//#region src/index.ts
|
|
956
1145
|
/** Every profile this version of the package defines, keyed by literal.
|
|
957
1146
|
* Profile modules are added here as they are extracted; the rules test
|
|
@@ -975,7 +1164,8 @@ const PROFILES = {
|
|
|
975
1164
|
[revocationsV1.literal]: revocationsV1,
|
|
976
1165
|
[bootstrapV1.literal]: bootstrapV1,
|
|
977
1166
|
[ordinaryAuthorityV1.literal]: ordinaryAuthorityV1,
|
|
978
|
-
[standingOrderActivationV1.literal]: standingOrderActivationV1
|
|
1167
|
+
[standingOrderActivationV1.literal]: standingOrderActivationV1,
|
|
1168
|
+
[organizationSourceV2.literal]: organizationSourceV2
|
|
979
1169
|
};
|
|
980
1170
|
//#endregion
|
|
981
1171
|
exports.ADOPTION_FACT_PROFILE = ADOPTION_FACT_PROFILE;
|
|
@@ -984,6 +1174,8 @@ exports.AdoptionFactSchema = AdoptionFactSchema;
|
|
|
984
1174
|
exports.BOOTSTRAP_PROFILE = BOOTSTRAP_PROFILE;
|
|
985
1175
|
exports.BootstrapActionSchema = BootstrapActionSchema;
|
|
986
1176
|
exports.BootstrapIntentSchema = BootstrapIntentSchema;
|
|
1177
|
+
exports.CapabilityOriginSchema = CapabilityOriginSchema;
|
|
1178
|
+
exports.CapabilitySelectionSchema = CapabilitySelectionSchema;
|
|
987
1179
|
exports.DECISION_PROFILE = DECISION_PROFILE;
|
|
988
1180
|
exports.DISPATCH_CONSUME_PROFILE = DISPATCH_CONSUME_PROFILE;
|
|
989
1181
|
exports.DISPATCH_MAX_SKEW_SECONDS = DISPATCH_MAX_SKEW_SECONDS;
|
|
@@ -1010,6 +1202,7 @@ exports.LIFECYCLE_KINDS = LIFECYCLE_KINDS;
|
|
|
1010
1202
|
exports.NonEmptyString = NonEmptyString;
|
|
1011
1203
|
exports.OPERATION_PROFILE = OPERATION_PROFILE;
|
|
1012
1204
|
exports.ORDINARY_AUTHORITY_PROFILE = ORDINARY_AUTHORITY_PROFILE;
|
|
1205
|
+
exports.ORGANIZATION_SOURCE_PROFILE = ORGANIZATION_SOURCE_PROFILE;
|
|
1013
1206
|
exports.OperationBeforeSchema = OperationBeforeSchema;
|
|
1014
1207
|
exports.OperationCleanupSchema = OperationCleanupSchema;
|
|
1015
1208
|
exports.OperationCostSchema = OperationCostSchema;
|
|
@@ -1018,11 +1211,19 @@ exports.OperationExecutionSchema = OperationExecutionSchema;
|
|
|
1018
1211
|
exports.OperationRequestSchema = OperationRequestSchema;
|
|
1019
1212
|
exports.OperationStatusSchema = OperationStatusSchema;
|
|
1020
1213
|
exports.OrdinaryAuthoritySchema = OrdinaryAuthoritySchema;
|
|
1214
|
+
exports.OrganizationDocumentPathSchema = OrganizationDocumentPathSchema;
|
|
1215
|
+
exports.OrganizationInstructionSchema = OrganizationInstructionSchema;
|
|
1216
|
+
exports.OrganizationRootSchema = OrganizationRootSchema;
|
|
1217
|
+
exports.OrganizationRootV1Schema = OrganizationRootV1Schema;
|
|
1218
|
+
exports.OrganizationSourceLocationSchema = OrganizationSourceLocationSchema;
|
|
1219
|
+
exports.OrganizationSpaceSchema = OrganizationSpaceSchema;
|
|
1021
1220
|
exports.Orn = Orn;
|
|
1022
1221
|
exports.PRICE_PROFILE_REFERENCE = PRICE_PROFILE_REFERENCE;
|
|
1023
1222
|
exports.PROFILES = PROFILES;
|
|
1024
1223
|
exports.PROVIDER_PROTOCOL_VERSION = PROVIDER_PROTOCOL_VERSION;
|
|
1025
1224
|
exports.PersonReference = PersonReference;
|
|
1225
|
+
exports.ProjectMembershipSchema = ProjectMembershipSchema;
|
|
1226
|
+
exports.ProjectSourceSchema = ProjectSourceSchema;
|
|
1026
1227
|
exports.REFUSAL_PROFILE = REFUSAL_PROFILE;
|
|
1027
1228
|
exports.REFUSAL_V2_PROFILE = REFUSAL_V2_PROFILE;
|
|
1028
1229
|
exports.REFUSAL_V3_PROFILE = REFUSAL_V3_PROFILE;
|
|
@@ -1041,6 +1242,8 @@ exports.RefusalStageV2Schema = RefusalStageV2Schema;
|
|
|
1041
1242
|
exports.RefusalStageV3Schema = RefusalStageV3Schema;
|
|
1042
1243
|
exports.RefusalV2Schema = RefusalV2Schema;
|
|
1043
1244
|
exports.RefusalV3Schema = RefusalV3Schema;
|
|
1245
|
+
exports.ReleaseDeclarationSchema = ReleaseDeclarationSchema;
|
|
1246
|
+
exports.ReleaseMemberKindSchema = ReleaseMemberKindSchema;
|
|
1044
1247
|
exports.RequestCeilingsSchema = RequestCeilingsSchema;
|
|
1045
1248
|
exports.ResourceDescriptorSchema = ResourceDescriptorSchema;
|
|
1046
1249
|
exports.RevocationPointerSchema = RevocationPointerSchema;
|
|
@@ -1062,4 +1265,5 @@ exports.StandingOrderActivationEventSchema = StandingOrderActivationEventSchema;
|
|
|
1062
1265
|
exports.StandingOrderActivationSchema = StandingOrderActivationSchema;
|
|
1063
1266
|
exports.StandingOrderModeSchema = StandingOrderModeSchema;
|
|
1064
1267
|
exports.UtcSecond = UtcSecond;
|
|
1268
|
+
exports.WorkspaceProfileSchema = WorkspaceProfileSchema;
|
|
1065
1269
|
exports.closed = closed;
|
package/dist/index.d.cts
CHANGED
|
@@ -1011,6 +1011,180 @@ declare const IdentityBindingSchema: typeof IdentityBindingSchemaValue;
|
|
|
1011
1011
|
type IdentityBinding = Static<typeof IdentityBindingSchema>;
|
|
1012
1012
|
declare const identityBindingV1: ProfileEntry;
|
|
1013
1013
|
//#endregion
|
|
1014
|
+
//#region src/organization/source.v2.d.ts
|
|
1015
|
+
declare const ORGANIZATION_SOURCE_PROFILE: "dsg.organization.source/2";
|
|
1016
|
+
declare const OrganizationSpaceSchema: import("@sinclair/typebox").TString;
|
|
1017
|
+
/** A path interpreted relative to the organization source root. Filesystem
|
|
1018
|
+
* containment and symlink checks belong to the consumer that opens it. */
|
|
1019
|
+
declare const OrganizationDocumentPathSchema: import("@sinclair/typebox").TString;
|
|
1020
|
+
declare const OrganizationSourceLocationSchema: import("@sinclair/typebox").TObject<{
|
|
1021
|
+
repository: import("@sinclair/typebox").TString;
|
|
1022
|
+
ref: import("@sinclair/typebox").TString;
|
|
1023
|
+
subdirectory: import("@sinclair/typebox").TString;
|
|
1024
|
+
}>;
|
|
1025
|
+
type OrganizationSourceLocation = Static<typeof OrganizationSourceLocationSchema>;
|
|
1026
|
+
declare const OrganizationSourceLocationV1Schema: import("@sinclair/typebox").TObject<{
|
|
1027
|
+
repository: import("@sinclair/typebox").TString;
|
|
1028
|
+
ref: import("@sinclair/typebox").TString;
|
|
1029
|
+
subdirectory: import("@sinclair/typebox").TString;
|
|
1030
|
+
}>;
|
|
1031
|
+
type OrganizationSourceLocationV1 = Static<typeof OrganizationSourceLocationV1Schema>;
|
|
1032
|
+
declare const ProjectSourceSchema: import("@sinclair/typebox").TObject<{
|
|
1033
|
+
repository: import("@sinclair/typebox").TString;
|
|
1034
|
+
revision: import("@sinclair/typebox").TString;
|
|
1035
|
+
}>;
|
|
1036
|
+
type ProjectSource = Static<typeof ProjectSourceSchema>;
|
|
1037
|
+
/** Frozen compatibility shape. Version one is loaded only through the explicit
|
|
1038
|
+
* compatibility path; it is never silently reinterpreted as version two. */
|
|
1039
|
+
declare const OrganizationRootV1Schema: import("@sinclair/typebox").TObject<{
|
|
1040
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<1>;
|
|
1041
|
+
kind: import("@sinclair/typebox").TLiteral<"organization">;
|
|
1042
|
+
org: import("@sinclair/typebox").TString;
|
|
1043
|
+
space: import("@sinclair/typebox").TString;
|
|
1044
|
+
identity: import("@sinclair/typebox").TObject<{
|
|
1045
|
+
principals: import("@sinclair/typebox").TString;
|
|
1046
|
+
qualifications: import("@sinclair/typebox").TString;
|
|
1047
|
+
designations: import("@sinclair/typebox").TString;
|
|
1048
|
+
}>;
|
|
1049
|
+
policies: import("@sinclair/typebox").TString;
|
|
1050
|
+
vocabulary: import("@sinclair/typebox").TString;
|
|
1051
|
+
admissions: import("@sinclair/typebox").TString;
|
|
1052
|
+
deployment: import("@sinclair/typebox").TString;
|
|
1053
|
+
source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1054
|
+
repository: import("@sinclair/typebox").TString;
|
|
1055
|
+
ref: import("@sinclair/typebox").TString;
|
|
1056
|
+
subdirectory: import("@sinclair/typebox").TString;
|
|
1057
|
+
}>>;
|
|
1058
|
+
}>;
|
|
1059
|
+
type OrganizationRootV1 = Static<typeof OrganizationRootV1Schema>;
|
|
1060
|
+
declare const OrganizationInstructionSchema: import("@sinclair/typebox").TObject<{
|
|
1061
|
+
layer: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"constitution">, import("@sinclair/typebox").TLiteral<"profile">, import("@sinclair/typebox").TLiteral<"project">]>;
|
|
1062
|
+
source: import("@sinclair/typebox").TString;
|
|
1063
|
+
provenance: import("@sinclair/typebox").TString;
|
|
1064
|
+
}>;
|
|
1065
|
+
type OrganizationInstruction = Static<typeof OrganizationInstructionSchema>;
|
|
1066
|
+
/** The generic root requires only stable identity, accountability, purpose and
|
|
1067
|
+
* a selected profile. Optional declaration groups become required only when
|
|
1068
|
+
* that profile says so. */
|
|
1069
|
+
declare const OrganizationRootSchema: import("@sinclair/typebox").TObject<{
|
|
1070
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<2>;
|
|
1071
|
+
kind: import("@sinclair/typebox").TLiteral<"organization">;
|
|
1072
|
+
org: import("@sinclair/typebox").TString;
|
|
1073
|
+
space: import("@sinclair/typebox").TString;
|
|
1074
|
+
owner: import("@sinclair/typebox").TObject<{
|
|
1075
|
+
responsibility: import("@sinclair/typebox").TString;
|
|
1076
|
+
qualification: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1077
|
+
designation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1078
|
+
}>;
|
|
1079
|
+
purpose: import("@sinclair/typebox").TString;
|
|
1080
|
+
profile: import("@sinclair/typebox").TObject<{
|
|
1081
|
+
document: import("@sinclair/typebox").TString;
|
|
1082
|
+
facts: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
1083
|
+
}>;
|
|
1084
|
+
identity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1085
|
+
principals: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1086
|
+
qualifications: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1087
|
+
designations: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1088
|
+
eligibility: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1089
|
+
}>>;
|
|
1090
|
+
policies: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1091
|
+
sources: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1092
|
+
release: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1093
|
+
}>>;
|
|
1094
|
+
vocabulary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1095
|
+
admissions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1096
|
+
projects: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
1097
|
+
capabilities: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
1098
|
+
instructions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
1099
|
+
layer: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"constitution">, import("@sinclair/typebox").TLiteral<"profile">, import("@sinclair/typebox").TLiteral<"project">]>;
|
|
1100
|
+
source: import("@sinclair/typebox").TString;
|
|
1101
|
+
provenance: import("@sinclair/typebox").TString;
|
|
1102
|
+
}>>>;
|
|
1103
|
+
documents: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
1104
|
+
archive: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1105
|
+
releases: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
1106
|
+
deployment: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1107
|
+
source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1108
|
+
repository: import("@sinclair/typebox").TString;
|
|
1109
|
+
ref: import("@sinclair/typebox").TString;
|
|
1110
|
+
subdirectory: import("@sinclair/typebox").TString;
|
|
1111
|
+
}>>;
|
|
1112
|
+
}>;
|
|
1113
|
+
type OrganizationRoot = Static<typeof OrganizationRootSchema>;
|
|
1114
|
+
declare const WorkspaceProfileSchema: import("@sinclair/typebox").TObject<{
|
|
1115
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<1>;
|
|
1116
|
+
kind: import("@sinclair/typebox").TLiteral<"workspace-profile">;
|
|
1117
|
+
id: import("@sinclair/typebox").TString;
|
|
1118
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.organization.source/2">;
|
|
1119
|
+
version: import("@sinclair/typebox").TString;
|
|
1120
|
+
requirements: import("@sinclair/typebox").TObject<{
|
|
1121
|
+
facts: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1122
|
+
minimumProjects: import("@sinclair/typebox").TInteger;
|
|
1123
|
+
requiredCapabilities: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1124
|
+
instructions: import("@sinclair/typebox").TBoolean;
|
|
1125
|
+
}>;
|
|
1126
|
+
allowedCapabilityOrigins: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"workspace">, import("@sinclair/typebox").TLiteral<"official">, import("@sinclair/typebox").TLiteral<"curated">]>>;
|
|
1127
|
+
handling: import("@sinclair/typebox").TObject<{
|
|
1128
|
+
required: import("@sinclair/typebox").TBoolean;
|
|
1129
|
+
}>;
|
|
1130
|
+
readinessChecks: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1131
|
+
}>;
|
|
1132
|
+
type WorkspaceProfile = Static<typeof WorkspaceProfileSchema>;
|
|
1133
|
+
declare const ProjectMembershipSchema: import("@sinclair/typebox").TObject<{
|
|
1134
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<1>;
|
|
1135
|
+
kind: import("@sinclair/typebox").TLiteral<"project-membership">;
|
|
1136
|
+
id: import("@sinclair/typebox").TString;
|
|
1137
|
+
mode: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"managed">, import("@sinclair/typebox").TLiteral<"independent">]>;
|
|
1138
|
+
source: import("@sinclair/typebox").TObject<{
|
|
1139
|
+
repository: import("@sinclair/typebox").TString;
|
|
1140
|
+
revision: import("@sinclair/typebox").TString;
|
|
1141
|
+
}>;
|
|
1142
|
+
role: import("@sinclair/typebox").TString;
|
|
1143
|
+
contract: import("@sinclair/typebox").TString;
|
|
1144
|
+
handling: import("@sinclair/typebox").TString;
|
|
1145
|
+
state: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"suspended">, import("@sinclair/typebox").TLiteral<"removed">]>;
|
|
1146
|
+
}>;
|
|
1147
|
+
type ProjectMembership = Static<typeof ProjectMembershipSchema>;
|
|
1148
|
+
declare const CapabilityOriginSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"workspace">, import("@sinclair/typebox").TLiteral<"official">, import("@sinclair/typebox").TLiteral<"curated">]>;
|
|
1149
|
+
type CapabilityOrigin = Static<typeof CapabilityOriginSchema>;
|
|
1150
|
+
/** `declaration` and component `reference` point to their owning existing
|
|
1151
|
+
* capability/Definition formats; this schema does not duplicate them. */
|
|
1152
|
+
declare const CapabilitySelectionSchema: import("@sinclair/typebox").TObject<{
|
|
1153
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<1>;
|
|
1154
|
+
kind: import("@sinclair/typebox").TLiteral<"capability-selection">;
|
|
1155
|
+
id: import("@sinclair/typebox").TString;
|
|
1156
|
+
declaration: import("@sinclair/typebox").TString;
|
|
1157
|
+
components: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
1158
|
+
id: import("@sinclair/typebox").TString;
|
|
1159
|
+
reference: import("@sinclair/typebox").TString;
|
|
1160
|
+
}>>;
|
|
1161
|
+
origin: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"workspace">, import("@sinclair/typebox").TLiteral<"official">, import("@sinclair/typebox").TLiteral<"curated">]>;
|
|
1162
|
+
dependencyLock: import("@sinclair/typebox").TString;
|
|
1163
|
+
requiredDispositions: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1164
|
+
}>;
|
|
1165
|
+
type CapabilitySelection = Static<typeof CapabilitySelectionSchema>;
|
|
1166
|
+
declare const ReleaseMemberKindSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"policy">, import("@sinclair/typebox").TLiteral<"capability-admission">, import("@sinclair/typebox").TLiteral<"workflow-publication">, import("@sinclair/typebox").TLiteral<"contract-check">, import("@sinclair/typebox").TLiteral<"target-readiness">, import("@sinclair/typebox").TLiteral<"setup-condition">]>;
|
|
1167
|
+
type ReleaseMemberKind = Static<typeof ReleaseMemberKindSchema>;
|
|
1168
|
+
declare const ReleaseDeclarationSchema: import("@sinclair/typebox").TObject<{
|
|
1169
|
+
schemaVersion: import("@sinclair/typebox").TLiteral<1>;
|
|
1170
|
+
kind: import("@sinclair/typebox").TLiteral<"release-declaration">;
|
|
1171
|
+
name: import("@sinclair/typebox").TString;
|
|
1172
|
+
selection: import("@sinclair/typebox").TObject<{
|
|
1173
|
+
projects: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1174
|
+
capabilities: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1175
|
+
}>;
|
|
1176
|
+
members: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
1177
|
+
key: import("@sinclair/typebox").TString;
|
|
1178
|
+
artifact: import("@sinclair/typebox").TString;
|
|
1179
|
+
kind: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"policy">, import("@sinclair/typebox").TLiteral<"capability-admission">, import("@sinclair/typebox").TLiteral<"workflow-publication">, import("@sinclair/typebox").TLiteral<"contract-check">, import("@sinclair/typebox").TLiteral<"target-readiness">, import("@sinclair/typebox").TLiteral<"setup-condition">]>;
|
|
1180
|
+
required: import("@sinclair/typebox").TBoolean;
|
|
1181
|
+
acceptableDispositions: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1182
|
+
}>>;
|
|
1183
|
+
predecessors: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1184
|
+
}>;
|
|
1185
|
+
type ReleaseDeclaration = Static<typeof ReleaseDeclarationSchema>;
|
|
1186
|
+
declare const organizationSourceV2: ProfileEntry;
|
|
1187
|
+
//#endregion
|
|
1014
1188
|
//#region src/index.d.ts
|
|
1015
1189
|
/** Every profile this version of the package defines, keyed by literal.
|
|
1016
1190
|
* Profile modules are added here as they are extracted; the rules test
|
|
@@ -1035,7 +1209,8 @@ declare const PROFILES: {
|
|
|
1035
1209
|
[bootstrapV1.literal]: ProfileEntry;
|
|
1036
1210
|
[ordinaryAuthorityV1.literal]: ProfileEntry;
|
|
1037
1211
|
[standingOrderActivationV1.literal]: ProfileEntry;
|
|
1212
|
+
[organizationSourceV2.literal]: ProfileEntry;
|
|
1038
1213
|
};
|
|
1039
1214
|
//#endregion
|
|
1040
|
-
export { ADOPTION_FACT_PROFILE, type Accepted, AcceptedSchema, type AdoptionFact, AdoptionFactSchema, BOOTSTRAP_PROFILE, type BootstrapAction, BootstrapActionSchema, type BootstrapIntent, BootstrapIntentSchema, DECISION_PROFILE, DISPATCH_CONSUME_PROFILE, DISPATCH_MAX_SKEW_SECONDS, type DispatchConsumeRequest, DispatchConsumeRequestSchema, type DispatchLease, DispatchLeaseSchema, type DispatchRefusal, type DispatchRefusalCode, DispatchRefusalCodeSchema, DispatchRefusalSchema, EVENT_LINE_PREFIX, EVENT_PROFILE, EXECUTOR_PROTOCOL_VERSION, type Event, EventSchema, type EventStreamSeal, EventStreamSealSchema, type ExecutionDocument, ExecutionDocumentSchema, type ExecutionLaw, ExecutionLawSchema, type ExecutionResources, ExecutionResourcesSchema, type ExecutorProtocolVersion, type ExperimentRef, ExperimentRefSchema, GOOGLE_IDENTITY_PROFILE, GOOGLE_SIGN_IN_ISSUER, type GoogleIdentity, GoogleIdentitySchema, Hex64, IDENTITY_BINDING_PROFILE, type IdentityBinding, IdentityBindingSchema, LIFECYCLE_KINDS, NonEmptyString, OPERATION_PROFILE, ORDINARY_AUTHORITY_PROFILE, type OperationBefore, OperationBeforeSchema, type OperationCleanup, OperationCleanupSchema, type OperationCost, OperationCostSchema, type OperationEvidence, OperationEvidenceSchema, type OperationExecution, OperationExecutionSchema, type OperationRequest, OperationRequestSchema, type OperationStatus, OperationStatusSchema, type OrdinaryAuthority, OrdinaryAuthoritySchema, Orn, PRICE_PROFILE_REFERENCE, PROFILES, PROVIDER_PROTOCOL_VERSION, PersonReference, type ProfileEntry, type ProviderProtocolVersion, REFUSAL_PROFILE, REFUSAL_V2_PROFILE, REFUSAL_V3_PROFILE, REQUEST_PROFILE, RESOURCE_DESCRIPTOR_KIND, RESOURCE_DESCRIPTOR_PROFILE, REVOCATIONS_PROFILE, RUN_SUMMARY_PROFILE, type Readback, ReadbackSchema, Reference, type Refusal, type RefusalCode, RefusalCodeSchema, type RefusalCodeV2, RefusalCodeV2Schema, type RefusalCodeV3, RefusalCodeV3Schema, RefusalSchema, type RefusalStageV2, RefusalStageV2Schema, type RefusalStageV3, RefusalStageV3Schema, type RefusalV2, RefusalV2Schema, type RefusalV3, RefusalV3Schema, type RequestCeilings, RequestCeilingsSchema, type ResourceDescriptor, ResourceDescriptorSchema, type RevocationPointer, RevocationPointerSchema, RevocationSchema, type RevocationSnapshot, type RunDecision, RunDecisionSchema, type RunRequest, RunRequestSchema, type RunSummary, type RunSummaryDecision, RunSummaryDecisionSchema, RunSummarySchema, SCOPE_REFERENCE, SIGNED_LAW_DOMAIN, SIGNED_LAW_PROFILE, STANDING_ORDER_ACTIVATION_EVENT_KIND, STANDING_ORDER_ACTIVATION_PROFILE, SafeInt, type SignedBootstrapIntent, SignedBootstrapIntentSchema, type SignedLawBundle, SignedLawBundleSchema, type SignedStandingOrderActivation, SignedStandingOrderActivationSchema, type StandingOrderActivation, type StandingOrderActivationEvent, StandingOrderActivationEventSchema, StandingOrderActivationSchema, type StandingOrderMode, StandingOrderModeSchema, UtcSecond, closed };
|
|
1215
|
+
export { ADOPTION_FACT_PROFILE, type Accepted, AcceptedSchema, type AdoptionFact, AdoptionFactSchema, BOOTSTRAP_PROFILE, type BootstrapAction, BootstrapActionSchema, type BootstrapIntent, BootstrapIntentSchema, type CapabilityOrigin, CapabilityOriginSchema, type CapabilitySelection, CapabilitySelectionSchema, DECISION_PROFILE, DISPATCH_CONSUME_PROFILE, DISPATCH_MAX_SKEW_SECONDS, type DispatchConsumeRequest, DispatchConsumeRequestSchema, type DispatchLease, DispatchLeaseSchema, type DispatchRefusal, type DispatchRefusalCode, DispatchRefusalCodeSchema, DispatchRefusalSchema, EVENT_LINE_PREFIX, EVENT_PROFILE, EXECUTOR_PROTOCOL_VERSION, type Event, EventSchema, type EventStreamSeal, EventStreamSealSchema, type ExecutionDocument, ExecutionDocumentSchema, type ExecutionLaw, ExecutionLawSchema, type ExecutionResources, ExecutionResourcesSchema, type ExecutorProtocolVersion, type ExperimentRef, ExperimentRefSchema, GOOGLE_IDENTITY_PROFILE, GOOGLE_SIGN_IN_ISSUER, type GoogleIdentity, GoogleIdentitySchema, Hex64, IDENTITY_BINDING_PROFILE, type IdentityBinding, IdentityBindingSchema, LIFECYCLE_KINDS, NonEmptyString, OPERATION_PROFILE, ORDINARY_AUTHORITY_PROFILE, ORGANIZATION_SOURCE_PROFILE, type OperationBefore, OperationBeforeSchema, type OperationCleanup, OperationCleanupSchema, type OperationCost, OperationCostSchema, type OperationEvidence, OperationEvidenceSchema, type OperationExecution, OperationExecutionSchema, type OperationRequest, OperationRequestSchema, type OperationStatus, OperationStatusSchema, type OrdinaryAuthority, OrdinaryAuthoritySchema, OrganizationDocumentPathSchema, type OrganizationInstruction, OrganizationInstructionSchema, type OrganizationRoot, OrganizationRootSchema, type OrganizationRootV1, OrganizationRootV1Schema, type OrganizationSourceLocation, OrganizationSourceLocationSchema, type OrganizationSourceLocationV1, OrganizationSpaceSchema, Orn, PRICE_PROFILE_REFERENCE, PROFILES, PROVIDER_PROTOCOL_VERSION, PersonReference, type ProfileEntry, type ProjectMembership, ProjectMembershipSchema, type ProjectSource, ProjectSourceSchema, type ProviderProtocolVersion, REFUSAL_PROFILE, REFUSAL_V2_PROFILE, REFUSAL_V3_PROFILE, REQUEST_PROFILE, RESOURCE_DESCRIPTOR_KIND, RESOURCE_DESCRIPTOR_PROFILE, REVOCATIONS_PROFILE, RUN_SUMMARY_PROFILE, type Readback, ReadbackSchema, Reference, type Refusal, type RefusalCode, RefusalCodeSchema, type RefusalCodeV2, RefusalCodeV2Schema, type RefusalCodeV3, RefusalCodeV3Schema, RefusalSchema, type RefusalStageV2, RefusalStageV2Schema, type RefusalStageV3, RefusalStageV3Schema, type RefusalV2, RefusalV2Schema, type RefusalV3, RefusalV3Schema, type ReleaseDeclaration, ReleaseDeclarationSchema, type ReleaseMemberKind, ReleaseMemberKindSchema, type RequestCeilings, RequestCeilingsSchema, type ResourceDescriptor, ResourceDescriptorSchema, type RevocationPointer, RevocationPointerSchema, RevocationSchema, type RevocationSnapshot, type RunDecision, RunDecisionSchema, type RunRequest, RunRequestSchema, type RunSummary, type RunSummaryDecision, RunSummaryDecisionSchema, RunSummarySchema, SCOPE_REFERENCE, SIGNED_LAW_DOMAIN, SIGNED_LAW_PROFILE, STANDING_ORDER_ACTIVATION_EVENT_KIND, STANDING_ORDER_ACTIVATION_PROFILE, SafeInt, type SignedBootstrapIntent, SignedBootstrapIntentSchema, type SignedLawBundle, SignedLawBundleSchema, type SignedStandingOrderActivation, SignedStandingOrderActivationSchema, type StandingOrderActivation, type StandingOrderActivationEvent, StandingOrderActivationEventSchema, StandingOrderActivationSchema, type StandingOrderMode, StandingOrderModeSchema, UtcSecond, type WorkspaceProfile, WorkspaceProfileSchema, closed };
|
|
1041
1216
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/primitives.ts","../src/kernel/dispatch-consume.v1.ts","../src/run/operation.v1.ts","../src/infra/signed-law.v1.ts","../src/infra/resource-descriptor.v1.ts","../src/infra/adoption-fact.v1.ts","../src/registry/revocations.v1.ts","../src/kernel/bootstrap.v1.ts","../src/kernel/standing-order-activation.v1.ts","../src/kernel/ordinary-authority.v1.ts","../src/run/contract-versions.ts","../src/run/event.v1.ts","../src/run/request.v1.ts","../src/run/decision.v1.ts","../src/run/run-summary.v1.ts","../src/core/refusal.v1.ts","../src/core/refusal.v2.ts","../src/core/google-identity.v1.ts","../src/core/refusal.v3.ts","../src/core/identity-binding.v1.ts","../src/index.ts"],"mappings":";;;cAOa,SAAU,UAAU,aAAW,YAAc,MAAI,QAAQ;;cAIzD,mCAAK;;cAGL,uCAAS;cAIT,4CAAc;cAEd,qCAAO;;;;;;cAOP,iCAAG;;cAGH,WAAS;;;;;;cAOT,iBAAe;;;;;;;;KAShB;WACD;WACA,WAAW,SAAS,eAAe;;;WAGnC;;;;WAIA;;;;cC3BE;;cAGA;cAEP,+DAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB1B,qCAAqC;KAEtC,yBAAyB,cAAc;cAE7C,sDAAwB;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,kDAAA,uDAAA;cAMlB,6BAA6B;KAC9B,iBAAiB,cAAc;cAErC,kDAAoB;;;;;;;cAOb,wBAAwB;KACzB,YAAY,cAAc;cAEzB,WAAW;;;cC1CX;cACA;cAMP,uDAAyB;;;;;;;;cAQlB,6BAA6B;KAC9B,iBAAiB,cAAc;cAE9B,kBAAkB;;;cC/BlB;cAEP,sDAAwB,oCAAA,6DAAA,6DAAA,yDAAA,mDAAA,+DAAA,wDAAA,uDAAA;cAUjB,4BAA4B;KAC7B,gBAAgB,cAAc;cAEpC,uDAAyB,oCAAA,+CAAA,kDAAA,uDAAA,+CAAA,iDAAA,gDAAA,gDAAA;cAUlB,6BAA6B;KAC9B,iBAAiB,cAAc;cAErC,kDAAoB;;;;;;;;cAQb,wBAAwB;KACzB,YAAY,cAAc;cAEzB,WAAW;;;cCvCX;cAGP,wDAA0B;;;;;;;;;cASnB,8BAA8B;KAC/B,kBAAkB,cAAc;cAE/B,mBAAmB;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/primitives.ts","../src/kernel/dispatch-consume.v1.ts","../src/run/operation.v1.ts","../src/infra/signed-law.v1.ts","../src/infra/resource-descriptor.v1.ts","../src/infra/adoption-fact.v1.ts","../src/registry/revocations.v1.ts","../src/kernel/bootstrap.v1.ts","../src/kernel/standing-order-activation.v1.ts","../src/kernel/ordinary-authority.v1.ts","../src/run/contract-versions.ts","../src/run/event.v1.ts","../src/run/request.v1.ts","../src/run/decision.v1.ts","../src/run/run-summary.v1.ts","../src/core/refusal.v1.ts","../src/core/refusal.v2.ts","../src/core/google-identity.v1.ts","../src/core/refusal.v3.ts","../src/core/identity-binding.v1.ts","../src/organization/source.v2.ts","../src/index.ts"],"mappings":";;;cAOa,SAAU,UAAU,aAAW,YAAc,MAAI,QAAQ;;cAIzD,mCAAK;;cAGL,uCAAS;cAIT,4CAAc;cAEd,qCAAO;;;;;;cAOP,iCAAG;;cAGH,WAAS;;;;;;cAOT,iBAAe;;;;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