/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; const $nsid = "place.stream.media.updateVideo"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string({"format":"at-uri"}),"title":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"maxLength":1000})),"description":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"maxLength":10000})),"tags":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({"maxLength":64}), )),"uploadId":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string())}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string({"format":"at-uri"}),"cid":/*#__PURE__*/ l.string({"format":"cid"})}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Rewrite a place.stream.video record in place: retitle, redescribe or retag it, or point it at a finished upload's tracks (publishing them if the upload has none yet: the repair for a record published without tracks, or the way to point a record at a re-finalized VOD). Fields left out are kept; an empty description or tag list clears it. The caller must be the record's owner or hold livestream.manage from them; the record is written with the owner's session. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["NotPermitted","VideoNotFound"]); export { main }; export const $lxm = $nsid;