/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; import * as ServerDefs from "./defs.defs.js"; const $nsid = "place.stream.server.upsertStorage"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"url":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),"isActive":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean())}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.jsonPayload({"storage":/*#__PURE__*/ l.ref((() => ServerDefs.storage) as any)}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Create or update S3 storage configuration for backups. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidUrl","ConnectionFailed","MaskedCredentialsModified"]); export { main }; export const $lxm = $nsid;