#
# App global config
#

# Defaults
default: &default
  editor: 'freecad'
  name: 'CENOS Platform'
  shortName: 'Platform'
  links:
    releaseNotes: 'https://www.cenos-platform.com/'
    releaseNotesYaml: 'https://www.cenos-platform.com/'

#
# ALL
#
@@if(app === 'ALL') {
app:
  <<: *default
}

#
# ANTENNAS
#
@@if(app === 'ANTENNAS') {
app:
  <<: *default
  editor: 'freecad'
  name: 'CENOS Antenna Design'
  shortName: 'Antenna Design'
  links:
    releaseNotes: 'https://ad.cenos-platform.com/release-notes'
    releaseNotesYaml: 'https://ad.cenos-platform.com/release-notes.yaml'
}

#
# INDUCTION
#
@@if(app === 'INDUCTION') {
app:
  <<: *default
  editor: 'salome'
  name: 'CENOS Induction Heating'
  shortName: 'Induction Heating'
  links:
    releaseNotes: 'https://ih.cenos-platform.com/latest'
    releaseNotesYaml: 'https://ih.cenos-platform.com/release-notes.yaml'
}

#
# API
#
@@if(app === 'API') {
app:
  <<: *default
  editor: 'salome'
  name: 'CENOS API'
  shortName: 'API'
}