UNPKG

pl4y-data-library

Version:

This library contains the dtos, enums, schemas, and other data objects needed in the pl4y ecosystem.

64 lines (63 loc) 1.65 kB
import mongoose from "mongoose"; import { TenantType } from "../enums/tenant-types.enum"; export declare const TenantSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, { timestamps: true; toJSON: { virtuals: true; }; toObject: { virtuals: true; }; }, { createdAt: NativeDate; updatedAt: NativeDate; } & { email: string; hasShippingAddress: boolean; membership: string; tenantType: TenantType; homePageOriginURL: string; name?: string; phone?: string; tenantId?: string; ownerId?: string; user?: mongoose.Types.ObjectId; supportEmail?: string; businessAddress?: mongoose.Types.ObjectId; }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{ createdAt: NativeDate; updatedAt: NativeDate; } & { email: string; hasShippingAddress: boolean; membership: string; tenantType: TenantType; homePageOriginURL: string; name?: string; phone?: string; tenantId?: string; ownerId?: string; user?: mongoose.Types.ObjectId; supportEmail?: string; businessAddress?: mongoose.Types.ObjectId; }>> & mongoose.FlatRecord<{ createdAt: NativeDate; updatedAt: NativeDate; } & { email: string; hasShippingAddress: boolean; membership: string; tenantType: TenantType; homePageOriginURL: string; name?: string; phone?: string; tenantId?: string; ownerId?: string; user?: mongoose.Types.ObjectId; supportEmail?: string; businessAddress?: mongoose.Types.ObjectId; }> & { _id: mongoose.Types.ObjectId; } & { __v: number; }>;