Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(lib-storage): reformat with prettier v2.5.1 #3108

Merged
merged 1 commit into from Dec 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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