@githolon/runtime 0.110.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/LICENSE.md +45 -0
- package/dist/RUNTIME-SOURCES.sha256 +289 -0
- package/dist/application-reception.js +206 -0
- package/dist/nomos-native-runtime.js +22519 -0
- package/dist/nomos-runner.html +13 -0
- package/dist/nomos-runner.js +34769 -0
- package/dist/remote-reception.cjs +582 -0
- package/dist/remote-reception.js +555 -0
- package/dist/typescript-application-desk.js +796 -0
- package/package.json +71 -0
- package/runner/README.md +75 -0
- package/runner/build.ts +225 -0
- package/runner/node-entry.mjs +31858 -0
- package/runner/nomos-runner.html +13 -0
- package/runner/shims.js +17 -0
- package/src/admission_decision.ts +60 -0
- package/src/application_reception.ts +134 -0
- package/src/nominal_value.ts +122 -0
- package/src/protocol/nomos/custody/v1/snapshot_pb.d.ts +67 -0
- package/src/protocol/nomos/custody/v1/snapshot_pb.js +18 -0
- package/src/protocol/nomos/discovery/v1/workspace_placement_pb.d.ts +56 -0
- package/src/protocol/nomos/discovery/v1/workspace_placement_pb.js +18 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +11183 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.js +2217 -0
- package/src/protocol/nomos/kernel/v1/progress_pb.d.ts +250 -0
- package/src/protocol/nomos/kernel/v1/progress_pb.js +66 -0
- package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +162 -0
- package/src/protocol/nomos/runtime/v2/application_desk_pb.js +60 -0
- package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.d.ts +202 -0
- package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.js +67 -0
- package/src/protocol/nomos/runtime/v2/authentication_desk_pb.d.ts +158 -0
- package/src/protocol/nomos/runtime/v2/authentication_desk_pb.js +50 -0
- package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.d.ts +204 -0
- package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.js +68 -0
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +3661 -0
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +735 -0
- package/src/protocol/nomos/runtime/v2/credentials_desk_pb.d.ts +122 -0
- package/src/protocol/nomos/runtime/v2/credentials_desk_pb.js +41 -0
- package/src/protocol/nomos/runtime/v2/custody_desk_pb.d.ts +611 -0
- package/src/protocol/nomos/runtime/v2/custody_desk_pb.js +123 -0
- package/src/protocol/nomos/runtime/v2/framework_pb.d.ts +211 -0
- package/src/protocol/nomos/runtime/v2/framework_pb.js +29 -0
- package/src/protocol/nomos/runtime/v2/identity_desk_pb.d.ts +305 -0
- package/src/protocol/nomos/runtime/v2/identity_desk_pb.js +61 -0
- package/src/protocol/nomos/runtime/v2/interaction_desk_pb.d.ts +73 -0
- package/src/protocol/nomos/runtime/v2/interaction_desk_pb.js +25 -0
- package/src/protocol/nomos/runtime/v2/law_desk_pb.d.ts +133 -0
- package/src/protocol/nomos/runtime/v2/law_desk_pb.js +39 -0
- package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.d.ts +267 -0
- package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.js +84 -0
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +233 -0
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +57 -0
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +1015 -0
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +230 -0
- package/src/protocol/nomos/runtime/v2/placement_desk_pb.d.ts +431 -0
- package/src/protocol/nomos/runtime/v2/placement_desk_pb.js +125 -0
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +336 -0
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +78 -0
- package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +716 -0
- package/src/protocol/nomos/runtime/v2/records_desk_pb.js +200 -0
- package/src/protocol/nomos/runtime/v2/recovery_desk_pb.d.ts +535 -0
- package/src/protocol/nomos/runtime/v2/recovery_desk_pb.js +160 -0
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +1162 -0
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +212 -0
- package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +796 -0
- package/src/protocol/nomos/runtime/v2/runtime_pb.js +72 -0
- package/src/protocol/nomos/runtime/v2/sealing_desk_pb.d.ts +581 -0
- package/src/protocol/nomos/runtime/v2/sealing_desk_pb.js +149 -0
- package/src/remote_reception.public.d.ts +97 -0
- package/src/remote_reception.ts +446 -0
- package/src/typescript_application_desk.public.d.ts +62 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/custody_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file nomos/runtime/v2/custody_desk.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_nomos_runtime_v2_custody_desk = /*@__PURE__*/
|
|
11
|
+
fileDesc("CiNub21vcy9ydW50aW1lL3YyL2N1c3RvZHlfZGVzay5wcm90bxIQbm9tb3MucnVudGltZS52MiLJAQoOQ3VzdG9keU9wZW5pbmcSEQoJd29ya3NwYWNlGAEgASgJEg0KBXBoYXNlGAIgASgJEg8KB2F0dGVtcHQYAyABKA0SEAoIYXR0ZW1wdHMYBCABKA0SGwoTc3RhcnRlZF91bml4X21pbGxpcxgFIAEoBBIhChlwaGFzZV9zdGFydGVkX3VuaXhfbWlsbGlzGAYgASgEEhIKCmxhc3RfZXJyb3IYByABKAkSHgoWbGFzdF9lcnJvcl91bml4X21pbGxpcxgIIAEoBCJhChBXb3Jrc3BhY2VPcGVuaW5nEj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bGVkEhEKCXdvcmtzcGFjZRgBIAEoCRIUCgxkcm9wcGVkX2hlYWQYAiABKAkiKgoVRmV0Y2hXb3Jrc3BhY2VSZXF1ZXN0EhEKCXdvcmtzcGFjZRgBIAEoCSIuChlQcm92aWRlTGF3UHJvZHVjdHNSZXF1ZXN0EhEKCXdvcmtzcGFjZRgBIAEoCSJUCg5Xb3Jrc3BhY2VGZXRjaBIRCgl3b3Jrc3BhY2UYASABKAkSDAoEaGVsZBgCIAEoCBIRCglmb2xsb3dpbmcYAyABKAgSDgoGZGV0YWlsGAQgASgJIkcKDVdvcmtzcGFjZUxpc3QSNgoKd29ya3NwYWNlcxgBIAMoCzIiLm5vbW9zLnJ1bnRpbWUudjIuV29ya3NwYWNlU3VtbWFyeSIpChZXb3Jrc3BhY2VTdGF0dXNSZXF1ZXN0Eg8KB3Nlc3Npb24YASABKAkirwEKD1dvcmtzcGFjZVN0YXR1cxIRCgl3b3Jrc3BhY2UYASABKAkSEQoEaGVhZBgCIAEoCUgAiAEBEhwKD2tlcm5lbF9yZXNpZGVudBgDIAEoCEgBiAEBEhgKC3NlYWxlZF9oZWFkGAQgASgJSAKIAQFCBwoFX2hlYWRCEgoQX2tlcm5lbF9yZXNpZGVudEIOCgxfc2VhbGVkX2hlYWRKBAgFEAZSC2N1cnJlbnRfbGF3YgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message nomos.runtime.v2.CustodyOpening.
|
|
15
|
+
* Use `create(CustodyOpeningSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const CustodyOpeningSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message nomos.runtime.v2.WorkspaceOpening.
|
|
22
|
+
* Use `create(WorkspaceOpeningSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const WorkspaceOpeningSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message nomos.runtime.v2.ListWorkspacesRequest.
|
|
29
|
+
* Use `create(ListWorkspacesRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ListWorkspacesRequestSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message nomos.runtime.v2.WorkspaceSummary.
|
|
36
|
+
* Use `create(WorkspaceSummarySchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const WorkspaceSummarySchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message nomos.runtime.v2.PreservedLocalCopy.
|
|
43
|
+
* Use `create(PreservedLocalCopySchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const PreservedLocalCopySchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message nomos.runtime.v2.WorkspaceRebirth.
|
|
50
|
+
* Use `create(WorkspaceRebirthSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const WorkspaceRebirthSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 5);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message nomos.runtime.v2.PreviewLocalCopyDropRequest.
|
|
57
|
+
* Use `create(PreviewLocalCopyDropRequestSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const PreviewLocalCopyDropRequestSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 6);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message nomos.runtime.v2.LocalCopyDropPreview.
|
|
64
|
+
* Use `create(LocalCopyDropPreviewSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const LocalCopyDropPreviewSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 7);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message nomos.runtime.v2.DropLocalCopyRequest.
|
|
71
|
+
* Use `create(DropLocalCopyRequestSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const DropLocalCopyRequestSchema = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 8);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message nomos.runtime.v2.LocalCopyDropScheduled.
|
|
78
|
+
* Use `create(LocalCopyDropScheduledSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const LocalCopyDropScheduledSchema = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 9);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message nomos.runtime.v2.FetchWorkspaceRequest.
|
|
85
|
+
* Use `create(FetchWorkspaceRequestSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export const FetchWorkspaceRequestSchema = /*@__PURE__*/
|
|
88
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 10);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message nomos.runtime.v2.ProvideLawProductsRequest.
|
|
92
|
+
* Use `create(ProvideLawProductsRequestSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const ProvideLawProductsRequestSchema = /*@__PURE__*/
|
|
95
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 11);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message nomos.runtime.v2.WorkspaceFetch.
|
|
99
|
+
* Use `create(WorkspaceFetchSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const WorkspaceFetchSchema = /*@__PURE__*/
|
|
102
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 12);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message nomos.runtime.v2.WorkspaceList.
|
|
106
|
+
* Use `create(WorkspaceListSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export const WorkspaceListSchema = /*@__PURE__*/
|
|
109
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 13);
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message nomos.runtime.v2.WorkspaceStatusRequest.
|
|
113
|
+
* Use `create(WorkspaceStatusRequestSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export const WorkspaceStatusRequestSchema = /*@__PURE__*/
|
|
116
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 14);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message nomos.runtime.v2.WorkspaceStatus.
|
|
120
|
+
* Use `create(WorkspaceStatusSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const WorkspaceStatusSchema = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_nomos_runtime_v2_custody_desk, 15);
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/framework.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { CheckInterfaceCompatibilityRequest, CheckKernelContractsRequest, InterfaceCompatibilityVerdict, KernelContractVerdict } from "./compatibility_desk_pb.js";
|
|
8
|
+
import type { EnsureParentSignerEnrollmentRequest, EnsureParentSignerEnrollmentResult, ParentSignerEnrollment, ParentSignerEnrollmentRequest, ShareWorkspaceRequest, ShareWorkspaceResult, VerifyWorkspaceChainRequest, VerifyWorkspaceChainResult } from "./correspondence_desk_pb.js";
|
|
9
|
+
import type { EnsureOwnedIdentityRequest, OwnedBirthScopeKeyRequest, OwnedIdentityEnsured, OwnedIdentityProtection, OwnedRecordPreparation, OwnedScopeKey, OwnedScopeKeyList, OwnedScopeKeyRequest, OwnedScopeKeysRequest, PrepareOwnedRecordActionRequest, ProtectOwnedIdentityRequest, SealFieldRequest, SealFieldResult } from "./sealing_desk_pb.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file nomos/runtime/v2/framework.proto.
|
|
13
|
+
*/
|
|
14
|
+
export declare const file_nomos_runtime_v2_framework: GenFile;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Transitional office envelope. Each document is defined by the desk which
|
|
18
|
+
* owns it; this file only preserves existing Runtime v2 field identities while
|
|
19
|
+
* callers move to desk-specific entry points.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message nomos.runtime.v2.FrameworkRequest
|
|
22
|
+
*/
|
|
23
|
+
export declare type FrameworkRequest = Message<"nomos.runtime.v2.FrameworkRequest"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string session = 1;
|
|
26
|
+
*/
|
|
27
|
+
session: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from oneof nomos.runtime.v2.FrameworkRequest.operation
|
|
31
|
+
*/
|
|
32
|
+
operation: {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: nomos.runtime.v2.CheckInterfaceCompatibilityRequest check_interface_compatibility = 11;
|
|
35
|
+
*/
|
|
36
|
+
value: CheckInterfaceCompatibilityRequest;
|
|
37
|
+
case: "checkInterfaceCompatibility";
|
|
38
|
+
} | {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: nomos.runtime.v2.ShareWorkspaceRequest share_workspace = 12;
|
|
41
|
+
*/
|
|
42
|
+
value: ShareWorkspaceRequest;
|
|
43
|
+
case: "shareWorkspace";
|
|
44
|
+
} | {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: nomos.runtime.v2.ParentSignerEnrollmentRequest parent_signer_enrollment = 13;
|
|
47
|
+
*/
|
|
48
|
+
value: ParentSignerEnrollmentRequest;
|
|
49
|
+
case: "parentSignerEnrollment";
|
|
50
|
+
} | {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: nomos.runtime.v2.EnsureParentSignerEnrollmentRequest repair_parent_signer_enrollment = 14;
|
|
53
|
+
*/
|
|
54
|
+
value: EnsureParentSignerEnrollmentRequest;
|
|
55
|
+
case: "repairParentSignerEnrollment";
|
|
56
|
+
} | {
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: nomos.runtime.v2.VerifyWorkspaceChainRequest verify_workspace_chain = 15;
|
|
59
|
+
*/
|
|
60
|
+
value: VerifyWorkspaceChainRequest;
|
|
61
|
+
case: "verifyWorkspaceChain";
|
|
62
|
+
} | {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: nomos.runtime.v2.SealFieldRequest seal_field = 16;
|
|
65
|
+
*/
|
|
66
|
+
value: SealFieldRequest;
|
|
67
|
+
case: "sealField";
|
|
68
|
+
} | {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: nomos.runtime.v2.OwnedScopeKeyRequest owned_scope_key = 17;
|
|
71
|
+
*/
|
|
72
|
+
value: OwnedScopeKeyRequest;
|
|
73
|
+
case: "ownedScopeKey";
|
|
74
|
+
} | {
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: nomos.runtime.v2.OwnedScopeKeysRequest owned_scope_keys = 18;
|
|
77
|
+
*/
|
|
78
|
+
value: OwnedScopeKeysRequest;
|
|
79
|
+
case: "ownedScopeKeys";
|
|
80
|
+
} | {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: nomos.runtime.v2.EnsureOwnedIdentityRequest ensure_owned_identity = 19;
|
|
83
|
+
*/
|
|
84
|
+
value: EnsureOwnedIdentityRequest;
|
|
85
|
+
case: "ensureOwnedIdentity";
|
|
86
|
+
} | {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: nomos.runtime.v2.ProtectOwnedIdentityRequest protect_owned_identity = 20;
|
|
89
|
+
*/
|
|
90
|
+
value: ProtectOwnedIdentityRequest;
|
|
91
|
+
case: "protectOwnedIdentity";
|
|
92
|
+
} | {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: nomos.runtime.v2.PrepareOwnedRecordActionRequest prepare_owned_record_action = 21;
|
|
95
|
+
*/
|
|
96
|
+
value: PrepareOwnedRecordActionRequest;
|
|
97
|
+
case: "prepareOwnedRecordAction";
|
|
98
|
+
} | {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: nomos.runtime.v2.OwnedBirthScopeKeyRequest owned_birth_scope_key = 22;
|
|
101
|
+
*/
|
|
102
|
+
value: OwnedBirthScopeKeyRequest;
|
|
103
|
+
case: "ownedBirthScopeKey";
|
|
104
|
+
} | {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: nomos.runtime.v2.CheckKernelContractsRequest check_kernel_contracts = 23;
|
|
107
|
+
*/
|
|
108
|
+
value: CheckKernelContractsRequest;
|
|
109
|
+
case: "checkKernelContracts";
|
|
110
|
+
} | { case: undefined; value?: undefined };
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Describes the message nomos.runtime.v2.FrameworkRequest.
|
|
115
|
+
* Use `create(FrameworkRequestSchema)` to create a new message.
|
|
116
|
+
*/
|
|
117
|
+
export declare const FrameworkRequestSchema: GenMessage<FrameworkRequest>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from message nomos.runtime.v2.FrameworkResponse
|
|
121
|
+
*/
|
|
122
|
+
export declare type FrameworkResponse = Message<"nomos.runtime.v2.FrameworkResponse"> & {
|
|
123
|
+
/**
|
|
124
|
+
* @generated from oneof nomos.runtime.v2.FrameworkResponse.result
|
|
125
|
+
*/
|
|
126
|
+
result: {
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: nomos.runtime.v2.ShareWorkspaceResult share_workspace = 12;
|
|
129
|
+
*/
|
|
130
|
+
value: ShareWorkspaceResult;
|
|
131
|
+
case: "shareWorkspace";
|
|
132
|
+
} | {
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: nomos.runtime.v2.ParentSignerEnrollment parent_signer_enrollment = 13;
|
|
135
|
+
*/
|
|
136
|
+
value: ParentSignerEnrollment;
|
|
137
|
+
case: "parentSignerEnrollment";
|
|
138
|
+
} | {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: nomos.runtime.v2.EnsureParentSignerEnrollmentResult repaired_parent_signer_enrollment = 14;
|
|
141
|
+
*/
|
|
142
|
+
value: EnsureParentSignerEnrollmentResult;
|
|
143
|
+
case: "repairedParentSignerEnrollment";
|
|
144
|
+
} | {
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: nomos.runtime.v2.VerifyWorkspaceChainResult verify_workspace_chain = 15;
|
|
147
|
+
*/
|
|
148
|
+
value: VerifyWorkspaceChainResult;
|
|
149
|
+
case: "verifyWorkspaceChain";
|
|
150
|
+
} | {
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: nomos.runtime.v2.SealFieldResult seal_field = 16;
|
|
153
|
+
*/
|
|
154
|
+
value: SealFieldResult;
|
|
155
|
+
case: "sealField";
|
|
156
|
+
} | {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: nomos.runtime.v2.OwnedScopeKey owned_scope_key = 17;
|
|
159
|
+
*/
|
|
160
|
+
value: OwnedScopeKey;
|
|
161
|
+
case: "ownedScopeKey";
|
|
162
|
+
} | {
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: nomos.runtime.v2.OwnedScopeKeyList owned_scope_keys = 18;
|
|
165
|
+
*/
|
|
166
|
+
value: OwnedScopeKeyList;
|
|
167
|
+
case: "ownedScopeKeys";
|
|
168
|
+
} | {
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: nomos.runtime.v2.OwnedIdentityEnsured owned_identity_ensured = 19;
|
|
171
|
+
*/
|
|
172
|
+
value: OwnedIdentityEnsured;
|
|
173
|
+
case: "ownedIdentityEnsured";
|
|
174
|
+
} | {
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: nomos.runtime.v2.OwnedIdentityProtection protect_owned_identity = 20;
|
|
177
|
+
*/
|
|
178
|
+
value: OwnedIdentityProtection;
|
|
179
|
+
case: "protectOwnedIdentity";
|
|
180
|
+
} | {
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: nomos.runtime.v2.OwnedRecordPreparation prepare_owned_record_action = 21;
|
|
183
|
+
*/
|
|
184
|
+
value: OwnedRecordPreparation;
|
|
185
|
+
case: "prepareOwnedRecordAction";
|
|
186
|
+
} | {
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: nomos.runtime.v2.OwnedScopeKey owned_birth_scope_key = 22;
|
|
189
|
+
*/
|
|
190
|
+
value: OwnedScopeKey;
|
|
191
|
+
case: "ownedBirthScopeKey";
|
|
192
|
+
} | {
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: nomos.runtime.v2.KernelContractVerdict kernel_contracts = 23;
|
|
195
|
+
*/
|
|
196
|
+
value: KernelContractVerdict;
|
|
197
|
+
case: "kernelContracts";
|
|
198
|
+
} | {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: nomos.runtime.v2.InterfaceCompatibilityVerdict interface_compatibility_verdict = 24;
|
|
201
|
+
*/
|
|
202
|
+
value: InterfaceCompatibilityVerdict;
|
|
203
|
+
case: "interfaceCompatibilityVerdict";
|
|
204
|
+
} | { case: undefined; value?: undefined };
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Describes the message nomos.runtime.v2.FrameworkResponse.
|
|
209
|
+
* Use `create(FrameworkResponseSchema)` to create a new message.
|
|
210
|
+
*/
|
|
211
|
+
export declare const FrameworkResponseSchema: GenMessage<FrameworkResponse>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/framework.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_nomos_runtime_v2_correspondence_desk } from "./correspondence_desk_pb.js";
|
|
7
|
+
import { file_nomos_runtime_v2_compatibility_desk } from "./compatibility_desk_pb.js";
|
|
8
|
+
import { file_nomos_runtime_v2_sealing_desk } from "./sealing_desk_pb.js";
|
|
9
|
+
import { file_nomos_kernel_v1_kernel } from "../../kernel/v1/kernel_pb.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file nomos/runtime/v2/framework.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_nomos_runtime_v2_framework = /*@__PURE__*/
|
|
15
|
+
fileDesc("CiBub21vcy9ydW50aW1lL3YyL2ZyYW1ld29yay5wcm90bxIQbm9tb3MucnVudGltZS52MiLSCAoQRnJhbWV3b3JrUmVxdWVzdBIPCgdzZXNzaW9uGAEgASgJEl0KHWNoZWNrX2ludGVyZmFjZV9jb21wYXRpYmlsaXR5GAsgASgLMjQubm9tb3MucnVudGltZS52Mi5DaGVja0ludGVyZmFjZUNvbXBhdGliaWxpdHlSZXF1ZXN0SAASQgoPc2hhcmVfd29ya3NwYWNlGAwgASgLMicubm9tb3MucnVudGltZS52Mi5TaGFyZVdvcmtzcGFjZVJlcXVlc3RIABJTChhwYXJlbnRfc2lnbmVyX2Vucm9sbG1lbnQYDSABKAsyLy5ub21vcy5ydW50aW1lLnYyLlBhcmVudFNpZ25lckVucm9sbG1lbnRSZXF1ZXN0SAASYAofcmVwYWlyX3BhcmVudF9zaWduZXJfZW5yb2xsbWVudBgOIAEoCzI1Lm5vbW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dFZlcmRpY3RIABJaCh9pbnRlcmZhY2VfY29tcGF0aWJpbGl0eV92ZXJkaWN0GBggASgLMi8ubm9tb3MucnVudGltZS52Mi5JbnRlcmZhY2VDb21wYXRpYmlsaXR5VmVyZGljdEgAQggKBnJlc3VsdEoECAoQC0oECAsQDFIPaW50ZXJmYWNlX29mZmVyUhdpbnRlcmZhY2VfY29tcGF0aWJpbGl0eWIGcHJvdG8z", [file_nomos_runtime_v2_correspondence_desk, file_nomos_runtime_v2_compatibility_desk, file_nomos_runtime_v2_sealing_desk, file_nomos_kernel_v1_kernel]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message nomos.runtime.v2.FrameworkRequest.
|
|
19
|
+
* Use `create(FrameworkRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const FrameworkRequestSchema = /*@__PURE__*/
|
|
22
|
+
messageDesc(file_nomos_runtime_v2_framework, 0);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message nomos.runtime.v2.FrameworkResponse.
|
|
26
|
+
* Use `create(FrameworkResponseSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const FrameworkResponseSchema = /*@__PURE__*/
|
|
29
|
+
messageDesc(file_nomos_runtime_v2_framework, 1);
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/identity_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { AttestedRead } from "../../kernel/v1/kernel_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file nomos/runtime/v2/identity_desk.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_nomos_runtime_v2_identity_desk: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Typed RFC 7517 material published by one identity-provider-root workspace.
|
|
16
|
+
* These are closed protocol values, not a JSON document or generic map.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message nomos.runtime.v2.IdentityProviderKey
|
|
19
|
+
*/
|
|
20
|
+
export declare type IdentityProviderKey = Message<"nomos.runtime.v2.IdentityProviderKey"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: uint64 ordinal = 1;
|
|
23
|
+
*/
|
|
24
|
+
ordinal: bigint;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string kty = 2;
|
|
28
|
+
*/
|
|
29
|
+
kty: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: optional string kid = 3;
|
|
33
|
+
*/
|
|
34
|
+
kid?: string | undefined;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: optional string alg = 4;
|
|
38
|
+
*/
|
|
39
|
+
alg?: string | undefined;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: optional string use = 5;
|
|
43
|
+
*/
|
|
44
|
+
use?: string | undefined;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: optional string crv = 6;
|
|
48
|
+
*/
|
|
49
|
+
crv?: string | undefined;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: optional string x = 7;
|
|
53
|
+
*/
|
|
54
|
+
x?: string | undefined;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: optional string y = 8;
|
|
58
|
+
*/
|
|
59
|
+
y?: string | undefined;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: optional string n = 9;
|
|
63
|
+
*/
|
|
64
|
+
n?: string | undefined;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: optional string e = 10;
|
|
68
|
+
*/
|
|
69
|
+
e?: string | undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: repeated string key_ops = 11;
|
|
73
|
+
*/
|
|
74
|
+
keyOps: string[];
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message nomos.runtime.v2.IdentityProviderKey.
|
|
79
|
+
* Use `create(IdentityProviderKeySchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const IdentityProviderKeySchema: GenMessage<IdentityProviderKey>;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message nomos.runtime.v2.IdentityProviderCertificate
|
|
85
|
+
*/
|
|
86
|
+
export declare type IdentityProviderCertificate = Message<"nomos.runtime.v2.IdentityProviderCertificate"> & {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: uint64 key_ordinal = 1;
|
|
89
|
+
*/
|
|
90
|
+
keyOrdinal: bigint;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: uint64 certificate_ordinal = 2;
|
|
94
|
+
*/
|
|
95
|
+
certificateOrdinal: bigint;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: bytes der = 3;
|
|
99
|
+
*/
|
|
100
|
+
der: Uint8Array;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message nomos.runtime.v2.IdentityProviderCertificate.
|
|
105
|
+
* Use `create(IdentityProviderCertificateSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const IdentityProviderCertificateSchema: GenMessage<IdentityProviderCertificate>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* One immutable, portable set of declared reads from an identity-provider-root
|
|
111
|
+
* workspace. It changes no state. A consumer must carry `attestations` on an
|
|
112
|
+
* ordinary adoption OfferRequest and pass that workspace's offer gate.
|
|
113
|
+
*
|
|
114
|
+
* @generated from message nomos.runtime.v2.IdentityProviderWitnessOffer
|
|
115
|
+
*/
|
|
116
|
+
export declare type IdentityProviderWitnessOffer = Message<"nomos.runtime.v2.IdentityProviderWitnessOffer"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: uint32 format_version = 1;
|
|
119
|
+
*/
|
|
120
|
+
formatVersion: number;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string source_workspace = 2;
|
|
124
|
+
*/
|
|
125
|
+
sourceWorkspace: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: string source_genesis = 3;
|
|
129
|
+
*/
|
|
130
|
+
sourceGenesis: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: string source_head = 4;
|
|
134
|
+
*/
|
|
135
|
+
sourceHead: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: uint64 epoch = 5;
|
|
139
|
+
*/
|
|
140
|
+
epoch: bigint;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: optional bytes predecessor_sha256 = 6;
|
|
144
|
+
*/
|
|
145
|
+
predecessorSha256?: Uint8Array | undefined;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string issuer = 7;
|
|
149
|
+
*/
|
|
150
|
+
issuer: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: optional string audience = 8;
|
|
154
|
+
*/
|
|
155
|
+
audience?: string | undefined;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string principal_claim = 9;
|
|
159
|
+
*/
|
|
160
|
+
principalClaim: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: optional string device_binding_claim = 10;
|
|
164
|
+
*/
|
|
165
|
+
deviceBindingClaim?: string | undefined;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: bool require_device_binding = 11;
|
|
169
|
+
*/
|
|
170
|
+
requireDeviceBinding: boolean;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: repeated nomos.runtime.v2.IdentityProviderKey keys = 12;
|
|
174
|
+
*/
|
|
175
|
+
keys: IdentityProviderKey[];
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: repeated nomos.runtime.v2.IdentityProviderCertificate certificates = 13;
|
|
179
|
+
*/
|
|
180
|
+
certificates: IdentityProviderCertificate[];
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: bytes material_sha256 = 14;
|
|
184
|
+
*/
|
|
185
|
+
materialSha256: Uint8Array;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: repeated nomos.kernel.v1.AttestedRead attestations = 16;
|
|
189
|
+
*/
|
|
190
|
+
attestations: AttestedRead[];
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message nomos.runtime.v2.IdentityProviderWitnessOffer.
|
|
195
|
+
* Use `create(IdentityProviderWitnessOfferSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const IdentityProviderWitnessOfferSchema: GenMessage<IdentityProviderWitnessOffer>;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Consumer-side resolution. The root is a Nomos workspace address. The
|
|
201
|
+
* required kid is a demand signal only; a successful read returns the root's
|
|
202
|
+
* whole current epoch so every dependent local workspace can reuse it.
|
|
203
|
+
*
|
|
204
|
+
* @generated from message nomos.runtime.v2.ResolveIdentityProviderWitness
|
|
205
|
+
*/
|
|
206
|
+
export declare type ResolveIdentityProviderWitness = Message<"nomos.runtime.v2.ResolveIdentityProviderWitness"> & {
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: string consumer_session = 1;
|
|
209
|
+
*/
|
|
210
|
+
consumerSession: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string root_workspace = 2;
|
|
214
|
+
*/
|
|
215
|
+
rootWorkspace: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: string required_kid = 3;
|
|
219
|
+
*/
|
|
220
|
+
requiredKid: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: optional bytes known_witness_sha256 = 4;
|
|
224
|
+
*/
|
|
225
|
+
knownWitnessSha256?: Uint8Array | undefined;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Describes the message nomos.runtime.v2.ResolveIdentityProviderWitness.
|
|
230
|
+
* Use `create(ResolveIdentityProviderWitnessSchema)` to create a new message.
|
|
231
|
+
*/
|
|
232
|
+
export declare const ResolveIdentityProviderWitnessSchema: GenMessage<ResolveIdentityProviderWitness>;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Source-side read, used by another peer's single-flight correspondence. It
|
|
236
|
+
* reads one root workspace and never contacts an external identity provider.
|
|
237
|
+
*
|
|
238
|
+
* @generated from message nomos.runtime.v2.ReadIdentityProviderWitness
|
|
239
|
+
*/
|
|
240
|
+
export declare type ReadIdentityProviderWitness = Message<"nomos.runtime.v2.ReadIdentityProviderWitness"> & {
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: string root_session = 1;
|
|
243
|
+
*/
|
|
244
|
+
rootSession: string;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: optional bytes known_witness_sha256 = 2;
|
|
248
|
+
*/
|
|
249
|
+
knownWitnessSha256?: Uint8Array | undefined;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message nomos.runtime.v2.ReadIdentityProviderWitness.
|
|
254
|
+
* Use `create(ReadIdentityProviderWitnessSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const ReadIdentityProviderWitnessSchema: GenMessage<ReadIdentityProviderWitness>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @generated from message nomos.runtime.v2.IdentityProviderWitnessRequest
|
|
260
|
+
*/
|
|
261
|
+
export declare type IdentityProviderWitnessRequest = Message<"nomos.runtime.v2.IdentityProviderWitnessRequest"> & {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from oneof nomos.runtime.v2.IdentityProviderWitnessRequest.operation
|
|
264
|
+
*/
|
|
265
|
+
operation: {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: nomos.runtime.v2.ResolveIdentityProviderWitness resolve = 1;
|
|
268
|
+
*/
|
|
269
|
+
value: ResolveIdentityProviderWitness;
|
|
270
|
+
case: "resolve";
|
|
271
|
+
} | {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: nomos.runtime.v2.ReadIdentityProviderWitness read = 2;
|
|
274
|
+
*/
|
|
275
|
+
value: ReadIdentityProviderWitness;
|
|
276
|
+
case: "read";
|
|
277
|
+
} | { case: undefined; value?: undefined };
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message nomos.runtime.v2.IdentityProviderWitnessRequest.
|
|
282
|
+
* Use `create(IdentityProviderWitnessRequestSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export declare const IdentityProviderWitnessRequestSchema: GenMessage<IdentityProviderWitnessRequest>;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message nomos.runtime.v2.IdentityProviderWitnessReady
|
|
288
|
+
*/
|
|
289
|
+
export declare type IdentityProviderWitnessReady = Message<"nomos.runtime.v2.IdentityProviderWitnessReady"> & {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: nomos.runtime.v2.IdentityProviderWitnessOffer witness = 1;
|
|
292
|
+
*/
|
|
293
|
+
witness?: IdentityProviderWitnessOffer | undefined;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: bool peer_cache_hit = 2;
|
|
297
|
+
*/
|
|
298
|
+
peerCacheHit: boolean;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Describes the message nomos.runtime.v2.IdentityProviderWitnessReady.
|
|
303
|
+
* Use `create(IdentityProviderWitnessReadySchema)` to create a new message.
|
|
304
|
+
*/
|
|
305
|
+
export declare const IdentityProviderWitnessReadySchema: GenMessage<IdentityProviderWitnessReady>;
|