Full Visualization Page API completed
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user