AssetData connections added, 3dWidget update and get added
This commit is contained in:
@@ -2,8 +2,9 @@ import mongoose, { Schema, Document, model } from "mongoose";
|
||||
import MainModel from "../../connect/mongoose.ts";
|
||||
|
||||
export interface Widget3d extends Document {
|
||||
widgetName: string;
|
||||
type: string;
|
||||
widgetID: string;
|
||||
widgetName: string;
|
||||
position: [];
|
||||
isArchive: boolean;
|
||||
zoneId: string;
|
||||
@@ -14,8 +15,9 @@ export interface Widget3d extends Document {
|
||||
}
|
||||
const Widget3dSchema: Schema = new Schema(
|
||||
{
|
||||
widgetName: { type: String },
|
||||
type: { type: String },
|
||||
widgetID: { type: String },
|
||||
widgetName: { type: String, default: "Widget3D" },
|
||||
position: { type: Array },
|
||||
zoneId: { type: String },
|
||||
Data: {
|
||||
|
||||
Reference in New Issue
Block a user