@party-stack/ontology-server 0.0.0-stage → 0.11.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 +21 -0
- package/README.md +493 -2
- package/lib/attachmentHttp.d.ts +15 -0
- package/lib/attachmentHttp.d.ts.map +1 -0
- package/lib/attachmentHttp.js +235 -0
- package/lib/attachmentHttp.js.map +1 -0
- package/lib/attachmentTransfers.d.ts +115 -0
- package/lib/attachmentTransfers.d.ts.map +1 -0
- package/lib/attachmentTransfers.js +208 -0
- package/lib/attachmentTransfers.js.map +1 -0
- package/lib/authorization.d.ts +21 -0
- package/lib/authorization.d.ts.map +1 -0
- package/lib/authorization.js +385 -0
- package/lib/authorization.js.map +1 -0
- package/lib/bindingFence.d.ts +27 -0
- package/lib/bindingFence.d.ts.map +1 -0
- package/lib/bindingFence.js +39 -0
- package/lib/bindingFence.js.map +1 -0
- package/lib/composition.d.ts +467 -0
- package/lib/composition.d.ts.map +1 -0
- package/lib/composition.js +102 -0
- package/lib/composition.js.map +1 -0
- package/lib/definitionProjection.d.ts +21 -0
- package/lib/definitionProjection.d.ts.map +1 -0
- package/lib/definitionProjection.js +441 -0
- package/lib/definitionProjection.js.map +1 -0
- package/lib/errorProjection.d.ts +22 -0
- package/lib/errorProjection.d.ts.map +1 -0
- package/lib/errorProjection.js +72 -0
- package/lib/errorProjection.js.map +1 -0
- package/lib/http.d.ts +23 -0
- package/lib/http.d.ts.map +1 -0
- package/lib/http.js +17 -0
- package/lib/http.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +3 -0
- package/lib/internalAccess.d.ts +10 -0
- package/lib/internalAccess.d.ts.map +1 -0
- package/lib/internalAccess.js +18 -0
- package/lib/internalAccess.js.map +1 -0
- package/lib/operations.d.ts +1265 -0
- package/lib/operations.d.ts.map +1 -0
- package/lib/operations.js +621 -0
- package/lib/operations.js.map +1 -0
- package/lib/policyDefinition.d.ts +19 -0
- package/lib/policyDefinition.d.ts.map +1 -0
- package/lib/policyDefinition.js +226 -0
- package/lib/policyDefinition.js.map +1 -0
- package/lib/policyWatches.d.ts +17 -0
- package/lib/policyWatches.d.ts.map +1 -0
- package/lib/policyWatches.js +49 -0
- package/lib/policyWatches.js.map +1 -0
- package/lib/receiptPolicy.d.ts +12 -0
- package/lib/receiptPolicy.d.ts.map +1 -0
- package/lib/receiptPolicy.js +63 -0
- package/lib/receiptPolicy.js.map +1 -0
- package/lib/replicaBootstrap.d.ts +56 -0
- package/lib/replicaBootstrap.d.ts.map +1 -0
- package/lib/replicaBootstrap.js +60 -0
- package/lib/replicaBootstrap.js.map +1 -0
- package/lib/routing.d.ts +87 -0
- package/lib/routing.d.ts.map +1 -0
- package/lib/routing.js +344 -0
- package/lib/routing.js.map +1 -0
- package/lib/rpc.d.ts +4799 -0
- package/lib/rpc.d.ts.map +1 -0
- package/lib/rpc.js +575 -0
- package/lib/rpc.js.map +1 -0
- package/lib/rpcActivity.d.ts +6 -0
- package/lib/rpcActivity.d.ts.map +1 -0
- package/lib/rpcActivity.js +8 -0
- package/lib/rpcActivity.js.map +1 -0
- package/lib/rpcBackend.d.ts +8 -0
- package/lib/rpcBackend.d.ts.map +1 -0
- package/lib/rpcBackend.js +76 -0
- package/lib/rpcBackend.js.map +1 -0
- package/lib/rpcHttp.d.ts +24 -0
- package/lib/rpcHttp.d.ts.map +1 -0
- package/lib/rpcHttp.js +118 -0
- package/lib/rpcHttp.js.map +1 -0
- package/lib/rpcLocal.d.ts +13 -0
- package/lib/rpcLocal.d.ts.map +1 -0
- package/lib/rpcLocal.js +26 -0
- package/lib/rpcLocal.js.map +1 -0
- package/lib/rpcWatch.d.ts +9 -0
- package/lib/rpcWatch.d.ts.map +1 -0
- package/lib/rpcWatch.js +29 -0
- package/lib/rpcWatch.js.map +1 -0
- package/lib/rpcWorker.d.ts +38 -0
- package/lib/rpcWorker.d.ts.map +1 -0
- package/lib/rpcWorker.js +192 -0
- package/lib/rpcWorker.js.map +1 -0
- package/package.json +53 -3
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
import { AttachmentTransferPolicy } from "./attachmentTransfers.js";
|
|
2
|
+
import { OntologyErrorProjection } from "./errorProjection.js";
|
|
3
|
+
import { OntologyRpcRequest, OntologyRpcServerOptions } from "./rpc.js";
|
|
4
|
+
import { OntologyInternalAccess } from "./internalAccess.js";
|
|
5
|
+
import { BackendError, OntologyBackendService } from "@party-stack/ontology-backend";
|
|
6
|
+
import { OntologySource } from "@party-stack/ontology-backend/protocol";
|
|
7
|
+
import { Effect, Layer, Schema, Scope } from "effect";
|
|
8
|
+
import { ReplicaService } from "@party-stack/ontology-replica";
|
|
9
|
+
import { OwnedBackendService } from "@party-stack/ontology-backend/owned";
|
|
10
|
+
//#region src/composition.d.ts
|
|
11
|
+
export type OntologyAuthenticate<R = never> = (request: Request) => Effect.Effect<Record<string, unknown>, BackendError, R | Scope.Scope>;
|
|
12
|
+
type Common<R> = Omit<OntologyRpcServerOptions<R>, "source" | "backend" | "authorize" | "context" | "replica" | "errors">;
|
|
13
|
+
type Role = {
|
|
14
|
+
readonly kind: "owned";
|
|
15
|
+
readonly backend: OwnedBackendService;
|
|
16
|
+
} | {
|
|
17
|
+
readonly kind: "proxy";
|
|
18
|
+
readonly backend: OntologyBackendService;
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: "cached-proxy";
|
|
21
|
+
readonly backend: OntologyBackendService;
|
|
22
|
+
readonly cache: ReplicaService;
|
|
23
|
+
} | {
|
|
24
|
+
readonly kind: "replica";
|
|
25
|
+
readonly backend: OntologyBackendService;
|
|
26
|
+
readonly replica: ReplicaService;
|
|
27
|
+
readonly dangerouslyAllowInternalAccess: true;
|
|
28
|
+
readonly context?: never;
|
|
29
|
+
};
|
|
30
|
+
type Binding = {
|
|
31
|
+
readonly context: Record<string, unknown>;
|
|
32
|
+
readonly dangerouslyAllowInternalAccess?: OntologyInternalAccess;
|
|
33
|
+
} | {
|
|
34
|
+
readonly context?: never;
|
|
35
|
+
readonly dangerouslyAllowInternalAccess: true;
|
|
36
|
+
};
|
|
37
|
+
/** Transport-neutral construction for an already authenticated principal or trusted peer. */
|
|
38
|
+
export type OntologyServerBindingOptions<R = never> = Common<R> & Role & Binding;
|
|
39
|
+
/** HTTP authentication runs per request; internal commands require explicit opt-in. */
|
|
40
|
+
export type OntologyBindingOptions<R = never> = Common<R> & Role & ((Binding & {
|
|
41
|
+
readonly authenticate?: never;
|
|
42
|
+
}) | {
|
|
43
|
+
readonly context?: never;
|
|
44
|
+
readonly dangerouslyAllowInternalAccess: true;
|
|
45
|
+
readonly authenticate?: OntologyAuthenticate<R>;
|
|
46
|
+
} | {
|
|
47
|
+
readonly context?: never;
|
|
48
|
+
readonly dangerouslyAllowInternalAccess?: OntologyInternalAccess;
|
|
49
|
+
readonly authenticate: OntologyAuthenticate<R>;
|
|
50
|
+
});
|
|
51
|
+
export declare const prepareOntologyServer: <R>(options: Common<R> & Role) => Effect.Effect<{
|
|
52
|
+
upstreamErrors?: boolean;
|
|
53
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
54
|
+
enableRealtime?: boolean;
|
|
55
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
56
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
57
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
58
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
59
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
60
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
61
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
62
|
+
kind: "owned";
|
|
63
|
+
backend: OntologyBackendService;
|
|
64
|
+
source: OntologySource | undefined;
|
|
65
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
66
|
+
context: Record<string, unknown> | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
upstreamErrors?: boolean;
|
|
69
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
70
|
+
enableRealtime?: boolean;
|
|
71
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
72
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
73
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
74
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
75
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
76
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
77
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
78
|
+
kind: "proxy";
|
|
79
|
+
backend: OntologyBackendService;
|
|
80
|
+
source: OntologySource | undefined;
|
|
81
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
82
|
+
context: Record<string, unknown> | undefined;
|
|
83
|
+
} | {
|
|
84
|
+
upstreamErrors?: boolean;
|
|
85
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
86
|
+
enableRealtime?: boolean;
|
|
87
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
88
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
89
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
90
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
91
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
92
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
93
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
94
|
+
kind: "cached-proxy";
|
|
95
|
+
cache: ReplicaService;
|
|
96
|
+
backend: OntologyBackendService;
|
|
97
|
+
source: OntologySource | undefined;
|
|
98
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
99
|
+
context: Record<string, unknown> | undefined;
|
|
100
|
+
} | {
|
|
101
|
+
upstreamErrors?: boolean;
|
|
102
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
103
|
+
enableRealtime?: boolean;
|
|
104
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
105
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
106
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
107
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
108
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
109
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
110
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
111
|
+
kind: "replica";
|
|
112
|
+
replica: ReplicaService;
|
|
113
|
+
dangerouslyAllowInternalAccess: true;
|
|
114
|
+
backend: OntologyBackendService;
|
|
115
|
+
source: OntologySource | undefined;
|
|
116
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
117
|
+
context: Record<string, unknown> | undefined;
|
|
118
|
+
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, Scope.Scope>;
|
|
119
|
+
export declare const bindOntologyServer: <R>(prepared: {
|
|
120
|
+
upstreamErrors?: boolean;
|
|
121
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
122
|
+
enableRealtime?: boolean;
|
|
123
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
124
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
125
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
126
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
127
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
128
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
129
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
130
|
+
kind: "owned";
|
|
131
|
+
backend: OntologyBackendService;
|
|
132
|
+
source: OntologySource | undefined;
|
|
133
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
134
|
+
context: Record<string, unknown> | undefined;
|
|
135
|
+
} | {
|
|
136
|
+
upstreamErrors?: boolean;
|
|
137
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
138
|
+
enableRealtime?: boolean;
|
|
139
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
140
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
141
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
142
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
143
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
144
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
145
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
146
|
+
kind: "proxy";
|
|
147
|
+
backend: OntologyBackendService;
|
|
148
|
+
source: OntologySource | undefined;
|
|
149
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
150
|
+
context: Record<string, unknown> | undefined;
|
|
151
|
+
} | {
|
|
152
|
+
upstreamErrors?: boolean;
|
|
153
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
154
|
+
enableRealtime?: boolean;
|
|
155
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
156
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
157
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
158
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
159
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
160
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
161
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
162
|
+
kind: "cached-proxy";
|
|
163
|
+
cache: ReplicaService;
|
|
164
|
+
backend: OntologyBackendService;
|
|
165
|
+
source: OntologySource | undefined;
|
|
166
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
167
|
+
context: Record<string, unknown> | undefined;
|
|
168
|
+
} | {
|
|
169
|
+
upstreamErrors?: boolean;
|
|
170
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
171
|
+
enableRealtime?: boolean;
|
|
172
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
173
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
174
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
175
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
176
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
177
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
178
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
179
|
+
kind: "replica";
|
|
180
|
+
replica: ReplicaService;
|
|
181
|
+
dangerouslyAllowInternalAccess: true;
|
|
182
|
+
backend: OntologyBackendService;
|
|
183
|
+
source: OntologySource | undefined;
|
|
184
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
185
|
+
context: Record<string, unknown> | undefined;
|
|
186
|
+
}, context: Record<string, unknown> | undefined, internalAccess: OntologyInternalAccess | undefined) => Effect.Effect<{
|
|
187
|
+
upstreamErrors?: boolean;
|
|
188
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
189
|
+
enableRealtime?: boolean;
|
|
190
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
191
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
192
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
193
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
194
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
195
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
196
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
197
|
+
kind: "owned";
|
|
198
|
+
backend: OntologyBackendService;
|
|
199
|
+
source: OntologySource | undefined;
|
|
200
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
201
|
+
context: Record<string, unknown> | undefined;
|
|
202
|
+
errors: "forward";
|
|
203
|
+
authorize: () => Effect.Effect<void, never, never>;
|
|
204
|
+
} | {
|
|
205
|
+
upstreamErrors?: boolean;
|
|
206
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
207
|
+
enableRealtime?: boolean;
|
|
208
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
209
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
210
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
211
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
212
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
213
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
214
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
215
|
+
kind: "proxy";
|
|
216
|
+
backend: OntologyBackendService;
|
|
217
|
+
source: OntologySource | undefined;
|
|
218
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
219
|
+
context: Record<string, unknown> | undefined;
|
|
220
|
+
errors: "forward";
|
|
221
|
+
authorize: () => Effect.Effect<void, never, never>;
|
|
222
|
+
} | {
|
|
223
|
+
upstreamErrors?: boolean;
|
|
224
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
225
|
+
enableRealtime?: boolean;
|
|
226
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
227
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
228
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
229
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
230
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
231
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
232
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
233
|
+
kind: "cached-proxy";
|
|
234
|
+
cache: ReplicaService;
|
|
235
|
+
backend: OntologyBackendService;
|
|
236
|
+
source: OntologySource | undefined;
|
|
237
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
238
|
+
context: Record<string, unknown> | undefined;
|
|
239
|
+
errors: "forward";
|
|
240
|
+
authorize: () => Effect.Effect<void, never, never>;
|
|
241
|
+
} | {
|
|
242
|
+
upstreamErrors?: boolean;
|
|
243
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
244
|
+
enableRealtime?: boolean;
|
|
245
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
246
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
247
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
248
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
249
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
250
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
251
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
252
|
+
kind: "replica";
|
|
253
|
+
replica: ReplicaService;
|
|
254
|
+
dangerouslyAllowInternalAccess: true;
|
|
255
|
+
backend: OntologyBackendService;
|
|
256
|
+
source: OntologySource | undefined;
|
|
257
|
+
ir: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
258
|
+
context: Record<string, unknown> | undefined;
|
|
259
|
+
errors: "forward";
|
|
260
|
+
authorize: () => Effect.Effect<void, never, never>;
|
|
261
|
+
} | {
|
|
262
|
+
upstreamErrors?: boolean;
|
|
263
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
264
|
+
enableRealtime?: boolean;
|
|
265
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
266
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
267
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
268
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
269
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
270
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
271
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
272
|
+
ir: import("@party-stack/ontology-spec").OntologyIR;
|
|
273
|
+
context: Record<string, unknown>;
|
|
274
|
+
kind: "owned";
|
|
275
|
+
errors: "projected";
|
|
276
|
+
source: undefined;
|
|
277
|
+
backend: {
|
|
278
|
+
name: string;
|
|
279
|
+
sourceId: string;
|
|
280
|
+
supportsIdempotency: boolean;
|
|
281
|
+
loadSubset: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("@party-stack/ontology-backend").BackendSnapshot, BackendError>;
|
|
282
|
+
query: (document: import("@party-stack/ontology-spec").QueryDocument, options?: {
|
|
283
|
+
readonly inputs?: Record<string, unknown>;
|
|
284
|
+
}) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
285
|
+
subscribeSelection?: (selection: import("@party-stack/ontology-backend").ObjectSelection, policy?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy, resume?: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<import("@party-stack/ontology-backend/delivery").DeliverySubscription, BackendError, Scope.Scope>;
|
|
286
|
+
acknowledgeDelivery?: (position: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<void, BackendError>;
|
|
287
|
+
resolveActionParameters?: (name: string, parameters: Record<string, unknown>) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
288
|
+
watchSubset?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("effect/Stream").Stream<import("@party-stack/ontology-backend").SubsetWatchEvent, BackendError>, BackendError, Scope.Scope> | undefined;
|
|
289
|
+
refresh?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => {
|
|
290
|
+
readonly pollIntervalMs?: number | false;
|
|
291
|
+
readonly maxCoverageAgeMs?: number;
|
|
292
|
+
} | undefined;
|
|
293
|
+
validateAction?: (name: string, parameters: Record<string, unknown>, options?: {
|
|
294
|
+
readonly knownParameters?: readonly string[];
|
|
295
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").ValidationReport, BackendError>;
|
|
296
|
+
applyAction: (invocation: import("@party-stack/ontology-backend").ActionRequest) => Effect.Effect<import("@party-stack/ontology-backend").ActionReceipt, BackendError>;
|
|
297
|
+
queryFunction: (name: string, parameters: Record<string, unknown>) => Effect.Effect<unknown, BackendError>;
|
|
298
|
+
changes?: {
|
|
299
|
+
readonly pull: (options: {
|
|
300
|
+
readonly cursor?: string;
|
|
301
|
+
readonly limit?: number;
|
|
302
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").BackendChangePage, BackendError>;
|
|
303
|
+
readonly watch?: Effect.Effect<import("effect/Stream").Stream<void, BackendError>, BackendError, Scope.Scope>;
|
|
304
|
+
};
|
|
305
|
+
attachments?: import("@party-stack/ontology-backend").BackendAttachments;
|
|
306
|
+
encrypted?: import("@party-stack/ontology-backend").BackendEncryptedValues;
|
|
307
|
+
maintenance: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never> | undefined;
|
|
308
|
+
};
|
|
309
|
+
authorize: (request: OntologyRpcRequest, headers: import("effect/http/Headers").Headers) => Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never>;
|
|
310
|
+
} | {
|
|
311
|
+
upstreamErrors?: boolean;
|
|
312
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
313
|
+
enableRealtime?: boolean;
|
|
314
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
315
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
316
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
317
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
318
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
319
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
320
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
321
|
+
ir: import("@party-stack/ontology-spec").OntologyIR;
|
|
322
|
+
context: Record<string, unknown>;
|
|
323
|
+
kind: "proxy";
|
|
324
|
+
errors: "projected";
|
|
325
|
+
source: undefined;
|
|
326
|
+
backend: {
|
|
327
|
+
name: string;
|
|
328
|
+
sourceId: string;
|
|
329
|
+
supportsIdempotency: boolean;
|
|
330
|
+
loadSubset: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("@party-stack/ontology-backend").BackendSnapshot, BackendError>;
|
|
331
|
+
query: (document: import("@party-stack/ontology-spec").QueryDocument, options?: {
|
|
332
|
+
readonly inputs?: Record<string, unknown>;
|
|
333
|
+
}) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
334
|
+
subscribeSelection?: (selection: import("@party-stack/ontology-backend").ObjectSelection, policy?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy, resume?: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<import("@party-stack/ontology-backend/delivery").DeliverySubscription, BackendError, Scope.Scope>;
|
|
335
|
+
acknowledgeDelivery?: (position: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<void, BackendError>;
|
|
336
|
+
resolveActionParameters?: (name: string, parameters: Record<string, unknown>) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
337
|
+
watchSubset?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("effect/Stream").Stream<import("@party-stack/ontology-backend").SubsetWatchEvent, BackendError>, BackendError, Scope.Scope> | undefined;
|
|
338
|
+
refresh?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => {
|
|
339
|
+
readonly pollIntervalMs?: number | false;
|
|
340
|
+
readonly maxCoverageAgeMs?: number;
|
|
341
|
+
} | undefined;
|
|
342
|
+
validateAction?: (name: string, parameters: Record<string, unknown>, options?: {
|
|
343
|
+
readonly knownParameters?: readonly string[];
|
|
344
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").ValidationReport, BackendError>;
|
|
345
|
+
applyAction: (invocation: import("@party-stack/ontology-backend").ActionRequest) => Effect.Effect<import("@party-stack/ontology-backend").ActionReceipt, BackendError>;
|
|
346
|
+
queryFunction: (name: string, parameters: Record<string, unknown>) => Effect.Effect<unknown, BackendError>;
|
|
347
|
+
changes?: {
|
|
348
|
+
readonly pull: (options: {
|
|
349
|
+
readonly cursor?: string;
|
|
350
|
+
readonly limit?: number;
|
|
351
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").BackendChangePage, BackendError>;
|
|
352
|
+
readonly watch?: Effect.Effect<import("effect/Stream").Stream<void, BackendError>, BackendError, Scope.Scope>;
|
|
353
|
+
};
|
|
354
|
+
attachments?: import("@party-stack/ontology-backend").BackendAttachments;
|
|
355
|
+
encrypted?: import("@party-stack/ontology-backend").BackendEncryptedValues;
|
|
356
|
+
maintenance: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never> | undefined;
|
|
357
|
+
};
|
|
358
|
+
authorize: (request: OntologyRpcRequest, headers: import("effect/http/Headers").Headers) => Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never>;
|
|
359
|
+
} | {
|
|
360
|
+
upstreamErrors?: boolean;
|
|
361
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
362
|
+
enableRealtime?: boolean;
|
|
363
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
364
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
365
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
366
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
367
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
368
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
369
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
370
|
+
ir: import("@party-stack/ontology-spec").OntologyIR;
|
|
371
|
+
context: Record<string, unknown>;
|
|
372
|
+
kind: "cached-proxy";
|
|
373
|
+
cache: ReplicaService;
|
|
374
|
+
errors: "projected";
|
|
375
|
+
source: undefined;
|
|
376
|
+
backend: {
|
|
377
|
+
name: string;
|
|
378
|
+
sourceId: string;
|
|
379
|
+
supportsIdempotency: boolean;
|
|
380
|
+
loadSubset: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("@party-stack/ontology-backend").BackendSnapshot, BackendError>;
|
|
381
|
+
query: (document: import("@party-stack/ontology-spec").QueryDocument, options?: {
|
|
382
|
+
readonly inputs?: Record<string, unknown>;
|
|
383
|
+
}) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
384
|
+
subscribeSelection?: (selection: import("@party-stack/ontology-backend").ObjectSelection, policy?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy, resume?: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<import("@party-stack/ontology-backend/delivery").DeliverySubscription, BackendError, Scope.Scope>;
|
|
385
|
+
acknowledgeDelivery?: (position: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<void, BackendError>;
|
|
386
|
+
resolveActionParameters?: (name: string, parameters: Record<string, unknown>) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
387
|
+
watchSubset?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("effect/Stream").Stream<import("@party-stack/ontology-backend").SubsetWatchEvent, BackendError>, BackendError, Scope.Scope> | undefined;
|
|
388
|
+
refresh?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => {
|
|
389
|
+
readonly pollIntervalMs?: number | false;
|
|
390
|
+
readonly maxCoverageAgeMs?: number;
|
|
391
|
+
} | undefined;
|
|
392
|
+
validateAction?: (name: string, parameters: Record<string, unknown>, options?: {
|
|
393
|
+
readonly knownParameters?: readonly string[];
|
|
394
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").ValidationReport, BackendError>;
|
|
395
|
+
applyAction: (invocation: import("@party-stack/ontology-backend").ActionRequest) => Effect.Effect<import("@party-stack/ontology-backend").ActionReceipt, BackendError>;
|
|
396
|
+
queryFunction: (name: string, parameters: Record<string, unknown>) => Effect.Effect<unknown, BackendError>;
|
|
397
|
+
changes?: {
|
|
398
|
+
readonly pull: (options: {
|
|
399
|
+
readonly cursor?: string;
|
|
400
|
+
readonly limit?: number;
|
|
401
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").BackendChangePage, BackendError>;
|
|
402
|
+
readonly watch?: Effect.Effect<import("effect/Stream").Stream<void, BackendError>, BackendError, Scope.Scope>;
|
|
403
|
+
};
|
|
404
|
+
attachments?: import("@party-stack/ontology-backend").BackendAttachments;
|
|
405
|
+
encrypted?: import("@party-stack/ontology-backend").BackendEncryptedValues;
|
|
406
|
+
maintenance: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never> | undefined;
|
|
407
|
+
};
|
|
408
|
+
authorize: (request: OntologyRpcRequest, headers: import("effect/http/Headers").Headers) => Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never>;
|
|
409
|
+
} | {
|
|
410
|
+
upstreamErrors?: boolean;
|
|
411
|
+
attachmentTransfers?: AttachmentTransferPolicy<R> | undefined;
|
|
412
|
+
enableRealtime?: boolean;
|
|
413
|
+
deliveryStrategy?: Schema.Schema.Type<Schema.Literals<readonly ["auto", "snapshot", "incremental"]>>;
|
|
414
|
+
delivery?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy;
|
|
415
|
+
pins?: import("@party-stack/ontology-replica").ReplicaPinControls;
|
|
416
|
+
traces?: import("@party-stack/runtime/tracing").TraceStore;
|
|
417
|
+
ready?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
418
|
+
deleteLocalData?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
419
|
+
releaseOwner?: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R> | undefined;
|
|
420
|
+
ir: import("@party-stack/ontology-spec").OntologyIR;
|
|
421
|
+
context: Record<string, unknown>;
|
|
422
|
+
kind: "replica";
|
|
423
|
+
replica: ReplicaService;
|
|
424
|
+
dangerouslyAllowInternalAccess: true;
|
|
425
|
+
errors: "projected";
|
|
426
|
+
source: undefined;
|
|
427
|
+
backend: {
|
|
428
|
+
name: string;
|
|
429
|
+
sourceId: string;
|
|
430
|
+
supportsIdempotency: boolean;
|
|
431
|
+
loadSubset: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("@party-stack/ontology-backend").BackendSnapshot, BackendError>;
|
|
432
|
+
query: (document: import("@party-stack/ontology-spec").QueryDocument, options?: {
|
|
433
|
+
readonly inputs?: Record<string, unknown>;
|
|
434
|
+
}) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
435
|
+
subscribeSelection?: (selection: import("@party-stack/ontology-backend").ObjectSelection, policy?: import("@party-stack/ontology-backend/delivery").DeliveryPolicy, resume?: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<import("@party-stack/ontology-backend/delivery").DeliverySubscription, BackendError, Scope.Scope>;
|
|
436
|
+
acknowledgeDelivery?: (position: import("@party-stack/ontology-backend/delivery").DeliveryPosition) => Effect.Effect<void, BackendError>;
|
|
437
|
+
resolveActionParameters?: (name: string, parameters: Record<string, unknown>) => Effect.Effect<Record<string, unknown>, BackendError>;
|
|
438
|
+
watchSubset?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => Effect.Effect<import("effect/Stream").Stream<import("@party-stack/ontology-backend").SubsetWatchEvent, BackendError>, BackendError, Scope.Scope> | undefined;
|
|
439
|
+
refresh?: (subset: import("@party-stack/ontology-spec/query").ObjectSubset) => {
|
|
440
|
+
readonly pollIntervalMs?: number | false;
|
|
441
|
+
readonly maxCoverageAgeMs?: number;
|
|
442
|
+
} | undefined;
|
|
443
|
+
validateAction?: (name: string, parameters: Record<string, unknown>, options?: {
|
|
444
|
+
readonly knownParameters?: readonly string[];
|
|
445
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").ValidationReport, BackendError>;
|
|
446
|
+
applyAction: (invocation: import("@party-stack/ontology-backend").ActionRequest) => Effect.Effect<import("@party-stack/ontology-backend").ActionReceipt, BackendError>;
|
|
447
|
+
queryFunction: (name: string, parameters: Record<string, unknown>) => Effect.Effect<unknown, BackendError>;
|
|
448
|
+
changes?: {
|
|
449
|
+
readonly pull: (options: {
|
|
450
|
+
readonly cursor?: string;
|
|
451
|
+
readonly limit?: number;
|
|
452
|
+
}) => Effect.Effect<import("@party-stack/ontology-backend").BackendChangePage, BackendError>;
|
|
453
|
+
readonly watch?: Effect.Effect<import("effect/Stream").Stream<void, BackendError>, BackendError, Scope.Scope>;
|
|
454
|
+
};
|
|
455
|
+
attachments?: import("@party-stack/ontology-backend").BackendAttachments;
|
|
456
|
+
encrypted?: import("@party-stack/ontology-backend").BackendEncryptedValues;
|
|
457
|
+
maintenance: Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never> | undefined;
|
|
458
|
+
};
|
|
459
|
+
authorize: (request: OntologyRpcRequest, headers: import("effect/http/Headers").Headers) => Effect.Effect<void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never>;
|
|
460
|
+
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, never>;
|
|
461
|
+
/** Ordinary provider capabilities of a replica server; speculative state remains a separate extension. */
|
|
462
|
+
export declare const replicaServerBackend: (replica: ReplicaService, backend: OntologyBackendService) => OntologyBackendService;
|
|
463
|
+
/** One role/policy composition for transports with an already authenticated binding. */
|
|
464
|
+
export declare const ontologyServerHandlers: <R = never>(options: OntologyServerBindingOptions<R>) => Layer.Layer<import("effect/rpc/Rpc").Handler<"Accept"> | import("effect/rpc/Rpc").Handler<"AckDelivery"> | import("effect/rpc/Rpc").Handler<"Acknowledge"> | import("effect/rpc/Rpc").Handler<"ApplyAction"> | import("effect/rpc/Rpc").Handler<"AttachmentMetadata"> | import("effect/rpc/Rpc").Handler<"Changes"> | import("effect/rpc/Rpc").Handler<"ClearPin"> | import("effect/rpc/Rpc").Handler<"ControlOutbox"> | import("effect/rpc/Rpc").Handler<"CreateAttachment"> | import("effect/rpc/Rpc").Handler<"Decrypt"> | import("effect/rpc/Rpc").Handler<"DeleteLocalData"> | import("effect/rpc/Rpc").Handler<"Demand"> | import("effect/rpc/Rpc").Handler<"Describe"> | import("effect/rpc/Rpc").Handler<"LoadSubset"> | import("effect/rpc/Rpc").Handler<"OpenClient"> | import("effect/rpc/Rpc").Handler<"PullChanges"> | import("effect/rpc/Rpc").Handler<"Query"> | import("effect/rpc/Rpc").Handler<"QueryFunction"> | import("effect/rpc/Rpc").Handler<"Read"> | import("effect/rpc/Rpc").Handler<"ReadAttachment"> | import("effect/rpc/Rpc").Handler<"ReadPin"> | import("effect/rpc/Rpc").Handler<"ReleaseOwner"> | import("effect/rpc/Rpc").Handler<"ReplicaStatus"> | import("effect/rpc/Rpc").Handler<"ResolveActionParameters"> | import("effect/rpc/Rpc").Handler<"SetPin"> | import("effect/rpc/Rpc").Handler<"Submit"> | import("effect/rpc/Rpc").Handler<"SubscribeSelection"> | import("effect/rpc/Rpc").Handler<"SubscribeState"> | import("effect/rpc/Rpc").Handler<"Traces"> | import("effect/rpc/Rpc").Handler<"ValidateAction"> | import("effect/rpc/Rpc").Handler<"WatchChanges"> | import("effect/rpc/Rpc").Handler<"WatchPin"> | import("effect/rpc/Rpc").Handler<"WatchSubset"> | import("effect/rpc/Rpc").Handler<"WriteAttachmentChunk"> | OntologyErrorProjection, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, Exclude<Exclude<R, never>, Scope.Scope> | Exclude<Exclude<Exclude<R, never>, Scope.Scope>, Scope.Scope>>;
|
|
465
|
+
//#endregion
|
|
466
|
+
export type { OntologyInternalAccess };
|
|
467
|
+
//# sourceMappingURL=composition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composition.d.ts","names":["_$__attachmentTransfers_js0.AttachmentTransferPolicy","_$__rpc_js0.OntologyRpcRequest","_$__errorProjection_js0.OntologyErrorProjection"],"sources":["../src/composition.ts"],"mappings":";;;;;;;;;;YAeY,qBAAqB,cAC7B,SAAS,YACR,OAAO,OAAO,yBAAyB,cAAc,IAAI,MAAM;KAG/D,OAAO,KAAK,KACb,yBAAyB;KAGxB;WACY;WAAwB,SAAS;;WACjC;WAAwB,SAAS;;WAE/B;WACA,SAAS;WACT,OAAO;;WAGP;WACA,SAAS;WACT,SAAS;WACT;WACA;;KAEd;WAEc,SAAS;WACT,iCAAiC;;WAEnC;WAA0B;;;YAG/B,6BAA6B,aAAa,OAAO,KAAK,OAAO;;YAE7D,uBAAuB,aAAa,OAAO,KACnD,SAEO;WAAqB;;WAET;WACA;WACA,eAAe,qBAAqB;;WAGpC;WACA,iCAAiC;WACjC,cAAc,qBAAqB;;qBAM7C,wBAAuE,GAAC,SAAA,OAAA,KAAA,SAAA,OAAA;;;;;;;;;;;EA1C9D;;;;;;;;;;;;;;;;EACA;;;;;;;;;;;;;;;;EAEE;EAEC,OAAA;;;;;;;;;;;;;;;;EAGD;EAEG,SAAA;EACuB;;;;;GA0DjD,iWAAA,MAAA;qBAEW,qBAAiE,GAAC;;;;;;;;;;;EAvExD;;;;;;;;;;;;;;;;EACA;;;;;;;;;;;;;;;;EAEE;EAEC,OAAA;;;;;;;;;;;;;;;;EAGD;EAEG,SAAA;EACuB;;;;;;;;;;;;;;;;EAX5B;;;;;EAmG4B;;;;;;;;;;;;;EAlG5B;;;;;EAkG4B;;;;;;;;;;;;;EAhG1B;EAEC,OAAA;;;;;EA8FyB;;;;;;;;;;;;;EA3F1B;EAEG,SAAA;EACuB;;;;;EAwFA;;;;;;;;;;;;;;;EAnG5B;EAkHP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAjHO;EAiHP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA/GS;EAEC,OAAA;EA6GV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA1GS;EAEG,SAAA;EACuB;EAuGnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMd;;qBAGW,uBAAoB,SACpB,gBAAc,SACd,2BACV;;qBA0CU,yBAA0B,WAAS,SAAW,6BAA6B,OAAE,MAAA,+BAAA,6CAAA,kDAAA,kDAAA,kDAAA,yDAAA,8CAAA,+CAAA,oDAAA,uDAAA,8CAAA,sDAAA,6CAAA,+CAAA,iDAAA,iDAAA,kDAAA,4CAAA,oDAAA,2CAAA,qDAAA,8CAAA,mDAAA,oDAAA,8DAAA,6CAAA,6CAAA,yDAAA,qDAAA,6CAAA,qDAAA,mDAAA,+CAAA,kDAAA,kCAA/BE,yBAA+B,iWAAA,QAAA,QAAA,WAAA,MAAA,SAAA,QAAA,QAAA,QAAA,WAAA,MAAA,QAAA,MAAA"}
|