Skip to content

Variable: DocumentUploadTicket ​

ts
const DocumentUploadTicket: z.ZodObject<{
  documentId: z.ZodGUID;
  upload: z.ZodObject<{
     expiresAt: z.ZodCoercedDate<unknown>;
     headers: z.ZodRecord<z.ZodString, z.ZodString>;
     method: z.ZodLiteral<"PUT">;
     url: z.ZodURL;
  }, z.core.$strip>;
}, z.core.$strip>;

What a client needs to PUT the file straight to object storage.

Released under the Apache-2.0 License.