Skip to content

DocumentUploadSchema

This content is not available in your language yet.

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;
}>;

校验临时文档引用及平台返回的到期时间,不接受文件内容或内部存储字段。