kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic
rodzic
d9df972989
commit
354938db29
|
@ -1,3 +1,6 @@
|
||||||
|
/* eslint-disable unicorn/no-unreadable-iife */
|
||||||
|
/* eslint-disable unicorn/no-array-reduce */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This file was auto-generated from an OpenAPI spec.
|
* This file was auto-generated from an OpenAPI spec.
|
||||||
*/
|
*/
|
||||||
|
@ -9,6 +12,10 @@ import { z } from 'zod'
|
||||||
export namespace firecrawl {
|
export namespace firecrawl {
|
||||||
export const apiBaseUrl = 'https://api.firecrawl.dev/v0'
|
export const apiBaseUrl = 'https://api.firecrawl.dev/v0'
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
// Component schemas
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
export const ScrapeResponseSchema = z.object({
|
export const ScrapeResponseSchema = z.object({
|
||||||
success: z.boolean().optional(),
|
success: z.boolean().optional(),
|
||||||
/** Warning message to let you know of any issues. */
|
/** Warning message to let you know of any issues. */
|
||||||
|
@ -161,6 +168,10 @@ export namespace firecrawl {
|
||||||
typeof CrawlStatusResponseObjSchema
|
typeof CrawlStatusResponseObjSchema
|
||||||
>
|
>
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
// Operation schemas
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
export const ScrapeParamsSchema = z.object({
|
export const ScrapeParamsSchema = z.object({
|
||||||
/** The URL to scrape */
|
/** The URL to scrape */
|
||||||
url: z.string().url().describe('The URL to scrape'),
|
url: z.string().url().describe('The URL to scrape'),
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* eslint-disable unicorn/no-unreadable-iife */
|
||||||
|
/* eslint-disable unicorn/no-array-reduce */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This file was auto-generated from an OpenAPI spec.
|
* This file was auto-generated from an OpenAPI spec.
|
||||||
*/
|
*/
|
||||||
|
@ -13,6 +16,10 @@ import { z } from 'zod'
|
||||||
export namespace petstore {
|
export namespace petstore {
|
||||||
export const apiBaseUrl = 'http://petstore.swagger.io/v1'
|
export const apiBaseUrl = 'http://petstore.swagger.io/v1'
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
// Component schemas
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
export const PetSchema = z.object({
|
export const PetSchema = z.object({
|
||||||
id: z.number().int(),
|
id: z.number().int(),
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
|
@ -23,6 +30,10 @@ export namespace petstore {
|
||||||
export const PetsSchema = z.array(PetSchema).max(100)
|
export const PetsSchema = z.array(PetSchema).max(100)
|
||||||
export type Pets = z.infer<typeof PetsSchema>
|
export type Pets = z.infer<typeof PetsSchema>
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
// Operation schemas
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
export const ListPetsParamsSchema = z.object({
|
export const ListPetsParamsSchema = z.object({
|
||||||
/** How many items to return at one time (max 100) */
|
/** How many items to return at one time (max 100) */
|
||||||
limit: z
|
limit: z
|
||||||
|
|
Ładowanie…
Reference in New Issue