Skip to content

Prepared

Defined in: Projection.ts:68

An erased, validated operation; only its captured invocation interprets the payload.

Type Parameter
R
readonly invoke: (payload: unknown) => Effect<unknown, {
kind: "business" | "system";
message: string;
value?: Json;
}, R>;

Defined in: Projection.ts:73

Parameter Type
payload unknown

Effect<unknown, { kind: "business" | "system"; message: string; value?: Json; }, R>


readonly metadata: {
description: string;
destructiveHint: boolean;
idempotentHint: boolean;
name: string;
openWorldHint: boolean;
output: "json" | "void";
readOnlyHint: boolean;
title: string;
};

Defined in: Projection.ts:71

readonly description: string = Schema.NonEmptyString;
readonly destructiveHint: boolean = Schema.Boolean;
readonly idempotentHint: boolean = Schema.Boolean;
readonly name: string;
readonly openWorldHint: boolean = Schema.Boolean;
readonly output: "json" | "void";
readonly readOnlyHint: boolean = Schema.Boolean;
readonly title: string = Schema.NonEmptyString;

readonly operation: string;

Defined in: Projection.ts:70


readonly service: string;

Defined in: Projection.ts:69


readonly tool: Any;

Defined in: Projection.ts:72