@dxos/functions 0.8.1-main.303c73a → 0.8.1-main.a06ad20
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.
|
@@ -41,7 +41,7 @@ export declare const InvocationTraceEvent: S.Schema<{
|
|
|
41
41
|
type: S.Literal<[import("./types").TriggerKind.Email]>;
|
|
42
42
|
}>>, S.mutable<S.Struct<{
|
|
43
43
|
type: S.Literal<[import("./types").TriggerKind.Queue]>;
|
|
44
|
-
queue: S.refine<string, S.
|
|
44
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
45
45
|
}>>]>>;
|
|
46
46
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
47
47
|
}, import("@dxos/echo-schema").TypedObjectOptions>> | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const InvocationTraceEvent: S.Schema<{
|
|
|
83
83
|
type: S.Literal<[import("./types").TriggerKind.Email]>;
|
|
84
84
|
}>>, S.mutable<S.Struct<{
|
|
85
85
|
type: S.Literal<[import("./types").TriggerKind.Queue]>;
|
|
86
|
-
queue: S.refine<string, S.
|
|
86
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
87
87
|
}>>]>>;
|
|
88
88
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
89
89
|
}, import("@dxos/echo-schema").TypedObjectOptions>> | undefined;
|
|
@@ -25,7 +25,7 @@ declare const EmailTriggerSchema: S.mutable<S.Struct<{
|
|
|
25
25
|
export type EmailTrigger = S.Schema.Type<typeof EmailTriggerSchema>;
|
|
26
26
|
declare const QueueTriggerSchema: S.mutable<S.Struct<{
|
|
27
27
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
28
|
-
queue: S.refine<string, S.
|
|
28
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
29
29
|
}>>;
|
|
30
30
|
export type QueueTrigger = S.Schema.Type<typeof QueueTriggerSchema>;
|
|
31
31
|
/**
|
|
@@ -76,7 +76,7 @@ export declare const TriggerSchema: S.Union<[S.mutable<S.Struct<{
|
|
|
76
76
|
type: S.Literal<[TriggerKind.Email]>;
|
|
77
77
|
}>>, S.mutable<S.Struct<{
|
|
78
78
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
79
|
-
queue: S.refine<string, S.
|
|
79
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
80
80
|
}>>]>;
|
|
81
81
|
export type TriggerType = S.Schema.Type<typeof TriggerSchema>;
|
|
82
82
|
/**
|
|
@@ -106,7 +106,7 @@ export declare const FunctionTriggerSchema: S.Struct<{
|
|
|
106
106
|
type: S.Literal<[TriggerKind.Email]>;
|
|
107
107
|
}>>, S.mutable<S.Struct<{
|
|
108
108
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
109
|
-
queue: S.refine<string, S.
|
|
109
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
110
110
|
}>>]>>;
|
|
111
111
|
meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
112
112
|
}>;
|
|
@@ -135,7 +135,7 @@ declare const FunctionTrigger_base: import("@dxos/echo-schema").TypedObjectProto
|
|
|
135
135
|
type: S.Literal<[TriggerKind.Email]>;
|
|
136
136
|
}>>, S.mutable<S.Struct<{
|
|
137
137
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
138
|
-
queue: S.refine<string, S.
|
|
138
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
139
139
|
}>>]>>;
|
|
140
140
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
141
141
|
}, import("@dxos/echo-schema").TypedObjectOptions>, S.Struct.Encoded<{
|
|
@@ -162,7 +162,7 @@ declare const FunctionTrigger_base: import("@dxos/echo-schema").TypedObjectProto
|
|
|
162
162
|
type: S.Literal<[TriggerKind.Email]>;
|
|
163
163
|
}>>, S.mutable<S.Struct<{
|
|
164
164
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
165
|
-
queue: S.refine<string, S.
|
|
165
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
166
166
|
}>>]>>;
|
|
167
167
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
168
168
|
}>>;
|
|
@@ -227,7 +227,7 @@ export declare const FunctionManifestSchema: S.Struct<{
|
|
|
227
227
|
type: S.Literal<[TriggerKind.Email]>;
|
|
228
228
|
}>>, S.mutable<S.Struct<{
|
|
229
229
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
230
|
-
queue: S.refine<string, S.
|
|
230
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
231
231
|
}>>]>>;
|
|
232
232
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
233
233
|
}, import("@dxos/echo-schema").TypedObjectOptions>> & import("@dxos/echo-schema").WithMeta, S.Struct.Encoded<{
|
|
@@ -254,7 +254,7 @@ export declare const FunctionManifestSchema: S.Struct<{
|
|
|
254
254
|
type: S.Literal<[TriggerKind.Email]>;
|
|
255
255
|
}>>, S.mutable<S.Struct<{
|
|
256
256
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
257
|
-
queue: S.refine<string, S.
|
|
257
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
258
258
|
}>>]>>;
|
|
259
259
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
260
260
|
}>, never>>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/functions",
|
|
3
|
-
"version": "0.8.1-main.
|
|
3
|
+
"version": "0.8.1-main.a06ad20",
|
|
4
4
|
"description": "Functions API and runtime.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -60,33 +60,33 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@preact/signals-core": "^1.6.0",
|
|
62
62
|
"cron": "^3.1.6",
|
|
63
|
-
"effect": "3.
|
|
63
|
+
"effect": "3.13.3",
|
|
64
64
|
"esbuild-wasm": "^0.16.14",
|
|
65
65
|
"express": "^4.19.2",
|
|
66
66
|
"get-port-please": "^3.1.1",
|
|
67
67
|
"iso-did": "^1.6.0",
|
|
68
68
|
"ws": "^8.14.2",
|
|
69
|
-
"@dxos/async": "0.8.1-main.
|
|
70
|
-
"@dxos/
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/echo-protocol": "0.8.1-main.
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/keys": "0.8.1-main.
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/
|
|
80
|
-
"@dxos/
|
|
81
|
-
"@dxos/
|
|
82
|
-
"@dxos/
|
|
83
|
-
"@dxos/schema": "0.8.1-main.
|
|
84
|
-
"@dxos/util": "0.8.1-main.
|
|
69
|
+
"@dxos/async": "0.8.1-main.a06ad20",
|
|
70
|
+
"@dxos/context": "0.8.1-main.a06ad20",
|
|
71
|
+
"@dxos/client": "0.8.1-main.a06ad20",
|
|
72
|
+
"@dxos/crypto": "0.8.1-main.a06ad20",
|
|
73
|
+
"@dxos/echo-db": "0.8.1-main.a06ad20",
|
|
74
|
+
"@dxos/echo-protocol": "0.8.1-main.a06ad20",
|
|
75
|
+
"@dxos/echo-schema": "0.8.1-main.a06ad20",
|
|
76
|
+
"@dxos/edge-client": "0.8.1-main.a06ad20",
|
|
77
|
+
"@dxos/keys": "0.8.1-main.a06ad20",
|
|
78
|
+
"@dxos/live-object": "0.8.1-main.a06ad20",
|
|
79
|
+
"@dxos/node-std": "0.8.1-main.a06ad20",
|
|
80
|
+
"@dxos/log": "0.8.1-main.a06ad20",
|
|
81
|
+
"@dxos/invariant": "0.8.1-main.a06ad20",
|
|
82
|
+
"@dxos/protocols": "0.8.1-main.a06ad20",
|
|
83
|
+
"@dxos/schema": "0.8.1-main.a06ad20",
|
|
84
|
+
"@dxos/util": "0.8.1-main.a06ad20"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@types/express": "^4.17.17",
|
|
88
88
|
"@types/ws": "^7.4.0",
|
|
89
|
-
"@dxos/agent": "0.8.1-main.
|
|
89
|
+
"@dxos/agent": "0.8.1-main.a06ad20"
|
|
90
90
|
},
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|