InfiniteScroll
Circuits
This commit is contained in:
@@ -18,6 +18,9 @@ const CircuitSchema = new Schema({
|
|||||||
type: Number,
|
type: Number,
|
||||||
unique: true,
|
unique: true,
|
||||||
},
|
},
|
||||||
|
groupnameId: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
unique: true,
|
unique: true,
|
||||||
@@ -25,7 +28,7 @@ const CircuitSchema = new Schema({
|
|||||||
subname: {
|
subname: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
descr: {
|
longdescr: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
systemUserDescr: {
|
systemUserDescr: {
|
||||||
|
|||||||
@@ -110,6 +110,11 @@ const MyGroupSchema = new Schema({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
circuits_list: [
|
||||||
|
{
|
||||||
|
Num: { type: Number },
|
||||||
|
inscription_date: {type: Date},
|
||||||
|
}],
|
||||||
});
|
});
|
||||||
|
|
||||||
MyGroupSchema.statics.getFieldsForSearch = function() {
|
MyGroupSchema.statics.getFieldsForSearch = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user