This commit is contained in:
paoloar77
2022-02-03 00:33:15 +01:00
parent c391ca85c3
commit daf872fe55
20 changed files with 651 additions and 4831 deletions

View File

@@ -0,0 +1,10 @@
module.exports = {
list: [
{_id: 0, descr: '[Nessuno]', years_of_exp: 0},
{_id: 1, descr: 'Principiante', years_of_exp: 1},
{_id: 2, descr: 'Intermedio', years_of_exp: 3},
{_id: 3, descr: 'Avanzato', years_of_exp: 5},
{_id: 4, descr: 'Esperto', years_of_exp: 10},
{_id: 5, descr: 'Veterano', years_of_exp: 20},
],
};

View File

@@ -25,7 +25,7 @@ module.exports = {
},
popolaTabelleNuove() {
const abilita = true;
const abilita = false;
const scrivi_citta = false;
let ris = null;
@@ -42,6 +42,14 @@ module.exports = {
const { SubSkill } = require('../models/subskill');
this.insertIntoDb('subskills', SubSkill)
// Levels
const { Level } = require('../models/level');
this.insertIntoDb('levels', Level)
// Status
const { StatusSkill } = require('../models/statusSkill');
this.insertIntoDb('statusskills', StatusSkill)
if (scrivi_citta) {
// Cities
const {City} = require('../models/city');

View File

@@ -0,0 +1,6 @@
module.exports = {
list: [
{_id: 1, descr: 'Di Persona'},
{_id: 2, descr: 'On Line'},
],
};