cis-api-tool
Version:
根据 swagger/yapi/apifox 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。
6 lines • 2.86 kB
text/typescript
import { AnyArray, AsyncOrSync, AsyncReturnType, Asyncify, Buildable, CamelCase, Class, ConstantCase, Defined, DelimiterCase, ElementOf, Finite, FixedLengthArray, Head, Integer, JsonArray, JsonObject, JsonValue, KebabCase, LiteralUnion, Merge, Negative, NegativeInfinity, NegativeInteger, NonNegative, NonNegativeInteger, NonNullableDeep, NullableDeep, OmitBy, OmitDeep, OmitStrict, OneOrMore, OptionalKeys, PackageJson, PartialBy, PartialDeep, PascalCase, PickBy, PositiveInfinity, ReadonlyDeep, ReadonlyKeys, RequireAllOrNone, RequireAtLeastOne, RequireExactlyOne, RequiredBy, RequiredDeep, RequiredDeepBy, RequiredKeys, Simplify, SnakeCase, Tail, TsConfigJson, UnionToIntersection, UnionToTuple, ValueOf, Writable, WritableDeep, WritableKeys, XOR } from "./type-CDnRd9vn.mjs";
import { Category, CategoryConfig, CategoryList, ChangeCase, CliHooks, CommentConfig, Config, ConfigWithHooks, ExtendedInterface, Interface, InterfaceList, JsonSchemaConfig, Method, Project, ProjectConfig, PropDefinition, PropDefinitions, QueryStringArrayFormat, ReactHooksConfig, RequestBodyType, RequestConfig, RequestFormItemType, RequestFunctionParams, RequestFunctionRestArgs, RequestParamType, RequestQueryType, Required, ResponseBodyType, ServerConfig, SharedConfig, SyntheticalConfig } from "./types-B8Xpfzsb.mjs";
import { FileData, defineConfig, parseRequestData, prepare } from "./helpers-DBJO7JLd.mjs";
import { omitStrict } from "./index-C1Pscj86.mjs";
import { WaitResult, dedent, traverse, wait } from "./function-CrSrdu-a.mjs";
export { AnyArray, AsyncOrSync, AsyncReturnType, Asyncify, Buildable, CamelCase, Category, CategoryConfig, CategoryList, ChangeCase, Class, CliHooks, CommentConfig, Config, ConfigWithHooks, ConstantCase, Defined, DelimiterCase, ElementOf, ExtendedInterface, FileData, Finite, FixedLengthArray, Head, Integer, Interface, InterfaceList, JsonArray, JsonObject, JsonSchemaConfig, JsonValue, KebabCase, LiteralUnion, Merge, Method, Negative, NegativeInfinity, NegativeInteger, NonNegative, NonNegativeInteger, NonNullableDeep, NullableDeep, OmitBy, OmitDeep, OmitStrict, OneOrMore, OptionalKeys, PackageJson, PartialBy, PartialDeep, PascalCase, PickBy, PositiveInfinity, Project, ProjectConfig, PropDefinition, PropDefinitions, QueryStringArrayFormat, ReactHooksConfig, ReadonlyDeep, ReadonlyKeys, RequestBodyType, RequestConfig, RequestFormItemType, RequestFunctionParams, RequestFunctionRestArgs, RequestParamType, RequestQueryType, RequireAllOrNone, RequireAtLeastOne, RequireExactlyOne, Required, RequiredBy, RequiredDeep, RequiredDeepBy, RequiredKeys, ResponseBodyType, ServerConfig, SharedConfig, Simplify, SnakeCase, SyntheticalConfig, Tail, TsConfigJson, UnionToIntersection, UnionToTuple, ValueOf, WaitResult, Writable, WritableDeep, WritableKeys, XOR, dedent, defineConfig, omitStrict, parseRequestData, prepare, traverse, wait };