/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; import * as GamesgamesgamesgamesDefs from "../../../games/gamesgamesgamesgames/defs.defs.js"; const $nsid = "place.stream.game.search"; export { $nsid }; export const $params = /*#__PURE__*/ l.params({"q":/*#__PURE__*/ l.string({"minLength":1,"maxLength":200}),"limit":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({"minimum":1,"maximum":100}), 20)),"cursor":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string())}); export type $Params = l.InferOutput; export const $output = /*#__PURE__*/ l.jsonPayload({"cursor":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),"totalResults":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),"results":/*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => GamesgamesgamesgamesDefs.gameSummaryView) as any),/*#__PURE__*/ l.typedRef((() => GamesgamesgamesgamesDefs.profileSummaryView) as any),/*#__PURE__*/ l.typedRef((() => GamesgamesgamesgamesDefs.platformSummaryView) as any),/*#__PURE__*/ l.typedRef((() => GamesgamesgamesgamesDefs.collectionSummaryView) as any),/*#__PURE__*/ l.typedRef((() => GamesgamesgamesgamesDefs.engineSummaryView) as any)], false), )}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Search for games and other entities via the games.gamesgamesgamesgames catalog. Proxied from the configured games API. */ const main = /*#__PURE__*/ l.query($nsid, $params, $output); export { main }; export const $lxm = $nsid;