Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
"serverless",
"nodejs"
],
"dependencies": {
"@aws-lambda-powertools/commons": "2.26.0"
},
"devDependencies": {
"@aws-lambda-powertools/testing-utils": "file:../testing",
"@aws-lambda-powertools/parser": "2.26.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/batch/src/BasePartialBatchProcessor.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { GenericLogger } from '@aws-lambda-powertools/commons/types';
import { getStringFromEnv } from '@aws-lambda-powertools/commons/utils/env';
import type {
DynamoDBRecord,
KinesisStreamRecord,
SQSRecord,
} from 'aws-lambda';
import type { GenericLogger } from '../../commons/lib/esm/types/GenericLogger.js';
import { BasePartialProcessor } from './BasePartialProcessor.js';
import {
DATA_CLASS_MAPPING,
Expand Down
4 changes: 2 additions & 2 deletions packages/batch/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { GenericLogger } from '@aws-lambda-powertools/commons/types';
import type { StandardSchemaV1 } from '@standard-schema/spec';
import type {
Context,
Expand All @@ -7,7 +8,6 @@ import type {
StreamRecord,
} from 'aws-lambda';
import type { ZodType } from 'zod';
import type { GenericLogger } from '../../commons/lib/esm/types/GenericLogger.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BatchProcessor } from './BatchProcessor.js';
import type { parser } from './parser.js';
Expand Down Expand Up @@ -96,7 +96,7 @@ type PartialItemFailures = { itemIdentifier: string };
type PartialItemFailureResponse = { batchItemFailures: PartialItemFailures[] };

/**
* Configuration options for {@link BatchProcessor | `BatchProcessor`} parser integration.
* Configuration options for {@link BatchProcessor} parser integration.
*
* When enabling parser integration, you must provide {@link parser} along with either `schema` or `innerSchema`.
* Import `parser` from `@aws-lambda-powertools/batch/parser`.
Expand Down