guildedapi-types.ts
Version:
Up to date Guilded API Typings. Contribution is welcome.
15 lines • 1.77 kB
TypeScript
import type * as OpenAPI from "../../schemas/v1";
export type POSTForumTopicBody = OpenAPI.operations["ForumTopicCreate"]["requestBody"]["content"]["application/json"];
export type POSTForumTopicResponse = OpenAPI.operations["ForumTopicCreate"]["responses"]["201"]["content"]["application/json"];
export type GETForumTopicsQuery = OpenAPI.operations["ForumTopicReadMany"]["parameters"]["query"];
export type GETForumTopicsResponse = OpenAPI.operations["ForumTopicReadMany"]["responses"]["200"]["content"]["application/json"];
export type GETForumTopicResponse = OpenAPI.operations["ForumTopicRead"]["responses"]["200"]["content"]["application/json"];
export type PATCHForumTopicBody = OpenAPI.operations["ForumTopicUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHForumTopicResponse = OpenAPI.operations["ForumTopicUpdate"]["responses"]["201"]["content"]["application/json"];
export type POSTForumTopicCommentBody = OpenAPI.operations["ForumTopicCommentUpdate"]["requestBody"]["content"]["application/json"];
export type POSTForumTopicCommentResponse = OpenAPI.operations["ForumTopicCommentUpdate"]["responses"]["201"]["content"]["application/json"];
export type GETForumTopicCommentsResponse = OpenAPI.operations["ForumTopicCommentReadMany"]["responses"]["200"]["content"]["application/json"];
export type GETForumTopicCommentResponse = OpenAPI.operations["ForumTopicCommentRead"]["responses"]["200"]["content"]["application/json"];
export type PATCHForumTopicCommentBody = OpenAPI.operations["ForumTopicCommentUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHForumTopicCommentResponse = OpenAPI.operations["ForumTopicCommentUpdate"]["responses"]["201"]["content"]["application/json"];
//# sourceMappingURL=Forums.d.ts.map