@squarecloud/blob
Version:
Official Square Cloud Blob SDK for NodeJS
16 lines (13 loc) • 362 B
text/typescript
import { ZodSchema } from 'zod';
type BaseAssertionProps = {
schema: ZodSchema;
value: unknown;
code?: string;
};
type LiteralAssertionProps = BaseAssertionProps & {
expect: string;
};
type APIObjectAssertionProps = BaseAssertionProps & {
code: string;
};
export type { APIObjectAssertionProps, BaseAssertionProps, LiteralAssertionProps };