⚙️ Atualização local para GPI - Sync via Antigravity

This commit is contained in:
2026-03-18 21:48:53 +00:00
parent c6f69e1c1d
commit 73ab7b3b0f
34 changed files with 970 additions and 1115 deletions

View File

@@ -1,7 +1,7 @@
import mongoose, { Schema, Document } from 'mongoose';
export interface IOrganization extends Document {
clerkId: string;
organizationId: string;
name?: string;
isBanned: boolean;
createdAt: Date;
@@ -9,7 +9,7 @@ export interface IOrganization extends Document {
}
const OrganizationSchema: Schema = new Schema({
clerkId: { type: String, required: true, unique: true, index: true },
organizationId: { type: String, required: true, unique: true, index: true },
name: { type: String },
isBanned: { type: Boolean, default: false },
}, { timestamps: true });