@smithy/types
Advanced tools
@@ -9,3 +9,3 @@ import type { EndpointV2 } from "../endpoint"; | ||
| * A schema is an object or value that describes how to serialize/deserialize data. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $Schema | ||
@@ -18,3 +18,3 @@ */ | ||
| * code generation to define schema out of dependency order. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $SchemaRef | ||
@@ -26,3 +26,3 @@ */ | ||
| * | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -38,3 +38,3 @@ */ | ||
| * It may also have a set of member traits distinct from its target shape's traits. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $MemberSchema | ||
@@ -45,3 +45,3 @@ */ | ||
| * Schema for the structure aggregate type. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -60,3 +60,3 @@ */ | ||
| * Schema for the list aggregate type. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -69,3 +69,3 @@ */ | ||
| * Schema for the map aggregate type. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -79,3 +79,3 @@ */ | ||
| * Schema for an operation. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use StaticOperationSchema or $OperationSchema | ||
@@ -92,3 +92,3 @@ */ | ||
| * Turns a serialization into a data object. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $ShapeDeserializer | ||
@@ -104,3 +104,3 @@ */ | ||
| * Turns a data object into a serialization. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $ShapeSerializer | ||
@@ -115,3 +115,3 @@ */ | ||
| * | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $Codec | ||
@@ -125,3 +125,3 @@ */ | ||
| * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $ClientProtocol | ||
@@ -128,0 +128,0 @@ */ |
@@ -10,3 +10,3 @@ import type { EndpointV2 } from "../endpoint"; | ||
| * A schema is an object or value that describes how to serialize/deserialize data. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -46,3 +46,3 @@ export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema; | ||
| * | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -99,3 +99,3 @@ export type UnitSchema = "unit"; | ||
| * It may also have a set of member traits distinct from its target shape's traits. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -105,3 +105,3 @@ export type $MemberSchema = [$SchemaRef, SchemaTraits]; | ||
| * Schema for an operation. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -151,3 +151,3 @@ export interface $OperationSchema { | ||
| * code generation to define schema out of dependency order. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -154,0 +154,0 @@ export type $SchemaRef = $Schema | (() => $Schema); |
| import type { $SchemaRef, SchemaTraits } from "../schema/schema"; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdSimple = 0; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdList = 1; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdMap = 2; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdStruct = 3; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdError = -3; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdOperation = 9; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchema = StaticSimpleSchema | StaticListSchema | StaticMapSchema | StaticStructureSchema | StaticErrorSchema | StaticOperationSchema; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type ShapeName = string; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type ShapeNamespace = string; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSimpleSchema = [StaticSchemaIdSimple, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef]; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticListSchema = [StaticSchemaIdList, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef]; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticMapSchema = [StaticSchemaIdMap, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef, $SchemaRef]; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -62,3 +62,3 @@ export type StaticStructureSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -74,3 +74,3 @@ export type StaticErrorSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -77,0 +77,0 @@ export type StaticOperationSchema = [ |
@@ -9,3 +9,3 @@ import { EndpointV2 } from "../endpoint"; | ||
| * A schema is an object or value that describes how to serialize/deserialize data. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $Schema | ||
@@ -18,3 +18,3 @@ */ | ||
| * code generation to define schema out of dependency order. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $SchemaRef | ||
@@ -26,3 +26,3 @@ */ | ||
| * | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -38,3 +38,3 @@ */ | ||
| * It may also have a set of member traits distinct from its target shape's traits. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $MemberSchema | ||
@@ -48,3 +48,3 @@ */ | ||
| * Schema for the structure aggregate type. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -66,3 +66,3 @@ */ | ||
| * Schema for the list aggregate type. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -75,3 +75,3 @@ */ | ||
| * Schema for the map aggregate type. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use static schema. | ||
@@ -85,3 +85,3 @@ */ | ||
| * Schema for an operation. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use StaticOperationSchema or $OperationSchema | ||
@@ -98,3 +98,3 @@ */ | ||
| * Turns a serialization into a data object. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $ShapeDeserializer | ||
@@ -110,3 +110,3 @@ */ | ||
| * Turns a data object into a serialization. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $ShapeSerializer | ||
@@ -121,3 +121,3 @@ */ | ||
| * | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $Codec | ||
@@ -131,3 +131,3 @@ */ | ||
| * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object. | ||
| * @public | ||
| * @internal | ||
| * @deprecated use $ClientProtocol | ||
@@ -134,0 +134,0 @@ */ |
@@ -10,3 +10,3 @@ import { EndpointV2 } from "../endpoint"; | ||
| * A schema is an object or value that describes how to serialize/deserialize data. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -46,3 +46,3 @@ export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema; | ||
| * | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -108,3 +108,3 @@ export type UnitSchema = "unit"; | ||
| * It may also have a set of member traits distinct from its target shape's traits. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -117,3 +117,3 @@ export type $MemberSchema = [ | ||
| * Schema for an operation. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -166,3 +166,3 @@ export interface $OperationSchema { | ||
| * code generation to define schema out of dependency order. | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -169,0 +169,0 @@ export type $SchemaRef = $Schema | (() => $Schema); |
| import { $SchemaRef, SchemaTraits } from "../schema/schema"; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdSimple = 0; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdList = 1; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdMap = 2; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdStruct = 3; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdError = -3; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchemaIdOperation = 9; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type StaticSchema = StaticSimpleSchema | StaticListSchema | StaticMapSchema | StaticStructureSchema | StaticErrorSchema | StaticOperationSchema; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type ShapeName = string; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
| export type ShapeNamespace = string; | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -49,3 +49,3 @@ export type StaticSimpleSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -60,3 +60,3 @@ export type StaticListSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -72,3 +72,3 @@ export type StaticMapSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -84,3 +84,3 @@ export type StaticStructureSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -96,3 +96,3 @@ export type StaticErrorSchema = [ | ||
| /** | ||
| * @alpha | ||
| * @public | ||
| */ | ||
@@ -99,0 +99,0 @@ export type StaticOperationSchema = [ |
+1
-1
| { | ||
| "name": "@smithy/types", | ||
| "version": "4.8.1", | ||
| "version": "4.9.0", | ||
| "scripts": { | ||
@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", |
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
276748
0.03%