-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow some actions to be performed on specific forms
- Loading branch information
Showing
11 changed files
with
36 additions
and
15 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
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
File renamed without changes.
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
const convertForms = require('../lib/convert-forms'); | ||
|
||
module.exports = (project/*, couchUrl*/) => convertForms(project, 'app'); | ||
module.exports = (project, couchUrl, extras) => convertForms(project, 'app', { | ||
force_data_node: 'data', | ||
forms: extras, | ||
}); |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
const convertForms = require('../lib/convert-forms'); | ||
|
||
module.exports = (project/*, couchUrl*/) => convertForms(project, 'contact', { force_data_node:'data' }); | ||
module.exports = (project, couchUrl, extras) => convertForms(project, 'contact', { | ||
force_data_node: 'data', | ||
forms: extras, | ||
}); |
File renamed without changes.
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
const uploadForms = require('../lib/upload-forms'); | ||
|
||
module.exports = (project, couchUrl) => uploadForms(project, couchUrl, 'app'); | ||
module.exports = (project, couchUrl, extras) => uploadForms(project, couchUrl, 'app', { | ||
forms: extras, | ||
}); |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
const uploadForms = require('../lib/upload-forms'); | ||
|
||
module.exports = (project, couchUrl) => uploadForms(project, couchUrl, 'contact', { | ||
module.exports = (project, couchUrl, extras) => uploadForms(project, couchUrl, 'contact', { | ||
id_prefix: 'contact:', | ||
forms: extras, | ||
}); |
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