Full Visualization Page API completed

This commit is contained in:
2025-03-31 18:30:14 +05:30
parent 10ece17128
commit 9456cbcbbe
18 changed files with 610 additions and 237 deletions

View File

@@ -35,7 +35,7 @@ export interface assetData extends Document {
}[];
assetPosition: number[];
assetRotation: number[];
speed: number;
speed: number | string;
}
// Define the Mongoose Schema
@@ -68,7 +68,7 @@ const assetDataSchema: Schema = new Schema({
],
assetPosition: { type: [Number] },
assetRotation: { type: [Number] },
speed: { type: Number },
speed: { type: Schema.Types.Mixed },
isLocked: { type: Boolean },
isVisible: { type: Boolean },
// rotation: {