Files
camino-package-runtime/dist/quixos/runtime_pb.d.ts
T

212 lines
6.0 KiB
TypeScript
Raw Normal View History

import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
import type { Value } from "../camino/api_pb.js";
import type { FunctionRef } from "./refs_pb.js";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file quixos/runtime.proto.
*/
export declare const file_quixos_runtime: GenFile;
/**
* @generated from message quixos.runtime.HandshakeRequest
*/
export type HandshakeRequest = Message<"quixos.runtime.HandshakeRequest"> & {
/**
* @generated from field: string orch_protocol_version = 1;
*/
orchProtocolVersion: string;
};
/**
* Describes the message quixos.runtime.HandshakeRequest.
* Use `create(HandshakeRequestSchema)` to create a new message.
*/
export declare const HandshakeRequestSchema: GenMessage<HandshakeRequest>;
/**
* @generated from message quixos.runtime.HandshakeResponse
*/
export type HandshakeResponse = Message<"quixos.runtime.HandshakeResponse"> & {
/**
* @generated from field: string package_namespace = 1;
*/
packageNamespace: string;
/**
* @generated from field: string package_name = 2;
*/
packageName: string;
/**
* @generated from field: string runtime_protocol_version = 3;
*/
runtimeProtocolVersion: string;
/**
* @generated from field: repeated quixos.FunctionRef functions = 4;
*/
functions: FunctionRef[];
};
/**
* Describes the message quixos.runtime.HandshakeResponse.
* Use `create(HandshakeResponseSchema)` to create a new message.
*/
export declare const HandshakeResponseSchema: GenMessage<HandshakeResponse>;
/**
* @generated from message quixos.runtime.InvokeRequest
*/
export type InvokeRequest = Message<"quixos.runtime.InvokeRequest"> & {
/**
* @generated from field: string invocation_id = 1;
*/
invocationId: string;
/**
* @generated from field: quixos.FunctionRef function = 2;
*/
function?: FunctionRef | undefined;
/**
* @generated from field: string object_id = 3;
*/
objectId: string;
/**
* @generated from field: map<string, camino.Value> input = 4;
*/
input: {
[key: string]: Value;
};
};
/**
* Describes the message quixos.runtime.InvokeRequest.
* Use `create(InvokeRequestSchema)` to create a new message.
*/
export declare const InvokeRequestSchema: GenMessage<InvokeRequest>;
/**
* @generated from message quixos.runtime.InvokeResponse
*/
export type InvokeResponse = Message<"quixos.runtime.InvokeResponse"> & {
/**
* @generated from field: bool ok = 1;
*/
ok: boolean;
/**
* @generated from field: camino.Value result = 2;
*/
result?: Value | undefined;
/**
* @generated from field: string error = 3;
*/
error: string;
};
/**
* Describes the message quixos.runtime.InvokeResponse.
* Use `create(InvokeResponseSchema)` to create a new message.
*/
export declare const InvokeResponseSchema: GenMessage<InvokeResponse>;
/**
* @generated from message quixos.runtime.WatchRequest
*/
export type WatchRequest = Message<"quixos.runtime.WatchRequest"> & {
/**
* @generated from field: string invocation_id = 1;
*/
invocationId: string;
/**
* @generated from field: quixos.FunctionRef function = 2;
*/
function?: FunctionRef | undefined;
/**
* @generated from field: string object_id = 3;
*/
objectId: string;
/**
* @generated from field: map<string, camino.Value> input = 4;
*/
input: {
[key: string]: Value;
};
};
/**
* Describes the message quixos.runtime.WatchRequest.
* Use `create(WatchRequestSchema)` to create a new message.
*/
export declare const WatchRequestSchema: GenMessage<WatchRequest>;
/**
* @generated from message quixos.runtime.DerivedDependency
*/
export type DerivedDependency = Message<"quixos.runtime.DerivedDependency"> & {
/**
* @generated from field: string kind = 1;
*/
kind: string;
/**
* @generated from field: string object_id = 2;
*/
objectId: string;
/**
* @generated from field: string field_name = 3;
*/
fieldName: string;
/**
* @generated from field: string source_field = 4;
*/
sourceField: string;
};
/**
* Describes the message quixos.runtime.DerivedDependency.
* Use `create(DerivedDependencySchema)` to create a new message.
*/
export declare const DerivedDependencySchema: GenMessage<DerivedDependency>;
/**
* @generated from message quixos.runtime.WatchEvent
*/
export type WatchEvent = Message<"quixos.runtime.WatchEvent"> & {
/**
* @generated from field: string watch_id = 1;
*/
watchId: string;
/**
* @generated from field: camino.Value value = 2;
*/
value?: Value | undefined;
/**
* @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 3;
*/
dependencies: DerivedDependency[];
/**
* @generated from field: string error = 4;
*/
error: string;
/**
* @generated from field: bool initial = 5;
*/
initial: boolean;
};
/**
* Describes the message quixos.runtime.WatchEvent.
* Use `create(WatchEventSchema)` to create a new message.
*/
export declare const WatchEventSchema: GenMessage<WatchEvent>;
/**
* @generated from service quixos.runtime.PackageRuntime
*/
export declare const PackageRuntime: GenService<{
/**
* @generated from rpc quixos.runtime.PackageRuntime.Handshake
*/
handshake: {
methodKind: "unary";
input: typeof HandshakeRequestSchema;
output: typeof HandshakeResponseSchema;
};
/**
* @generated from rpc quixos.runtime.PackageRuntime.Invoke
*/
invoke: {
methodKind: "unary";
input: typeof InvokeRequestSchema;
output: typeof InvokeResponseSchema;
};
/**
* @generated from rpc quixos.runtime.PackageRuntime.Watch
*/
watch: {
methodKind: "server_streaming";
input: typeof WatchRequestSchema;
output: typeof WatchEventSchema;
};
}>;
//# sourceMappingURL=runtime_pb.d.ts.map