0.4.13 • Published 6 months ago

@types/mongoose-simple-random v0.4.13

Weekly downloads
97
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/mongoose-simple-random

Summary

This package contains type definitions for mongoose-simple-random (https://github.com/larryprice/mongoose-simple-random).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-simple-random.

index.d.ts

// Type definitions for mongoose-simple-random 0.4
// Project: https://github.com/larryprice/mongoose-simple-random
// Definitions by: TypeScript Bot <https://github.com/typescript-bot>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.1

import mongoose = require('mongoose');
declare function pluginFunc(schema: mongoose.Schema): void;
declare namespace pluginFunc { }
export = pluginFunc;

declare module "mongoose" {
    interface Model<T> extends NodeJS.EventEmitter {
        findRandom(conditions: Object, projection?: Object | null, options?: Object | null, callback?: (err: any, res?: T[]) => void)
            : void;
    }
}

Additional Details

  • Last updated: Sun, 24 Apr 2022 14:31:47 GMT
  • Dependencies: @types/mongoose
  • Global values: none

Credits

These definitions were written by TypeScript Bot.

0.4.13

6 months ago

0.4.11

8 months ago

0.4.12

7 months ago

0.4.10

2 years ago

0.4.9

3 years ago

0.4.8

4 years ago

0.4.7

4 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago