Skip to content

Commit

Permalink
fix: add prefix to parameters in item reader from map state (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
babayacotono authored Apr 10, 2024
1 parent 82b0b4c commit 0b5a2b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/schemas/state-machine.schema.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/types/sfn.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const readerConfig = $object({
export const parameters = $object({
Bucket: $optional($string),
Key: $optional($string),
Prefix: $optional($string),
})

export const itemReader = $object({
Expand Down
1 change: 1 addition & 0 deletions src/types/sfn.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export type ParallelState =
export interface Parameters {
Bucket?: string
Key?: string
Prefix?: string
}

export type PassState =
Expand Down

0 comments on commit 0b5a2b6

Please sign in to comment.