Skip to content

Commit cac7ad0

Browse files
authored
chore(lib-storage): reformat with prettier v2.5.1 (#3108)
1 parent 48379b2 commit cac7ad0

File tree

4 files changed

+6
-24
lines changed

4 files changed

+6
-24
lines changed

Diff for: lib/lib-dynamodb/src/commands/BatchGetCommand.ts

+3-15
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,17 @@ export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItem
1515
RequestItems:
1616
| {
1717
[key: string]: Omit<KeysAndAttributes, "Keys"> & {
18-
Keys:
19-
| {
20-
[key: string]: NativeAttributeValue;
21-
}[]
22-
| undefined;
18+
Keys: { [key: string]: NativeAttributeValue }[] | undefined;
2319
};
2420
}
2521
| undefined;
2622
};
2723

2824
export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
29-
Responses?: {
30-
[key: string]: {
31-
[key: string]: NativeAttributeValue;
32-
}[];
33-
};
25+
Responses?: { [key: string]: { [key: string]: NativeAttributeValue }[] };
3426
UnprocessedKeys?: {
3527
[key: string]: Omit<KeysAndAttributes, "Keys"> & {
36-
Keys:
37-
| {
38-
[key: string]: NativeAttributeValue;
39-
}[]
40-
| undefined;
28+
Keys: { [key: string]: NativeAttributeValue }[] | undefined;
4129
};
4230
};
4331
};

Diff for: lib/lib-dynamodb/src/commands/ExecuteStatementCommand.ts

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

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

2321
/**

Diff for: lib/lib-dynamodb/src/commands/QueryCommand.ts

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

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

Diff for: lib/lib-dynamodb/src/commands/ScanCommand.ts

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

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

0 commit comments

Comments
 (0)