@automate.ax/api-contract 0.57.0 → 0.57.1
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/index.d.ts +0 -6
- package/dist/runtime.d.ts +0 -6
- package/dist/runtime.js +2 -7
- package/package.json +2 -2
- package/src/runtime.ts +2 -8
package/dist/index.d.ts
CHANGED
|
@@ -1116,9 +1116,6 @@ export declare const contract: {
|
|
|
1116
1116
|
last: "last";
|
|
1117
1117
|
}>;
|
|
1118
1118
|
ttl: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1119
|
-
parameterActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1120
|
-
parameterEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1121
|
-
parameterSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1122
1119
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1123
1120
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1124
1121
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -1147,9 +1144,6 @@ export declare const contract: {
|
|
|
1147
1144
|
last: "last";
|
|
1148
1145
|
}>;
|
|
1149
1146
|
ttl: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1150
|
-
parameterActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1151
|
-
parameterEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1152
|
-
parameterSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1153
1147
|
}, import("zod/v4/core").$strip>]>>>;
|
|
1154
1148
|
settled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1155
1149
|
signalInvocations: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
package/dist/runtime.d.ts
CHANGED
|
@@ -241,9 +241,6 @@ export declare const runtimeContract: {
|
|
|
241
241
|
last: "last";
|
|
242
242
|
}>;
|
|
243
243
|
ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
244
|
-
parameterActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
245
|
-
parameterEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
246
|
-
parameterSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
247
244
|
}, z.core.$strip>, z.ZodObject<{
|
|
248
245
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
249
246
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
@@ -272,9 +269,6 @@ export declare const runtimeContract: {
|
|
|
272
269
|
last: "last";
|
|
273
270
|
}>;
|
|
274
271
|
ttl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
275
|
-
parameterActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
276
|
-
parameterEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
277
|
-
parameterSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
278
272
|
}, z.core.$strip>]>>>;
|
|
279
273
|
settled: z.ZodDefault<z.ZodBoolean>;
|
|
280
274
|
signalInvocations: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
package/dist/runtime.js
CHANGED
|
@@ -119,11 +119,6 @@ const SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA = z.object({
|
|
|
119
119
|
signalDependencyIds: z.string().array(),
|
|
120
120
|
slot: z.number().int().nonnegative(),
|
|
121
121
|
});
|
|
122
|
-
const COORDINATION_PARAMETER_DEPENDENCIES_SCHEMA = z.object({
|
|
123
|
-
parameterActionDependencyIds: z.string().array(),
|
|
124
|
-
parameterEventDependencyIds: z.string().array(),
|
|
125
|
-
parameterSignalDependencyIds: z.string().array(),
|
|
126
|
-
});
|
|
127
122
|
const COORDINATION_PRIMARY_POSITION_SCHEMA = z.enum(["first", "last"]);
|
|
128
123
|
const CORRELATION_STREAM_NAMES_SCHEMA = z
|
|
129
124
|
.string()
|
|
@@ -166,7 +161,7 @@ const COLLECTION_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
|
166
161
|
policy: z.literal("collect"),
|
|
167
162
|
primaryPosition: COORDINATION_PRIMARY_POSITION_SCHEMA,
|
|
168
163
|
ttl: z.union([z.string().min(1), z.number().nonnegative()]).optional(),
|
|
169
|
-
})
|
|
164
|
+
});
|
|
170
165
|
const WINDOW_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
171
166
|
duration: z.union([z.string().min(1), z.number().nonnegative()]),
|
|
172
167
|
key: encodableSchema,
|
|
@@ -174,7 +169,7 @@ const WINDOW_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
|
174
169
|
policy: z.literal("window"),
|
|
175
170
|
primaryPosition: COORDINATION_PRIMARY_POSITION_SCHEMA,
|
|
176
171
|
ttl: z.union([z.string().min(1), z.number().nonnegative()]).optional(),
|
|
177
|
-
})
|
|
172
|
+
});
|
|
178
173
|
const SIGNAL_INVOCATION_SCHEMA = z.union([
|
|
179
174
|
SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
180
175
|
outcomeSeq: OUTCOME_SEQUENCE_SCHEMA.optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.1",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@ai-sdk/gateway": "^4.0.46",
|
|
31
|
-
"@automate.ax/codec": "0.57.
|
|
31
|
+
"@automate.ax/codec": "0.57.1",
|
|
32
32
|
"@orpc/contract": "1.15.0",
|
|
33
33
|
"zod": "^4.3.6"
|
|
34
34
|
},
|
package/src/runtime.ts
CHANGED
|
@@ -136,12 +136,6 @@ const SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA = z.object({
|
|
|
136
136
|
slot: z.number().int().nonnegative(),
|
|
137
137
|
})
|
|
138
138
|
|
|
139
|
-
const COORDINATION_PARAMETER_DEPENDENCIES_SCHEMA = z.object({
|
|
140
|
-
parameterActionDependencyIds: z.string().array(),
|
|
141
|
-
parameterEventDependencyIds: z.string().array(),
|
|
142
|
-
parameterSignalDependencyIds: z.string().array(),
|
|
143
|
-
})
|
|
144
|
-
|
|
145
139
|
const COORDINATION_PRIMARY_POSITION_SCHEMA = z.enum(["first", "last"])
|
|
146
140
|
const CORRELATION_STREAM_NAMES_SCHEMA = z
|
|
147
141
|
.string()
|
|
@@ -188,7 +182,7 @@ const COLLECTION_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
|
188
182
|
policy: z.literal("collect"),
|
|
189
183
|
primaryPosition: COORDINATION_PRIMARY_POSITION_SCHEMA,
|
|
190
184
|
ttl: z.union([z.string().min(1), z.number().nonnegative()]).optional(),
|
|
191
|
-
})
|
|
185
|
+
})
|
|
192
186
|
|
|
193
187
|
const WINDOW_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
194
188
|
duration: z.union([z.string().min(1), z.number().nonnegative()]),
|
|
@@ -197,7 +191,7 @@ const WINDOW_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
|
197
191
|
policy: z.literal("window"),
|
|
198
192
|
primaryPosition: COORDINATION_PRIMARY_POSITION_SCHEMA,
|
|
199
193
|
ttl: z.union([z.string().min(1), z.number().nonnegative()]).optional(),
|
|
200
|
-
})
|
|
194
|
+
})
|
|
201
195
|
|
|
202
196
|
const SIGNAL_INVOCATION_SCHEMA = z.union([
|
|
203
197
|
SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|