V1 for the builder processing

This commit is contained in:
2025-05-27 12:19:15 +05:30
parent 9b4f8c0841
commit 7603c1b64a
27 changed files with 836 additions and 261 deletions

View File

@@ -1,4 +1,4 @@
import { Document, Schema } from "mongoose";
import { Document, Schema } from "mongoose";
import MainModel from "../connect/mongoose.ts";
export interface User extends Document {
userName: String;
@@ -49,7 +49,8 @@ const signupschema: Schema = new Schema({
},
});
const userModel = (db:string) => {
const userModel = (db: string) => {
return MainModel(db, "Users", signupschema, "Users")
// return MainModel(db, "UserAuth", signupschema, "UserAuth");
};
export default userModel;