arvo-core 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
@@ -66,6 +66,9 @@ export type InferArvoContract<T extends ArvoContract<string, string, z.ZodTypeAn
|
|
66
66
|
accepts: InferArvoEvent<ArvoEvent<InferZodSchema<TAcceptSchema>, {}, TType>>;
|
67
67
|
emits: {
|
68
68
|
[K in keyof TEmits]: InferArvoEvent<ArvoEvent<InferZodSchema<TEmits[K]>, {}, K & string>>;
|
69
|
+
} & {
|
70
|
+
[K in `sys.${TType}.error`]: InferArvoEvent<ArvoEvent<InferZodSchema<T['systemError']['schema']>, {}, T['systemError']['type']>>;
|
69
71
|
};
|
72
|
+
systemError: InferArvoEvent<ArvoEvent<InferZodSchema<T['systemError']['schema']>, {}, T['systemError']['type']>>;
|
70
73
|
} : never;
|
71
74
|
export {};
|