@smithy/types
Advanced tools
@@ -6,11 +6,11 @@ /** | ||
| */ | ||
| export type BlobSchema = 21; | ||
| export type BlobSchema = 0b0001_0101; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type StreamingBlobSchema = 42; | ||
| export type StreamingBlobSchema = 0b0010_1010; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type BooleanSchema = 2; | ||
| export type BooleanSchema = 0b0000_0010; | ||
| /** | ||
@@ -20,3 +20,3 @@ * Includes string and enum Smithy types. | ||
| */ | ||
| export type StringSchema = 0; | ||
| export type StringSchema = 0b0000_0000; | ||
| /** | ||
@@ -28,15 +28,15 @@ * Includes all numeric Smithy types except bigInteger and bigDecimal. | ||
| */ | ||
| export type NumericSchema = 1; | ||
| export type NumericSchema = 0b0000_0001; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type BigIntegerSchema = 17; | ||
| export type BigIntegerSchema = 0b0001_0001; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type BigDecimalSchema = 19; | ||
| export type BigDecimalSchema = 0b0001_0011; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type DocumentSchema = 15; | ||
| export type DocumentSchema = 0b0000_1111; | ||
| /** | ||
@@ -46,15 +46,15 @@ * Smithy type timestamp, in JS as native Date object. | ||
| */ | ||
| export type TimestampDefaultSchema = 4; | ||
| export type TimestampDefaultSchema = 0b0000_0100; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type TimestampDateTimeSchema = 5; | ||
| export type TimestampDateTimeSchema = 0b0000_0101; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type TimestampHttpDateSchema = 6; | ||
| export type TimestampHttpDateSchema = 0b0000_0110; | ||
| /** | ||
| * @public | ||
| */ | ||
| export type TimestampEpochSecondsSchema = 7; | ||
| export type TimestampEpochSecondsSchema = 0b0000_0111; | ||
| /** | ||
@@ -64,3 +64,3 @@ * Additional bit indicating the type is a list. | ||
| */ | ||
| export type ListSchemaModifier = 64; | ||
| export type ListSchemaModifier = 0b0100_0000; | ||
| /** | ||
@@ -70,2 +70,2 @@ * Additional bit indicating the type is a map. | ||
| */ | ||
| export type MapSchemaModifier = 128; | ||
| export type MapSchemaModifier = 0b1000_0000; |
+33
-35
| { | ||
| "name": "@smithy/types", | ||
| "version": "4.16.1", | ||
| "version": "4.17.0", | ||
| "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types", | ||
| "license": "Apache-2.0", | ||
| "author": { | ||
| "name": "AWS Smithy Team", | ||
| "email": "", | ||
| "url": "https://smithy.io" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/smithy-lang/smithy-typescript.git", | ||
| "directory": "packages/types" | ||
| }, | ||
| "files": [ | ||
| "dist-*/**" | ||
| ], | ||
| "sideEffects": false, | ||
| "main": "./dist-cjs/index.js", | ||
| "module": "./dist-es/index.js", | ||
| "types": "./dist-types/index.d.ts", | ||
| "typesVersions": { | ||
| "<=4.5": { | ||
| "dist-types/*": [ | ||
| "dist-types/ts3.4/*" | ||
| ] | ||
| } | ||
| }, | ||
| "publishConfig": { | ||
| "directory": ".release/package" | ||
| }, | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'", | ||
| "build:es:cjs": "premove dist-es && yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline", | ||
| "build:es:cjs": "node ../../scripts/compilation/es_cjs.js", | ||
| "build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json", | ||
@@ -11,17 +40,5 @@ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel", | ||
| "extract:docs": "api-extractor run --local", | ||
| "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", | ||
| "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", | ||
| "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", | ||
| "test": "yarn g:tsc -p tsconfig.test.json" | ||
| }, | ||
| "main": "./dist-cjs/index.js", | ||
| "module": "./dist-es/index.js", | ||
| "types": "./dist-types/index.d.ts", | ||
| "author": { | ||
| "name": "AWS Smithy Team", | ||
| "email": "", | ||
| "url": "https://smithy.io" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "sideEffects": false, | ||
| "dependencies": { | ||
@@ -36,27 +53,8 @@ "tslib": "^2.6.2" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18.0.0" | ||
| }, | ||
| "typesVersions": { | ||
| "<=4.5": { | ||
| "dist-types/*": [ | ||
| "dist-types/ts3.4/*" | ||
| ] | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist-*/**" | ||
| ], | ||
| "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/smithy-lang/smithy-typescript.git", | ||
| "directory": "packages/types" | ||
| }, | ||
| "typedoc": { | ||
| "entryPoint": "src/index.ts" | ||
| }, | ||
| "publishConfig": { | ||
| "directory": ".release/package" | ||
| "engines": { | ||
| "node": ">=18.0.0" | ||
| } | ||
| } |
306569
-0.03%