Add permits module
This commit is contained in:
@@ -23,12 +23,13 @@ export const orgModel = mongoose.model(
|
||||
isClient: Boolean,
|
||||
status: String,
|
||||
createdAt: Date,
|
||||
createdBy: mongoose.Types.ObjectId,
|
||||
createdBy: String,
|
||||
updatedAt: Date,
|
||||
}).index({ tenantId: 1, domain: 1 }, { unique: true })
|
||||
);
|
||||
|
||||
const orgCore = {
|
||||
_id: z.string().optional(),
|
||||
name: z.string().max(30),
|
||||
domain: z.string().max(30),
|
||||
avatar: z.string().url().optional(),
|
||||
|
||||
Reference in New Issue
Block a user