@dxos/functions 0.8.2-main.2f9c567 → 0.8.2-main.30e4dbb

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.
@@ -1,4 +1,4 @@
1
- import { Schema as S } from 'effect';
1
+ import { Schema } from 'effect';
2
2
  import { Expando, Ref } from '@dxos/echo-schema';
3
3
  import { FunctionType } from './schema';
4
4
  /**
@@ -16,141 +16,141 @@ export declare enum TriggerKind {
16
16
  /**
17
17
  * Cron timer.
18
18
  */
19
- declare const TimerTriggerSchema: S.mutable<S.Struct<{
20
- type: S.Literal<[TriggerKind.Timer]>;
21
- cron: S.SchemaClass<string, string, never>;
19
+ declare const TimerTriggerSchema: Schema.mutable<Schema.Struct<{
20
+ kind: Schema.Literal<[TriggerKind.Timer]>;
21
+ cron: Schema.SchemaClass<string, string, never>;
22
22
  }>>;
23
- export type TimerTrigger = S.Schema.Type<typeof TimerTriggerSchema>;
24
- declare const EmailTriggerSchema: S.mutable<S.Struct<{
25
- type: S.Literal<[TriggerKind.Email]>;
23
+ export type TimerTrigger = Schema.Schema.Type<typeof TimerTriggerSchema>;
24
+ declare const EmailTriggerSchema: Schema.mutable<Schema.Struct<{
25
+ kind: Schema.Literal<[TriggerKind.Email]>;
26
26
  }>>;
27
- export type EmailTrigger = S.Schema.Type<typeof EmailTriggerSchema>;
28
- declare const QueueTriggerSchema: S.mutable<S.Struct<{
29
- type: S.Literal<[TriggerKind.Queue]>;
30
- queue: S.refine<string, typeof S.NonEmptyString>;
27
+ export type EmailTrigger = Schema.Schema.Type<typeof EmailTriggerSchema>;
28
+ declare const QueueTriggerSchema: Schema.mutable<Schema.Struct<{
29
+ kind: Schema.Literal<[TriggerKind.Queue]>;
30
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
31
31
  }>>;
32
- export type QueueTrigger = S.Schema.Type<typeof QueueTriggerSchema>;
32
+ export type QueueTrigger = Schema.Schema.Type<typeof QueueTriggerSchema>;
33
33
  /**
34
34
  * Webhook.
35
35
  */
36
- declare const WebhookTriggerSchema: S.mutable<S.Struct<{
37
- type: S.Literal<[TriggerKind.Webhook]>;
38
- method: S.optional<S.SchemaClass<string, string, never>>;
39
- port: S.optional<S.SchemaClass<number, number, never>>;
36
+ declare const WebhookTriggerSchema: Schema.mutable<Schema.Struct<{
37
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
38
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
39
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
40
40
  }>>;
41
- export type WebhookTrigger = S.Schema.Type<typeof WebhookTriggerSchema>;
41
+ export type WebhookTrigger = Schema.Schema.Type<typeof WebhookTriggerSchema>;
42
42
  /**
43
43
  * Subscription.
44
44
  */
45
- declare const SubscriptionTriggerSchema: S.mutable<S.Struct<{
46
- type: S.Literal<[TriggerKind.Subscription]>;
47
- filter: S.Struct<{
48
- type: S.optional<S.SchemaClass<string, string, never>>;
49
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
45
+ declare const SubscriptionTriggerSchema: Schema.mutable<Schema.Struct<{
46
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
47
+ filter: Schema.Struct<{
48
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
49
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
50
50
  }>;
51
- options: S.optional<S.Struct<{
52
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
53
- delay: S.optional<S.SchemaClass<number, number, never>>;
51
+ options: Schema.optional<Schema.Struct<{
52
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
53
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
54
54
  }>>;
55
55
  }>>;
56
- export type SubscriptionTrigger = S.Schema.Type<typeof SubscriptionTriggerSchema>;
56
+ export type SubscriptionTrigger = Schema.Schema.Type<typeof SubscriptionTriggerSchema>;
57
57
  /**
58
58
  * Trigger schema (discriminated union).
59
59
  */
60
- export declare const TriggerSchema: S.Union<[S.mutable<S.Struct<{
61
- type: S.Literal<[TriggerKind.Timer]>;
62
- cron: S.SchemaClass<string, string, never>;
63
- }>>, S.mutable<S.Struct<{
64
- type: S.Literal<[TriggerKind.Webhook]>;
65
- method: S.optional<S.SchemaClass<string, string, never>>;
66
- port: S.optional<S.SchemaClass<number, number, never>>;
67
- }>>, S.mutable<S.Struct<{
68
- type: S.Literal<[TriggerKind.Subscription]>;
69
- filter: S.Struct<{
70
- type: S.optional<S.SchemaClass<string, string, never>>;
71
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
60
+ export declare const TriggerSchema: Schema.Union<[Schema.mutable<Schema.Struct<{
61
+ kind: Schema.Literal<[TriggerKind.Timer]>;
62
+ cron: Schema.SchemaClass<string, string, never>;
63
+ }>>, Schema.mutable<Schema.Struct<{
64
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
65
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
66
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
67
+ }>>, Schema.mutable<Schema.Struct<{
68
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
69
+ filter: Schema.Struct<{
70
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
71
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
72
72
  }>;
73
- options: S.optional<S.Struct<{
74
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
75
- delay: S.optional<S.SchemaClass<number, number, never>>;
73
+ options: Schema.optional<Schema.Struct<{
74
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
75
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
76
76
  }>>;
77
- }>>, S.mutable<S.Struct<{
78
- type: S.Literal<[TriggerKind.Email]>;
79
- }>>, S.mutable<S.Struct<{
80
- type: S.Literal<[TriggerKind.Queue]>;
81
- queue: S.refine<string, typeof S.NonEmptyString>;
77
+ }>>, Schema.mutable<Schema.Struct<{
78
+ kind: Schema.Literal<[TriggerKind.Email]>;
79
+ }>>, Schema.mutable<Schema.Struct<{
80
+ kind: Schema.Literal<[TriggerKind.Queue]>;
81
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
82
82
  }>>]>;
83
- export type TriggerType = S.Schema.Type<typeof TriggerSchema>;
83
+ export type TriggerType = Schema.Schema.Type<typeof TriggerSchema>;
84
84
  export type EventType = EmailTriggerOutput | WebhookTriggerOutput | QueueTriggerOutput | SubscriptionTriggerOutput | TimerTriggerOutput;
85
- export declare const EmailTriggerOutput: S.mutable<S.Struct<{
86
- from: typeof S.String;
87
- to: typeof S.String;
88
- subject: typeof S.String;
89
- created: typeof S.String;
90
- body: typeof S.String;
85
+ export declare const EmailTriggerOutput: Schema.mutable<Schema.Struct<{
86
+ from: typeof Schema.String;
87
+ to: typeof Schema.String;
88
+ subject: typeof Schema.String;
89
+ created: typeof Schema.String;
90
+ body: typeof Schema.String;
91
91
  }>>;
92
- export type EmailTriggerOutput = S.Schema.Type<typeof EmailTriggerOutput>;
93
- export declare const WebhookTriggerOutput: S.mutable<S.Struct<{
94
- url: typeof S.String;
95
- method: S.Literal<["GET", "POST"]>;
96
- headers: S.Record$<typeof S.String, typeof S.String>;
97
- bodyText: typeof S.String;
92
+ export type EmailTriggerOutput = Schema.Schema.Type<typeof EmailTriggerOutput>;
93
+ export declare const WebhookTriggerOutput: Schema.mutable<Schema.Struct<{
94
+ url: typeof Schema.String;
95
+ method: Schema.Literal<["GET", "POST"]>;
96
+ headers: Schema.Record$<typeof Schema.String, typeof Schema.String>;
97
+ bodyText: typeof Schema.String;
98
98
  }>>;
99
- export type WebhookTriggerOutput = S.Schema.Type<typeof WebhookTriggerOutput>;
100
- export declare const QueueTriggerOutput: S.mutable<S.Struct<{
101
- queue: S.refine<string, typeof S.NonEmptyString>;
102
- item: typeof S.Any;
103
- cursor: typeof S.String;
99
+ export type WebhookTriggerOutput = Schema.Schema.Type<typeof WebhookTriggerOutput>;
100
+ export declare const QueueTriggerOutput: Schema.mutable<Schema.Struct<{
101
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
102
+ item: typeof Schema.Any;
103
+ cursor: typeof Schema.String;
104
104
  }>>;
105
- export type QueueTriggerOutput = S.Schema.Type<typeof QueueTriggerOutput>;
106
- export declare const SubscriptionTriggerOutput: S.mutable<S.Struct<{
107
- type: typeof S.String;
108
- changedObjectId: typeof S.String;
105
+ export type QueueTriggerOutput = Schema.Schema.Type<typeof QueueTriggerOutput>;
106
+ export declare const SubscriptionTriggerOutput: Schema.mutable<Schema.Struct<{
107
+ type: typeof Schema.String;
108
+ changedObjectId: typeof Schema.String;
109
109
  }>>;
110
- export type SubscriptionTriggerOutput = S.Schema.Type<typeof SubscriptionTriggerOutput>;
111
- export declare const TimerTriggerOutput: S.mutable<S.Struct<{
112
- tick: typeof S.Number;
110
+ export type SubscriptionTriggerOutput = Schema.Schema.Type<typeof SubscriptionTriggerOutput>;
111
+ export declare const TimerTriggerOutput: Schema.mutable<Schema.Struct<{
112
+ tick: typeof Schema.Number;
113
113
  }>>;
114
- export type TimerTriggerOutput = S.Schema.Type<typeof TimerTriggerOutput>;
114
+ export type TimerTriggerOutput = Schema.Schema.Type<typeof TimerTriggerOutput>;
115
115
  /**
116
116
  * Function trigger.
117
117
  * Function is invoked with the `payload` passed as input data.
118
118
  * The event that triggers the function is available in the function context.
119
119
  */
120
- export declare const FunctionTriggerSchema: S.Struct<{
120
+ export declare const FunctionTriggerSchema: Schema.Struct<{
121
121
  /**
122
122
  * Function or workflow to invoke.
123
123
  */
124
- function: S.optional<S.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
124
+ function: Schema.optional<Schema.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
125
125
  /**
126
- * Only used for workflows.
126
+ * Only used for workflowSchema.
127
127
  * Specifies the input node in the circuit.
128
- * @deprecated Remove and enforce a single input node in all compute graphs.
128
+ * @deprecated Remove and enforce a single input node in all compute graphSchema.
129
129
  */
130
- inputNodeId: S.optional<S.SchemaClass<string, string, never>>;
131
- enabled: S.optional<S.SchemaClass<boolean, boolean, never>>;
132
- spec: S.optional<S.Union<[S.mutable<S.Struct<{
133
- type: S.Literal<[TriggerKind.Timer]>;
134
- cron: S.SchemaClass<string, string, never>;
135
- }>>, S.mutable<S.Struct<{
136
- type: S.Literal<[TriggerKind.Webhook]>;
137
- method: S.optional<S.SchemaClass<string, string, never>>;
138
- port: S.optional<S.SchemaClass<number, number, never>>;
139
- }>>, S.mutable<S.Struct<{
140
- type: S.Literal<[TriggerKind.Subscription]>;
141
- filter: S.Struct<{
142
- type: S.optional<S.SchemaClass<string, string, never>>;
143
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
130
+ inputNodeId: Schema.optional<Schema.SchemaClass<string, string, never>>;
131
+ enabled: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
132
+ spec: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
133
+ kind: Schema.Literal<[TriggerKind.Timer]>;
134
+ cron: Schema.SchemaClass<string, string, never>;
135
+ }>>, Schema.mutable<Schema.Struct<{
136
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
137
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
138
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
139
+ }>>, Schema.mutable<Schema.Struct<{
140
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
141
+ filter: Schema.Struct<{
142
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
143
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
144
144
  }>;
145
- options: S.optional<S.Struct<{
146
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
147
- delay: S.optional<S.SchemaClass<number, number, never>>;
145
+ options: Schema.optional<Schema.Struct<{
146
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
147
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
148
148
  }>>;
149
- }>>, S.mutable<S.Struct<{
150
- type: S.Literal<[TriggerKind.Email]>;
151
- }>>, S.mutable<S.Struct<{
152
- type: S.Literal<[TriggerKind.Queue]>;
153
- queue: S.refine<string, typeof S.NonEmptyString>;
149
+ }>>, Schema.mutable<Schema.Struct<{
150
+ kind: Schema.Literal<[TriggerKind.Email]>;
151
+ }>>, Schema.mutable<Schema.Struct<{
152
+ kind: Schema.Literal<[TriggerKind.Queue]>;
153
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
154
154
  }>>]>>;
155
155
  /**
156
156
  * Passed as the input data to the function.
@@ -163,43 +163,43 @@ export declare const FunctionTriggerSchema: S.Struct<{
163
163
  * mailbox: { '/': 'dxn:echo:AAA:ZZZ' }
164
164
  * }
165
165
  */
166
- input: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
166
+ input: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
167
167
  }>;
168
- export type FunctionTriggerType = S.Schema.Type<typeof FunctionTriggerSchema>;
168
+ export type FunctionTriggerType = Schema.Schema.Type<typeof FunctionTriggerSchema>;
169
169
  declare const FunctionTrigger_base: import("@dxos/echo-schema").TypedObjectPrototype<import("@dxos/echo-schema").TypedObjectFields<Readonly<{
170
170
  /**
171
171
  * Function or workflow to invoke.
172
172
  */
173
- function: S.optional<S.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
173
+ function: Schema.optional<Schema.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
174
174
  /**
175
- * Only used for workflows.
175
+ * Only used for workflowSchema.
176
176
  * Specifies the input node in the circuit.
177
- * @deprecated Remove and enforce a single input node in all compute graphs.
177
+ * @deprecated Remove and enforce a single input node in all compute graphSchema.
178
178
  */
179
- inputNodeId: S.optional<S.SchemaClass<string, string, never>>;
180
- enabled: S.optional<S.SchemaClass<boolean, boolean, never>>;
181
- spec: S.optional<S.Union<[S.mutable<S.Struct<{
182
- type: S.Literal<[TriggerKind.Timer]>;
183
- cron: S.SchemaClass<string, string, never>;
184
- }>>, S.mutable<S.Struct<{
185
- type: S.Literal<[TriggerKind.Webhook]>;
186
- method: S.optional<S.SchemaClass<string, string, never>>;
187
- port: S.optional<S.SchemaClass<number, number, never>>;
188
- }>>, S.mutable<S.Struct<{
189
- type: S.Literal<[TriggerKind.Subscription]>;
190
- filter: S.Struct<{
191
- type: S.optional<S.SchemaClass<string, string, never>>;
192
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
179
+ inputNodeId: Schema.optional<Schema.SchemaClass<string, string, never>>;
180
+ enabled: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
181
+ spec: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
182
+ kind: Schema.Literal<[TriggerKind.Timer]>;
183
+ cron: Schema.SchemaClass<string, string, never>;
184
+ }>>, Schema.mutable<Schema.Struct<{
185
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
186
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
187
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
188
+ }>>, Schema.mutable<Schema.Struct<{
189
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
190
+ filter: Schema.Struct<{
191
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
192
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
193
193
  }>;
194
- options: S.optional<S.Struct<{
195
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
196
- delay: S.optional<S.SchemaClass<number, number, never>>;
194
+ options: Schema.optional<Schema.Struct<{
195
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
196
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
197
197
  }>>;
198
- }>>, S.mutable<S.Struct<{
199
- type: S.Literal<[TriggerKind.Email]>;
200
- }>>, S.mutable<S.Struct<{
201
- type: S.Literal<[TriggerKind.Queue]>;
202
- queue: S.refine<string, typeof S.NonEmptyString>;
198
+ }>>, Schema.mutable<Schema.Struct<{
199
+ kind: Schema.Literal<[TriggerKind.Email]>;
200
+ }>>, Schema.mutable<Schema.Struct<{
201
+ kind: Schema.Literal<[TriggerKind.Queue]>;
202
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
203
203
  }>>]>>;
204
204
  /**
205
205
  * Passed as the input data to the function.
@@ -212,41 +212,41 @@ declare const FunctionTrigger_base: import("@dxos/echo-schema").TypedObjectProto
212
212
  * mailbox: { '/': 'dxn:echo:AAA:ZZZ' }
213
213
  * }
214
214
  */
215
- input: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
216
- }>, import("@dxos/echo-schema").TypedObjectOptions>, S.Struct.Encoded<Readonly<{
215
+ input: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
216
+ }>, import("@dxos/echo-schema").TypedObjectOptions>, Schema.Struct.Encoded<Readonly<{
217
217
  /**
218
218
  * Function or workflow to invoke.
219
219
  */
220
- function: S.optional<S.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
220
+ function: Schema.optional<Schema.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
221
221
  /**
222
- * Only used for workflows.
222
+ * Only used for workflowSchema.
223
223
  * Specifies the input node in the circuit.
224
- * @deprecated Remove and enforce a single input node in all compute graphs.
224
+ * @deprecated Remove and enforce a single input node in all compute graphSchema.
225
225
  */
226
- inputNodeId: S.optional<S.SchemaClass<string, string, never>>;
227
- enabled: S.optional<S.SchemaClass<boolean, boolean, never>>;
228
- spec: S.optional<S.Union<[S.mutable<S.Struct<{
229
- type: S.Literal<[TriggerKind.Timer]>;
230
- cron: S.SchemaClass<string, string, never>;
231
- }>>, S.mutable<S.Struct<{
232
- type: S.Literal<[TriggerKind.Webhook]>;
233
- method: S.optional<S.SchemaClass<string, string, never>>;
234
- port: S.optional<S.SchemaClass<number, number, never>>;
235
- }>>, S.mutable<S.Struct<{
236
- type: S.Literal<[TriggerKind.Subscription]>;
237
- filter: S.Struct<{
238
- type: S.optional<S.SchemaClass<string, string, never>>;
239
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
226
+ inputNodeId: Schema.optional<Schema.SchemaClass<string, string, never>>;
227
+ enabled: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
228
+ spec: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
229
+ kind: Schema.Literal<[TriggerKind.Timer]>;
230
+ cron: Schema.SchemaClass<string, string, never>;
231
+ }>>, Schema.mutable<Schema.Struct<{
232
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
233
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
234
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
235
+ }>>, Schema.mutable<Schema.Struct<{
236
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
237
+ filter: Schema.Struct<{
238
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
239
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
240
240
  }>;
241
- options: S.optional<S.Struct<{
242
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
243
- delay: S.optional<S.SchemaClass<number, number, never>>;
241
+ options: Schema.optional<Schema.Struct<{
242
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
243
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
244
244
  }>>;
245
- }>>, S.mutable<S.Struct<{
246
- type: S.Literal<[TriggerKind.Email]>;
247
- }>>, S.mutable<S.Struct<{
248
- type: S.Literal<[TriggerKind.Queue]>;
249
- queue: S.refine<string, typeof S.NonEmptyString>;
245
+ }>>, Schema.mutable<Schema.Struct<{
246
+ kind: Schema.Literal<[TriggerKind.Email]>;
247
+ }>>, Schema.mutable<Schema.Struct<{
248
+ kind: Schema.Literal<[TriggerKind.Queue]>;
249
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
250
250
  }>>]>>;
251
251
  /**
252
252
  * Passed as the input data to the function.
@@ -259,7 +259,7 @@ declare const FunctionTrigger_base: import("@dxos/echo-schema").TypedObjectProto
259
259
  * mailbox: { '/': 'dxn:echo:AAA:ZZZ' }
260
260
  * }
261
261
  */
262
- input: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
262
+ input: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
263
263
  }>>>;
264
264
  /**
265
265
  * Function trigger.
@@ -269,12 +269,12 @@ export declare class FunctionTrigger extends FunctionTrigger_base {
269
269
  /**
270
270
  * Function manifest file.
271
271
  */
272
- export declare const FunctionManifestSchema: S.Struct<{
273
- functions: S.optional<S.mutable<S.Array$<S.Schema<import("@dxos/echo-schema").ExcludeId<import("@dxos/echo-schema").TypedObjectFields<{
274
- name: typeof S.NonEmptyString;
275
- version: typeof S.String;
276
- description: S.optional<typeof S.String>;
277
- source: S.optional<import("@dxos/echo-schema").Ref$<{
272
+ export declare const FunctionManifestSchema: Schema.Struct<{
273
+ functions: Schema.optional<Schema.mutable<Schema.Array$<Schema.Schema<import("@dxos/echo-schema").ExcludeId<import("@dxos/echo-schema").TypedObjectFields<{
274
+ name: typeof Schema.NonEmptyString;
275
+ version: typeof Schema.String;
276
+ description: Schema.optional<typeof Schema.String>;
277
+ source: Schema.optional<import("@dxos/echo-schema").Ref$<{
278
278
  readonly id: string;
279
279
  name?: string | undefined;
280
280
  description?: string | undefined;
@@ -284,14 +284,14 @@ export declare const FunctionManifestSchema: S.Struct<{
284
284
  content: string;
285
285
  }>;
286
286
  }>>;
287
- inputSchema: S.optional<S.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
288
- outputSchema: S.optional<S.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
289
- binding: S.optional<typeof S.String>;
290
- }, import("@dxos/echo-schema").TypedObjectOptions>> & import("@dxos/echo-schema").WithMeta, S.Struct.Encoded<{
291
- name: typeof S.NonEmptyString;
292
- version: typeof S.String;
293
- description: S.optional<typeof S.String>;
294
- source: S.optional<import("@dxos/echo-schema").Ref$<{
287
+ inputSchema: Schema.optional<Schema.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
288
+ outputSchema: Schema.optional<Schema.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
289
+ binding: Schema.optional<typeof Schema.String>;
290
+ }, import("@dxos/echo-schema").TypedObjectOptions>> & import("@dxos/echo-schema").WithMeta, Schema.Struct.Encoded<{
291
+ name: typeof Schema.NonEmptyString;
292
+ version: typeof Schema.String;
293
+ description: Schema.optional<typeof Schema.String>;
294
+ source: Schema.optional<import("@dxos/echo-schema").Ref$<{
295
295
  readonly id: string;
296
296
  name?: string | undefined;
297
297
  description?: string | undefined;
@@ -301,44 +301,44 @@ export declare const FunctionManifestSchema: S.Struct<{
301
301
  content: string;
302
302
  }>;
303
303
  }>>;
304
- inputSchema: S.optional<S.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
305
- outputSchema: S.optional<S.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
306
- binding: S.optional<typeof S.String>;
304
+ inputSchema: Schema.optional<Schema.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
305
+ outputSchema: Schema.optional<Schema.Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
306
+ binding: Schema.optional<typeof Schema.String>;
307
307
  }>, never>>>>;
308
- triggers: S.optional<S.mutable<S.Array$<S.Schema<import("@dxos/echo-schema").ExcludeId<import("@dxos/echo-schema").TypedObjectFields<Readonly<{
308
+ triggers: Schema.optional<Schema.mutable<Schema.Array$<Schema.Schema<import("@dxos/echo-schema").ExcludeId<import("@dxos/echo-schema").TypedObjectFields<Readonly<{
309
309
  /**
310
310
  * Function or workflow to invoke.
311
311
  */
312
- function: S.optional<S.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
312
+ function: Schema.optional<Schema.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
313
313
  /**
314
- * Only used for workflows.
314
+ * Only used for workflowSchema.
315
315
  * Specifies the input node in the circuit.
316
- * @deprecated Remove and enforce a single input node in all compute graphs.
316
+ * @deprecated Remove and enforce a single input node in all compute graphSchema.
317
317
  */
318
- inputNodeId: S.optional<S.SchemaClass<string, string, never>>;
319
- enabled: S.optional<S.SchemaClass<boolean, boolean, never>>;
320
- spec: S.optional<S.Union<[S.mutable<S.Struct<{
321
- type: S.Literal<[TriggerKind.Timer]>;
322
- cron: S.SchemaClass<string, string, never>;
323
- }>>, S.mutable<S.Struct<{
324
- type: S.Literal<[TriggerKind.Webhook]>;
325
- method: S.optional<S.SchemaClass<string, string, never>>;
326
- port: S.optional<S.SchemaClass<number, number, never>>;
327
- }>>, S.mutable<S.Struct<{
328
- type: S.Literal<[TriggerKind.Subscription]>;
329
- filter: S.Struct<{
330
- type: S.optional<S.SchemaClass<string, string, never>>;
331
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
318
+ inputNodeId: Schema.optional<Schema.SchemaClass<string, string, never>>;
319
+ enabled: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
320
+ spec: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
321
+ kind: Schema.Literal<[TriggerKind.Timer]>;
322
+ cron: Schema.SchemaClass<string, string, never>;
323
+ }>>, Schema.mutable<Schema.Struct<{
324
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
325
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
326
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
327
+ }>>, Schema.mutable<Schema.Struct<{
328
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
329
+ filter: Schema.Struct<{
330
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
331
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
332
332
  }>;
333
- options: S.optional<S.Struct<{
334
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
335
- delay: S.optional<S.SchemaClass<number, number, never>>;
333
+ options: Schema.optional<Schema.Struct<{
334
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
335
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
336
336
  }>>;
337
- }>>, S.mutable<S.Struct<{
338
- type: S.Literal<[TriggerKind.Email]>;
339
- }>>, S.mutable<S.Struct<{
340
- type: S.Literal<[TriggerKind.Queue]>;
341
- queue: S.refine<string, typeof S.NonEmptyString>;
337
+ }>>, Schema.mutable<Schema.Struct<{
338
+ kind: Schema.Literal<[TriggerKind.Email]>;
339
+ }>>, Schema.mutable<Schema.Struct<{
340
+ kind: Schema.Literal<[TriggerKind.Queue]>;
341
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
342
342
  }>>]>>;
343
343
  /**
344
344
  * Passed as the input data to the function.
@@ -351,41 +351,41 @@ export declare const FunctionManifestSchema: S.Struct<{
351
351
  * mailbox: { '/': 'dxn:echo:AAA:ZZZ' }
352
352
  * }
353
353
  */
354
- input: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
355
- }>, import("@dxos/echo-schema").TypedObjectOptions>> & import("@dxos/echo-schema").WithMeta, S.Struct.Encoded<Readonly<{
354
+ input: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
355
+ }>, import("@dxos/echo-schema").TypedObjectOptions>> & import("@dxos/echo-schema").WithMeta, Schema.Struct.Encoded<Readonly<{
356
356
  /**
357
357
  * Function or workflow to invoke.
358
358
  */
359
- function: S.optional<S.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
359
+ function: Schema.optional<Schema.SchemaClass<Ref<Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
360
360
  /**
361
- * Only used for workflows.
361
+ * Only used for workflowSchema.
362
362
  * Specifies the input node in the circuit.
363
- * @deprecated Remove and enforce a single input node in all compute graphs.
363
+ * @deprecated Remove and enforce a single input node in all compute graphSchema.
364
364
  */
365
- inputNodeId: S.optional<S.SchemaClass<string, string, never>>;
366
- enabled: S.optional<S.SchemaClass<boolean, boolean, never>>;
367
- spec: S.optional<S.Union<[S.mutable<S.Struct<{
368
- type: S.Literal<[TriggerKind.Timer]>;
369
- cron: S.SchemaClass<string, string, never>;
370
- }>>, S.mutable<S.Struct<{
371
- type: S.Literal<[TriggerKind.Webhook]>;
372
- method: S.optional<S.SchemaClass<string, string, never>>;
373
- port: S.optional<S.SchemaClass<number, number, never>>;
374
- }>>, S.mutable<S.Struct<{
375
- type: S.Literal<[TriggerKind.Subscription]>;
376
- filter: S.Struct<{
377
- type: S.optional<S.SchemaClass<string, string, never>>;
378
- props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
365
+ inputNodeId: Schema.optional<Schema.SchemaClass<string, string, never>>;
366
+ enabled: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
367
+ spec: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
368
+ kind: Schema.Literal<[TriggerKind.Timer]>;
369
+ cron: Schema.SchemaClass<string, string, never>;
370
+ }>>, Schema.mutable<Schema.Struct<{
371
+ kind: Schema.Literal<[TriggerKind.Webhook]>;
372
+ method: Schema.optional<Schema.SchemaClass<string, string, never>>;
373
+ port: Schema.optional<Schema.SchemaClass<number, number, never>>;
374
+ }>>, Schema.mutable<Schema.Struct<{
375
+ kind: Schema.Literal<[TriggerKind.Subscription]>;
376
+ filter: Schema.Struct<{
377
+ type: Schema.optional<Schema.SchemaClass<string, string, never>>;
378
+ props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
379
379
  }>;
380
- options: S.optional<S.Struct<{
381
- deep: S.optional<S.SchemaClass<boolean, boolean, never>>;
382
- delay: S.optional<S.SchemaClass<number, number, never>>;
380
+ options: Schema.optional<Schema.Struct<{
381
+ deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
382
+ delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
383
383
  }>>;
384
- }>>, S.mutable<S.Struct<{
385
- type: S.Literal<[TriggerKind.Email]>;
386
- }>>, S.mutable<S.Struct<{
387
- type: S.Literal<[TriggerKind.Queue]>;
388
- queue: S.refine<string, typeof S.NonEmptyString>;
384
+ }>>, Schema.mutable<Schema.Struct<{
385
+ kind: Schema.Literal<[TriggerKind.Email]>;
386
+ }>>, Schema.mutable<Schema.Struct<{
387
+ kind: Schema.Literal<[TriggerKind.Queue]>;
388
+ queue: Schema.refine<string, typeof Schema.NonEmptyString>;
389
389
  }>>]>>;
390
390
  /**
391
391
  * Passed as the input data to the function.
@@ -398,10 +398,10 @@ export declare const FunctionManifestSchema: S.Struct<{
398
398
  * mailbox: { '/': 'dxn:echo:AAA:ZZZ' }
399
399
  * }
400
400
  */
401
- input: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
401
+ input: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
402
402
  }>>, never>>>>;
403
403
  }>;
404
- export type FunctionManifest = S.Schema.Type<typeof FunctionManifestSchema>;
404
+ export type FunctionManifest = Schema.Schema.Type<typeof FunctionManifestSchema>;
405
405
  export declare const FUNCTION_TYPES: (typeof FunctionType | typeof FunctionTrigger)[];
406
406
  export {};
407
407
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAa,MAAM,QAAQ,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAyC,GAAG,EAAa,MAAM,mBAAmB,CAAC;AAEnG,OA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