won-dto
Version:
Won DTO For WonCore
103 lines (102 loc) • 3.38 kB
TypeScript
/// <reference types="mongoose/types/aggregate" />
/// <reference types="mongoose/types/callback" />
/// <reference types="mongoose/types/collection" />
/// <reference types="mongoose/types/connection" />
/// <reference types="mongoose/types/cursor" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/expressions" />
/// <reference types="mongoose/types/helpers" />
/// <reference types="mongoose/types/middlewares" />
/// <reference types="mongoose/types/indexes" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/mongooseoptions" />
/// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/populate" />
/// <reference types="mongoose/types/query" />
/// <reference types="mongoose/types/schemaoptions" />
/// <reference types="mongoose/types/schematypes" />
/// <reference types="mongoose/types/session" />
/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/validation" />
/// <reference types="mongoose/types/virtuals" />
/// <reference types="mongoose/types/inferschematype" />
import { Schema } from "mongoose";
import { ModelHook } from "../base/baseModel";
import { ICustomer } from "./customer.type";
export declare const customerSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
timestamps: true;
}, {
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
email: string;
status: string;
bannerUrl: string;
avatarUrl: string;
telegram: string;
role?: string;
activedAt?: Date;
username?: string;
address?: string;
referral?: string;
shortUrl?: string;
nonce?: string;
addressIp?: string;
walletType?: string;
pendingAddress?: string;
pendingAddressVerified?: boolean;
emailVerifyToken?: string;
invitationCode?: string;
parentCustomerId?: import("mongoose").Types.ObjectId;
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
email: string;
status: string;
bannerUrl: string;
avatarUrl: string;
telegram: string;
role?: string;
activedAt?: Date;
username?: string;
address?: string;
referral?: string;
shortUrl?: string;
nonce?: string;
addressIp?: string;
walletType?: string;
pendingAddress?: string;
pendingAddressVerified?: boolean;
emailVerifyToken?: string;
invitationCode?: string;
parentCustomerId?: import("mongoose").Types.ObjectId;
}>> & import("mongoose").FlatRecord<{
createdAt: NativeDate;
updatedAt: NativeDate;
} & {
email: string;
status: string;
bannerUrl: string;
avatarUrl: string;
telegram: string;
role?: string;
activedAt?: Date;
username?: string;
address?: string;
referral?: string;
shortUrl?: string;
nonce?: string;
addressIp?: string;
walletType?: string;
pendingAddress?: string;
pendingAddressVerified?: boolean;
emailVerifyToken?: string;
invitationCode?: string;
parentCustomerId?: import("mongoose").Types.ObjectId;
}> & {
_id: import("mongoose").Types.ObjectId;
}>;
export declare const CustomerHook: ModelHook<ICustomer>;