Skip to content

Commit 1efb3f0

Browse files
Merge pull request #1009 from ibi-group/add-append-transformation
Add Append Transformation
2 parents d457b45 + da9c343 commit 1efb3f0

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

i18n/english.yml

+3
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,9 @@ components:
487487
AddCustomFileTransformation:
488488
label: Add custom file in GTFS.
489489
name: Add custom file transformation
490+
AppendToFileTransformation:
491+
label: Append lines to GTFS.
492+
name: Append to file transformation
490493
general:
491494
fileDefined: below text
492495
filePlaceholder: '[choose file]'

lib/manager/components/transform/FeedTransformRules.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const feedTransformationTypes = [
3535
'ReplaceFileFromStringTransformation',
3636
'NormalizeFieldTransformation',
3737
'PreserveCustomFieldsTransformation',
38-
'AddCustomFileTransformation'
38+
'AddCustomFileTransformation',
39+
'AppendToFileTransformation'
3940
]
4041

4142
type TransformRulesProps = {

lib/manager/components/transform/FeedTransformation.js

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ const transformationTypes = {
3838
ReplaceFileFromStringTransformation: {
3939
component: ReplaceFileFromString
4040
},
41+
AppendToFileTransformation: {
42+
component: ReplaceFileFromString
43+
},
4144
ReplaceFileFromVersionTransformation: {
4245
component: ReplaceFileFromVersion
4346
},

0 commit comments

Comments
 (0)