Skip to content

Commit 42fb26d

Browse files
committed
chore: add comments about what the data structures mean
1 parent a57a9b2 commit 42fb26d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/transforms/v2-to-v3/config/CLIENT_NAMES.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// The client names as they appear in v2.
12
export const CLIENT_NAMES = [
23
"ACM",
34
"ACMPCA",

src/transforms/v2-to-v3/config/CLIENT_NAMES_MAP.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { CLIENT_NAMES } from "./CLIENT_NAMES";
22

3+
// The key is the client name in v2, and value is the client name in v3.
34
export const CLIENT_NAMES_MAP: Record<string, string> = {
45
...CLIENT_NAMES.reduce((acc, name) => ({ ...acc, [name]: name }), {}),
56
AugmentedAIRuntime: "SageMakerA2IRuntime",

src/transforms/v2-to-v3/config/CLIENT_PACKAGE_NAMES_MAP.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { CLIENT_NAMES } from "./CLIENT_NAMES";
22

3+
// The key is the client name in v2, and value is the client package name in v3.
34
export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
45
...CLIENT_NAMES.reduce(
56
(acc, name) => ({

0 commit comments

Comments
 (0)