@party-stack/ontology-server 0.11.1 → 0.11.3
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/README.md +153 -71
- package/lib/definitionProjection.d.ts.map +1 -1
- package/lib/definitionProjection.js +3 -2
- package/lib/definitionProjection.js.map +1 -1
- package/lib/errorProjection.d.ts +1 -1
- package/lib/errorProjection.d.ts.map +1 -1
- package/lib/errorProjection.js +16 -1
- package/lib/errorProjection.js.map +1 -1
- package/lib/operations.d.ts.map +1 -1
- package/lib/operations.js +1 -4
- package/lib/operations.js.map +1 -1
- package/lib/routing.d.ts +5 -1
- package/lib/routing.d.ts.map +1 -1
- package/lib/routing.js +2 -2
- package/lib/routing.js.map +1 -1
- package/lib/rpc.d.ts +49 -1725
- package/lib/rpc.d.ts.map +1 -1
- package/lib/rpc.js +21 -15
- package/lib/rpc.js.map +1 -1
- package/lib/rpcLocal.d.ts.map +1 -1
- package/lib/rpcLocal.js +2 -2
- package/lib/rpcLocal.js.map +1 -1
- package/lib/rpcWorker.d.ts.map +1 -1
- package/lib/rpcWorker.js +1 -1
- package/lib/rpcWorker.js.map +1 -1
- package/package.json +7 -7
package/lib/rpc.d.ts
CHANGED
|
@@ -375,6 +375,9 @@ export declare const OntologyRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Accept", Schema.Co
|
|
|
375
375
|
readonly clientId: string;
|
|
376
376
|
readonly sequence: number;
|
|
377
377
|
} | undefined;
|
|
378
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
379
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
380
|
+
readonly predictionMessage?: string | undefined;
|
|
378
381
|
}[];
|
|
379
382
|
readonly completed: readonly {
|
|
380
383
|
readonly invocation: {
|
|
@@ -431,6 +434,9 @@ export declare const OntologyRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Accept", Schema.Co
|
|
|
431
434
|
readonly clientId: string;
|
|
432
435
|
readonly sequence: number;
|
|
433
436
|
} | undefined;
|
|
437
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
438
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
439
|
+
readonly predictionMessage?: string | undefined;
|
|
434
440
|
}[];
|
|
435
441
|
};
|
|
436
442
|
readonly client: {
|
|
@@ -775,6 +781,9 @@ export declare const OntologyRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Accept", Schema.Co
|
|
|
775
781
|
readonly clientId: string;
|
|
776
782
|
readonly sequence: number;
|
|
777
783
|
} | undefined;
|
|
784
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
785
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
786
|
+
readonly predictionMessage?: string | undefined;
|
|
778
787
|
}[];
|
|
779
788
|
readonly completed: readonly {
|
|
780
789
|
readonly invocation: {
|
|
@@ -831,6 +840,9 @@ export declare const OntologyRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Accept", Schema.Co
|
|
|
831
840
|
readonly clientId: string;
|
|
832
841
|
readonly sequence: number;
|
|
833
842
|
} | undefined;
|
|
843
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
844
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
845
|
+
readonly predictionMessage?: string | undefined;
|
|
834
846
|
}[];
|
|
835
847
|
};
|
|
836
848
|
readonly client: {
|
|
@@ -951,6 +963,9 @@ export declare const OntologyRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Accept", Schema.Co
|
|
|
951
963
|
readonly clientId: string;
|
|
952
964
|
readonly sequence: number;
|
|
953
965
|
} | undefined;
|
|
966
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
967
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
968
|
+
readonly predictionMessage?: string | undefined;
|
|
954
969
|
};
|
|
955
970
|
};
|
|
956
971
|
} | {
|
|
@@ -1106,6 +1121,9 @@ export declare const OntologyRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Accept", Schema.Co
|
|
|
1106
1121
|
readonly clientId: string;
|
|
1107
1122
|
readonly sequence: number;
|
|
1108
1123
|
} | undefined;
|
|
1124
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
1125
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
1126
|
+
readonly predictionMessage?: string | undefined;
|
|
1109
1127
|
};
|
|
1110
1128
|
};
|
|
1111
1129
|
} | {
|
|
@@ -1620,6 +1638,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
1620
1638
|
readonly clientId: string;
|
|
1621
1639
|
readonly sequence: number;
|
|
1622
1640
|
} | undefined;
|
|
1641
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
1642
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
1643
|
+
readonly predictionMessage?: string | undefined;
|
|
1623
1644
|
}[];
|
|
1624
1645
|
readonly completed: readonly {
|
|
1625
1646
|
readonly invocation: {
|
|
@@ -1676,6 +1697,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
1676
1697
|
readonly clientId: string;
|
|
1677
1698
|
readonly sequence: number;
|
|
1678
1699
|
} | undefined;
|
|
1700
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
1701
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
1702
|
+
readonly predictionMessage?: string | undefined;
|
|
1679
1703
|
}[];
|
|
1680
1704
|
};
|
|
1681
1705
|
readonly client: {
|
|
@@ -2171,6 +2195,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
2171
2195
|
readonly clientId: string;
|
|
2172
2196
|
readonly sequence: number;
|
|
2173
2197
|
} | undefined;
|
|
2198
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
2199
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
2200
|
+
readonly predictionMessage?: string | undefined;
|
|
2174
2201
|
}[];
|
|
2175
2202
|
readonly completed: readonly {
|
|
2176
2203
|
readonly invocation: {
|
|
@@ -2227,6 +2254,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
2227
2254
|
readonly clientId: string;
|
|
2228
2255
|
readonly sequence: number;
|
|
2229
2256
|
} | undefined;
|
|
2257
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
2258
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
2259
|
+
readonly predictionMessage?: string | undefined;
|
|
2230
2260
|
}[];
|
|
2231
2261
|
};
|
|
2232
2262
|
readonly client: {
|
|
@@ -2351,6 +2381,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
2351
2381
|
readonly clientId: string;
|
|
2352
2382
|
readonly sequence: number;
|
|
2353
2383
|
} | undefined;
|
|
2384
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
2385
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
2386
|
+
readonly predictionMessage?: string | undefined;
|
|
2354
2387
|
};
|
|
2355
2388
|
};
|
|
2356
2389
|
} | {
|
|
@@ -2482,6 +2515,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
2482
2515
|
readonly clientId: string;
|
|
2483
2516
|
readonly sequence: number;
|
|
2484
2517
|
} | undefined;
|
|
2518
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
2519
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
2520
|
+
readonly predictionMessage?: string | undefined;
|
|
2485
2521
|
};
|
|
2486
2522
|
};
|
|
2487
2523
|
} | {
|
|
@@ -2633,6 +2669,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
2633
2669
|
readonly clientId: string;
|
|
2634
2670
|
readonly sequence: number;
|
|
2635
2671
|
} | undefined;
|
|
2672
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
2673
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
2674
|
+
readonly predictionMessage?: string | undefined;
|
|
2636
2675
|
};
|
|
2637
2676
|
};
|
|
2638
2677
|
} | {
|
|
@@ -2764,6 +2803,9 @@ export declare const makeOntologyRpcClient: Effect.Effect<{
|
|
|
2764
2803
|
readonly clientId: string;
|
|
2765
2804
|
readonly sequence: number;
|
|
2766
2805
|
} | undefined;
|
|
2806
|
+
readonly prediction?: "applied" | "dropped" | "none" | undefined;
|
|
2807
|
+
readonly predictionFailure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
2808
|
+
readonly predictionMessage?: string | undefined;
|
|
2767
2809
|
};
|
|
2768
2810
|
};
|
|
2769
2811
|
} | {
|
|
@@ -3069,1731 +3111,13 @@ export type OntologyRpcClient = Effect.Success<ReturnType<typeof RpcClient.make<
|
|
|
3069
3111
|
/** HTTP byte operations use the same incompatibility notification as typed RPC. */
|
|
3070
3112
|
export declare const observeOntologyClientFailure: <A, R>(client: OntologyClient, work: Effect.Effect<A, BackendError, R>) => Effect.Effect<A, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, R>;
|
|
3071
3113
|
/** Use the same source contract with Effect RPC's worker, HTTP or socket transport. */
|
|
3072
|
-
export declare const makeOntologyProtocolClient: (client:
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
readonly kind: "committed" | "speculative";
|
|
3080
|
-
readonly position: {
|
|
3081
|
-
readonly streamId: string;
|
|
3082
|
-
readonly sequence: number;
|
|
3083
|
-
};
|
|
3084
|
-
}, options?: {
|
|
3085
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3086
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3087
|
-
readonly discard?: Discard | undefined;
|
|
3088
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3089
|
-
readonly Acknowledge: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3090
|
-
readonly session: {
|
|
3091
|
-
readonly client: {
|
|
3092
|
-
readonly sourceId: string;
|
|
3093
|
-
readonly clientId: string;
|
|
3094
|
-
readonly resumeKey: string;
|
|
3095
|
-
};
|
|
3096
|
-
readonly connectionId: string;
|
|
3097
|
-
};
|
|
3098
|
-
readonly revision: number;
|
|
3099
|
-
readonly through: number;
|
|
3100
|
-
readonly viewGeneration?: number | undefined;
|
|
3101
|
-
}, options?: {
|
|
3102
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3103
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3104
|
-
readonly discard?: Discard | undefined;
|
|
3105
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3106
|
-
readonly ApplyAction: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3107
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3108
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3109
|
-
readonly discard?: Discard | undefined;
|
|
3110
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3111
|
-
readonly operationId: string;
|
|
3112
|
-
readonly outcome: "committed";
|
|
3113
|
-
readonly result?: unknown;
|
|
3114
|
-
readonly cursor?: string | undefined;
|
|
3115
|
-
readonly providerOperationId?: string | undefined;
|
|
3116
|
-
readonly affected?: readonly {
|
|
3117
|
-
readonly objectType: string;
|
|
3118
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
3119
|
-
}[] | undefined;
|
|
3120
|
-
readonly affectedComplete?: boolean | undefined;
|
|
3121
|
-
readonly attachmentIdMappings?: readonly {
|
|
3122
|
-
readonly localId: string;
|
|
3123
|
-
readonly remoteId: string;
|
|
3124
|
-
}[] | undefined;
|
|
3125
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3126
|
-
readonly AttachmentMetadata: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3127
|
-
readonly attachment: {
|
|
3128
|
-
readonly id: string;
|
|
3129
|
-
readonly type?: string | undefined;
|
|
3130
|
-
readonly source?: {
|
|
3131
|
-
readonly objectType: string;
|
|
3132
|
-
readonly primaryKey: string | number;
|
|
3133
|
-
readonly property: string;
|
|
3134
|
-
} | undefined;
|
|
3135
|
-
};
|
|
3136
|
-
readonly select?: readonly ("dimensions" | "name" | "size" | "type")[] | undefined;
|
|
3137
|
-
}, options?: {
|
|
3138
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3139
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3140
|
-
readonly discard?: Discard | undefined;
|
|
3141
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3142
|
-
readonly size?: number | undefined;
|
|
3143
|
-
readonly type?: string | undefined;
|
|
3144
|
-
readonly name?: string | undefined;
|
|
3145
|
-
readonly dimensions?: {
|
|
3146
|
-
readonly width: number;
|
|
3147
|
-
readonly height: number;
|
|
3148
|
-
} | undefined;
|
|
3149
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3150
|
-
readonly Changes: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3151
|
-
readonly asQueue?: AsQueue | undefined;
|
|
3152
|
-
readonly streamBufferSize?: number | undefined;
|
|
3153
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3154
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3155
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<"invalidate", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<"invalidate", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
3156
|
-
readonly ClearPin: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3157
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3158
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3159
|
-
readonly discard?: Discard | undefined;
|
|
3160
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3161
|
-
readonly ControlOutbox: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3162
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3163
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3164
|
-
readonly discard?: Discard | undefined;
|
|
3165
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3166
|
-
readonly CreateAttachment: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3167
|
-
readonly size?: number | undefined;
|
|
3168
|
-
readonly type: string;
|
|
3169
|
-
readonly name?: string | undefined;
|
|
3170
|
-
readonly id?: string | undefined;
|
|
3171
|
-
readonly target?: {
|
|
3172
|
-
readonly kind: "objectProperty";
|
|
3173
|
-
readonly objectType: string;
|
|
3174
|
-
readonly property: string;
|
|
3175
|
-
} | {
|
|
3176
|
-
readonly kind: "actionParameter";
|
|
3177
|
-
readonly actionType: string;
|
|
3178
|
-
readonly parameter: string;
|
|
3179
|
-
} | undefined;
|
|
3180
|
-
readonly eager?: boolean | undefined;
|
|
3181
|
-
}, options?: {
|
|
3182
|
-
readonly asQueue?: AsQueue | undefined;
|
|
3183
|
-
readonly streamBufferSize?: number | undefined;
|
|
3184
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3185
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3186
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<{
|
|
3187
|
-
readonly kind: "ready";
|
|
3188
|
-
readonly uploadId: string;
|
|
3189
|
-
} | {
|
|
3190
|
-
readonly kind: "complete";
|
|
3191
|
-
readonly attachment: {
|
|
3192
|
-
readonly id: string;
|
|
3193
|
-
readonly type?: string | undefined;
|
|
3194
|
-
readonly source?: {
|
|
3195
|
-
readonly objectType: string;
|
|
3196
|
-
readonly primaryKey: string | number;
|
|
3197
|
-
readonly property: string;
|
|
3198
|
-
} | undefined;
|
|
3199
|
-
};
|
|
3200
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<{
|
|
3201
|
-
readonly kind: "ready";
|
|
3202
|
-
readonly uploadId: string;
|
|
3203
|
-
} | {
|
|
3204
|
-
readonly kind: "complete";
|
|
3205
|
-
readonly attachment: {
|
|
3206
|
-
readonly id: string;
|
|
3207
|
-
readonly type?: string | undefined;
|
|
3208
|
-
readonly source?: {
|
|
3209
|
-
readonly objectType: string;
|
|
3210
|
-
readonly primaryKey: string | number;
|
|
3211
|
-
readonly property: string;
|
|
3212
|
-
} | undefined;
|
|
3213
|
-
};
|
|
3214
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
3215
|
-
readonly Decrypt: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3216
|
-
readonly value: {
|
|
3217
|
-
readonly ciphertext: string;
|
|
3218
|
-
readonly source?: {
|
|
3219
|
-
readonly objectType: string;
|
|
3220
|
-
readonly primaryKey: string | number;
|
|
3221
|
-
readonly property: string;
|
|
3222
|
-
} | undefined;
|
|
3223
|
-
};
|
|
3224
|
-
readonly cache?: boolean | undefined;
|
|
3225
|
-
}, options?: {
|
|
3226
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3227
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3228
|
-
readonly discard?: Discard | undefined;
|
|
3229
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3230
|
-
readonly value: unknown;
|
|
3231
|
-
readonly ciphertext?: string | undefined;
|
|
3232
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3233
|
-
readonly DeleteLocalData: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3234
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3235
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3236
|
-
readonly discard?: Discard | undefined;
|
|
3237
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3238
|
-
readonly Demand: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3239
|
-
readonly asQueue?: AsQueue | undefined;
|
|
3240
|
-
readonly streamBufferSize?: number | undefined;
|
|
3241
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3242
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3243
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<"ready", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<"ready", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
3244
|
-
readonly Describe: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3245
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3246
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3247
|
-
readonly discard?: Discard | undefined;
|
|
3248
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3249
|
-
readonly version: 1;
|
|
3250
|
-
readonly replication: "committed" | "speculative";
|
|
3251
|
-
readonly definitionHash?: string | undefined;
|
|
3252
|
-
readonly sourceId: string;
|
|
3253
|
-
readonly ir?: import("@party-stack/ontology-spec").OntologyIR | undefined;
|
|
3254
|
-
readonly context?: {
|
|
3255
|
-
readonly [x: string]: unknown;
|
|
3256
|
-
} | undefined;
|
|
3257
|
-
readonly supportsIdempotency: boolean;
|
|
3258
|
-
readonly delivery?: boolean | undefined;
|
|
3259
|
-
readonly stateDelivery?: boolean | undefined;
|
|
3260
|
-
readonly changes?: boolean | undefined;
|
|
3261
|
-
readonly watchChanges?: boolean | undefined;
|
|
3262
|
-
readonly watchSubset?: boolean | undefined;
|
|
3263
|
-
readonly actionParameterResolution?: boolean | undefined;
|
|
3264
|
-
readonly queries?: boolean | undefined;
|
|
3265
|
-
readonly pins?: boolean | undefined;
|
|
3266
|
-
readonly attachments?: {
|
|
3267
|
-
readonly stage: boolean;
|
|
3268
|
-
} | undefined;
|
|
3269
|
-
readonly encrypted?: boolean | undefined;
|
|
3270
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3271
|
-
readonly LoadSubset: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3272
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3273
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3274
|
-
readonly discard?: Discard | undefined;
|
|
3275
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3276
|
-
readonly fulfilledSubset?: import("@party-stack/ontology-spec/query").ObjectSubset | undefined;
|
|
3277
|
-
readonly fetchedRows?: number | undefined;
|
|
3278
|
-
readonly pushdown?: {
|
|
3279
|
-
readonly source: string;
|
|
3280
|
-
readonly predicates: readonly {
|
|
3281
|
-
readonly path: readonly number[];
|
|
3282
|
-
readonly execution: "adapter" | "candidate" | "engine" | "source";
|
|
3283
|
-
}[];
|
|
3284
|
-
readonly sorting: "adapter" | "engine" | "none" | "source";
|
|
3285
|
-
readonly pagination: "adapter" | "engine" | "none" | "source";
|
|
3286
|
-
readonly rechecksFilter: boolean;
|
|
3287
|
-
readonly native?: {
|
|
3288
|
-
readonly language: string;
|
|
3289
|
-
readonly text: string;
|
|
3290
|
-
} | undefined;
|
|
3291
|
-
} | undefined;
|
|
3292
|
-
readonly rows: readonly {
|
|
3293
|
-
readonly key: string | number;
|
|
3294
|
-
readonly value: {
|
|
3295
|
-
readonly [x: string]: unknown;
|
|
3296
|
-
};
|
|
3297
|
-
}[];
|
|
3298
|
-
readonly complete: boolean;
|
|
3299
|
-
readonly cursor?: string | undefined;
|
|
3300
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3301
|
-
readonly OpenClient: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3302
|
-
readonly resume?: {
|
|
3303
|
-
readonly sourceId: string;
|
|
3304
|
-
readonly clientId: string;
|
|
3305
|
-
readonly resumeKey: string;
|
|
3306
|
-
} | undefined;
|
|
3307
|
-
}, options?: {
|
|
3308
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3309
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3310
|
-
readonly discard?: Discard | undefined;
|
|
3311
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3312
|
-
readonly client: {
|
|
3313
|
-
readonly sourceId: string;
|
|
3314
|
-
readonly clientId: string;
|
|
3315
|
-
readonly resumeKey: string;
|
|
3316
|
-
};
|
|
3317
|
-
readonly connectionId: string;
|
|
3318
|
-
readonly expiresAt: number;
|
|
3319
|
-
readonly acceptedThrough: number;
|
|
3320
|
-
readonly acknowledgedThrough: number;
|
|
3321
|
-
readonly deliveredThrough: number;
|
|
3322
|
-
readonly deliveredRevision: number;
|
|
3323
|
-
readonly appliedRevision: number;
|
|
3324
|
-
readonly viewGeneration?: number | undefined;
|
|
3325
|
-
readonly viewIdentity?: string | undefined;
|
|
3326
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
3327
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3328
|
-
readonly PullChanges: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3329
|
-
readonly cursor?: string | undefined;
|
|
3330
|
-
readonly limit?: number | undefined;
|
|
3331
|
-
}, options?: {
|
|
3332
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3333
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3334
|
-
readonly discard?: Discard | undefined;
|
|
3335
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3336
|
-
readonly commits: readonly {
|
|
3337
|
-
readonly cursor: string;
|
|
3338
|
-
readonly changes: readonly ({
|
|
3339
|
-
readonly kind: "put";
|
|
3340
|
-
readonly objectType: string;
|
|
3341
|
-
readonly key: string | number;
|
|
3342
|
-
readonly value: {
|
|
3343
|
-
readonly [x: string]: unknown;
|
|
3344
|
-
};
|
|
3345
|
-
} | {
|
|
3346
|
-
readonly kind: "delete";
|
|
3347
|
-
readonly objectType: string;
|
|
3348
|
-
readonly key: string | number;
|
|
3349
|
-
})[];
|
|
3350
|
-
readonly operationId?: string | undefined;
|
|
3351
|
-
}[];
|
|
3352
|
-
readonly cursor: string;
|
|
3353
|
-
readonly hasMore: boolean;
|
|
3354
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3355
|
-
readonly Query: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3356
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3357
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3358
|
-
readonly discard?: Discard | undefined;
|
|
3359
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3360
|
-
readonly [x: string]: unknown;
|
|
3361
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3362
|
-
readonly QueryFunction: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3363
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3364
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3365
|
-
readonly discard?: Discard | undefined;
|
|
3366
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : unknown, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3367
|
-
readonly Read: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3368
|
-
readonly session: {
|
|
3369
|
-
readonly client: {
|
|
3370
|
-
readonly sourceId: string;
|
|
3371
|
-
readonly clientId: string;
|
|
3372
|
-
readonly resumeKey: string;
|
|
3373
|
-
};
|
|
3374
|
-
readonly connectionId: string;
|
|
3375
|
-
};
|
|
3376
|
-
readonly view?: unknown;
|
|
3377
|
-
}, options?: {
|
|
3378
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3379
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3380
|
-
readonly discard?: Discard | undefined;
|
|
3381
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3382
|
-
readonly state: {
|
|
3383
|
-
readonly sourceId: string;
|
|
3384
|
-
readonly revision: number;
|
|
3385
|
-
readonly definition: string;
|
|
3386
|
-
readonly view?: {
|
|
3387
|
-
readonly generation: number;
|
|
3388
|
-
} | undefined;
|
|
3389
|
-
readonly objects: readonly {
|
|
3390
|
-
readonly objectType: string;
|
|
3391
|
-
readonly base: readonly {
|
|
3392
|
-
readonly key: string | number;
|
|
3393
|
-
readonly value: {
|
|
3394
|
-
readonly [x: string]: unknown;
|
|
3395
|
-
};
|
|
3396
|
-
}[];
|
|
3397
|
-
readonly overrides: readonly {
|
|
3398
|
-
readonly key: string | number;
|
|
3399
|
-
readonly value: {
|
|
3400
|
-
readonly deleted: true;
|
|
3401
|
-
} | {
|
|
3402
|
-
readonly deleted: false;
|
|
3403
|
-
readonly value: {
|
|
3404
|
-
readonly [x: string]: unknown;
|
|
3405
|
-
};
|
|
3406
|
-
};
|
|
3407
|
-
}[];
|
|
3408
|
-
}[];
|
|
3409
|
-
readonly pending: readonly {
|
|
3410
|
-
readonly invocation: {
|
|
3411
|
-
readonly id: string;
|
|
3412
|
-
readonly name: string;
|
|
3413
|
-
readonly parameters: {
|
|
3414
|
-
readonly [x: string]: unknown;
|
|
3415
|
-
};
|
|
3416
|
-
readonly replay?: {
|
|
3417
|
-
readonly now: string;
|
|
3418
|
-
readonly seed: string;
|
|
3419
|
-
} | undefined;
|
|
3420
|
-
};
|
|
3421
|
-
readonly requestIdentity: string;
|
|
3422
|
-
readonly createdAt: number;
|
|
3423
|
-
readonly sequence: number;
|
|
3424
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
3425
|
-
readonly optimistic: boolean;
|
|
3426
|
-
readonly attempts: number;
|
|
3427
|
-
readonly retryFromAttempt?: number | undefined;
|
|
3428
|
-
readonly nextAttemptAt?: number | undefined;
|
|
3429
|
-
readonly failureMessage?: string | undefined;
|
|
3430
|
-
readonly failureIssues?: readonly {
|
|
3431
|
-
readonly message: string;
|
|
3432
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
3433
|
-
readonly code?: string | undefined;
|
|
3434
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
3435
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
3436
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
3437
|
-
}[] | undefined;
|
|
3438
|
-
readonly completedAt?: number | undefined;
|
|
3439
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
3440
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
3441
|
-
readonly failureRetryable?: boolean | undefined;
|
|
3442
|
-
readonly receipt?: {
|
|
3443
|
-
readonly operationId: string;
|
|
3444
|
-
readonly outcome: "committed";
|
|
3445
|
-
readonly result?: unknown;
|
|
3446
|
-
readonly cursor?: string | undefined;
|
|
3447
|
-
readonly providerOperationId?: string | undefined;
|
|
3448
|
-
readonly affected?: readonly {
|
|
3449
|
-
readonly objectType: string;
|
|
3450
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
3451
|
-
}[] | undefined;
|
|
3452
|
-
readonly affectedComplete?: boolean | undefined;
|
|
3453
|
-
readonly attachmentIdMappings?: readonly {
|
|
3454
|
-
readonly localId: string;
|
|
3455
|
-
readonly remoteId: string;
|
|
3456
|
-
}[] | undefined;
|
|
3457
|
-
} | undefined;
|
|
3458
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
3459
|
-
readonly touchedTypes: readonly string[];
|
|
3460
|
-
readonly submission?: {
|
|
3461
|
-
readonly clientId: string;
|
|
3462
|
-
readonly sequence: number;
|
|
3463
|
-
} | undefined;
|
|
3464
|
-
}[];
|
|
3465
|
-
readonly completed: readonly {
|
|
3466
|
-
readonly invocation: {
|
|
3467
|
-
readonly id: string;
|
|
3468
|
-
readonly name: string;
|
|
3469
|
-
readonly parameters: {
|
|
3470
|
-
readonly [x: string]: unknown;
|
|
3471
|
-
};
|
|
3472
|
-
readonly replay?: {
|
|
3473
|
-
readonly now: string;
|
|
3474
|
-
readonly seed: string;
|
|
3475
|
-
} | undefined;
|
|
3476
|
-
};
|
|
3477
|
-
readonly requestIdentity: string;
|
|
3478
|
-
readonly createdAt: number;
|
|
3479
|
-
readonly sequence: number;
|
|
3480
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
3481
|
-
readonly optimistic: boolean;
|
|
3482
|
-
readonly attempts: number;
|
|
3483
|
-
readonly retryFromAttempt?: number | undefined;
|
|
3484
|
-
readonly nextAttemptAt?: number | undefined;
|
|
3485
|
-
readonly failureMessage?: string | undefined;
|
|
3486
|
-
readonly failureIssues?: readonly {
|
|
3487
|
-
readonly message: string;
|
|
3488
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
3489
|
-
readonly code?: string | undefined;
|
|
3490
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
3491
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
3492
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
3493
|
-
}[] | undefined;
|
|
3494
|
-
readonly completedAt?: number | undefined;
|
|
3495
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
3496
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
3497
|
-
readonly failureRetryable?: boolean | undefined;
|
|
3498
|
-
readonly receipt?: {
|
|
3499
|
-
readonly operationId: string;
|
|
3500
|
-
readonly outcome: "committed";
|
|
3501
|
-
readonly result?: unknown;
|
|
3502
|
-
readonly cursor?: string | undefined;
|
|
3503
|
-
readonly providerOperationId?: string | undefined;
|
|
3504
|
-
readonly affected?: readonly {
|
|
3505
|
-
readonly objectType: string;
|
|
3506
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
3507
|
-
}[] | undefined;
|
|
3508
|
-
readonly affectedComplete?: boolean | undefined;
|
|
3509
|
-
readonly attachmentIdMappings?: readonly {
|
|
3510
|
-
readonly localId: string;
|
|
3511
|
-
readonly remoteId: string;
|
|
3512
|
-
}[] | undefined;
|
|
3513
|
-
} | undefined;
|
|
3514
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
3515
|
-
readonly touchedTypes: readonly string[];
|
|
3516
|
-
readonly submission?: {
|
|
3517
|
-
readonly clientId: string;
|
|
3518
|
-
readonly sequence: number;
|
|
3519
|
-
} | undefined;
|
|
3520
|
-
}[];
|
|
3521
|
-
};
|
|
3522
|
-
readonly client: {
|
|
3523
|
-
readonly client: {
|
|
3524
|
-
readonly sourceId: string;
|
|
3525
|
-
readonly clientId: string;
|
|
3526
|
-
readonly resumeKey: string;
|
|
3527
|
-
};
|
|
3528
|
-
readonly connectionId: string;
|
|
3529
|
-
readonly expiresAt: number;
|
|
3530
|
-
readonly acceptedThrough: number;
|
|
3531
|
-
readonly acknowledgedThrough: number;
|
|
3532
|
-
readonly deliveredThrough: number;
|
|
3533
|
-
readonly deliveredRevision: number;
|
|
3534
|
-
readonly appliedRevision: number;
|
|
3535
|
-
readonly viewGeneration?: number | undefined;
|
|
3536
|
-
readonly viewIdentity?: string | undefined;
|
|
3537
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
3538
|
-
};
|
|
3539
|
-
readonly coverage?: readonly {
|
|
3540
|
-
readonly subset: {
|
|
3541
|
-
readonly objectType: string;
|
|
3542
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3543
|
-
};
|
|
3544
|
-
readonly complete: boolean;
|
|
3545
|
-
readonly cached?: boolean | undefined;
|
|
3546
|
-
}[] | undefined;
|
|
3547
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3548
|
-
readonly ReadAttachment: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3549
|
-
readonly id: string;
|
|
3550
|
-
readonly type?: string | undefined;
|
|
3551
|
-
readonly source?: {
|
|
3552
|
-
readonly objectType: string;
|
|
3553
|
-
readonly primaryKey: string | number;
|
|
3554
|
-
readonly property: string;
|
|
3555
|
-
} | undefined;
|
|
3556
|
-
}, options?: {
|
|
3557
|
-
readonly asQueue?: AsQueue | undefined;
|
|
3558
|
-
readonly streamBufferSize?: number | undefined;
|
|
3559
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3560
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3561
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<{
|
|
3562
|
-
readonly kind: "metadata";
|
|
3563
|
-
readonly type: string;
|
|
3564
|
-
readonly size?: number | undefined;
|
|
3565
|
-
readonly name?: string | undefined;
|
|
3566
|
-
} | {
|
|
3567
|
-
readonly kind: "bytes";
|
|
3568
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
3569
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<{
|
|
3570
|
-
readonly kind: "metadata";
|
|
3571
|
-
readonly type: string;
|
|
3572
|
-
readonly size?: number | undefined;
|
|
3573
|
-
readonly name?: string | undefined;
|
|
3574
|
-
} | {
|
|
3575
|
-
readonly kind: "bytes";
|
|
3576
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
3577
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
3578
|
-
readonly ReadPin: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3579
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3580
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3581
|
-
readonly discard?: Discard | undefined;
|
|
3582
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3583
|
-
readonly query: import("@party-stack/ontology-spec").QueryDocument;
|
|
3584
|
-
readonly inputs?: {
|
|
3585
|
-
readonly [x: string]: unknown;
|
|
3586
|
-
} | undefined;
|
|
3587
|
-
readonly attachments: "all" | "none";
|
|
3588
|
-
readonly ready: boolean;
|
|
3589
|
-
readonly previousGraphRetained: boolean;
|
|
3590
|
-
readonly retainedGraph?: {
|
|
3591
|
-
readonly query: import("@party-stack/ontology-spec").QueryDocument;
|
|
3592
|
-
readonly inputs?: {
|
|
3593
|
-
readonly [x: string]: unknown;
|
|
3594
|
-
} | undefined;
|
|
3595
|
-
readonly attachments: "all" | "none";
|
|
3596
|
-
} | undefined;
|
|
3597
|
-
readonly error?: {
|
|
3598
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3599
|
-
readonly message: string;
|
|
3600
|
-
} | undefined;
|
|
3601
|
-
} | undefined, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3602
|
-
readonly ReleaseOwner: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3603
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3604
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3605
|
-
readonly discard?: Discard | undefined;
|
|
3606
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3607
|
-
readonly ReplicaStatus: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
3608
|
-
readonly asQueue?: AsQueue | undefined;
|
|
3609
|
-
readonly streamBufferSize?: number | undefined;
|
|
3610
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3611
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3612
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<{
|
|
3613
|
-
readonly capacity?: {
|
|
3614
|
-
readonly memory?: {
|
|
3615
|
-
readonly scope: "database" | "filesystem" | "isolate" | "origin" | "process";
|
|
3616
|
-
readonly usedBytes?: number | undefined;
|
|
3617
|
-
readonly limitBytes?: number | undefined;
|
|
3618
|
-
readonly availableBytes?: number | undefined;
|
|
3619
|
-
} | undefined;
|
|
3620
|
-
readonly storage?: {
|
|
3621
|
-
readonly scope: "database" | "filesystem" | "isolate" | "origin" | "process";
|
|
3622
|
-
readonly usedBytes?: number | undefined;
|
|
3623
|
-
readonly limitBytes?: number | undefined;
|
|
3624
|
-
readonly availableBytes?: number | undefined;
|
|
3625
|
-
} | undefined;
|
|
3626
|
-
readonly memoryError?: string | undefined;
|
|
3627
|
-
readonly storageError?: string | undefined;
|
|
3628
|
-
} | undefined;
|
|
3629
|
-
readonly cache?: {
|
|
3630
|
-
readonly attachments?: {
|
|
3631
|
-
readonly bytes: number;
|
|
3632
|
-
readonly maxBytes?: number | undefined;
|
|
3633
|
-
readonly targetBytes?: number | undefined;
|
|
3634
|
-
} | undefined;
|
|
3635
|
-
readonly objects: {
|
|
3636
|
-
readonly byObjectType?: readonly {
|
|
3637
|
-
readonly objectType: string;
|
|
3638
|
-
readonly bytes: number;
|
|
3639
|
-
}[] | undefined;
|
|
3640
|
-
readonly bytes: number;
|
|
3641
|
-
readonly maxBytes?: number | undefined;
|
|
3642
|
-
readonly targetBytes?: number | undefined;
|
|
3643
|
-
};
|
|
3644
|
-
} | undefined;
|
|
3645
|
-
readonly pin?: {
|
|
3646
|
-
readonly ready: boolean;
|
|
3647
|
-
readonly previousGraphRetained: boolean;
|
|
3648
|
-
readonly error?: {
|
|
3649
|
-
readonly kind: string;
|
|
3650
|
-
readonly message: string;
|
|
3651
|
-
} | undefined;
|
|
3652
|
-
} | undefined;
|
|
3653
|
-
readonly sourceId: string;
|
|
3654
|
-
readonly upstreamId: string;
|
|
3655
|
-
readonly mode: "adapter" | "protocol";
|
|
3656
|
-
readonly networkOnline: boolean;
|
|
3657
|
-
readonly authentication?: {
|
|
3658
|
-
readonly status: "pending";
|
|
3659
|
-
} | {
|
|
3660
|
-
readonly status: "active";
|
|
3661
|
-
readonly expiration?: {
|
|
3662
|
-
readonly expiresAt: number;
|
|
3663
|
-
readonly refreshable: boolean;
|
|
3664
|
-
} | undefined;
|
|
3665
|
-
} | {
|
|
3666
|
-
readonly status: "inactive";
|
|
3667
|
-
} | {
|
|
3668
|
-
readonly status: "needs-auth";
|
|
3669
|
-
readonly error?: string | undefined;
|
|
3670
|
-
} | {
|
|
3671
|
-
readonly status: "error";
|
|
3672
|
-
readonly error: string;
|
|
3673
|
-
} | undefined;
|
|
3674
|
-
readonly watchError?: {
|
|
3675
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3676
|
-
readonly message: string;
|
|
3677
|
-
readonly retryable: boolean;
|
|
3678
|
-
} | undefined;
|
|
3679
|
-
readonly replicationError?: {
|
|
3680
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3681
|
-
readonly message: string;
|
|
3682
|
-
readonly recovery: "reconnect" | "session" | "snapshot" | "stop";
|
|
3683
|
-
} | undefined;
|
|
3684
|
-
readonly syncing: boolean;
|
|
3685
|
-
readonly lastSync?: {
|
|
3686
|
-
readonly startedAt: number;
|
|
3687
|
-
readonly finishedAt: number;
|
|
3688
|
-
readonly outcome: "failure" | "interrupted" | "success";
|
|
3689
|
-
readonly error?: {
|
|
3690
|
-
readonly kind: string;
|
|
3691
|
-
readonly message: string;
|
|
3692
|
-
} | undefined;
|
|
3693
|
-
} | undefined;
|
|
3694
|
-
readonly demands: readonly {
|
|
3695
|
-
readonly objectType: string;
|
|
3696
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3697
|
-
readonly references: number;
|
|
3698
|
-
readonly idleUntil?: number | undefined;
|
|
3699
|
-
readonly watchers: number;
|
|
3700
|
-
readonly loadError?: {
|
|
3701
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3702
|
-
readonly message: string;
|
|
3703
|
-
readonly retryable: boolean;
|
|
3704
|
-
} | undefined;
|
|
3705
|
-
readonly watchError?: {
|
|
3706
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3707
|
-
readonly message: string;
|
|
3708
|
-
readonly retryable: boolean;
|
|
3709
|
-
} | undefined;
|
|
3710
|
-
readonly revision: number;
|
|
3711
|
-
readonly installed: number;
|
|
3712
|
-
readonly coveredBy?: {
|
|
3713
|
-
readonly objectType: string;
|
|
3714
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3715
|
-
} | undefined;
|
|
3716
|
-
readonly coverageProof?: {
|
|
3717
|
-
readonly reason: "collection" | "primary-key" | "query";
|
|
3718
|
-
readonly maintainedBy: "journal" | "poll" | "snapshot" | "watch";
|
|
3719
|
-
readonly pollIntervalMs?: number | undefined;
|
|
3720
|
-
} | undefined;
|
|
3721
|
-
}[];
|
|
3722
|
-
readonly outbox: {
|
|
3723
|
-
readonly [x: string]: number;
|
|
3724
|
-
};
|
|
3725
|
-
readonly loads: readonly {
|
|
3726
|
-
readonly id: number;
|
|
3727
|
-
readonly spanId?: string | undefined;
|
|
3728
|
-
readonly traceId?: string | undefined;
|
|
3729
|
-
readonly operation: "loadSubset" | "pullChanges";
|
|
3730
|
-
readonly reason: "demand" | "journal" | "receipt" | "refresh" | "repair";
|
|
3731
|
-
readonly subset?: {
|
|
3732
|
-
readonly objectType: string;
|
|
3733
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3734
|
-
} | undefined;
|
|
3735
|
-
readonly startedAt: number;
|
|
3736
|
-
readonly finishedAt?: number | undefined;
|
|
3737
|
-
readonly outcome: "failure" | "interrupted" | "running" | "success";
|
|
3738
|
-
readonly rows?: number | undefined;
|
|
3739
|
-
readonly fetchedRows?: number | undefined;
|
|
3740
|
-
readonly pushdown?: {
|
|
3741
|
-
readonly source: string;
|
|
3742
|
-
readonly predicates: readonly {
|
|
3743
|
-
readonly path: readonly number[];
|
|
3744
|
-
readonly execution: "adapter" | "candidate" | "engine" | "source";
|
|
3745
|
-
}[];
|
|
3746
|
-
readonly sorting: "adapter" | "engine" | "none" | "source";
|
|
3747
|
-
readonly pagination: "adapter" | "engine" | "none" | "source";
|
|
3748
|
-
readonly rechecksFilter: boolean;
|
|
3749
|
-
readonly native?: {
|
|
3750
|
-
readonly language: string;
|
|
3751
|
-
readonly text: string;
|
|
3752
|
-
} | undefined;
|
|
3753
|
-
} | undefined;
|
|
3754
|
-
readonly commits?: number | undefined;
|
|
3755
|
-
readonly complete?: boolean | undefined;
|
|
3756
|
-
readonly error?: {
|
|
3757
|
-
readonly kind: string;
|
|
3758
|
-
readonly message: string;
|
|
3759
|
-
} | undefined;
|
|
3760
|
-
}[];
|
|
3761
|
-
readonly loadCount: number;
|
|
3762
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<{
|
|
3763
|
-
readonly capacity?: {
|
|
3764
|
-
readonly memory?: {
|
|
3765
|
-
readonly scope: "database" | "filesystem" | "isolate" | "origin" | "process";
|
|
3766
|
-
readonly usedBytes?: number | undefined;
|
|
3767
|
-
readonly limitBytes?: number | undefined;
|
|
3768
|
-
readonly availableBytes?: number | undefined;
|
|
3769
|
-
} | undefined;
|
|
3770
|
-
readonly storage?: {
|
|
3771
|
-
readonly scope: "database" | "filesystem" | "isolate" | "origin" | "process";
|
|
3772
|
-
readonly usedBytes?: number | undefined;
|
|
3773
|
-
readonly limitBytes?: number | undefined;
|
|
3774
|
-
readonly availableBytes?: number | undefined;
|
|
3775
|
-
} | undefined;
|
|
3776
|
-
readonly memoryError?: string | undefined;
|
|
3777
|
-
readonly storageError?: string | undefined;
|
|
3778
|
-
} | undefined;
|
|
3779
|
-
readonly cache?: {
|
|
3780
|
-
readonly attachments?: {
|
|
3781
|
-
readonly bytes: number;
|
|
3782
|
-
readonly maxBytes?: number | undefined;
|
|
3783
|
-
readonly targetBytes?: number | undefined;
|
|
3784
|
-
} | undefined;
|
|
3785
|
-
readonly objects: {
|
|
3786
|
-
readonly byObjectType?: readonly {
|
|
3787
|
-
readonly objectType: string;
|
|
3788
|
-
readonly bytes: number;
|
|
3789
|
-
}[] | undefined;
|
|
3790
|
-
readonly bytes: number;
|
|
3791
|
-
readonly maxBytes?: number | undefined;
|
|
3792
|
-
readonly targetBytes?: number | undefined;
|
|
3793
|
-
};
|
|
3794
|
-
} | undefined;
|
|
3795
|
-
readonly pin?: {
|
|
3796
|
-
readonly ready: boolean;
|
|
3797
|
-
readonly previousGraphRetained: boolean;
|
|
3798
|
-
readonly error?: {
|
|
3799
|
-
readonly kind: string;
|
|
3800
|
-
readonly message: string;
|
|
3801
|
-
} | undefined;
|
|
3802
|
-
} | undefined;
|
|
3803
|
-
readonly sourceId: string;
|
|
3804
|
-
readonly upstreamId: string;
|
|
3805
|
-
readonly mode: "adapter" | "protocol";
|
|
3806
|
-
readonly networkOnline: boolean;
|
|
3807
|
-
readonly authentication?: {
|
|
3808
|
-
readonly status: "pending";
|
|
3809
|
-
} | {
|
|
3810
|
-
readonly status: "active";
|
|
3811
|
-
readonly expiration?: {
|
|
3812
|
-
readonly expiresAt: number;
|
|
3813
|
-
readonly refreshable: boolean;
|
|
3814
|
-
} | undefined;
|
|
3815
|
-
} | {
|
|
3816
|
-
readonly status: "inactive";
|
|
3817
|
-
} | {
|
|
3818
|
-
readonly status: "needs-auth";
|
|
3819
|
-
readonly error?: string | undefined;
|
|
3820
|
-
} | {
|
|
3821
|
-
readonly status: "error";
|
|
3822
|
-
readonly error: string;
|
|
3823
|
-
} | undefined;
|
|
3824
|
-
readonly watchError?: {
|
|
3825
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3826
|
-
readonly message: string;
|
|
3827
|
-
readonly retryable: boolean;
|
|
3828
|
-
} | undefined;
|
|
3829
|
-
readonly replicationError?: {
|
|
3830
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3831
|
-
readonly message: string;
|
|
3832
|
-
readonly recovery: "reconnect" | "session" | "snapshot" | "stop";
|
|
3833
|
-
} | undefined;
|
|
3834
|
-
readonly syncing: boolean;
|
|
3835
|
-
readonly lastSync?: {
|
|
3836
|
-
readonly startedAt: number;
|
|
3837
|
-
readonly finishedAt: number;
|
|
3838
|
-
readonly outcome: "failure" | "interrupted" | "success";
|
|
3839
|
-
readonly error?: {
|
|
3840
|
-
readonly kind: string;
|
|
3841
|
-
readonly message: string;
|
|
3842
|
-
} | undefined;
|
|
3843
|
-
} | undefined;
|
|
3844
|
-
readonly demands: readonly {
|
|
3845
|
-
readonly objectType: string;
|
|
3846
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3847
|
-
readonly references: number;
|
|
3848
|
-
readonly idleUntil?: number | undefined;
|
|
3849
|
-
readonly watchers: number;
|
|
3850
|
-
readonly loadError?: {
|
|
3851
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3852
|
-
readonly message: string;
|
|
3853
|
-
readonly retryable: boolean;
|
|
3854
|
-
} | undefined;
|
|
3855
|
-
readonly watchError?: {
|
|
3856
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
3857
|
-
readonly message: string;
|
|
3858
|
-
readonly retryable: boolean;
|
|
3859
|
-
} | undefined;
|
|
3860
|
-
readonly revision: number;
|
|
3861
|
-
readonly installed: number;
|
|
3862
|
-
readonly coveredBy?: {
|
|
3863
|
-
readonly objectType: string;
|
|
3864
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3865
|
-
} | undefined;
|
|
3866
|
-
readonly coverageProof?: {
|
|
3867
|
-
readonly reason: "collection" | "primary-key" | "query";
|
|
3868
|
-
readonly maintainedBy: "journal" | "poll" | "snapshot" | "watch";
|
|
3869
|
-
readonly pollIntervalMs?: number | undefined;
|
|
3870
|
-
} | undefined;
|
|
3871
|
-
}[];
|
|
3872
|
-
readonly outbox: {
|
|
3873
|
-
readonly [x: string]: number;
|
|
3874
|
-
};
|
|
3875
|
-
readonly loads: readonly {
|
|
3876
|
-
readonly id: number;
|
|
3877
|
-
readonly spanId?: string | undefined;
|
|
3878
|
-
readonly traceId?: string | undefined;
|
|
3879
|
-
readonly operation: "loadSubset" | "pullChanges";
|
|
3880
|
-
readonly reason: "demand" | "journal" | "receipt" | "refresh" | "repair";
|
|
3881
|
-
readonly subset?: {
|
|
3882
|
-
readonly objectType: string;
|
|
3883
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
3884
|
-
} | undefined;
|
|
3885
|
-
readonly startedAt: number;
|
|
3886
|
-
readonly finishedAt?: number | undefined;
|
|
3887
|
-
readonly outcome: "failure" | "interrupted" | "running" | "success";
|
|
3888
|
-
readonly rows?: number | undefined;
|
|
3889
|
-
readonly fetchedRows?: number | undefined;
|
|
3890
|
-
readonly pushdown?: {
|
|
3891
|
-
readonly source: string;
|
|
3892
|
-
readonly predicates: readonly {
|
|
3893
|
-
readonly path: readonly number[];
|
|
3894
|
-
readonly execution: "adapter" | "candidate" | "engine" | "source";
|
|
3895
|
-
}[];
|
|
3896
|
-
readonly sorting: "adapter" | "engine" | "none" | "source";
|
|
3897
|
-
readonly pagination: "adapter" | "engine" | "none" | "source";
|
|
3898
|
-
readonly rechecksFilter: boolean;
|
|
3899
|
-
readonly native?: {
|
|
3900
|
-
readonly language: string;
|
|
3901
|
-
readonly text: string;
|
|
3902
|
-
} | undefined;
|
|
3903
|
-
} | undefined;
|
|
3904
|
-
readonly commits?: number | undefined;
|
|
3905
|
-
readonly complete?: boolean | undefined;
|
|
3906
|
-
readonly error?: {
|
|
3907
|
-
readonly kind: string;
|
|
3908
|
-
readonly message: string;
|
|
3909
|
-
} | undefined;
|
|
3910
|
-
}[];
|
|
3911
|
-
readonly loadCount: number;
|
|
3912
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
3913
|
-
readonly ResolveActionParameters: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3914
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3915
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3916
|
-
readonly discard?: Discard | undefined;
|
|
3917
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3918
|
-
readonly [x: string]: unknown;
|
|
3919
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3920
|
-
readonly SetPin: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3921
|
-
readonly query: unknown;
|
|
3922
|
-
readonly options?: unknown;
|
|
3923
|
-
}, options?: {
|
|
3924
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3925
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3926
|
-
readonly discard?: Discard | undefined;
|
|
3927
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
3928
|
-
readonly Submit: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
3929
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
3930
|
-
readonly context?: Context.Context<never> | undefined;
|
|
3931
|
-
readonly discard?: Discard | undefined;
|
|
3932
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3933
|
-
readonly state: {
|
|
3934
|
-
readonly sourceId: string;
|
|
3935
|
-
readonly revision: number;
|
|
3936
|
-
readonly definition: string;
|
|
3937
|
-
readonly view?: {
|
|
3938
|
-
readonly generation: number;
|
|
3939
|
-
} | undefined;
|
|
3940
|
-
readonly objects: readonly {
|
|
3941
|
-
readonly objectType: string;
|
|
3942
|
-
readonly base: readonly {
|
|
3943
|
-
readonly key: string | number;
|
|
3944
|
-
readonly value: {
|
|
3945
|
-
readonly [x: string]: unknown;
|
|
3946
|
-
};
|
|
3947
|
-
}[];
|
|
3948
|
-
readonly overrides: readonly {
|
|
3949
|
-
readonly key: string | number;
|
|
3950
|
-
readonly value: {
|
|
3951
|
-
readonly deleted: true;
|
|
3952
|
-
} | {
|
|
3953
|
-
readonly deleted: false;
|
|
3954
|
-
readonly value: {
|
|
3955
|
-
readonly [x: string]: unknown;
|
|
3956
|
-
};
|
|
3957
|
-
};
|
|
3958
|
-
}[];
|
|
3959
|
-
}[];
|
|
3960
|
-
readonly pending: readonly {
|
|
3961
|
-
readonly invocation: {
|
|
3962
|
-
readonly id: string;
|
|
3963
|
-
readonly name: string;
|
|
3964
|
-
readonly parameters: {
|
|
3965
|
-
readonly [x: string]: unknown;
|
|
3966
|
-
};
|
|
3967
|
-
readonly replay?: {
|
|
3968
|
-
readonly now: string;
|
|
3969
|
-
readonly seed: string;
|
|
3970
|
-
} | undefined;
|
|
3971
|
-
};
|
|
3972
|
-
readonly requestIdentity: string;
|
|
3973
|
-
readonly createdAt: number;
|
|
3974
|
-
readonly sequence: number;
|
|
3975
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
3976
|
-
readonly optimistic: boolean;
|
|
3977
|
-
readonly attempts: number;
|
|
3978
|
-
readonly retryFromAttempt?: number | undefined;
|
|
3979
|
-
readonly nextAttemptAt?: number | undefined;
|
|
3980
|
-
readonly failureMessage?: string | undefined;
|
|
3981
|
-
readonly failureIssues?: readonly {
|
|
3982
|
-
readonly message: string;
|
|
3983
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
3984
|
-
readonly code?: string | undefined;
|
|
3985
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
3986
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
3987
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
3988
|
-
}[] | undefined;
|
|
3989
|
-
readonly completedAt?: number | undefined;
|
|
3990
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
3991
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
3992
|
-
readonly failureRetryable?: boolean | undefined;
|
|
3993
|
-
readonly receipt?: {
|
|
3994
|
-
readonly operationId: string;
|
|
3995
|
-
readonly outcome: "committed";
|
|
3996
|
-
readonly result?: unknown;
|
|
3997
|
-
readonly cursor?: string | undefined;
|
|
3998
|
-
readonly providerOperationId?: string | undefined;
|
|
3999
|
-
readonly affected?: readonly {
|
|
4000
|
-
readonly objectType: string;
|
|
4001
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
4002
|
-
}[] | undefined;
|
|
4003
|
-
readonly affectedComplete?: boolean | undefined;
|
|
4004
|
-
readonly attachmentIdMappings?: readonly {
|
|
4005
|
-
readonly localId: string;
|
|
4006
|
-
readonly remoteId: string;
|
|
4007
|
-
}[] | undefined;
|
|
4008
|
-
} | undefined;
|
|
4009
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
4010
|
-
readonly touchedTypes: readonly string[];
|
|
4011
|
-
readonly submission?: {
|
|
4012
|
-
readonly clientId: string;
|
|
4013
|
-
readonly sequence: number;
|
|
4014
|
-
} | undefined;
|
|
4015
|
-
}[];
|
|
4016
|
-
readonly completed: readonly {
|
|
4017
|
-
readonly invocation: {
|
|
4018
|
-
readonly id: string;
|
|
4019
|
-
readonly name: string;
|
|
4020
|
-
readonly parameters: {
|
|
4021
|
-
readonly [x: string]: unknown;
|
|
4022
|
-
};
|
|
4023
|
-
readonly replay?: {
|
|
4024
|
-
readonly now: string;
|
|
4025
|
-
readonly seed: string;
|
|
4026
|
-
} | undefined;
|
|
4027
|
-
};
|
|
4028
|
-
readonly requestIdentity: string;
|
|
4029
|
-
readonly createdAt: number;
|
|
4030
|
-
readonly sequence: number;
|
|
4031
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
4032
|
-
readonly optimistic: boolean;
|
|
4033
|
-
readonly attempts: number;
|
|
4034
|
-
readonly retryFromAttempt?: number | undefined;
|
|
4035
|
-
readonly nextAttemptAt?: number | undefined;
|
|
4036
|
-
readonly failureMessage?: string | undefined;
|
|
4037
|
-
readonly failureIssues?: readonly {
|
|
4038
|
-
readonly message: string;
|
|
4039
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
4040
|
-
readonly code?: string | undefined;
|
|
4041
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
4042
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
4043
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
4044
|
-
}[] | undefined;
|
|
4045
|
-
readonly completedAt?: number | undefined;
|
|
4046
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
4047
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
4048
|
-
readonly failureRetryable?: boolean | undefined;
|
|
4049
|
-
readonly receipt?: {
|
|
4050
|
-
readonly operationId: string;
|
|
4051
|
-
readonly outcome: "committed";
|
|
4052
|
-
readonly result?: unknown;
|
|
4053
|
-
readonly cursor?: string | undefined;
|
|
4054
|
-
readonly providerOperationId?: string | undefined;
|
|
4055
|
-
readonly affected?: readonly {
|
|
4056
|
-
readonly objectType: string;
|
|
4057
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
4058
|
-
}[] | undefined;
|
|
4059
|
-
readonly affectedComplete?: boolean | undefined;
|
|
4060
|
-
readonly attachmentIdMappings?: readonly {
|
|
4061
|
-
readonly localId: string;
|
|
4062
|
-
readonly remoteId: string;
|
|
4063
|
-
}[] | undefined;
|
|
4064
|
-
} | undefined;
|
|
4065
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
4066
|
-
readonly touchedTypes: readonly string[];
|
|
4067
|
-
readonly submission?: {
|
|
4068
|
-
readonly clientId: string;
|
|
4069
|
-
readonly sequence: number;
|
|
4070
|
-
} | undefined;
|
|
4071
|
-
}[];
|
|
4072
|
-
};
|
|
4073
|
-
readonly client: {
|
|
4074
|
-
readonly client: {
|
|
4075
|
-
readonly sourceId: string;
|
|
4076
|
-
readonly clientId: string;
|
|
4077
|
-
readonly resumeKey: string;
|
|
4078
|
-
};
|
|
4079
|
-
readonly connectionId: string;
|
|
4080
|
-
readonly expiresAt: number;
|
|
4081
|
-
readonly acceptedThrough: number;
|
|
4082
|
-
readonly acknowledgedThrough: number;
|
|
4083
|
-
readonly deliveredThrough: number;
|
|
4084
|
-
readonly deliveredRevision: number;
|
|
4085
|
-
readonly appliedRevision: number;
|
|
4086
|
-
readonly viewGeneration?: number | undefined;
|
|
4087
|
-
readonly viewIdentity?: string | undefined;
|
|
4088
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
4089
|
-
};
|
|
4090
|
-
readonly coverage?: readonly {
|
|
4091
|
-
readonly subset: {
|
|
4092
|
-
readonly objectType: string;
|
|
4093
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
4094
|
-
};
|
|
4095
|
-
readonly complete: boolean;
|
|
4096
|
-
readonly cached?: boolean | undefined;
|
|
4097
|
-
}[] | undefined;
|
|
4098
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
4099
|
-
readonly SubscribeSelection: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
4100
|
-
readonly selection: unknown;
|
|
4101
|
-
readonly resume?: {
|
|
4102
|
-
readonly streamId: string;
|
|
4103
|
-
readonly sequence: number;
|
|
4104
|
-
} | undefined;
|
|
4105
|
-
}, options?: {
|
|
4106
|
-
readonly asQueue?: AsQueue | undefined;
|
|
4107
|
-
readonly streamBufferSize?: number | undefined;
|
|
4108
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4109
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4110
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<{
|
|
4111
|
-
readonly streamId: string;
|
|
4112
|
-
readonly sequence: number;
|
|
4113
|
-
readonly previous: number;
|
|
4114
|
-
readonly part: number;
|
|
4115
|
-
readonly kind: "patch" | "snapshot";
|
|
4116
|
-
readonly changes: readonly ({
|
|
4117
|
-
readonly kind: "put";
|
|
4118
|
-
readonly record: {
|
|
4119
|
-
readonly kind: "base";
|
|
4120
|
-
readonly objectType: string;
|
|
4121
|
-
readonly key: string | number;
|
|
4122
|
-
readonly value: {
|
|
4123
|
-
readonly [x: string]: unknown;
|
|
4124
|
-
};
|
|
4125
|
-
} | {
|
|
4126
|
-
readonly kind: "override";
|
|
4127
|
-
readonly objectType: string;
|
|
4128
|
-
readonly key: string | number;
|
|
4129
|
-
readonly value: {
|
|
4130
|
-
readonly deleted: true;
|
|
4131
|
-
} | {
|
|
4132
|
-
readonly deleted: false;
|
|
4133
|
-
readonly value: {
|
|
4134
|
-
readonly [x: string]: unknown;
|
|
4135
|
-
};
|
|
4136
|
-
};
|
|
4137
|
-
} | {
|
|
4138
|
-
readonly kind: "completed" | "pending";
|
|
4139
|
-
readonly id: string;
|
|
4140
|
-
readonly value: {
|
|
4141
|
-
readonly invocation: {
|
|
4142
|
-
readonly id: string;
|
|
4143
|
-
readonly name: string;
|
|
4144
|
-
readonly parameters: {
|
|
4145
|
-
readonly [x: string]: unknown;
|
|
4146
|
-
};
|
|
4147
|
-
readonly replay?: {
|
|
4148
|
-
readonly now: string;
|
|
4149
|
-
readonly seed: string;
|
|
4150
|
-
} | undefined;
|
|
4151
|
-
};
|
|
4152
|
-
readonly requestIdentity: string;
|
|
4153
|
-
readonly createdAt: number;
|
|
4154
|
-
readonly sequence: number;
|
|
4155
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
4156
|
-
readonly optimistic: boolean;
|
|
4157
|
-
readonly attempts: number;
|
|
4158
|
-
readonly retryFromAttempt?: number | undefined;
|
|
4159
|
-
readonly nextAttemptAt?: number | undefined;
|
|
4160
|
-
readonly failureMessage?: string | undefined;
|
|
4161
|
-
readonly failureIssues?: readonly {
|
|
4162
|
-
readonly message: string;
|
|
4163
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
4164
|
-
readonly code?: string | undefined;
|
|
4165
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
4166
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
4167
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
4168
|
-
}[] | undefined;
|
|
4169
|
-
readonly completedAt?: number | undefined;
|
|
4170
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
4171
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
4172
|
-
readonly failureRetryable?: boolean | undefined;
|
|
4173
|
-
readonly receipt?: {
|
|
4174
|
-
readonly operationId: string;
|
|
4175
|
-
readonly outcome: "committed";
|
|
4176
|
-
readonly result?: unknown;
|
|
4177
|
-
readonly cursor?: string | undefined;
|
|
4178
|
-
readonly providerOperationId?: string | undefined;
|
|
4179
|
-
readonly affected?: readonly {
|
|
4180
|
-
readonly objectType: string;
|
|
4181
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
4182
|
-
}[] | undefined;
|
|
4183
|
-
readonly affectedComplete?: boolean | undefined;
|
|
4184
|
-
readonly attachmentIdMappings?: readonly {
|
|
4185
|
-
readonly localId: string;
|
|
4186
|
-
readonly remoteId: string;
|
|
4187
|
-
}[] | undefined;
|
|
4188
|
-
} | undefined;
|
|
4189
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
4190
|
-
readonly touchedTypes: readonly string[];
|
|
4191
|
-
readonly submission?: {
|
|
4192
|
-
readonly clientId: string;
|
|
4193
|
-
readonly sequence: number;
|
|
4194
|
-
} | undefined;
|
|
4195
|
-
};
|
|
4196
|
-
};
|
|
4197
|
-
} | {
|
|
4198
|
-
readonly kind: "remove";
|
|
4199
|
-
readonly ref: {
|
|
4200
|
-
readonly kind: "base" | "override";
|
|
4201
|
-
readonly objectType: string;
|
|
4202
|
-
readonly key: string | number;
|
|
4203
|
-
} | {
|
|
4204
|
-
readonly kind: "completed" | "pending";
|
|
4205
|
-
readonly id: string;
|
|
4206
|
-
};
|
|
4207
|
-
})[];
|
|
4208
|
-
readonly end: boolean;
|
|
4209
|
-
readonly metadata?: {
|
|
4210
|
-
readonly sourceId: string;
|
|
4211
|
-
readonly schemaHash: string;
|
|
4212
|
-
readonly generation: number;
|
|
4213
|
-
readonly revision: number;
|
|
4214
|
-
readonly cursor?: string | undefined;
|
|
4215
|
-
readonly coverage: readonly {
|
|
4216
|
-
readonly subset: {
|
|
4217
|
-
readonly objectType: string;
|
|
4218
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
4219
|
-
};
|
|
4220
|
-
readonly complete: boolean;
|
|
4221
|
-
readonly cached?: boolean | undefined;
|
|
4222
|
-
}[];
|
|
4223
|
-
readonly client?: {
|
|
4224
|
-
readonly client: {
|
|
4225
|
-
readonly sourceId: string;
|
|
4226
|
-
readonly clientId: string;
|
|
4227
|
-
readonly resumeKey: string;
|
|
4228
|
-
};
|
|
4229
|
-
readonly connectionId: string;
|
|
4230
|
-
readonly expiresAt: number;
|
|
4231
|
-
readonly acceptedThrough: number;
|
|
4232
|
-
readonly acknowledgedThrough: number;
|
|
4233
|
-
readonly deliveredThrough: number;
|
|
4234
|
-
readonly deliveredRevision: number;
|
|
4235
|
-
readonly appliedRevision: number;
|
|
4236
|
-
readonly viewGeneration?: number | undefined;
|
|
4237
|
-
readonly viewIdentity?: string | undefined;
|
|
4238
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
4239
|
-
} | undefined;
|
|
4240
|
-
} | undefined;
|
|
4241
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<{
|
|
4242
|
-
readonly streamId: string;
|
|
4243
|
-
readonly sequence: number;
|
|
4244
|
-
readonly previous: number;
|
|
4245
|
-
readonly part: number;
|
|
4246
|
-
readonly kind: "patch" | "snapshot";
|
|
4247
|
-
readonly changes: readonly ({
|
|
4248
|
-
readonly kind: "put";
|
|
4249
|
-
readonly record: {
|
|
4250
|
-
readonly kind: "base";
|
|
4251
|
-
readonly objectType: string;
|
|
4252
|
-
readonly key: string | number;
|
|
4253
|
-
readonly value: {
|
|
4254
|
-
readonly [x: string]: unknown;
|
|
4255
|
-
};
|
|
4256
|
-
} | {
|
|
4257
|
-
readonly kind: "override";
|
|
4258
|
-
readonly objectType: string;
|
|
4259
|
-
readonly key: string | number;
|
|
4260
|
-
readonly value: {
|
|
4261
|
-
readonly deleted: true;
|
|
4262
|
-
} | {
|
|
4263
|
-
readonly deleted: false;
|
|
4264
|
-
readonly value: {
|
|
4265
|
-
readonly [x: string]: unknown;
|
|
4266
|
-
};
|
|
4267
|
-
};
|
|
4268
|
-
} | {
|
|
4269
|
-
readonly kind: "completed" | "pending";
|
|
4270
|
-
readonly id: string;
|
|
4271
|
-
readonly value: {
|
|
4272
|
-
readonly invocation: {
|
|
4273
|
-
readonly id: string;
|
|
4274
|
-
readonly name: string;
|
|
4275
|
-
readonly parameters: {
|
|
4276
|
-
readonly [x: string]: unknown;
|
|
4277
|
-
};
|
|
4278
|
-
readonly replay?: {
|
|
4279
|
-
readonly now: string;
|
|
4280
|
-
readonly seed: string;
|
|
4281
|
-
} | undefined;
|
|
4282
|
-
};
|
|
4283
|
-
readonly requestIdentity: string;
|
|
4284
|
-
readonly createdAt: number;
|
|
4285
|
-
readonly sequence: number;
|
|
4286
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
4287
|
-
readonly optimistic: boolean;
|
|
4288
|
-
readonly attempts: number;
|
|
4289
|
-
readonly retryFromAttempt?: number | undefined;
|
|
4290
|
-
readonly nextAttemptAt?: number | undefined;
|
|
4291
|
-
readonly failureMessage?: string | undefined;
|
|
4292
|
-
readonly failureIssues?: readonly {
|
|
4293
|
-
readonly message: string;
|
|
4294
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
4295
|
-
readonly code?: string | undefined;
|
|
4296
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
4297
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
4298
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
4299
|
-
}[] | undefined;
|
|
4300
|
-
readonly completedAt?: number | undefined;
|
|
4301
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
4302
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
4303
|
-
readonly failureRetryable?: boolean | undefined;
|
|
4304
|
-
readonly receipt?: {
|
|
4305
|
-
readonly operationId: string;
|
|
4306
|
-
readonly outcome: "committed";
|
|
4307
|
-
readonly result?: unknown;
|
|
4308
|
-
readonly cursor?: string | undefined;
|
|
4309
|
-
readonly providerOperationId?: string | undefined;
|
|
4310
|
-
readonly affected?: readonly {
|
|
4311
|
-
readonly objectType: string;
|
|
4312
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
4313
|
-
}[] | undefined;
|
|
4314
|
-
readonly affectedComplete?: boolean | undefined;
|
|
4315
|
-
readonly attachmentIdMappings?: readonly {
|
|
4316
|
-
readonly localId: string;
|
|
4317
|
-
readonly remoteId: string;
|
|
4318
|
-
}[] | undefined;
|
|
4319
|
-
} | undefined;
|
|
4320
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
4321
|
-
readonly touchedTypes: readonly string[];
|
|
4322
|
-
readonly submission?: {
|
|
4323
|
-
readonly clientId: string;
|
|
4324
|
-
readonly sequence: number;
|
|
4325
|
-
} | undefined;
|
|
4326
|
-
};
|
|
4327
|
-
};
|
|
4328
|
-
} | {
|
|
4329
|
-
readonly kind: "remove";
|
|
4330
|
-
readonly ref: {
|
|
4331
|
-
readonly kind: "base" | "override";
|
|
4332
|
-
readonly objectType: string;
|
|
4333
|
-
readonly key: string | number;
|
|
4334
|
-
} | {
|
|
4335
|
-
readonly kind: "completed" | "pending";
|
|
4336
|
-
readonly id: string;
|
|
4337
|
-
};
|
|
4338
|
-
})[];
|
|
4339
|
-
readonly end: boolean;
|
|
4340
|
-
readonly metadata?: {
|
|
4341
|
-
readonly sourceId: string;
|
|
4342
|
-
readonly schemaHash: string;
|
|
4343
|
-
readonly generation: number;
|
|
4344
|
-
readonly revision: number;
|
|
4345
|
-
readonly cursor?: string | undefined;
|
|
4346
|
-
readonly coverage: readonly {
|
|
4347
|
-
readonly subset: {
|
|
4348
|
-
readonly objectType: string;
|
|
4349
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
4350
|
-
};
|
|
4351
|
-
readonly complete: boolean;
|
|
4352
|
-
readonly cached?: boolean | undefined;
|
|
4353
|
-
}[];
|
|
4354
|
-
readonly client?: {
|
|
4355
|
-
readonly client: {
|
|
4356
|
-
readonly sourceId: string;
|
|
4357
|
-
readonly clientId: string;
|
|
4358
|
-
readonly resumeKey: string;
|
|
4359
|
-
};
|
|
4360
|
-
readonly connectionId: string;
|
|
4361
|
-
readonly expiresAt: number;
|
|
4362
|
-
readonly acceptedThrough: number;
|
|
4363
|
-
readonly acknowledgedThrough: number;
|
|
4364
|
-
readonly deliveredThrough: number;
|
|
4365
|
-
readonly deliveredRevision: number;
|
|
4366
|
-
readonly appliedRevision: number;
|
|
4367
|
-
readonly viewGeneration?: number | undefined;
|
|
4368
|
-
readonly viewIdentity?: string | undefined;
|
|
4369
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
4370
|
-
} | undefined;
|
|
4371
|
-
} | undefined;
|
|
4372
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
4373
|
-
readonly SubscribeState: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
4374
|
-
readonly session: {
|
|
4375
|
-
readonly client: {
|
|
4376
|
-
readonly sourceId: string;
|
|
4377
|
-
readonly clientId: string;
|
|
4378
|
-
readonly resumeKey: string;
|
|
4379
|
-
};
|
|
4380
|
-
readonly connectionId: string;
|
|
4381
|
-
};
|
|
4382
|
-
readonly view: unknown;
|
|
4383
|
-
readonly resume?: {
|
|
4384
|
-
readonly streamId: string;
|
|
4385
|
-
readonly sequence: number;
|
|
4386
|
-
} | undefined;
|
|
4387
|
-
}, options?: {
|
|
4388
|
-
readonly asQueue?: AsQueue | undefined;
|
|
4389
|
-
readonly streamBufferSize?: number | undefined;
|
|
4390
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4391
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4392
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<{
|
|
4393
|
-
readonly streamId: string;
|
|
4394
|
-
readonly sequence: number;
|
|
4395
|
-
readonly previous: number;
|
|
4396
|
-
readonly part: number;
|
|
4397
|
-
readonly kind: "patch" | "snapshot";
|
|
4398
|
-
readonly changes: readonly ({
|
|
4399
|
-
readonly kind: "put";
|
|
4400
|
-
readonly record: {
|
|
4401
|
-
readonly kind: "base";
|
|
4402
|
-
readonly objectType: string;
|
|
4403
|
-
readonly key: string | number;
|
|
4404
|
-
readonly value: {
|
|
4405
|
-
readonly [x: string]: unknown;
|
|
4406
|
-
};
|
|
4407
|
-
} | {
|
|
4408
|
-
readonly kind: "override";
|
|
4409
|
-
readonly objectType: string;
|
|
4410
|
-
readonly key: string | number;
|
|
4411
|
-
readonly value: {
|
|
4412
|
-
readonly deleted: true;
|
|
4413
|
-
} | {
|
|
4414
|
-
readonly deleted: false;
|
|
4415
|
-
readonly value: {
|
|
4416
|
-
readonly [x: string]: unknown;
|
|
4417
|
-
};
|
|
4418
|
-
};
|
|
4419
|
-
} | {
|
|
4420
|
-
readonly kind: "completed" | "pending";
|
|
4421
|
-
readonly id: string;
|
|
4422
|
-
readonly value: {
|
|
4423
|
-
readonly invocation: {
|
|
4424
|
-
readonly id: string;
|
|
4425
|
-
readonly name: string;
|
|
4426
|
-
readonly parameters: {
|
|
4427
|
-
readonly [x: string]: unknown;
|
|
4428
|
-
};
|
|
4429
|
-
readonly replay?: {
|
|
4430
|
-
readonly now: string;
|
|
4431
|
-
readonly seed: string;
|
|
4432
|
-
} | undefined;
|
|
4433
|
-
};
|
|
4434
|
-
readonly requestIdentity: string;
|
|
4435
|
-
readonly createdAt: number;
|
|
4436
|
-
readonly sequence: number;
|
|
4437
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
4438
|
-
readonly optimistic: boolean;
|
|
4439
|
-
readonly attempts: number;
|
|
4440
|
-
readonly retryFromAttempt?: number | undefined;
|
|
4441
|
-
readonly nextAttemptAt?: number | undefined;
|
|
4442
|
-
readonly failureMessage?: string | undefined;
|
|
4443
|
-
readonly failureIssues?: readonly {
|
|
4444
|
-
readonly message: string;
|
|
4445
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
4446
|
-
readonly code?: string | undefined;
|
|
4447
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
4448
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
4449
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
4450
|
-
}[] | undefined;
|
|
4451
|
-
readonly completedAt?: number | undefined;
|
|
4452
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
4453
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
4454
|
-
readonly failureRetryable?: boolean | undefined;
|
|
4455
|
-
readonly receipt?: {
|
|
4456
|
-
readonly operationId: string;
|
|
4457
|
-
readonly outcome: "committed";
|
|
4458
|
-
readonly result?: unknown;
|
|
4459
|
-
readonly cursor?: string | undefined;
|
|
4460
|
-
readonly providerOperationId?: string | undefined;
|
|
4461
|
-
readonly affected?: readonly {
|
|
4462
|
-
readonly objectType: string;
|
|
4463
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
4464
|
-
}[] | undefined;
|
|
4465
|
-
readonly affectedComplete?: boolean | undefined;
|
|
4466
|
-
readonly attachmentIdMappings?: readonly {
|
|
4467
|
-
readonly localId: string;
|
|
4468
|
-
readonly remoteId: string;
|
|
4469
|
-
}[] | undefined;
|
|
4470
|
-
} | undefined;
|
|
4471
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
4472
|
-
readonly touchedTypes: readonly string[];
|
|
4473
|
-
readonly submission?: {
|
|
4474
|
-
readonly clientId: string;
|
|
4475
|
-
readonly sequence: number;
|
|
4476
|
-
} | undefined;
|
|
4477
|
-
};
|
|
4478
|
-
};
|
|
4479
|
-
} | {
|
|
4480
|
-
readonly kind: "remove";
|
|
4481
|
-
readonly ref: {
|
|
4482
|
-
readonly kind: "base" | "override";
|
|
4483
|
-
readonly objectType: string;
|
|
4484
|
-
readonly key: string | number;
|
|
4485
|
-
} | {
|
|
4486
|
-
readonly kind: "completed" | "pending";
|
|
4487
|
-
readonly id: string;
|
|
4488
|
-
};
|
|
4489
|
-
})[];
|
|
4490
|
-
readonly end: boolean;
|
|
4491
|
-
readonly metadata?: {
|
|
4492
|
-
readonly sourceId: string;
|
|
4493
|
-
readonly schemaHash: string;
|
|
4494
|
-
readonly generation: number;
|
|
4495
|
-
readonly revision: number;
|
|
4496
|
-
readonly cursor?: string | undefined;
|
|
4497
|
-
readonly coverage: readonly {
|
|
4498
|
-
readonly subset: {
|
|
4499
|
-
readonly objectType: string;
|
|
4500
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
4501
|
-
};
|
|
4502
|
-
readonly complete: boolean;
|
|
4503
|
-
readonly cached?: boolean | undefined;
|
|
4504
|
-
}[];
|
|
4505
|
-
readonly client?: {
|
|
4506
|
-
readonly client: {
|
|
4507
|
-
readonly sourceId: string;
|
|
4508
|
-
readonly clientId: string;
|
|
4509
|
-
readonly resumeKey: string;
|
|
4510
|
-
};
|
|
4511
|
-
readonly connectionId: string;
|
|
4512
|
-
readonly expiresAt: number;
|
|
4513
|
-
readonly acceptedThrough: number;
|
|
4514
|
-
readonly acknowledgedThrough: number;
|
|
4515
|
-
readonly deliveredThrough: number;
|
|
4516
|
-
readonly deliveredRevision: number;
|
|
4517
|
-
readonly appliedRevision: number;
|
|
4518
|
-
readonly viewGeneration?: number | undefined;
|
|
4519
|
-
readonly viewIdentity?: string | undefined;
|
|
4520
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
4521
|
-
} | undefined;
|
|
4522
|
-
} | undefined;
|
|
4523
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<{
|
|
4524
|
-
readonly streamId: string;
|
|
4525
|
-
readonly sequence: number;
|
|
4526
|
-
readonly previous: number;
|
|
4527
|
-
readonly part: number;
|
|
4528
|
-
readonly kind: "patch" | "snapshot";
|
|
4529
|
-
readonly changes: readonly ({
|
|
4530
|
-
readonly kind: "put";
|
|
4531
|
-
readonly record: {
|
|
4532
|
-
readonly kind: "base";
|
|
4533
|
-
readonly objectType: string;
|
|
4534
|
-
readonly key: string | number;
|
|
4535
|
-
readonly value: {
|
|
4536
|
-
readonly [x: string]: unknown;
|
|
4537
|
-
};
|
|
4538
|
-
} | {
|
|
4539
|
-
readonly kind: "override";
|
|
4540
|
-
readonly objectType: string;
|
|
4541
|
-
readonly key: string | number;
|
|
4542
|
-
readonly value: {
|
|
4543
|
-
readonly deleted: true;
|
|
4544
|
-
} | {
|
|
4545
|
-
readonly deleted: false;
|
|
4546
|
-
readonly value: {
|
|
4547
|
-
readonly [x: string]: unknown;
|
|
4548
|
-
};
|
|
4549
|
-
};
|
|
4550
|
-
} | {
|
|
4551
|
-
readonly kind: "completed" | "pending";
|
|
4552
|
-
readonly id: string;
|
|
4553
|
-
readonly value: {
|
|
4554
|
-
readonly invocation: {
|
|
4555
|
-
readonly id: string;
|
|
4556
|
-
readonly name: string;
|
|
4557
|
-
readonly parameters: {
|
|
4558
|
-
readonly [x: string]: unknown;
|
|
4559
|
-
};
|
|
4560
|
-
readonly replay?: {
|
|
4561
|
-
readonly now: string;
|
|
4562
|
-
readonly seed: string;
|
|
4563
|
-
} | undefined;
|
|
4564
|
-
};
|
|
4565
|
-
readonly requestIdentity: string;
|
|
4566
|
-
readonly createdAt: number;
|
|
4567
|
-
readonly sequence: number;
|
|
4568
|
-
readonly state: "acknowledged" | "blocked" | "queued" | "sending";
|
|
4569
|
-
readonly optimistic: boolean;
|
|
4570
|
-
readonly attempts: number;
|
|
4571
|
-
readonly retryFromAttempt?: number | undefined;
|
|
4572
|
-
readonly nextAttemptAt?: number | undefined;
|
|
4573
|
-
readonly failureMessage?: string | undefined;
|
|
4574
|
-
readonly failureIssues?: readonly {
|
|
4575
|
-
readonly message: string;
|
|
4576
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
4577
|
-
readonly code?: string | undefined;
|
|
4578
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
4579
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
4580
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
4581
|
-
}[] | undefined;
|
|
4582
|
-
readonly completedAt?: number | undefined;
|
|
4583
|
-
readonly retryRequiresAcknowledgement?: boolean | undefined;
|
|
4584
|
-
readonly failureOutcome?: "not-committed" | "unknown" | undefined;
|
|
4585
|
-
readonly failureRetryable?: boolean | undefined;
|
|
4586
|
-
readonly receipt?: {
|
|
4587
|
-
readonly operationId: string;
|
|
4588
|
-
readonly outcome: "committed";
|
|
4589
|
-
readonly result?: unknown;
|
|
4590
|
-
readonly cursor?: string | undefined;
|
|
4591
|
-
readonly providerOperationId?: string | undefined;
|
|
4592
|
-
readonly affected?: readonly {
|
|
4593
|
-
readonly objectType: string;
|
|
4594
|
-
readonly keys?: readonly (string | number)[] | undefined;
|
|
4595
|
-
}[] | undefined;
|
|
4596
|
-
readonly affectedComplete?: boolean | undefined;
|
|
4597
|
-
readonly attachmentIdMappings?: readonly {
|
|
4598
|
-
readonly localId: string;
|
|
4599
|
-
readonly remoteId: string;
|
|
4600
|
-
}[] | undefined;
|
|
4601
|
-
} | undefined;
|
|
4602
|
-
readonly failure?: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced" | undefined;
|
|
4603
|
-
readonly touchedTypes: readonly string[];
|
|
4604
|
-
readonly submission?: {
|
|
4605
|
-
readonly clientId: string;
|
|
4606
|
-
readonly sequence: number;
|
|
4607
|
-
} | undefined;
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
} | {
|
|
4611
|
-
readonly kind: "remove";
|
|
4612
|
-
readonly ref: {
|
|
4613
|
-
readonly kind: "base" | "override";
|
|
4614
|
-
readonly objectType: string;
|
|
4615
|
-
readonly key: string | number;
|
|
4616
|
-
} | {
|
|
4617
|
-
readonly kind: "completed" | "pending";
|
|
4618
|
-
readonly id: string;
|
|
4619
|
-
};
|
|
4620
|
-
})[];
|
|
4621
|
-
readonly end: boolean;
|
|
4622
|
-
readonly metadata?: {
|
|
4623
|
-
readonly sourceId: string;
|
|
4624
|
-
readonly schemaHash: string;
|
|
4625
|
-
readonly generation: number;
|
|
4626
|
-
readonly revision: number;
|
|
4627
|
-
readonly cursor?: string | undefined;
|
|
4628
|
-
readonly coverage: readonly {
|
|
4629
|
-
readonly subset: {
|
|
4630
|
-
readonly objectType: string;
|
|
4631
|
-
readonly query?: import("@party-stack/ontology-storage").Query | undefined;
|
|
4632
|
-
};
|
|
4633
|
-
readonly complete: boolean;
|
|
4634
|
-
readonly cached?: boolean | undefined;
|
|
4635
|
-
}[];
|
|
4636
|
-
readonly client?: {
|
|
4637
|
-
readonly client: {
|
|
4638
|
-
readonly sourceId: string;
|
|
4639
|
-
readonly clientId: string;
|
|
4640
|
-
readonly resumeKey: string;
|
|
4641
|
-
};
|
|
4642
|
-
readonly connectionId: string;
|
|
4643
|
-
readonly expiresAt: number;
|
|
4644
|
-
readonly acceptedThrough: number;
|
|
4645
|
-
readonly acknowledgedThrough: number;
|
|
4646
|
-
readonly deliveredThrough: number;
|
|
4647
|
-
readonly deliveredRevision: number;
|
|
4648
|
-
readonly appliedRevision: number;
|
|
4649
|
-
readonly viewGeneration?: number | undefined;
|
|
4650
|
-
readonly viewIdentity?: string | undefined;
|
|
4651
|
-
readonly deliveredViewGeneration?: number | undefined;
|
|
4652
|
-
} | undefined;
|
|
4653
|
-
} | undefined;
|
|
4654
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
4655
|
-
readonly Traces: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
4656
|
-
readonly asQueue?: AsQueue | undefined;
|
|
4657
|
-
readonly streamBufferSize?: number | undefined;
|
|
4658
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4659
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4660
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<readonly {
|
|
4661
|
-
readonly id: string;
|
|
4662
|
-
readonly traceId: string;
|
|
4663
|
-
readonly parentId?: string | undefined;
|
|
4664
|
-
readonly name: string;
|
|
4665
|
-
readonly startedAt: number;
|
|
4666
|
-
readonly durationMs: number;
|
|
4667
|
-
readonly outcome: "failure" | "interrupted" | "running" | "success";
|
|
4668
|
-
readonly error?: {
|
|
4669
|
-
readonly kind: "Defect" | "Error";
|
|
4670
|
-
readonly message: string;
|
|
4671
|
-
} | undefined;
|
|
4672
|
-
readonly events?: readonly {
|
|
4673
|
-
readonly name: string;
|
|
4674
|
-
readonly at: number;
|
|
4675
|
-
readonly attributes: {
|
|
4676
|
-
readonly [x: string]: string | number | boolean;
|
|
4677
|
-
};
|
|
4678
|
-
}[] | undefined;
|
|
4679
|
-
readonly eventCount?: number | undefined;
|
|
4680
|
-
readonly attributes: {
|
|
4681
|
-
readonly [x: string]: string | number | boolean;
|
|
4682
|
-
};
|
|
4683
|
-
}[], BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<readonly {
|
|
4684
|
-
readonly id: string;
|
|
4685
|
-
readonly traceId: string;
|
|
4686
|
-
readonly parentId?: string | undefined;
|
|
4687
|
-
readonly name: string;
|
|
4688
|
-
readonly startedAt: number;
|
|
4689
|
-
readonly durationMs: number;
|
|
4690
|
-
readonly outcome: "failure" | "interrupted" | "running" | "success";
|
|
4691
|
-
readonly error?: {
|
|
4692
|
-
readonly kind: "Defect" | "Error";
|
|
4693
|
-
readonly message: string;
|
|
4694
|
-
} | undefined;
|
|
4695
|
-
readonly events?: readonly {
|
|
4696
|
-
readonly name: string;
|
|
4697
|
-
readonly at: number;
|
|
4698
|
-
readonly attributes: {
|
|
4699
|
-
readonly [x: string]: string | number | boolean;
|
|
4700
|
-
};
|
|
4701
|
-
}[] | undefined;
|
|
4702
|
-
readonly eventCount?: number | undefined;
|
|
4703
|
-
readonly attributes: {
|
|
4704
|
-
readonly [x: string]: string | number | boolean;
|
|
4705
|
-
};
|
|
4706
|
-
}[], BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
4707
|
-
readonly ValidateAction: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
4708
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4709
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4710
|
-
readonly discard?: Discard | undefined;
|
|
4711
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
4712
|
-
readonly certain: false;
|
|
4713
|
-
} | {
|
|
4714
|
-
readonly certain: true;
|
|
4715
|
-
readonly value: {
|
|
4716
|
-
readonly kind: "ok";
|
|
4717
|
-
readonly value: void;
|
|
4718
|
-
} | {
|
|
4719
|
-
readonly kind: "err";
|
|
4720
|
-
readonly value: readonly {
|
|
4721
|
-
readonly message: string;
|
|
4722
|
-
readonly path?: readonly (string | number)[] | undefined;
|
|
4723
|
-
readonly code?: string | undefined;
|
|
4724
|
-
readonly category?: "custom" | "input" | "reference" | undefined;
|
|
4725
|
-
readonly source?: "parameter" | "submission" | "user-facing" | undefined;
|
|
4726
|
-
readonly messageSource?: "configured" | "standard" | undefined;
|
|
4727
|
-
}[];
|
|
4728
|
-
};
|
|
4729
|
-
}, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
4730
|
-
readonly WatchChanges: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
4731
|
-
readonly asQueue?: AsQueue | undefined;
|
|
4732
|
-
readonly streamBufferSize?: number | undefined;
|
|
4733
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4734
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4735
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<"invalidate", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<"invalidate", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
4736
|
-
readonly WatchPin: <const AsQueue extends boolean = false, const Discard = false>(input: void, options?: {
|
|
4737
|
-
readonly asQueue?: AsQueue | undefined;
|
|
4738
|
-
readonly streamBufferSize?: number | undefined;
|
|
4739
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4740
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4741
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<{
|
|
4742
|
-
readonly query: import("@party-stack/ontology-spec").QueryDocument;
|
|
4743
|
-
readonly inputs?: {
|
|
4744
|
-
readonly [x: string]: unknown;
|
|
4745
|
-
} | undefined;
|
|
4746
|
-
readonly attachments: "all" | "none";
|
|
4747
|
-
readonly ready: boolean;
|
|
4748
|
-
readonly previousGraphRetained: boolean;
|
|
4749
|
-
readonly retainedGraph?: {
|
|
4750
|
-
readonly query: import("@party-stack/ontology-spec").QueryDocument;
|
|
4751
|
-
readonly inputs?: {
|
|
4752
|
-
readonly [x: string]: unknown;
|
|
4753
|
-
} | undefined;
|
|
4754
|
-
readonly attachments: "all" | "none";
|
|
4755
|
-
} | undefined;
|
|
4756
|
-
readonly error?: {
|
|
4757
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
4758
|
-
readonly message: string;
|
|
4759
|
-
} | undefined;
|
|
4760
|
-
} | undefined, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<{
|
|
4761
|
-
readonly query: import("@party-stack/ontology-spec").QueryDocument;
|
|
4762
|
-
readonly inputs?: {
|
|
4763
|
-
readonly [x: string]: unknown;
|
|
4764
|
-
} | undefined;
|
|
4765
|
-
readonly attachments: "all" | "none";
|
|
4766
|
-
readonly ready: boolean;
|
|
4767
|
-
readonly previousGraphRetained: boolean;
|
|
4768
|
-
readonly retainedGraph?: {
|
|
4769
|
-
readonly query: import("@party-stack/ontology-spec").QueryDocument;
|
|
4770
|
-
readonly inputs?: {
|
|
4771
|
-
readonly [x: string]: unknown;
|
|
4772
|
-
} | undefined;
|
|
4773
|
-
readonly attachments: "all" | "none";
|
|
4774
|
-
} | undefined;
|
|
4775
|
-
readonly error?: {
|
|
4776
|
-
readonly kind: "Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced";
|
|
4777
|
-
readonly message: string;
|
|
4778
|
-
} | undefined;
|
|
4779
|
-
} | undefined, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
4780
|
-
readonly WatchSubset: <const AsQueue extends boolean = false, const Discard = false>(input: unknown, options?: {
|
|
4781
|
-
readonly asQueue?: AsQueue | undefined;
|
|
4782
|
-
readonly streamBufferSize?: number | undefined;
|
|
4783
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4784
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4785
|
-
} | undefined) => AsQueue extends true ? Effect.Effect<import("effect/Queue").Dequeue<"invalidate" | "reset", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | Cause.Done<void> | import("effect/rpc/RpcClientError").RpcClientError>, never, Scope.Scope> : Stream.Stream<"invalidate" | "reset", BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError, never>;
|
|
4786
|
-
readonly WriteAttachmentChunk: <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
4787
|
-
readonly uploadId: string;
|
|
4788
|
-
readonly sequence: number;
|
|
4789
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
4790
|
-
readonly end: boolean;
|
|
4791
|
-
}, options?: {
|
|
4792
|
-
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
4793
|
-
readonly context?: Context.Context<never> | undefined;
|
|
4794
|
-
readonly discard?: Discard | undefined;
|
|
4795
|
-
} | undefined) => Effect.Effect<Discard extends true ? void : void, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced"> | import("effect/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">), never>;
|
|
4796
|
-
}, options?: OntologyClientOptions | undefined) => Effect.Effect<OntologyClient, BackendError<"Conflict" | "Forbidden" | "HistoryExpired" | "Internal" | "InvalidConfiguration" | "InvalidRequest" | "InvalidResponse" | "NotFound" | "NotImplemented" | "RateLimited" | "ResultExpired" | "SchemaMismatch" | "SessionExpired" | "SessionReplaced" | "SourceMismatch" | "Unauthenticated" | "Unavailable" | "ValidationFailed" | "ViewReplaced">, Scope.Scope>;
|
|
3114
|
+
export declare const makeOntologyProtocolClient: (client: OntologyRpcClient, options?: OntologyClientOptions) => Effect.Effect<OntologyClient, BackendError, Scope.Scope>;
|
|
3115
|
+
/** Same-runtime transports without serialization receive the server's own,
|
|
3116
|
+
* already validated description. Skip the defensive wire copy: re-encoding and
|
|
3117
|
+
* decoding a large definition dominates startup on mobile JavaScript engines,
|
|
3118
|
+
* and sharing the definition object lets per-definition signature caches apply.
|
|
3119
|
+
*/
|
|
3120
|
+
export declare const makeTrustedOntologyProtocolClient: (client: OntologyRpcClient, options?: OntologyClientOptions) => Effect.Effect<OntologyClient, BackendError, Scope.Scope>;
|
|
4797
3121
|
//#endregion
|
|
4798
3122
|
export { type OntologyDescription, errorProjectionLayer };
|
|
4799
3123
|
//# sourceMappingURL=rpc.d.ts.map
|