-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into test-refactor.fbPixel
- Loading branch information
Showing
18 changed files
with
2,947 additions
and
1,266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,8 @@ jobs: | |
- name: Upload Coverage Reports to Codecov | ||
uses: codecov/[email protected] | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
directory: ./reports/coverage | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import * as V0MarketoBulkUploadFileUpload from '../v0/destinations/marketo_bulk_upload/fileUpload'; | ||
import * as V0MarketoBulkUploadPollStatus from '../v0/destinations/marketo_bulk_upload/poll'; | ||
import * as V0MarketoBulkUploadJobStatus from '../v0/destinations/marketo_bulk_upload/fetchJobStatus'; | ||
|
||
const fileUploadHandlers = { | ||
v0: { | ||
marketo_bulk_upload: V0MarketoBulkUploadFileUpload, | ||
}, | ||
}; | ||
|
||
const pollStatusHandlers = { | ||
v0: { | ||
marketo_bulk_upload: V0MarketoBulkUploadPollStatus, | ||
}, | ||
}; | ||
|
||
const jobStatusHandlers = { | ||
v0: { | ||
marketo_bulk_upload: V0MarketoBulkUploadJobStatus, | ||
}, | ||
}; | ||
|
||
export const getDestFileUploadHandler = (version, dest) => { | ||
if (fileUploadHandlers[version] && fileUploadHandlers[version][dest]) { | ||
return fileUploadHandlers[version][dest]; | ||
} | ||
return undefined; | ||
}; | ||
|
||
export const getPollStatusHandler = (version, dest) => { | ||
if (pollStatusHandlers[version] && pollStatusHandlers[version][dest]) { | ||
return pollStatusHandlers[version][dest]; | ||
} | ||
return undefined; | ||
}; | ||
|
||
export const getJobStatusHandler = (version, dest) => { | ||
if (jobStatusHandlers[version] && jobStatusHandlers[version][dest]) { | ||
return jobStatusHandlers[version][dest]; | ||
} | ||
return undefined; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.