MCPcopy Index your code
hub / github.com/TomDoesTech/REST-API-Tutorial-Updated / UserDocument

Interface UserDocument

src/models/user.model.ts:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11export interface UserDocument extends UserInput, mongoose.Document {
12 createdAt: Date;
13 updatedAt: Date;
14 comparePassword(candidatePassword: string): Promise<Boolean>;
15}
16
17const userSchema = new mongoose.Schema(
18 {

Callers 1

validatePasswordFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected