UNPKG

guildedapi-types.ts

Version:

Up to date Guilded API Typings. Contribution is welcome.

15 lines 1.58 kB
import type * as OpenAPI from "../../schemas/v1"; export type POSTDocBody = OpenAPI.operations["DocCreate"]["requestBody"]["content"]["application/json"]; export type POSTDocResponse = OpenAPI.operations["DocCreate"]["responses"]["201"]["content"]["application/json"]; export type GETDocsQuery = OpenAPI.operations["DocReadMany"]["parameters"]["query"]; export type GETDocsResponse = OpenAPI.operations["DocReadMany"]["responses"]["200"]["content"]["application/json"]; export type GETDocResponse = OpenAPI.operations["DocRead"]["responses"]["200"]["content"]["application/json"]; export type PUTDocBody = OpenAPI.operations["DocUpdate"]["requestBody"]["content"]["application/json"]; export type PUTDocResponse = OpenAPI.operations["DocUpdate"]["responses"]["200"]["content"]["application/json"]; export type POSTDocCommentBody = OpenAPI.operations["DocCommentCreate"]["requestBody"]["content"]["application/json"]; export type POSTDocCommentResponse = OpenAPI.operations["DocCommentCreate"]["responses"]["201"]["content"]["application/json"]; export type GETDocCommentsResponse = OpenAPI.operations["DocCommentReadMany"]["responses"]["200"]["content"]["application/json"]; export type GETDocCommentResponse = OpenAPI.operations["DocCommentRead"]["responses"]["200"]["content"]["application/json"]; export type PATCHDocCommentBody = OpenAPI.operations["DocCommentUpdate"]["requestBody"]["content"]["application/json"]; export type PATCHDocCommentResponse = OpenAPI.operations["DocCommentUpdate"]["responses"]["200"]["content"]["application/json"]; //# sourceMappingURL=Docs.d.ts.map