- attivita
- gestione degli script sul server - creato websocket per interagire con gli script del server.
This commit is contained in:
@@ -7,6 +7,7 @@ mongoose.level = 'F';
|
||||
const tools = require('../tools/general');
|
||||
|
||||
const { Reaction } = require('./reaction');
|
||||
const { MyGroup } = require('./mygroup');
|
||||
|
||||
const shared_consts = require('../tools/shared_nodejs');
|
||||
|
||||
@@ -84,10 +85,10 @@ const AttivitaSchema = new Schema(
|
||||
type: Number,
|
||||
},
|
||||
|
||||
nome_attivita: {
|
||||
descr: {
|
||||
type: String,
|
||||
},
|
||||
descr: {
|
||||
note: {
|
||||
type: String,
|
||||
},
|
||||
|
||||
@@ -127,7 +128,8 @@ const AttivitaSchema = new Schema(
|
||||
|
||||
//**ADDFIELD_ATTIVITA
|
||||
},
|
||||
...Reaction.getFieldsForReactions()
|
||||
...Reaction.getFieldsForReactions(),
|
||||
...MyGroup.getFieldsForAnnunci()
|
||||
}, { strict: false });
|
||||
|
||||
AttivitaSchema.index({ 'idapp': 1 });
|
||||
@@ -362,7 +364,6 @@ AttivitaSchema.statics.getProject = function (proj_add2) {
|
||||
date_created: 1,
|
||||
date_updated: 1,
|
||||
tipodiAttivita: 1,
|
||||
nome_attivita: 1,
|
||||
coordinate_gps: 1,
|
||||
email: 1,
|
||||
telegram_username: 1,
|
||||
|
||||
Reference in New Issue
Block a user