/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; const $nsid = "place.stream.vod.publishDraft"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string()}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.jsonPayload({"videoUri":/*#__PURE__*/ l.string({"format":"at-uri"}),"videoCid":/*#__PURE__*/ l.string({"format":"cid"})}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Promote a ready draft VOD to a public place.stream.video record. The server carries over source and durationMs from the draft, backfills a generated thumbnail if the draft has none, writes the video record via putRecord, then deletes the draft. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["NotFound","NotReady"]); export { main }; export const $lxm = $nsid;