2.0.10 • Published 6 months ago

@types/joigoose v2.0.10

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

Installation

npm install --save @types/joigoose

Summary

This package contains type definitions for joigoose (https://github.com/yoitsro/joigoose).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/joigoose.

index.d.ts

// Type definitions for joigoose 2.0
// Project: https://github.com/yoitsro/joigoose
// Definitions by: Karoline <https://github.com/boothwhack>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.1

import * as Mongoose from "mongoose";
import * as Joi from "joi";

declare namespace Joigoose {
    interface Joigoose {
        convert(schema: Joi.Schema): Mongoose.Schema;
    }
}

declare function Joigoose(mongoose: Mongoose.Mongoose, joiOptions?: Joi.ValidationOptions): Joigoose.Joigoose;

export = Joigoose;

Additional Details

Credits

These definitions were written by Karoline.

2.0.9

7 months ago

2.0.10

6 months ago

2.0.8

8 months ago

2.0.7

2 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

4 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

7 years ago

2.0.0

7 years ago