UNPKG

@kubb/plugin-ts

Version:

TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.

50 lines (43 loc) 964 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ export const findArtifactsQueryParamsInclude = { author: 'author', tags: 'tags', } as const export type FindArtifactsQueryParamsIncludeKey = (typeof findArtifactsQueryParamsInclude)[keyof typeof findArtifactsQueryParamsInclude] export type FindArtifactsQueryParams = { /** * @type string | undefined */ include?: FindArtifactsQueryParamsIncludeKey /** * @type string | undefined */ sort?: string /** * @type object | undefined */ page?: { /** * @type integer | undefined */ number?: number /** * @type integer | undefined */ size?: number } [key: string]: unknown } /** * @description OK */ export type FindArtifacts200 = object export type FindArtifactsQueryResponse = findArtifacts200 export type FindArtifactsQuery = { Response: findArtifacts200 QueryParams: findArtifactsQueryParams Errors: any }