@automate.ax/api-contract 0.22.0 → 0.22.2
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/README.md +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +2 -2
- package/src/runtime.ts +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# `@automate.ax/api-contract`
|
|
2
2
|
|
|
3
|
-
Shared oRPC procedure contracts for the Automate.ax API. The public contract
|
|
4
|
-
used by `@automate.ax/client` excludes first-party and runtime procedures.
|
|
3
|
+
Shared oRPC procedure contracts for the Automate.ax API. The public contract used by `@automate.ax/client` excludes first-party and runtime procedures.
|
|
5
4
|
|
|
6
5
|
Most applications should install `@automate.ax/client` instead.
|
package/dist/index.d.ts
CHANGED
|
@@ -973,7 +973,7 @@ export declare const contract: {
|
|
|
973
973
|
sendEmail: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
974
974
|
subject: import("zod").ZodString;
|
|
975
975
|
text: import("zod").ZodString;
|
|
976
|
-
to: import("zod").ZodUnion<readonly [import("zod").ZodEmail, import("zod").ZodLiteral<"*">]
|
|
976
|
+
to: import("zod").ZodDefault<import("zod").ZodUnion<readonly [import("zod").ZodEmail, import("zod").ZodLiteral<"*">]>>;
|
|
977
977
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
978
978
|
id: import("zod").ZodNullable<import("zod").ZodString>;
|
|
979
979
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
package/dist/runtime.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export declare const runtimeContract: {
|
|
|
92
92
|
sendEmail: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
93
93
|
subject: z.ZodString;
|
|
94
94
|
text: z.ZodString;
|
|
95
|
-
to: z.ZodUnion<readonly [z.ZodEmail, z.ZodLiteral<"*">]
|
|
95
|
+
to: z.ZodDefault<z.ZodUnion<readonly [z.ZodEmail, z.ZodLiteral<"*">]>>;
|
|
96
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
97
97
|
id: z.ZodNullable<z.ZodString>;
|
|
98
98
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
package/dist/runtime.js
CHANGED
|
@@ -115,7 +115,7 @@ export const runtimeContract = {
|
|
|
115
115
|
.input(z.object({
|
|
116
116
|
subject: z.string().min(1),
|
|
117
117
|
text: z.string().min(1),
|
|
118
|
-
to: z.union([z.email(), z.literal("*")]),
|
|
118
|
+
to: z.union([z.email(), z.literal("*")]).default("*"),
|
|
119
119
|
}))
|
|
120
120
|
.output(z.object({
|
|
121
121
|
id: z.string().nullable(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@automate.ax/codec": "0.22.
|
|
29
|
+
"@automate.ax/codec": "0.22.2",
|
|
30
30
|
"@orpc/contract": "1.13.14",
|
|
31
31
|
"zod": "^4.3.6"
|
|
32
32
|
},
|
package/src/runtime.ts
CHANGED