arri-codegen-utils
Advanced tools
Comparing version 0.9.2 to 0.9.3
@@ -7,3 +7,5 @@ import { SchemaFormProperties, SchemaFormDiscriminator, SchemaFormValues } from 'jtd-utils'; | ||
type HttpMethod = (typeof HttpMethodValues)[number]; | ||
type RpcHttpMethod = Exclude<HttpMethod, "head">; | ||
declare const isHttpMethod: (input: any) => input is "get" | "post" | "put" | "patch" | "delete" | "head"; | ||
declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod; | ||
declare const SCHEMA_VERSION: "0.0.2"; | ||
@@ -28,3 +30,3 @@ interface AppDefinition { | ||
description?: string; | ||
method: HttpMethod; | ||
method: RpcHttpMethod; | ||
params: string | undefined; | ||
@@ -50,2 +52,2 @@ response: string | undefined; | ||
export { type AppDefinition, type ClientGenerator, type ClientGeneratorPlugin, type HttpMethod, HttpMethodValues, type RpcDefinition, SCHEMA_VERSION, type ServiceDefinition, defineClientGeneratorPlugin, isAppDefinition, isHttpMethod, isRpcDefinition, isServiceDefinition, normalizeWhitespace, removeDisallowedChars, setNestedObjectProperty, unflattenObject, unflattenProcedures }; | ||
export { type AppDefinition, type ClientGenerator, type ClientGeneratorPlugin, type HttpMethod, HttpMethodValues, type RpcDefinition, type RpcHttpMethod, SCHEMA_VERSION, type ServiceDefinition, defineClientGeneratorPlugin, isAppDefinition, isHttpMethod, isRpcDefinition, isRpcHttpMethod, isServiceDefinition, normalizeWhitespace, removeDisallowedChars, setNestedObjectProperty, unflattenObject, unflattenProcedures }; |
{ | ||
"name": "arri-codegen-utils", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"type": "module", | ||
@@ -13,5 +13,5 @@ "main": "./dist/index.cjs", | ||
"scule": "^1.0.0", | ||
"jtd-utils": "0.9.2", | ||
"arri-validate": "0.9.2" | ||
"jtd-utils": "0.9.3", | ||
"arri-validate": "0.9.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32097
627
1
+ Addedarri-validate@0.9.3(transitive)
+ Addedjtd-utils@0.9.3(transitive)
- Removedarri-validate@0.9.2(transitive)
- Removedjtd-utils@0.9.2(transitive)
Updatedarri-validate@0.9.3
Updatedjtd-utils@0.9.3