New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

arri-codegen-utils

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arri-codegen-utils - npm Package Compare versions

Comparing version 0.30.0 to 0.31.0

24

dist/index.d.ts

@@ -1,2 +0,2 @@

import { SchemaFormProperties, SchemaFormDiscriminator, SchemaFormValues } from 'jtd-utils';
import { SchemaFormProperties, SchemaFormDiscriminator } from 'jtd-utils';
export * from 'jtd-utils';

@@ -10,3 +10,3 @@ export * from 'scule';

declare const isRpcHttpMethod: (input: any) => input is RpcHttpMethod;
declare const SCHEMA_VERSION: "0.0.3";
declare const SCHEMA_VERSION: "0.0.4";
interface AppDefinition {

@@ -24,8 +24,7 @@ arriSchemaVersion: typeof SCHEMA_VERSION;

procedures: Record<string, RpcDefinition>;
models: Record<string, SchemaFormProperties | SchemaFormDiscriminator | SchemaFormValues>;
models: Record<string, SchemaFormProperties | SchemaFormDiscriminator>;
}
declare function isAppDefinition(input: unknown): input is AppDefinition;
interface RpcDefinition {
interface RpcDefinitionBase {
path: string;
method: RpcHttpMethod;
params?: string;

@@ -35,4 +34,17 @@ response?: string;

isDeprecated?: boolean;
}
interface HttpRpcDefinition extends RpcDefinitionBase {
transport: "http";
method: RpcHttpMethod;
isEventStream?: boolean;
}
interface WsRpcDefinition extends RpcDefinitionBase {
transport: "ws";
}
interface CustomRpcDefinition extends RpcDefinitionBase {
transport: `custom:${string}`;
[key: string]: unknown;
}
type RpcDefinition = HttpRpcDefinition | WsRpcDefinition | CustomRpcDefinition;
declare function isRpcDefinitionBase(input: unknown): input is RpcDefinitionBase;
declare function isRpcDefinition(input: unknown): input is RpcDefinition;

@@ -55,2 +67,2 @@ interface ServiceDefinition {

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 };
export { type AppDefinition, type ClientGenerator, type ClientGeneratorPlugin, type CustomRpcDefinition, type HttpMethod, HttpMethodValues, type HttpRpcDefinition, type RpcDefinition, type RpcDefinitionBase, type RpcHttpMethod, SCHEMA_VERSION, type ServiceDefinition, type WsRpcDefinition, defineClientGeneratorPlugin, isAppDefinition, isHttpMethod, isRpcDefinition, isRpcDefinitionBase, isRpcHttpMethod, isServiceDefinition, normalizeWhitespace, removeDisallowedChars, setNestedObjectProperty, unflattenObject, unflattenProcedures };
{
"name": "arri-codegen-utils",
"version": "0.30.0",
"version": "0.31.0",
"license": "MIT",

@@ -26,5 +26,5 @@ "author": {

"scule": "^1.3.0",
"arri-validate": "0.30.0",
"jtd-utils": "0.30.0"
"arri-validate": "0.31.0",
"jtd-utils": "0.31.0"
}
}

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc