Skip to content

Commit

Permalink
chore: Setup storage internals route (#13858)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblanc authored and calebpollman committed Oct 1, 2024
1 parent 53c96b8 commit bda551b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/storage/internals/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "@aws-amplify/storage/internals",
"types": "../dist/esm/internals/index.d.ts",
"main": "../dist/cjs/internals/index.js",
"module": "../dist/esm/internals/index.mjs",
"sideEffects": false
}
9 changes: 9 additions & 0 deletions packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"s3": [
"./dist/esm/providers/s3/index.d.ts"
],
"internals": [
"./dist/esm/internals/index.d.ts"
],
"server": [
"./dist/esm/server.d.ts"
],
Expand All @@ -64,6 +67,7 @@
"files": [
"dist/cjs",
"dist/esm",
"internals",
"src",
"server",
"s3"
Expand All @@ -83,6 +87,11 @@
"require": "./dist/cjs/index.js",
"react-native": "./src/index.ts"
},
"./internals": {
"types": "./dist/esm/internals/index.d.ts",
"import": "./dist/esm/internals/index.mjs",
"require": "./dist/cjs/internals/index.js"
},
"./server": {
"types": "./dist/esm/server.d.ts",
"import": "./dist/esm/server.mjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/storage/src/internals/apis/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
2 changes: 2 additions & 0 deletions packages/storage/src/internals/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
2 changes: 2 additions & 0 deletions packages/storage/src/internals/types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

0 comments on commit bda551b

Please sign in to comment.