clear the testing commits

This commit is contained in:
2025-06-03 14:54:00 +05:30
parent f9083175da
commit 118f65d688
44 changed files with 479 additions and 852 deletions

View File

@@ -1,6 +1,5 @@
import { Schema, Document } from "mongoose";
import MainModel from "../../connect/mongoose.ts";
import { Zone } from "../Builder/zoneModel.ts";
export interface Widget3d extends Document {
type: string;
widgetID: string;
@@ -8,7 +7,7 @@ export interface Widget3d extends Document {
position: [];
rotation: [];
isArchive: boolean;
zoneId: Zone["_id"];
zoneUuid:string
Data: {
measurements: {};
duration: string;
@@ -21,7 +20,7 @@ const Widget3dSchema: Schema = new Schema(
widgetName: { type: String, default: "Widget3D" },
position: { type: Array },
rotation: { type: Array },
zoneId:{ type: Schema.Types.ObjectId, ref: "Zone" },
zoneUuid:{ type: String },
Data: {
measurements: { type: Object, default: {} },
duration: { type: String, default: "1h" },