Sửa chế độ chia sẻ privacy trực tiếp khi nhấn chuột phải lên scene
This commit is contained in:
@@ -9,6 +9,10 @@ const sceneSchema = new mongoose.Schema({
|
||||
scene_url: {
|
||||
type: String
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
trim: true
|
||||
},
|
||||
assetId: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Asset',
|
||||
@@ -33,10 +37,17 @@ const sceneSchema = new mongoose.Schema({
|
||||
unique: true,
|
||||
sparse: true
|
||||
},
|
||||
shareTokenExpires: {
|
||||
type: Date
|
||||
},
|
||||
sharedWith: [{
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'User'
|
||||
}],
|
||||
sharedEmails: [{
|
||||
type: String,
|
||||
trim: true
|
||||
}],
|
||||
}, {
|
||||
timestamps: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user