Skip to content

Commit

Permalink
chore(lib-storage): reformat with prettier v2.5.1 (#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Dec 23, 2021
1 parent 48379b2 commit cac7ad0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
18 changes: 3 additions & 15 deletions lib/lib-dynamodb/src/commands/BatchGetCommand.ts
Expand Up @@ -15,29 +15,17 @@ export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItem
RequestItems:
| {
[key: string]: Omit<KeysAndAttributes, "Keys"> & {
Keys:
| {
[key: string]: NativeAttributeValue;
}[]
| undefined;
Keys: { [key: string]: NativeAttributeValue }[] | undefined;
};
}
| undefined;
};

export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
Responses?: {
[key: string]: {
[key: string]: NativeAttributeValue;
}[];
};
Responses?: { [key: string]: { [key: string]: NativeAttributeValue }[] };
UnprocessedKeys?: {
[key: string]: Omit<KeysAndAttributes, "Keys"> & {
Keys:
| {
[key: string]: NativeAttributeValue;
}[]
| undefined;
Keys: { [key: string]: NativeAttributeValue }[] | undefined;
};
};
};
Expand Down
4 changes: 1 addition & 3 deletions lib/lib-dynamodb/src/commands/ExecuteStatementCommand.ts
Expand Up @@ -15,9 +15,7 @@ export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput,
};

export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items"> & {
Items?: {
[key: string]: NativeAttributeValue;
}[];
Items?: { [key: string]: NativeAttributeValue }[];
};

/**
Expand Down
4 changes: 1 addition & 3 deletions lib/lib-dynamodb/src/commands/QueryCommand.ts
Expand Up @@ -30,9 +30,7 @@ export type QueryCommandInput = Omit<
};

export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
Items?: {
[key: string]: NativeAttributeValue;
}[];
Items?: { [key: string]: NativeAttributeValue }[];
LastEvaluatedKey?: { [key: string]: NativeAttributeValue };
};

Expand Down
4 changes: 1 addition & 3 deletions lib/lib-dynamodb/src/commands/ScanCommand.ts
Expand Up @@ -25,9 +25,7 @@ export type ScanCommandInput = Omit<
};

export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
Items?: {
[key: string]: NativeAttributeValue;
}[];
Items?: { [key: string]: NativeAttributeValue }[];
LastEvaluatedKey?: { [key: string]: NativeAttributeValue };
};

Expand Down

0 comments on commit cac7ad0

Please sign in to comment.