UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

11 lines 746 B
import { z } from 'zod'; import { BaseResponseSchema } from '../../../core/schemas'; /** Create request - passthrough for flexible input */ export const CreateAttributeValueRequestSchema = z.object({}).passthrough(); /** Update request - passthrough for flexible input */ export const UpdateAttributeValueRequestSchema = z.object({}).passthrough(); /** Attribute value - key field only, passthrough for API flexibility */ export const AttributeValueSchema = z.object({ attributeValueUid: z.number() }).passthrough(); export const AttributeValueResponseSchema = BaseResponseSchema(AttributeValueSchema); export const AttributeValueListResponseSchema = BaseResponseSchema(z.array(AttributeValueSchema)); //# sourceMappingURL=attributesValues.js.map