Skip to content

Commit

Permalink
Merge pull request #1299 from jay-hodgson/PORTALS-3284
Browse files Browse the repository at this point in the history
PORTALS-3284: Update NF portal config
  • Loading branch information
jay-hodgson authored Oct 17, 2024
2 parents b33ef27 + 81982c1 commit f81e2cb
Showing 1 changed file with 41 additions and 9 deletions.
50 changes: 41 additions & 9 deletions apps/portals/nf/src/config/routesConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,47 +199,79 @@ const routes: GenericRoute[] = [
],
},
{
path: 'Submit Animal Models',
path: 'Submit Animal Model',
synapseConfigArray: [
{
name: 'DynamicForm',
props: {
schemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/additional-models/NF-Tools-Schemas/animal-model/submitAnimalModel.json',
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/animal-model/submitAnimalModel.json',
uiSchemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/additional-models/NF-Tools-Schemas/animal-model/SubmitAnimalModelUiSchema.json',
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/animal-model/SubmitAnimalModelUiSchema.json',
postUrl: 'https://submit-form.com/KwZ46H4T',
},
isOutsideContainer: false,
},
],
},
{
path: 'Submit Observations',
path: 'Submit Observation',
synapseConfigArray: [
{
name: 'DynamicForm',
props: {
schemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/additional-models/NF-Tools-Schemas/observations/SubmitObservationSchema.json',
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/observations/SubmitObservationSchema.json',
uiSchemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/additional-models/NF-Tools-Schemas/observations/SubmitObservationUiSchema.json',
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/observations/SubmitObservationUiSchema.json',
postUrl: 'https://submit-form.com/KwZ46H4T',
},
isOutsideContainer: false,
},
],
},
{
path: 'Submit Genetic Reagents',
path: 'Submit Cell Line',
synapseConfigArray: [
{
name: 'DynamicForm',
props: {
schemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/additional-models/NF-Tools-Schemas/genetic-reagent/submitGeneticReagent.json',
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/cell-line/submitCellLine.json',
uiSchemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/additional-models/NF-Tools-Schemas/genetic-reagent/submitGeneticReagentUiSchema.json',
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/cell-line/submitCellLineUiSchema.json',
postUrl: 'https://submit-form.com/KwZ46H4T',
},
isOutsideContainer: false,
},
],
},
{
path: 'Submit Antibody',
synapseConfigArray: [
{
name: 'DynamicForm',
props: {
schemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/antibody/submitAntibody.json',
uiSchemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/antibody/SubmitAntibodyUiSchema.json',
postUrl: 'https://submit-form.com/KwZ46H4T',
},
isOutsideContainer: false,
},
],
},
{
path: 'Submit Genetic Reagent',
synapseConfigArray: [
{
name: 'DynamicForm',
props: {
schemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/genetic-reagent/submitGeneticReagent.json',
uiSchemaUrl:
'https://raw.githubusercontent.com/nf-osi/nf-research-tools-schema/refs/heads/main/NF-Tools-Schemas/genetic-reagent/submitGeneticReagentUiSchema.json',
postUrl: 'https://submit-form.com/KwZ46H4T',
},
isOutsideContainer: false,
Expand Down

0 comments on commit f81e2cb

Please sign in to comment.