File tree Expand file tree Collapse file tree 4 files changed +26
-1
lines changed
core/src/submodules/schema/schemas Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @smithy/types " : patch
3+ " @smithy/core " : patch
4+ ---
5+
6+ export used types
Original file line number Diff line number Diff line change @@ -36,4 +36,22 @@ module.exports = {
3636 "simple-import-sort/imports" : "error" ,
3737 "@typescript-eslint/consistent-type-imports" : "error" ,
3838 } ,
39+ overrides : [
40+ {
41+ files : [ "packages/*/src/**/*.ts" ] ,
42+ excludedFiles : [ "packages/*/src/**/*.spec.ts" ] ,
43+ rules : {
44+ "no-restricted-imports" : [
45+ "error" ,
46+ {
47+ patterns : [
48+ {
49+ group : [ "*src*" , "*dist-*" ] ,
50+ } ,
51+ ] ,
52+ } ,
53+ ] ,
54+ }
55+ } ,
56+ ] ,
3957} ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import type {
3030 TimestampEpochSecondsSchema ,
3131 UnitSchema ,
3232} from "@smithy/types" ;
33- import type { IdempotencyTokenBitMask , TraitBitVector } from "@smithy/types/src/schema/traits " ;
33+ import type { IdempotencyTokenBitMask , TraitBitVector } from "@smithy/types" ;
3434
3535import { deref } from "../deref" ;
3636import { translateTraits } from "./translateTraits" ;
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export * from "./profile";
2222export * from "./response" ;
2323export * from "./retry" ;
2424export * from "./schema/schema" ;
25+ export * from "./schema/traits" ;
2526export * from "./schema/schema-deprecated" ;
2627export * from "./schema/sentinels" ;
2728export * from "./schema/static-schemas" ;
You can’t perform that action at this time.
0 commit comments