baldrick-broth
Version:
Build automation tool and task runner
1,734 lines • 1.76 MB
TypeScript
import { z } from 'zod';
import { type ValidationError } from './format-message.js';
import { type Result } from './railway.js';
/** JSON like */
declare const literalSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
type Literal = z.infer<typeof literalSchema>;
type Json = Literal | {
[key: string]: Json;
} | Json[];
declare const jsonishSchema: z.ZodType<Json>;
declare const onShellCommandFinish: z.ZodEnum<[string, ...string[]]>;
declare const anyCommand: z.ZodUnion<[z.ZodDiscriminatedUnion<"a", [z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"get-property">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "get-property";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "get-property";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<[string, ...string[]]>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<[string, ...string[]]>;
anyOf: z.ZodArray<z.ZodString, "many">;
}, "strict", z.ZodTypeAny, {
if: string;
anyOf: string[];
}, {
if: string;
anyOf: string[];
}>, "many">>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"string-array">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "string-array";
onSuccess: string;
filters?: {
if: string;
anyOf: string[];
}[] | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "string-array";
onSuccess: string;
filters?: {
if: string;
anyOf: string[];
}[] | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"concat-array">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "concat-array";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "concat-array";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
separator: z.ZodDefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"split-string">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "split-string";
separator: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "split-string";
separator?: string | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"split-lines">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "split-lines";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "split-lines";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"some-truthy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "some-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "some-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"some-falsy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "some-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "some-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"every-truthy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "every-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "every-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"every-falsy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "every-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "every-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"not">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "not";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "not";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
start: z.ZodDefault<z.ZodNumber>;
end: z.ZodNumber;
step: z.ZodDefault<z.ZodNumber>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"range">;
}, "strict", z.ZodTypeAny, {
title: string;
name: string;
a: "range";
start: number;
end: number;
step: number;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
name: string;
a: "range";
end: number;
start?: number | undefined;
step?: number | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"invert-object">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "invert-object";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "invert-object";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"mask-object">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "mask-object";
mask: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "mask-object";
mask: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"template">;
}, "strict", z.ZodTypeAny, {
title: string;
name: string;
a: "template";
template: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
name: string;
a: "template";
template: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-input">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-input";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-input";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-confirm">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-confirm";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-confirm";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-password">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-password";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-password";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
select: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-select">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-select";
select: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-select";
select: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
choices: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-choices">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-choices";
choices: string[];
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-choices";
choices: string[];
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"append-to-file">;
}, "strict", z.ZodTypeAny, {
title: string;
filename: string;
value: string;
name: string;
a: "append-to-file";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
filename: string;
value: string;
name: string;
a: "append-to-file";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"write-to-file">;
}, "strict", z.ZodTypeAny, {
title: string;
filename: string;
value: string;
name: string;
a: "write-to-file";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
filename: string;
value: string;
name: string;
a: "write-to-file";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>]>, z.ZodObject<{
a: z.ZodDefault<z.ZodLiteral<"shell">>;
onFailure: z.ZodDefault<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
onSuccess: z.ZodDefault<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
if: z.ZodOptional<z.ZodString>;
stdin: z.ZodOptional<z.ZodString>;
run: z.ZodString;
multiline: z.ZodDefault<z.ZodBoolean>;
name: z.ZodOptional<z.ZodString>;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
title: string;
a: "shell";
onFailure: string[];
onSuccess: string[];
run: string;
multiline: boolean;
if?: string | undefined;
stdin?: string | undefined;
name?: string | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
run: string;
a?: "shell" | undefined;
onFailure?: string[] | undefined;
onSuccess?: string[] | undefined;
if?: string | undefined;
stdin?: string | undefined;
multiline?: boolean | undefined;
name?: string | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>]>;
declare const batchStep: z.ZodObject<{
name: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
if: z.ZodOptional<z.ZodString>;
each: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
values: z.ZodString;
}, "strip", z.ZodTypeAny, {
values: string;
name: string;
}, {
values: string;
name: string;
}>, "many">>;
commands: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"a", [z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"get-property">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "get-property";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "get-property";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
onSuccess: z.ZodEnum<[string, ...string[]]>;
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
if: z.ZodEnum<[string, ...string[]]>;
anyOf: z.ZodArray<z.ZodString, "many">;
}, "strict", z.ZodTypeAny, {
if: string;
anyOf: string[];
}, {
if: string;
anyOf: string[];
}>, "many">>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"string-array">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "string-array";
onSuccess: string;
filters?: {
if: string;
anyOf: string[];
}[] | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "string-array";
onSuccess: string;
filters?: {
if: string;
anyOf: string[];
}[] | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"concat-array">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "concat-array";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "concat-array";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
separator: z.ZodDefault<z.ZodString>;
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"split-string">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "split-string";
separator: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "split-string";
separator?: string | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"split-lines">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "split-lines";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "split-lines";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"some-truthy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "some-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "some-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"some-falsy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "some-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "some-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"every-truthy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "every-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "every-truthy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
values: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"every-falsy">;
}, "strict", z.ZodTypeAny, {
title: string;
values: string[];
name: string;
a: "every-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
values: string[];
name: string;
a: "every-falsy";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"not">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "not";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "not";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
start: z.ZodDefault<z.ZodNumber>;
end: z.ZodNumber;
step: z.ZodDefault<z.ZodNumber>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"range">;
}, "strict", z.ZodTypeAny, {
title: string;
name: string;
a: "range";
start: number;
end: number;
step: number;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
name: string;
a: "range";
end: number;
start?: number | undefined;
step?: number | undefined;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"invert-object">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "invert-object";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "invert-object";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
mask: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"mask-object">;
}, "strict", z.ZodTypeAny, {
title: string;
value: string;
name: string;
a: "mask-object";
mask: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
value: string;
name: string;
a: "mask-object";
mask: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
template: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"template">;
}, "strict", z.ZodTypeAny, {
title: string;
name: string;
a: "template";
template: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
title: string;
name: string;
a: "template";
template: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-input">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-input";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-input";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-confirm">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-confirm";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-confirm";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-password">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-password";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-password";
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
select: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-select">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-select";
select: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-select";
select: string;
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
message: z.ZodEffects<z.ZodString, string, string>;
choices: z.ZodArray<z.ZodString, "many">;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>, "many">>;
a: z.ZodLiteral<"prompt-choices">;
}, "strict", z.ZodTypeAny, {
message: string;
title: string;
name: string;
a: "prompt-choices";
choices: string[];
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}, {
message: string;
title: string;
name: string;
a: "prompt-choices";
choices: string[];
description?: string | undefined;
motivation?: string | undefined;
links?: {
title: string;
url: string;
}[] | undefined;
}>, z.ZodObject<{
value: z.ZodString;
filename: z.ZodString;
name: z.ZodString;
title: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodString>;
motivation: z.ZodOptional<z.ZodString>;
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
title: z.ZodEffects<z.ZodString, string, string>;
url: z.ZodString;
}, "strip", z