wallitems update and project model creation
This commit is contained in:
@@ -4,6 +4,7 @@ import MainModel from '../../connect/mongoose.ts';
|
||||
export interface wallitems extends Document {
|
||||
modelUuid: string;
|
||||
modelName: string
|
||||
modelfileID: string;
|
||||
type: string
|
||||
csgposition: []
|
||||
csgscale: []
|
||||
@@ -16,7 +17,8 @@ export interface wallitems extends Document {
|
||||
|
||||
// Define the Mongoose Schema
|
||||
const wallItemsSchema: Schema = new Schema({
|
||||
modelUuid: { type: String,unique:true },
|
||||
modelUuid: { type: String},
|
||||
modelfileID: { type: String},
|
||||
modelName: { type: String},
|
||||
type: { type: String },
|
||||
csgposition: { type: Array},
|
||||
|
||||
Reference in New Issue
Block a user