/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; import * as StreamLivestream from "../livestream.defs.js"; const $nsid = "place.stream.live.startLivestream"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"livestream":/*#__PURE__*/ l.ref((() => StreamLivestream.main) as any),"streamer":/*#__PURE__*/ l.string({"format":"did"}),"createBlueskyPost":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean())}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string({"format":"uri"}),"cid":/*#__PURE__*/ l.string({"format":"cid"})}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Create a new place.stream.livestream record, automatically populating a thumbnail and creating a Bluesky post and whatnot. You can do this manually by creating a record but this method can work better for mobile livestreaming and such. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output); export { main }; export const $lxm = $nsid;