@nucypher/taco
Version:
### [`nucypher/taco-web`](../../README.md)
13 lines • 574 B
JavaScript
import { z } from 'zod';
import { blockchainParamOrContextParamSchema, paramOrContextParamSchema, } from './context';
const returnValueTestBaseSchema = z.object({
index: z.number().int().nonnegative().optional(),
comparator: z.enum(['==', '>', '<', '>=', '<=', '!=']),
});
export const returnValueTestSchema = returnValueTestBaseSchema.extend({
value: paramOrContextParamSchema,
});
export const blockchainReturnValueTestSchema = returnValueTestBaseSchema.extend({
value: blockchainParamOrContextParamSchema,
});
//# sourceMappingURL=return-value-test.js.map