Skip to content

Commit f34d352

Browse files
committed
Revert "chore(lib-storage): reformat with prettier v2.5.1 (aws#3108)"
This reverts commit cac7ad0ba223781e199d16t485340734b73765c56.
1 parent 4a1fa94 commit f34d352

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

lib/lib-dynamodb/src/commands/BatchGetCommand.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,29 @@ export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItem
1515
RequestItems:
1616
| {
1717
[key: string]: Omit<KeysAndAttributes, "Keys"> & {
18-
Keys: { [key: string]: NativeAttributeValue }[] | undefined;
18+
Keys:
19+
| {
20+
[key: string]: NativeAttributeValue;
21+
}[]
22+
| undefined;
1923
};
2024
}
2125
| undefined;
2226
};
2327

2428
export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
25-
Responses?: { [key: string]: { [key: string]: NativeAttributeValue }[] };
29+
Responses?: {
30+
[key: string]: {
31+
[key: string]: NativeAttributeValue;
32+
}[];
33+
};
2634
UnprocessedKeys?: {
2735
[key: string]: Omit<KeysAndAttributes, "Keys"> & {
28-
Keys: { [key: string]: NativeAttributeValue }[] | undefined;
36+
Keys:
37+
| {
38+
[key: string]: NativeAttributeValue;
39+
}[]
40+
| undefined;
2941
};
3042
};
3143
};

lib/lib-dynamodb/src/commands/ExecuteStatementCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput,
1515
};
1616

1717
export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items"> & {
18-
Items?: { [key: string]: NativeAttributeValue }[];
18+
Items?: {
19+
[key: string]: NativeAttributeValue;
20+
}[];
1921
};
2022

2123
/**

lib/lib-dynamodb/src/commands/QueryCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ export type QueryCommandInput = Omit<
3030
};
3131

3232
export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
33-
Items?: { [key: string]: NativeAttributeValue }[];
33+
Items?: {
34+
[key: string]: NativeAttributeValue;
35+
}[];
3436
LastEvaluatedKey?: { [key: string]: NativeAttributeValue };
3537
};
3638

lib/lib-dynamodb/src/commands/ScanCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export type ScanCommandInput = Omit<
2525
};
2626

2727
export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
28-
Items?: { [key: string]: NativeAttributeValue }[];
28+
Items?: {
29+
[key: string]: NativeAttributeValue;
30+
}[];
2931
LastEvaluatedKey?: { [key: string]: NativeAttributeValue };
3032
};
3133

0 commit comments

Comments
 (0)