Migrate TODO implementations to generated candidate bindings
This commit is contained in:
Vendored
+3
-1
@@ -1,5 +1,5 @@
|
||||
import { type Value } from "./camino/api_pb.js";
|
||||
import { type RuntimeHandler, type DerivedHandler } from "./index.js";
|
||||
import { liveValue, type RuntimeHandler, type DerivedHandler } from "./index.js";
|
||||
export type { QxObjectRef } from "./references.js";
|
||||
declare const watchBrand: unique symbol;
|
||||
export type QxWatchHandle = string & {
|
||||
@@ -9,6 +9,8 @@ export type MessageBinding<T> = {
|
||||
encode(value: T): Value;
|
||||
decode(value: Value): T;
|
||||
};
|
||||
export type QxLiveValue = ReturnType<typeof liveValue>;
|
||||
export declare const opaqueReactPropsBinding: MessageBinding<Record<string, unknown>>;
|
||||
export type BindingValue<B> = B extends MessageBinding<infer T> ? T : never;
|
||||
export type QxHandler<C, O> = (context: C) => O | Promise<O>;
|
||||
export type QxDerived<C, O> = {
|
||||
|
||||
Reference in New Issue
Block a user