@smithy/core 3.31.1 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/submodules/schema/index.js +0 -10
- package/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- package/package.json +2 -2
|
@@ -140,8 +140,6 @@ class Schema {
|
|
|
140
140
|
|
|
141
141
|
class ListSchema extends Schema {
|
|
142
142
|
static symbol = Symbol.for("@smithy/lis");
|
|
143
|
-
name;
|
|
144
|
-
traits;
|
|
145
143
|
valueSchema;
|
|
146
144
|
symbol = ListSchema.symbol;
|
|
147
145
|
}
|
|
@@ -154,8 +152,6 @@ const list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSch
|
|
|
154
152
|
|
|
155
153
|
class MapSchema extends Schema {
|
|
156
154
|
static symbol = Symbol.for("@smithy/map");
|
|
157
|
-
name;
|
|
158
|
-
traits;
|
|
159
155
|
keySchema;
|
|
160
156
|
valueSchema;
|
|
161
157
|
symbol = MapSchema.symbol;
|
|
@@ -170,8 +166,6 @@ const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(n
|
|
|
170
166
|
|
|
171
167
|
class OperationSchema extends Schema {
|
|
172
168
|
static symbol = Symbol.for("@smithy/ope");
|
|
173
|
-
name;
|
|
174
|
-
traits;
|
|
175
169
|
input;
|
|
176
170
|
output;
|
|
177
171
|
symbol = OperationSchema.symbol;
|
|
@@ -186,8 +180,6 @@ const op = (namespace, name, traits, input, output) => Schema.assign(new Operati
|
|
|
186
180
|
|
|
187
181
|
class StructureSchema extends Schema {
|
|
188
182
|
static symbol = Symbol.for("@smithy/str");
|
|
189
|
-
name;
|
|
190
|
-
traits;
|
|
191
183
|
memberNames;
|
|
192
184
|
memberList;
|
|
193
185
|
symbol = StructureSchema.symbol;
|
|
@@ -545,9 +537,7 @@ const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
|
545
537
|
|
|
546
538
|
class SimpleSchema extends Schema {
|
|
547
539
|
static symbol = Symbol.for("@smithy/sim");
|
|
548
|
-
name;
|
|
549
540
|
schemaRef;
|
|
550
|
-
traits;
|
|
551
541
|
symbol = SimpleSchema.symbol;
|
|
552
542
|
}
|
|
553
543
|
const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Schema } from "./Schema";
|
|
2
2
|
export class SimpleSchema extends Schema {
|
|
3
3
|
static symbol = Symbol.for("@smithy/sim");
|
|
4
|
-
name;
|
|
5
4
|
schemaRef;
|
|
6
|
-
traits;
|
|
7
5
|
symbol = SimpleSchema.symbol;
|
|
8
6
|
}
|
|
9
7
|
export const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.0",
|
|
4
4
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
237
237
|
},
|
|
238
238
|
"dependencies": {
|
|
239
|
-
"@smithy/types": "^4.
|
|
239
|
+
"@smithy/types": "^4.17.0",
|
|
240
240
|
"tslib": "^2.6.2"
|
|
241
241
|
},
|
|
242
242
|
"devDependencies": {
|