@kilocode/schema 0.0.0-stage → 0.0.0-v2-9
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/dist/agent.d.ts +179 -0
- package/dist/agent.js +45 -0
- package/dist/command.d.ts +76 -0
- package/dist/command.js +13 -0
- package/dist/config/agent.d.ts +42 -0
- package/dist/config/agent.js +21 -0
- package/dist/config/command.d.ts +28 -0
- package/dist/config/command.js +13 -0
- package/dist/config/compaction.d.ts +14 -0
- package/dist/config/compaction.js +13 -0
- package/dist/config/experimental.d.ts +20 -0
- package/dist/config/experimental.js +27 -0
- package/dist/config/formatter.d.ts +11 -0
- package/dist/config/formatter.js +11 -0
- package/dist/config/lsp.d.ts +20 -0
- package/dist/config/lsp.js +16 -0
- package/dist/config/mcp.d.ts +20 -0
- package/dist/config/mcp.js +15 -0
- package/dist/config/media.d.ts +15 -0
- package/dist/config/media.js +14 -0
- package/dist/config/model.d.ts +18 -0
- package/dist/config/model.js +28 -0
- package/dist/config/plugin.d.ts +11 -0
- package/dist/config/plugin.js +10 -0
- package/dist/config/policy.d.ts +10 -0
- package/dist/config/policy.js +8 -0
- package/dist/config/provider.d.ts +392 -0
- package/dist/config/provider.js +109 -0
- package/dist/config/reference.d.ts +21 -0
- package/dist/config/reference.js +18 -0
- package/dist/config/shell.d.ts +9 -0
- package/dist/config/shell.js +7 -0
- package/dist/config/tool-output.d.ts +8 -0
- package/dist/config/tool-output.js +8 -0
- package/dist/config/warming.d.ts +10 -0
- package/dist/config/warming.js +16 -0
- package/dist/config/watcher.d.ts +7 -0
- package/dist/config/watcher.js +7 -0
- package/dist/config/websearch.d.ts +9 -0
- package/dist/config/websearch.js +13 -0
- package/dist/config/worktree.d.ts +7 -0
- package/dist/config/worktree.js +7 -0
- package/dist/config.d.ts +182 -0
- package/dist/config.js +135 -0
- package/dist/connection.d.ts +79 -0
- package/dist/connection.js +25 -0
- package/dist/credential-legacy.d.ts +54 -0
- package/dist/credential-legacy.js +19 -0
- package/dist/credential.d.ts +255 -0
- package/dist/credential.js +56 -0
- package/dist/durable-event-manifest.d.ts +3 -0
- package/dist/durable-event-manifest.js +5 -0
- package/dist/event-log.d.ts +14 -0
- package/dist/event-log.js +17 -0
- package/dist/event-manifest.d.ts +12865 -0
- package/dist/event-manifest.js +48 -0
- package/dist/event.d.ts +142 -0
- package/dist/event.js +110 -0
- package/dist/file-diff.d.ts +21 -0
- package/dist/file-diff.js +18 -0
- package/dist/filesystem-v1.d.ts +1 -0
- package/dist/filesystem-v1.js +1 -0
- package/dist/filesystem.d.ts +123 -0
- package/dist/filesystem.js +38 -0
- package/dist/form.d.ts +1438 -0
- package/dist/form.js +128 -0
- package/dist/identifier.d.ts +4 -0
- package/dist/identifier.js +25 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.js +41 -0
- package/dist/installation-event.d.ts +149 -0
- package/dist/installation-event.js +16 -0
- package/dist/instruction-entry.d.ts +29 -0
- package/dist/instruction-entry.js +26 -0
- package/dist/instruction.d.ts +13 -0
- package/dist/instruction.js +8 -0
- package/dist/integration-id.d.ts +5 -0
- package/dist/integration-id.js +3 -0
- package/dist/integration.d.ts +2410 -0
- package/dist/integration.js +91 -0
- package/dist/kilocode/gateway.d.ts +975 -0
- package/dist/kilocode/gateway.js +328 -0
- package/dist/kilocode/handshake.d.ts +36 -0
- package/dist/kilocode/handshake.js +29 -0
- package/dist/kilocode/marketplace.d.ts +593 -0
- package/dist/kilocode/marketplace.js +122 -0
- package/dist/kilocode/provider-usage.d.ts +371 -0
- package/dist/kilocode/provider-usage.js +60 -0
- package/dist/legacy-event.d.ts +1 -0
- package/dist/legacy-event.js +1 -0
- package/dist/llm.d.ts +4 -0
- package/dist/llm.js +3 -0
- package/dist/location-event.d.ts +68 -0
- package/dist/location-event.js +5 -0
- package/dist/location.d.ts +56 -0
- package/dist/location.js +28 -0
- package/dist/lsp-event.d.ts +67 -0
- package/dist/lsp-event.js +4 -0
- package/dist/mcp-event.d.ts +222 -0
- package/dist/mcp-event.js +24 -0
- package/dist/mcp.d.ts +145 -0
- package/dist/mcp.js +120 -0
- package/dist/model-compatibility.d.ts +38 -0
- package/dist/model-compatibility.js +28 -0
- package/dist/model.d.ts +406 -0
- package/dist/model.js +115 -0
- package/dist/models-dev.d.ts +69 -0
- package/dist/models-dev.js +7 -0
- package/dist/money.d.ts +10 -0
- package/dist/money.js +5 -0
- package/dist/permission-saved.d.ts +22 -0
- package/dist/permission-saved.js +16 -0
- package/dist/permission-v1.d.ts +1 -0
- package/dist/permission-v1.js +1 -0
- package/dist/permission.d.ts +302 -0
- package/dist/permission.js +46 -0
- package/dist/persistent-pty.d.ts +539 -0
- package/dist/persistent-pty.js +55 -0
- package/dist/plugin.d.ts +132 -0
- package/dist/plugin.js +37 -0
- package/dist/project-id.d.ts +5 -0
- package/dist/project-id.js +3 -0
- package/dist/project.d.ts +270 -0
- package/dist/project.js +47 -0
- package/dist/prompt-input.d.ts +110 -0
- package/dist/prompt-input.js +21 -0
- package/dist/prompt.d.ts +297 -0
- package/dist/prompt.js +61 -0
- package/dist/provider.d.ts +275 -0
- package/dist/provider.js +66 -0
- package/dist/pty-ticket.d.ts +8 -0
- package/dist/pty-ticket.js +7 -0
- package/dist/pty.d.ts +462 -0
- package/dist/pty.js +43 -0
- package/dist/question.d.ts +15 -0
- package/dist/question.js +15 -0
- package/dist/reference.d.ts +120 -0
- package/dist/reference.js +30 -0
- package/dist/rpc.d.ts +111 -0
- package/dist/rpc.js +9 -0
- package/dist/schema.d.ts +11 -0
- package/dist/schema.js +17 -0
- package/dist/server-event.d.ts +132 -0
- package/dist/server-event.js +5 -0
- package/dist/session-error.d.ts +16 -0
- package/dist/session-error.js +11 -0
- package/dist/session-event.d.ts +21417 -0
- package/dist/session-event.js +565 -0
- package/dist/session-fork.d.ts +16 -0
- package/dist/session-fork.js +7 -0
- package/dist/session-id.d.ts +5 -0
- package/dist/session-id.js +6 -0
- package/dist/session-inbox.d.ts +756 -0
- package/dist/session-inbox.js +47 -0
- package/dist/session-legacy.d.ts +7 -0
- package/dist/session-legacy.js +118 -0
- package/dist/session-message.d.ts +2049 -0
- package/dist/session-message.js +234 -0
- package/dist/session-metadata.d.ts +8 -0
- package/dist/session-metadata.js +9 -0
- package/dist/session-revert.d.ts +896 -0
- package/dist/session-revert.js +63 -0
- package/dist/session-stats.d.ts +186 -0
- package/dist/session-stats.js +53 -0
- package/dist/session-status-event.d.ts +291 -0
- package/dist/session-status-event.js +45 -0
- package/dist/session-transfer.d.ts +910 -0
- package/dist/session-transfer.js +8 -0
- package/dist/session-v1.d.ts +1 -0
- package/dist/session-v1.js +1 -0
- package/dist/session.d.ts +320 -0
- package/dist/session.js +116 -0
- package/dist/shell.d.ts +386 -0
- package/dist/shell.js +61 -0
- package/dist/skill.d.ts +130 -0
- package/dist/skill.js +47 -0
- package/dist/snapshot.d.ts +4 -0
- package/dist/snapshot.js +3 -0
- package/dist/token-usage.d.ts +14 -0
- package/dist/token-usage.js +14 -0
- package/dist/tool.d.ts +78 -0
- package/dist/tool.js +22 -0
- package/dist/tui-event.d.ts +307 -0
- package/dist/tui-event.js +52 -0
- package/dist/v1/filesystem.d.ts +78 -0
- package/dist/v1/filesystem.js +8 -0
- package/dist/v1/legacy-event.d.ts +104 -0
- package/dist/v1/legacy-event.js +15 -0
- package/dist/v1/permission.d.ts +306 -0
- package/dist/v1/permission.js +41 -0
- package/dist/v1/session.d.ts +6977 -0
- package/dist/v1/session.js +531 -0
- package/dist/vcs-event.d.ts +76 -0
- package/dist/vcs-event.js +11 -0
- package/dist/vcs.d.ts +36 -0
- package/dist/vcs.js +24 -0
- package/dist/websearch.d.ts +108 -0
- package/dist/websearch.js +33 -0
- package/dist/workspace-event.d.ts +247 -0
- package/dist/workspace-event.js +25 -0
- package/dist/workspace-id.d.ts +6 -0
- package/dist/workspace-id.js +14 -0
- package/dist/workspace.d.ts +15 -0
- package/dist/workspace.js +14 -0
- package/dist/worktree-event.d.ts +153 -0
- package/dist/worktree-event.js +18 -0
- package/dist/worktree.d.ts +282 -0
- package/dist/worktree.js +83 -0
- package/package.json +42 -4
- package/README.md +0 -3
package/dist/form.d.ts
ADDED
|
@@ -0,0 +1,1438 @@
|
|
|
1
|
+
export * as Form from "./form.js";
|
|
2
|
+
import { Schema } from "effect";
|
|
3
|
+
export declare const ID: Schema.brand<Schema.String, "Form.ID"> & {
|
|
4
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
5
|
+
};
|
|
6
|
+
export type ID = typeof ID.Type;
|
|
7
|
+
export declare const Metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
8
|
+
export type Metadata = typeof Metadata.Type;
|
|
9
|
+
export declare const Option: Schema.Struct<{
|
|
10
|
+
readonly value: Schema.String;
|
|
11
|
+
readonly label: Schema.String;
|
|
12
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
13
|
+
}>;
|
|
14
|
+
export interface Option extends Schema.Schema.Type<typeof Option> {
|
|
15
|
+
}
|
|
16
|
+
export declare const When: Schema.Struct<{
|
|
17
|
+
readonly key: Schema.String;
|
|
18
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
19
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
20
|
+
}>;
|
|
21
|
+
export interface When extends Schema.Schema.Type<typeof When> {
|
|
22
|
+
}
|
|
23
|
+
export declare const StringField: Schema.Struct<{
|
|
24
|
+
readonly key: Schema.String;
|
|
25
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
26
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
27
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
28
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
29
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
30
|
+
readonly key: Schema.String;
|
|
31
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
32
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
33
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
34
|
+
readonly key: Schema.String;
|
|
35
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
36
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
37
|
+
}>>>, never, never>;
|
|
38
|
+
readonly type: Schema.Literal<"string">;
|
|
39
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
40
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
41
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
42
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
43
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
44
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
45
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
46
|
+
readonly value: Schema.String;
|
|
47
|
+
readonly label: Schema.String;
|
|
48
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
49
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
50
|
+
readonly value: Schema.String;
|
|
51
|
+
readonly label: Schema.String;
|
|
52
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
53
|
+
}>>>, never, never>;
|
|
54
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
55
|
+
}>;
|
|
56
|
+
export interface StringField extends Schema.Schema.Type<typeof StringField> {
|
|
57
|
+
}
|
|
58
|
+
export declare const NumberField: Schema.Struct<{
|
|
59
|
+
readonly key: Schema.String;
|
|
60
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
61
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
62
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
63
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
64
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
65
|
+
readonly key: Schema.String;
|
|
66
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
67
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
68
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
69
|
+
readonly key: Schema.String;
|
|
70
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
71
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
72
|
+
}>>>, never, never>;
|
|
73
|
+
readonly type: Schema.Literal<"number">;
|
|
74
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
75
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
76
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
77
|
+
}>;
|
|
78
|
+
export interface NumberField extends Schema.Schema.Type<typeof NumberField> {
|
|
79
|
+
}
|
|
80
|
+
export declare const IntegerField: Schema.Struct<{
|
|
81
|
+
readonly key: Schema.String;
|
|
82
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
83
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
84
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
85
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
86
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
87
|
+
readonly key: Schema.String;
|
|
88
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
89
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
90
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
91
|
+
readonly key: Schema.String;
|
|
92
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
93
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
94
|
+
}>>>, never, never>;
|
|
95
|
+
readonly type: Schema.Literal<"integer">;
|
|
96
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
97
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
98
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
99
|
+
}>;
|
|
100
|
+
export interface IntegerField extends Schema.Schema.Type<typeof IntegerField> {
|
|
101
|
+
}
|
|
102
|
+
export declare const BooleanField: Schema.Struct<{
|
|
103
|
+
readonly key: Schema.String;
|
|
104
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
105
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
106
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
107
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
108
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
109
|
+
readonly key: Schema.String;
|
|
110
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
111
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
112
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
113
|
+
readonly key: Schema.String;
|
|
114
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
115
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
116
|
+
}>>>, never, never>;
|
|
117
|
+
readonly type: Schema.Literal<"boolean">;
|
|
118
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
119
|
+
}>;
|
|
120
|
+
export interface BooleanField extends Schema.Schema.Type<typeof BooleanField> {
|
|
121
|
+
}
|
|
122
|
+
export declare const MultiselectField: Schema.Struct<{
|
|
123
|
+
readonly key: Schema.String;
|
|
124
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
125
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
126
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
127
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
128
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
129
|
+
readonly key: Schema.String;
|
|
130
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
131
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
132
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
133
|
+
readonly key: Schema.String;
|
|
134
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
135
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
136
|
+
}>>>, never, never>;
|
|
137
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
138
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
139
|
+
readonly value: Schema.String;
|
|
140
|
+
readonly label: Schema.String;
|
|
141
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
142
|
+
}>>;
|
|
143
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
144
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
145
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
146
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
147
|
+
}>;
|
|
148
|
+
export interface MultiselectField extends Schema.Schema.Type<typeof MultiselectField> {
|
|
149
|
+
}
|
|
150
|
+
export declare const ExternalField: Schema.Struct<{
|
|
151
|
+
readonly key: Schema.String;
|
|
152
|
+
readonly type: Schema.Literal<"external">;
|
|
153
|
+
readonly url: Schema.String;
|
|
154
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
155
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
156
|
+
}>;
|
|
157
|
+
export interface ExternalField extends Schema.Schema.Type<typeof ExternalField> {
|
|
158
|
+
}
|
|
159
|
+
export declare const Field: Schema.Union<readonly [Schema.Struct<{
|
|
160
|
+
readonly key: Schema.String;
|
|
161
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
162
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
163
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
164
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
165
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
166
|
+
readonly key: Schema.String;
|
|
167
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
168
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
169
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly key: Schema.String;
|
|
171
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
172
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
173
|
+
}>>>, never, never>;
|
|
174
|
+
readonly type: Schema.Literal<"string">;
|
|
175
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
176
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
177
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
178
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
179
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
180
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
181
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
182
|
+
readonly value: Schema.String;
|
|
183
|
+
readonly label: Schema.String;
|
|
184
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
185
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
186
|
+
readonly value: Schema.String;
|
|
187
|
+
readonly label: Schema.String;
|
|
188
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
189
|
+
}>>>, never, never>;
|
|
190
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
191
|
+
}>, Schema.Struct<{
|
|
192
|
+
readonly key: Schema.String;
|
|
193
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
194
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
195
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
196
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
197
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
198
|
+
readonly key: Schema.String;
|
|
199
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
200
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
201
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
202
|
+
readonly key: Schema.String;
|
|
203
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
204
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
205
|
+
}>>>, never, never>;
|
|
206
|
+
readonly type: Schema.Literal<"number">;
|
|
207
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
208
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
209
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
210
|
+
}>, Schema.Struct<{
|
|
211
|
+
readonly key: Schema.String;
|
|
212
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
213
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
214
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
215
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
216
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
217
|
+
readonly key: Schema.String;
|
|
218
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
219
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
220
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
221
|
+
readonly key: Schema.String;
|
|
222
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
223
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
224
|
+
}>>>, never, never>;
|
|
225
|
+
readonly type: Schema.Literal<"integer">;
|
|
226
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
227
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
228
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
229
|
+
}>, Schema.Struct<{
|
|
230
|
+
readonly key: Schema.String;
|
|
231
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
232
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
233
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
234
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
235
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
236
|
+
readonly key: Schema.String;
|
|
237
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
238
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
239
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
240
|
+
readonly key: Schema.String;
|
|
241
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
242
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
243
|
+
}>>>, never, never>;
|
|
244
|
+
readonly type: Schema.Literal<"boolean">;
|
|
245
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
246
|
+
}>, Schema.Struct<{
|
|
247
|
+
readonly key: Schema.String;
|
|
248
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
249
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
250
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
251
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
252
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
253
|
+
readonly key: Schema.String;
|
|
254
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
255
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
256
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
257
|
+
readonly key: Schema.String;
|
|
258
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
259
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
260
|
+
}>>>, never, never>;
|
|
261
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
262
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
263
|
+
readonly value: Schema.String;
|
|
264
|
+
readonly label: Schema.String;
|
|
265
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
266
|
+
}>>;
|
|
267
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
268
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
269
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
270
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
271
|
+
}>, Schema.Struct<{
|
|
272
|
+
readonly key: Schema.String;
|
|
273
|
+
readonly type: Schema.Literal<"external">;
|
|
274
|
+
readonly url: Schema.String;
|
|
275
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
276
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
277
|
+
}>]>;
|
|
278
|
+
export type Field = StringField | NumberField | IntegerField | BooleanField | MultiselectField | ExternalField;
|
|
279
|
+
export declare const Fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
280
|
+
readonly key: Schema.String;
|
|
281
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
282
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
283
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
284
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
285
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
286
|
+
readonly key: Schema.String;
|
|
287
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
288
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
289
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
290
|
+
readonly key: Schema.String;
|
|
291
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
292
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
293
|
+
}>>>, never, never>;
|
|
294
|
+
readonly type: Schema.Literal<"string">;
|
|
295
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
296
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
297
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
298
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
299
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
300
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
301
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
302
|
+
readonly value: Schema.String;
|
|
303
|
+
readonly label: Schema.String;
|
|
304
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
305
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
306
|
+
readonly value: Schema.String;
|
|
307
|
+
readonly label: Schema.String;
|
|
308
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
309
|
+
}>>>, never, never>;
|
|
310
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
311
|
+
}>, Schema.Struct<{
|
|
312
|
+
readonly key: Schema.String;
|
|
313
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
314
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
315
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
316
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
317
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
318
|
+
readonly key: Schema.String;
|
|
319
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
320
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
321
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
322
|
+
readonly key: Schema.String;
|
|
323
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
324
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
325
|
+
}>>>, never, never>;
|
|
326
|
+
readonly type: Schema.Literal<"number">;
|
|
327
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
328
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
329
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
330
|
+
}>, Schema.Struct<{
|
|
331
|
+
readonly key: Schema.String;
|
|
332
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
333
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
334
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
335
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
336
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
337
|
+
readonly key: Schema.String;
|
|
338
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
339
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
340
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
341
|
+
readonly key: Schema.String;
|
|
342
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
343
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
344
|
+
}>>>, never, never>;
|
|
345
|
+
readonly type: Schema.Literal<"integer">;
|
|
346
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
347
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
348
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
349
|
+
}>, Schema.Struct<{
|
|
350
|
+
readonly key: Schema.String;
|
|
351
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
352
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
353
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
354
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
355
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
356
|
+
readonly key: Schema.String;
|
|
357
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
358
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
359
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
360
|
+
readonly key: Schema.String;
|
|
361
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
362
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
363
|
+
}>>>, never, never>;
|
|
364
|
+
readonly type: Schema.Literal<"boolean">;
|
|
365
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
366
|
+
}>, Schema.Struct<{
|
|
367
|
+
readonly key: Schema.String;
|
|
368
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
369
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
370
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
371
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
372
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
373
|
+
readonly key: Schema.String;
|
|
374
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
375
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
376
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
377
|
+
readonly key: Schema.String;
|
|
378
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
379
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
380
|
+
}>>>, never, never>;
|
|
381
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
382
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
383
|
+
readonly value: Schema.String;
|
|
384
|
+
readonly label: Schema.String;
|
|
385
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
386
|
+
}>>;
|
|
387
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
388
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
389
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
390
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
391
|
+
}>, Schema.Struct<{
|
|
392
|
+
readonly key: Schema.String;
|
|
393
|
+
readonly type: Schema.Literal<"external">;
|
|
394
|
+
readonly url: Schema.String;
|
|
395
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
396
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
397
|
+
}>]>>;
|
|
398
|
+
export type Fields = typeof Fields.Type;
|
|
399
|
+
export declare const Info: Schema.Struct<{
|
|
400
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
401
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
402
|
+
};
|
|
403
|
+
readonly sessionID: Schema.String;
|
|
404
|
+
readonly title: Schema.String;
|
|
405
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
406
|
+
readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
407
|
+
readonly key: Schema.String;
|
|
408
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
409
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
410
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
411
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
412
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
413
|
+
readonly key: Schema.String;
|
|
414
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
415
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
416
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
417
|
+
readonly key: Schema.String;
|
|
418
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
419
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
420
|
+
}>>>, never, never>;
|
|
421
|
+
readonly type: Schema.Literal<"string">;
|
|
422
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
423
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
424
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
425
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
426
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
427
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
428
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
429
|
+
readonly value: Schema.String;
|
|
430
|
+
readonly label: Schema.String;
|
|
431
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
432
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
433
|
+
readonly value: Schema.String;
|
|
434
|
+
readonly label: Schema.String;
|
|
435
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
436
|
+
}>>>, never, never>;
|
|
437
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
438
|
+
}>, Schema.Struct<{
|
|
439
|
+
readonly key: Schema.String;
|
|
440
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
441
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
442
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
443
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
444
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
445
|
+
readonly key: Schema.String;
|
|
446
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
447
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
448
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
449
|
+
readonly key: Schema.String;
|
|
450
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
451
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
452
|
+
}>>>, never, never>;
|
|
453
|
+
readonly type: Schema.Literal<"number">;
|
|
454
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
455
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
456
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
457
|
+
}>, Schema.Struct<{
|
|
458
|
+
readonly key: Schema.String;
|
|
459
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
460
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
461
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
462
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
463
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
464
|
+
readonly key: Schema.String;
|
|
465
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
466
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
467
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
468
|
+
readonly key: Schema.String;
|
|
469
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
470
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
471
|
+
}>>>, never, never>;
|
|
472
|
+
readonly type: Schema.Literal<"integer">;
|
|
473
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
474
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
475
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
476
|
+
}>, Schema.Struct<{
|
|
477
|
+
readonly key: Schema.String;
|
|
478
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
479
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
480
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
481
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
482
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
483
|
+
readonly key: Schema.String;
|
|
484
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
485
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
486
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
487
|
+
readonly key: Schema.String;
|
|
488
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
489
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
490
|
+
}>>>, never, never>;
|
|
491
|
+
readonly type: Schema.Literal<"boolean">;
|
|
492
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
493
|
+
}>, Schema.Struct<{
|
|
494
|
+
readonly key: Schema.String;
|
|
495
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
496
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
497
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
498
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
499
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
500
|
+
readonly key: Schema.String;
|
|
501
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
502
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
503
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
504
|
+
readonly key: Schema.String;
|
|
505
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
506
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
507
|
+
}>>>, never, never>;
|
|
508
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
509
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
510
|
+
readonly value: Schema.String;
|
|
511
|
+
readonly label: Schema.String;
|
|
512
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
513
|
+
}>>;
|
|
514
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
515
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
516
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
517
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
518
|
+
}>, Schema.Struct<{
|
|
519
|
+
readonly key: Schema.String;
|
|
520
|
+
readonly type: Schema.Literal<"external">;
|
|
521
|
+
readonly url: Schema.String;
|
|
522
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
523
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
524
|
+
}>]>>;
|
|
525
|
+
}>;
|
|
526
|
+
export interface Info extends Schema.Schema.Type<typeof Info> {
|
|
527
|
+
}
|
|
528
|
+
export declare const Value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>;
|
|
529
|
+
export type Value = typeof Value.Type;
|
|
530
|
+
export declare const Answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
531
|
+
export type Answer = typeof Answer.Type;
|
|
532
|
+
export declare const State: Schema.Union<readonly [Schema.Struct<{
|
|
533
|
+
readonly status: Schema.Literal<"pending">;
|
|
534
|
+
}>, Schema.Struct<{
|
|
535
|
+
readonly status: Schema.Literal<"answered">;
|
|
536
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
537
|
+
}>, Schema.Struct<{
|
|
538
|
+
readonly status: Schema.Literal<"cancelled">;
|
|
539
|
+
readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
540
|
+
}>]>;
|
|
541
|
+
export type State = typeof State.Type;
|
|
542
|
+
export declare const Detail: Schema.Struct<{
|
|
543
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
544
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
545
|
+
};
|
|
546
|
+
readonly sessionID: Schema.String;
|
|
547
|
+
readonly title: Schema.String;
|
|
548
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
549
|
+
readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
550
|
+
readonly key: Schema.String;
|
|
551
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
552
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
553
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
554
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
555
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
556
|
+
readonly key: Schema.String;
|
|
557
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
558
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
559
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
560
|
+
readonly key: Schema.String;
|
|
561
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
562
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
563
|
+
}>>>, never, never>;
|
|
564
|
+
readonly type: Schema.Literal<"string">;
|
|
565
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
566
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
567
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
568
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
569
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
570
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
571
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
572
|
+
readonly value: Schema.String;
|
|
573
|
+
readonly label: Schema.String;
|
|
574
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
575
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
576
|
+
readonly value: Schema.String;
|
|
577
|
+
readonly label: Schema.String;
|
|
578
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
579
|
+
}>>>, never, never>;
|
|
580
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
581
|
+
}>, Schema.Struct<{
|
|
582
|
+
readonly key: Schema.String;
|
|
583
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
584
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
585
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
586
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
587
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
588
|
+
readonly key: Schema.String;
|
|
589
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
590
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
591
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
592
|
+
readonly key: Schema.String;
|
|
593
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
594
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
595
|
+
}>>>, never, never>;
|
|
596
|
+
readonly type: Schema.Literal<"number">;
|
|
597
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
598
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
599
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
600
|
+
}>, Schema.Struct<{
|
|
601
|
+
readonly key: Schema.String;
|
|
602
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
603
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
604
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
605
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
606
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
607
|
+
readonly key: Schema.String;
|
|
608
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
609
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
610
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
611
|
+
readonly key: Schema.String;
|
|
612
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
613
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
614
|
+
}>>>, never, never>;
|
|
615
|
+
readonly type: Schema.Literal<"integer">;
|
|
616
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
617
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
618
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
619
|
+
}>, Schema.Struct<{
|
|
620
|
+
readonly key: Schema.String;
|
|
621
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
622
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
623
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
624
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
625
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
626
|
+
readonly key: Schema.String;
|
|
627
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
628
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
629
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
630
|
+
readonly key: Schema.String;
|
|
631
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
632
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
633
|
+
}>>>, never, never>;
|
|
634
|
+
readonly type: Schema.Literal<"boolean">;
|
|
635
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
636
|
+
}>, Schema.Struct<{
|
|
637
|
+
readonly key: Schema.String;
|
|
638
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
639
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
640
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
641
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
642
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
643
|
+
readonly key: Schema.String;
|
|
644
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
645
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
646
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
647
|
+
readonly key: Schema.String;
|
|
648
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
649
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
650
|
+
}>>>, never, never>;
|
|
651
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
652
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
653
|
+
readonly value: Schema.String;
|
|
654
|
+
readonly label: Schema.String;
|
|
655
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
656
|
+
}>>;
|
|
657
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
658
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
659
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
660
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
661
|
+
}>, Schema.Struct<{
|
|
662
|
+
readonly key: Schema.String;
|
|
663
|
+
readonly type: Schema.Literal<"external">;
|
|
664
|
+
readonly url: Schema.String;
|
|
665
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
666
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
667
|
+
}>]>>;
|
|
668
|
+
readonly state: Schema.Union<readonly [Schema.Struct<{
|
|
669
|
+
readonly status: Schema.Literal<"pending">;
|
|
670
|
+
}>, Schema.Struct<{
|
|
671
|
+
readonly status: Schema.Literal<"answered">;
|
|
672
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
673
|
+
}>, Schema.Struct<{
|
|
674
|
+
readonly status: Schema.Literal<"cancelled">;
|
|
675
|
+
readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
676
|
+
}>]>;
|
|
677
|
+
}>;
|
|
678
|
+
export interface Detail extends Schema.Schema.Type<typeof Detail> {
|
|
679
|
+
}
|
|
680
|
+
export declare const Reply: Schema.Struct<{
|
|
681
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
682
|
+
}>;
|
|
683
|
+
export interface Reply extends Schema.Schema.Type<typeof Reply> {
|
|
684
|
+
}
|
|
685
|
+
export declare const Event: {
|
|
686
|
+
Created: Schema.Struct<{
|
|
687
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
688
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
689
|
+
};
|
|
690
|
+
readonly created: Schema.Finite;
|
|
691
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
692
|
+
readonly type: Schema.Literal<"form.created">;
|
|
693
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
694
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
695
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
696
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
697
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
698
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
699
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
700
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
701
|
+
}>, never, never>;
|
|
702
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
703
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
704
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
705
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
706
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
707
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
708
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
709
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
710
|
+
}>, never, never>;
|
|
711
|
+
}>>, never, never>;
|
|
712
|
+
readonly data: Schema.Struct<{
|
|
713
|
+
readonly form: Schema.Struct<{
|
|
714
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
715
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
716
|
+
};
|
|
717
|
+
readonly sessionID: Schema.String;
|
|
718
|
+
readonly title: Schema.String;
|
|
719
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
720
|
+
readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
721
|
+
readonly key: Schema.String;
|
|
722
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
723
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
724
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
725
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
726
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
727
|
+
readonly key: Schema.String;
|
|
728
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
729
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
730
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
731
|
+
readonly key: Schema.String;
|
|
732
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
733
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
734
|
+
}>>>, never, never>;
|
|
735
|
+
readonly type: Schema.Literal<"string">;
|
|
736
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
737
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
738
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
739
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
740
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
741
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
742
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
743
|
+
readonly value: Schema.String;
|
|
744
|
+
readonly label: Schema.String;
|
|
745
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
746
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
747
|
+
readonly value: Schema.String;
|
|
748
|
+
readonly label: Schema.String;
|
|
749
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
750
|
+
}>>>, never, never>;
|
|
751
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
752
|
+
}>, Schema.Struct<{
|
|
753
|
+
readonly key: Schema.String;
|
|
754
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
755
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
756
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
757
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
758
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
759
|
+
readonly key: Schema.String;
|
|
760
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
761
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
762
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
763
|
+
readonly key: Schema.String;
|
|
764
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
765
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
766
|
+
}>>>, never, never>;
|
|
767
|
+
readonly type: Schema.Literal<"number">;
|
|
768
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
769
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
770
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
771
|
+
}>, Schema.Struct<{
|
|
772
|
+
readonly key: Schema.String;
|
|
773
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
774
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
775
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
776
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
777
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
778
|
+
readonly key: Schema.String;
|
|
779
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
780
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
781
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
782
|
+
readonly key: Schema.String;
|
|
783
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
784
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
785
|
+
}>>>, never, never>;
|
|
786
|
+
readonly type: Schema.Literal<"integer">;
|
|
787
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
788
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
789
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
790
|
+
}>, Schema.Struct<{
|
|
791
|
+
readonly key: Schema.String;
|
|
792
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
793
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
794
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
795
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
796
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
797
|
+
readonly key: Schema.String;
|
|
798
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
799
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
800
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
801
|
+
readonly key: Schema.String;
|
|
802
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
803
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
804
|
+
}>>>, never, never>;
|
|
805
|
+
readonly type: Schema.Literal<"boolean">;
|
|
806
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
807
|
+
}>, Schema.Struct<{
|
|
808
|
+
readonly key: Schema.String;
|
|
809
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
810
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
811
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
812
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
813
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
814
|
+
readonly key: Schema.String;
|
|
815
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
816
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
817
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
818
|
+
readonly key: Schema.String;
|
|
819
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
820
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
821
|
+
}>>>, never, never>;
|
|
822
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
823
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
824
|
+
readonly value: Schema.String;
|
|
825
|
+
readonly label: Schema.String;
|
|
826
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
827
|
+
}>>;
|
|
828
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
829
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
830
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
831
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
832
|
+
}>, Schema.Struct<{
|
|
833
|
+
readonly key: Schema.String;
|
|
834
|
+
readonly type: Schema.Literal<"external">;
|
|
835
|
+
readonly url: Schema.String;
|
|
836
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
837
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
838
|
+
}>]>>;
|
|
839
|
+
}>;
|
|
840
|
+
}>;
|
|
841
|
+
}> & {
|
|
842
|
+
type: "form.created";
|
|
843
|
+
durability: "ephemeral";
|
|
844
|
+
durable: undefined;
|
|
845
|
+
data: Schema.Struct<{
|
|
846
|
+
readonly form: Schema.Struct<{
|
|
847
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
848
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
849
|
+
};
|
|
850
|
+
readonly sessionID: Schema.String;
|
|
851
|
+
readonly title: Schema.String;
|
|
852
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
853
|
+
readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
854
|
+
readonly key: Schema.String;
|
|
855
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
856
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
857
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
858
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
859
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
860
|
+
readonly key: Schema.String;
|
|
861
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
862
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
863
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
864
|
+
readonly key: Schema.String;
|
|
865
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
866
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
867
|
+
}>>>, never, never>;
|
|
868
|
+
readonly type: Schema.Literal<"string">;
|
|
869
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
870
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
871
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
872
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
873
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
874
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
875
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
876
|
+
readonly value: Schema.String;
|
|
877
|
+
readonly label: Schema.String;
|
|
878
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
879
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
880
|
+
readonly value: Schema.String;
|
|
881
|
+
readonly label: Schema.String;
|
|
882
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
883
|
+
}>>>, never, never>;
|
|
884
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
885
|
+
}>, Schema.Struct<{
|
|
886
|
+
readonly key: Schema.String;
|
|
887
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
888
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
889
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
890
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
891
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
892
|
+
readonly key: Schema.String;
|
|
893
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
894
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
895
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
896
|
+
readonly key: Schema.String;
|
|
897
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
898
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
899
|
+
}>>>, never, never>;
|
|
900
|
+
readonly type: Schema.Literal<"number">;
|
|
901
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
902
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
903
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
904
|
+
}>, Schema.Struct<{
|
|
905
|
+
readonly key: Schema.String;
|
|
906
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
907
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
908
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
909
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
910
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
911
|
+
readonly key: Schema.String;
|
|
912
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
913
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
914
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
915
|
+
readonly key: Schema.String;
|
|
916
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
917
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
918
|
+
}>>>, never, never>;
|
|
919
|
+
readonly type: Schema.Literal<"integer">;
|
|
920
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
921
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
922
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
923
|
+
}>, Schema.Struct<{
|
|
924
|
+
readonly key: Schema.String;
|
|
925
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
926
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
927
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
928
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
929
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
930
|
+
readonly key: Schema.String;
|
|
931
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
932
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
933
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
934
|
+
readonly key: Schema.String;
|
|
935
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
936
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
937
|
+
}>>>, never, never>;
|
|
938
|
+
readonly type: Schema.Literal<"boolean">;
|
|
939
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
940
|
+
}>, Schema.Struct<{
|
|
941
|
+
readonly key: Schema.String;
|
|
942
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
943
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
944
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
945
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
946
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
947
|
+
readonly key: Schema.String;
|
|
948
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
949
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
950
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
951
|
+
readonly key: Schema.String;
|
|
952
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
953
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
954
|
+
}>>>, never, never>;
|
|
955
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
956
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
957
|
+
readonly value: Schema.String;
|
|
958
|
+
readonly label: Schema.String;
|
|
959
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
960
|
+
}>>;
|
|
961
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
962
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
963
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
964
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
965
|
+
}>, Schema.Struct<{
|
|
966
|
+
readonly key: Schema.String;
|
|
967
|
+
readonly type: Schema.Literal<"external">;
|
|
968
|
+
readonly url: Schema.String;
|
|
969
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
970
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
971
|
+
}>]>>;
|
|
972
|
+
}>;
|
|
973
|
+
}>;
|
|
974
|
+
};
|
|
975
|
+
Replied: Schema.Struct<{
|
|
976
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
977
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
978
|
+
};
|
|
979
|
+
readonly created: Schema.Finite;
|
|
980
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
981
|
+
readonly type: Schema.Literal<"form.replied">;
|
|
982
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
983
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
984
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
985
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
986
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
987
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
988
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
989
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
990
|
+
}>, never, never>;
|
|
991
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
992
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
993
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
994
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
995
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
996
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
997
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
998
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
999
|
+
}>, never, never>;
|
|
1000
|
+
}>>, never, never>;
|
|
1001
|
+
readonly data: Schema.Struct<{
|
|
1002
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1003
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1004
|
+
};
|
|
1005
|
+
readonly sessionID: Schema.String;
|
|
1006
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
1007
|
+
}>;
|
|
1008
|
+
}> & {
|
|
1009
|
+
type: "form.replied";
|
|
1010
|
+
durability: "ephemeral";
|
|
1011
|
+
durable: undefined;
|
|
1012
|
+
data: Schema.Struct<{
|
|
1013
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1014
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1015
|
+
};
|
|
1016
|
+
readonly sessionID: Schema.String;
|
|
1017
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
1018
|
+
}>;
|
|
1019
|
+
};
|
|
1020
|
+
Cancelled: Schema.Struct<{
|
|
1021
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1022
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1023
|
+
};
|
|
1024
|
+
readonly created: Schema.Finite;
|
|
1025
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1026
|
+
readonly type: Schema.Literal<"form.cancelled">;
|
|
1027
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1028
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1029
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1030
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1031
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1032
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1033
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1034
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1035
|
+
}>, never, never>;
|
|
1036
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1037
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1038
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1039
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1040
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1041
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1042
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1043
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1044
|
+
}>, never, never>;
|
|
1045
|
+
}>>, never, never>;
|
|
1046
|
+
readonly data: Schema.Struct<{
|
|
1047
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1048
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1049
|
+
};
|
|
1050
|
+
readonly sessionID: Schema.String;
|
|
1051
|
+
}>;
|
|
1052
|
+
}> & {
|
|
1053
|
+
type: "form.cancelled";
|
|
1054
|
+
durability: "ephemeral";
|
|
1055
|
+
durable: undefined;
|
|
1056
|
+
data: Schema.Struct<{
|
|
1057
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1058
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1059
|
+
};
|
|
1060
|
+
readonly sessionID: Schema.String;
|
|
1061
|
+
}>;
|
|
1062
|
+
};
|
|
1063
|
+
Definitions: readonly [Schema.Struct<{
|
|
1064
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1065
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1066
|
+
};
|
|
1067
|
+
readonly created: Schema.Finite;
|
|
1068
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1069
|
+
readonly type: Schema.Literal<"form.created">;
|
|
1070
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1071
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1072
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1073
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1074
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1075
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1076
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1077
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1078
|
+
}>, never, never>;
|
|
1079
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1080
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1081
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1082
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1083
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1084
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1085
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1086
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1087
|
+
}>, never, never>;
|
|
1088
|
+
}>>, never, never>;
|
|
1089
|
+
readonly data: Schema.Struct<{
|
|
1090
|
+
readonly form: Schema.Struct<{
|
|
1091
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1092
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1093
|
+
};
|
|
1094
|
+
readonly sessionID: Schema.String;
|
|
1095
|
+
readonly title: Schema.String;
|
|
1096
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1097
|
+
readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1098
|
+
readonly key: Schema.String;
|
|
1099
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1100
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1101
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1102
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1103
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1104
|
+
readonly key: Schema.String;
|
|
1105
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1106
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1107
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1108
|
+
readonly key: Schema.String;
|
|
1109
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1110
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1111
|
+
}>>>, never, never>;
|
|
1112
|
+
readonly type: Schema.Literal<"string">;
|
|
1113
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
1114
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1115
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1116
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1117
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1118
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1119
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1120
|
+
readonly value: Schema.String;
|
|
1121
|
+
readonly label: Schema.String;
|
|
1122
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1123
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1124
|
+
readonly value: Schema.String;
|
|
1125
|
+
readonly label: Schema.String;
|
|
1126
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1127
|
+
}>>>, never, never>;
|
|
1128
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1129
|
+
}>, Schema.Struct<{
|
|
1130
|
+
readonly key: Schema.String;
|
|
1131
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1132
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1133
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1134
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1135
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1136
|
+
readonly key: Schema.String;
|
|
1137
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1138
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1139
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1140
|
+
readonly key: Schema.String;
|
|
1141
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1142
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1143
|
+
}>>>, never, never>;
|
|
1144
|
+
readonly type: Schema.Literal<"number">;
|
|
1145
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1146
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1147
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1148
|
+
}>, Schema.Struct<{
|
|
1149
|
+
readonly key: Schema.String;
|
|
1150
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1151
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1152
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1153
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1154
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1155
|
+
readonly key: Schema.String;
|
|
1156
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1157
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1158
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1159
|
+
readonly key: Schema.String;
|
|
1160
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1161
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1162
|
+
}>>>, never, never>;
|
|
1163
|
+
readonly type: Schema.Literal<"integer">;
|
|
1164
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1165
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1166
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1167
|
+
}>, Schema.Struct<{
|
|
1168
|
+
readonly key: Schema.String;
|
|
1169
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1170
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1171
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1172
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1173
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1174
|
+
readonly key: Schema.String;
|
|
1175
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1176
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1177
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1178
|
+
readonly key: Schema.String;
|
|
1179
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1180
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1181
|
+
}>>>, never, never>;
|
|
1182
|
+
readonly type: Schema.Literal<"boolean">;
|
|
1183
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1184
|
+
}>, Schema.Struct<{
|
|
1185
|
+
readonly key: Schema.String;
|
|
1186
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1187
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1188
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1189
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1190
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1191
|
+
readonly key: Schema.String;
|
|
1192
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1193
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1194
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1195
|
+
readonly key: Schema.String;
|
|
1196
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1197
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1198
|
+
}>>>, never, never>;
|
|
1199
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
1200
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1201
|
+
readonly value: Schema.String;
|
|
1202
|
+
readonly label: Schema.String;
|
|
1203
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1204
|
+
}>>;
|
|
1205
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1206
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1207
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1208
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1209
|
+
}>, Schema.Struct<{
|
|
1210
|
+
readonly key: Schema.String;
|
|
1211
|
+
readonly type: Schema.Literal<"external">;
|
|
1212
|
+
readonly url: Schema.String;
|
|
1213
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1214
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1215
|
+
}>]>>;
|
|
1216
|
+
}>;
|
|
1217
|
+
}>;
|
|
1218
|
+
}> & {
|
|
1219
|
+
type: "form.created";
|
|
1220
|
+
durability: "ephemeral";
|
|
1221
|
+
durable: undefined;
|
|
1222
|
+
data: Schema.Struct<{
|
|
1223
|
+
readonly form: Schema.Struct<{
|
|
1224
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1225
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1226
|
+
};
|
|
1227
|
+
readonly sessionID: Schema.String;
|
|
1228
|
+
readonly title: Schema.String;
|
|
1229
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1230
|
+
readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1231
|
+
readonly key: Schema.String;
|
|
1232
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1233
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1234
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1235
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1236
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1237
|
+
readonly key: Schema.String;
|
|
1238
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1239
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1240
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1241
|
+
readonly key: Schema.String;
|
|
1242
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1243
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1244
|
+
}>>>, never, never>;
|
|
1245
|
+
readonly type: Schema.Literal<"string">;
|
|
1246
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
1247
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1248
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1249
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1250
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1251
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1252
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1253
|
+
readonly value: Schema.String;
|
|
1254
|
+
readonly label: Schema.String;
|
|
1255
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1256
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1257
|
+
readonly value: Schema.String;
|
|
1258
|
+
readonly label: Schema.String;
|
|
1259
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1260
|
+
}>>>, never, never>;
|
|
1261
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1262
|
+
}>, Schema.Struct<{
|
|
1263
|
+
readonly key: Schema.String;
|
|
1264
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1265
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1266
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1267
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1268
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1269
|
+
readonly key: Schema.String;
|
|
1270
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1271
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1272
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1273
|
+
readonly key: Schema.String;
|
|
1274
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1275
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1276
|
+
}>>>, never, never>;
|
|
1277
|
+
readonly type: Schema.Literal<"number">;
|
|
1278
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1279
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1280
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1281
|
+
}>, Schema.Struct<{
|
|
1282
|
+
readonly key: Schema.String;
|
|
1283
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1284
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1285
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1286
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1287
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1288
|
+
readonly key: Schema.String;
|
|
1289
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1290
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1291
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1292
|
+
readonly key: Schema.String;
|
|
1293
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1294
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1295
|
+
}>>>, never, never>;
|
|
1296
|
+
readonly type: Schema.Literal<"integer">;
|
|
1297
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1298
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1299
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1300
|
+
}>, Schema.Struct<{
|
|
1301
|
+
readonly key: Schema.String;
|
|
1302
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1303
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1304
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1305
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1306
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1307
|
+
readonly key: Schema.String;
|
|
1308
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1309
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1310
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1311
|
+
readonly key: Schema.String;
|
|
1312
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1313
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1314
|
+
}>>>, never, never>;
|
|
1315
|
+
readonly type: Schema.Literal<"boolean">;
|
|
1316
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1317
|
+
}>, Schema.Struct<{
|
|
1318
|
+
readonly key: Schema.String;
|
|
1319
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1320
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1321
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1322
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1323
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1324
|
+
readonly key: Schema.String;
|
|
1325
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1326
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1327
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1328
|
+
readonly key: Schema.String;
|
|
1329
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1330
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1331
|
+
}>>>, never, never>;
|
|
1332
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
1333
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1334
|
+
readonly value: Schema.String;
|
|
1335
|
+
readonly label: Schema.String;
|
|
1336
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1337
|
+
}>>;
|
|
1338
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1339
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1340
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1341
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1342
|
+
}>, Schema.Struct<{
|
|
1343
|
+
readonly key: Schema.String;
|
|
1344
|
+
readonly type: Schema.Literal<"external">;
|
|
1345
|
+
readonly url: Schema.String;
|
|
1346
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1347
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1348
|
+
}>]>>;
|
|
1349
|
+
}>;
|
|
1350
|
+
}>;
|
|
1351
|
+
}, Schema.Struct<{
|
|
1352
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1353
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1354
|
+
};
|
|
1355
|
+
readonly created: Schema.Finite;
|
|
1356
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1357
|
+
readonly type: Schema.Literal<"form.replied">;
|
|
1358
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1359
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1360
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1361
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1362
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1363
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1364
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1365
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1366
|
+
}>, never, never>;
|
|
1367
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1368
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1369
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1370
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1371
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1372
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1373
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1374
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1375
|
+
}>, never, never>;
|
|
1376
|
+
}>>, never, never>;
|
|
1377
|
+
readonly data: Schema.Struct<{
|
|
1378
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1379
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1380
|
+
};
|
|
1381
|
+
readonly sessionID: Schema.String;
|
|
1382
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
1383
|
+
}>;
|
|
1384
|
+
}> & {
|
|
1385
|
+
type: "form.replied";
|
|
1386
|
+
durability: "ephemeral";
|
|
1387
|
+
durable: undefined;
|
|
1388
|
+
data: Schema.Struct<{
|
|
1389
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1390
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1391
|
+
};
|
|
1392
|
+
readonly sessionID: Schema.String;
|
|
1393
|
+
readonly answer: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean, Schema.$Array<Schema.String>]>>;
|
|
1394
|
+
}>;
|
|
1395
|
+
}, Schema.Struct<{
|
|
1396
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
1397
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
1398
|
+
};
|
|
1399
|
+
readonly created: Schema.Finite;
|
|
1400
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1401
|
+
readonly type: Schema.Literal<"form.cancelled">;
|
|
1402
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1403
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1404
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1405
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1406
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1407
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1408
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1409
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1410
|
+
}>, never, never>;
|
|
1411
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1412
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
1413
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1414
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1415
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1416
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
1417
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1418
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
1419
|
+
}>, never, never>;
|
|
1420
|
+
}>>, never, never>;
|
|
1421
|
+
readonly data: Schema.Struct<{
|
|
1422
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1423
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1424
|
+
};
|
|
1425
|
+
readonly sessionID: Schema.String;
|
|
1426
|
+
}>;
|
|
1427
|
+
}> & {
|
|
1428
|
+
type: "form.cancelled";
|
|
1429
|
+
durability: "ephemeral";
|
|
1430
|
+
durable: undefined;
|
|
1431
|
+
data: Schema.Struct<{
|
|
1432
|
+
readonly id: Schema.brand<Schema.String, "Form.ID"> & {
|
|
1433
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1434
|
+
};
|
|
1435
|
+
readonly sessionID: Schema.String;
|
|
1436
|
+
}>;
|
|
1437
|
+
}];
|
|
1438
|
+
};
|