docs: add types link
This commit is contained in:
@ -49,9 +49,9 @@ This function creates a new Mongoose model with schema. Example usage:
|
||||
| **Key** | **Type** | **Require** | **Description** |
|
||||
| ---------------------------- | ----------- | ----------- | ----- |
|
||||
| `name` | `string` | true | Name of Model |
|
||||
| `schema` | `SchemaDefinition` | true | Schema Definition of Model |
|
||||
| `options` | `SchemaOptions` | false | Schema Options for Model |
|
||||
| `hooks` | `(schema: Schema<T>) => void` | false | Schema Hooks Function to customize Model |
|
||||
| `schema` | [`SchemaDefinition`](https://mongoosejs.com/docs/schematypes.html) | true | Schema Definition of Model |
|
||||
| `options` | [`SchemaOptions`](https://mongoosejs.com/docs/guide.html#options) | false | Schema Options for Model |
|
||||
| `hooks` | [`(schema: Schema<T>) => void`](https://mongoosejs.com/docs/middleware.html) | false | Schema Hooks Function to customize Model |
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user