/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; import * as MultistreamTarget from "./target.defs.js"; import * as MultistreamDefs from "./defs.defs.js"; const $nsid = "place.stream.multistream.putTarget"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"multistreamTarget":/*#__PURE__*/ l.ref((() => MultistreamTarget.main) as any),"rkey":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"record-key","maxLength":512}))}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.payload("application/json", /*#__PURE__*/ l.ref((() => MultistreamDefs.targetView) as any)); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Update an existing target for rebroadcasting a Streamplace stream. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidTargetUrl"]); export { main }; export const $lxm = $nsid;