Socket
Socket
Sign inDemoInstall

@sinclair/typebox

Package Overview
Dependencies
0
Maintainers
1
Versions
310
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.32.19 to 0.32.20

40

build/require/value/delta/delta.d.ts
import type { Static } from '../../type/static/index';
import { TypeBoxError } from '../../type/error/index';
import { type TLiteral } from '../../type/literal/index';
import { type TObject } from '../../type/object/index';
import { type TString } from '../../type/string/index';
import { type TUnknown } from '../../type/unknown/index';
import { type TUnion } from '../../type/union/index';
export type Insert = Static<typeof Insert>;
export declare const Insert: import("src/type/object/object").TObject<{
type: import("src/type/literal/literal").TLiteral<"insert">;
path: import("src/type/string/string").TString;
value: import("src/type/unknown/unknown").TUnknown;
export declare const Insert: TObject<{
type: TLiteral<'insert'>;
path: TString;
value: TUnknown;
}>;
export type Update = Static<typeof Update>;
export declare const Update: import("src/type/object/object").TObject<{
type: import("src/type/literal/literal").TLiteral<"update">;
path: import("src/type/string/string").TString;
value: import("src/type/unknown/unknown").TUnknown;
export declare const Update: TObject<{
type: TLiteral<'update'>;
path: TString;
value: TUnknown;
}>;
export type Delete = Static<typeof Delete>;
export declare const Delete: import("src/type/object/object").TObject<{
type: import("src/type/literal/literal").TLiteral<"delete">;
path: import("src/type/string/string").TString;
export declare const Delete: TObject<{
type: TLiteral<'delete'>;
path: TString;
}>;
export type Edit = Static<typeof Edit>;
export declare const Edit: import("src/type/union/union-type").TUnion<[import("src/type/object/object").TObject<{
type: import("src/type/literal/literal").TLiteral<"insert">;
path: import("src/type/string/string").TString;
value: import("src/type/unknown/unknown").TUnknown;
}>, import("src/type/object/object").TObject<{
type: import("src/type/literal/literal").TLiteral<"update">;
path: import("src/type/string/string").TString;
value: import("src/type/unknown/unknown").TUnknown;
}>, import("src/type/object/object").TObject<{
type: import("src/type/literal/literal").TLiteral<"delete">;
path: import("src/type/string/string").TString;
}>]>;
export declare const Edit: TUnion<[typeof Insert, typeof Update, typeof Delete]>;
export declare class ValueDeltaError extends TypeBoxError {

@@ -34,0 +28,0 @@ readonly value: unknown;

{
"name": "@sinclair/typebox",
"version": "0.32.19",
"version": "0.32.20",
"description": "Json Schema Type Builder with Static Type Resolution for TypeScript",

@@ -5,0 +5,0 @@ "keywords": [

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc