/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; const $nsid = "place.stream.vod.createDraft"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string()}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Create an empty draft VOD in the 'processing' state. The draft is the durable anchor for an upload: the client creates it first, then passes its URI to place.stream.media.createUpload so the upload's processing fills this draft. Lets the user start editing metadata while the upload runs, and supports re-upload (a failed upload leaves the draft intact; a new createUpload with the same draftUri re-points it). */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output); export { main }; export const $lxm = $nsid;