Visualization Part 2d and floating API Completed. Template Save and Get API completed
This commit is contained in:
@@ -14,7 +14,7 @@ export interface widget extends Document {
|
||||
isArchive: boolean;
|
||||
panelID: mongoose.Types.ObjectId;
|
||||
Data: {
|
||||
measurement: [any];
|
||||
measurements: {};
|
||||
duration: string;
|
||||
};
|
||||
}
|
||||
@@ -29,8 +29,8 @@ const widgetSchema: Schema = new Schema(
|
||||
fontFamily: { type: String },
|
||||
fontStyle: { type: String },
|
||||
Data: {
|
||||
measurements: { type: Array, default: [] },
|
||||
duration: { type: String, default: "1hr" },
|
||||
measurements: { type: Object, default: {} },
|
||||
duration: { type: String, default: "1h" },
|
||||
},
|
||||
fontWeight: { type: String },
|
||||
isArchive: { type: Boolean, default: false },
|
||||
|
||||
Reference in New Issue
Block a user