DocumentUploadSchema
const DocumentUploadSchema: z.ZodObject<{ expiresAt: z.ZodEffects<z.ZodString, string, string>; uploadRef: z.ZodString;}, "strict", z.ZodTypeAny, { expiresAt: string; uploadRef: string;}, { expiresAt: string; uploadRef: string;}>;校验临时文档引用及平台返回的到期时间,不接受文件内容或内部存储字段。
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。