pl4y-data-library
Version:
This library contains the dtos, enums, schemas, and other data objects needed in the pl4y ecosystem.
45 lines (44 loc) • 968 B
TypeScript
import mongoose from "mongoose";
export declare const AddressSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
timestamps: true;
toJSON: {
virtuals: true;
};
toObject: {
virtuals: true;
};
}, {
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
address?: string;
city?: string;
zip?: string;
state?: string;
country?: string;
phone?: string;
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
address?: string;
city?: string;
zip?: string;
state?: string;
country?: string;
phone?: string;
}>> & mongoose.FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
address?: string;
city?: string;
zip?: string;
state?: string;
country?: string;
phone?: string;
}> & {
_id: mongoose.Types.ObjectId;
} & {
__v: number;
}>;