From 9c0e0baf95fdabe728e7a549b4f46e9bc8f9cd5c Mon Sep 17 00:00:00 2001 From: Arash Sheyda Date: Sun, 9 Jul 2023 14:21:33 +0300 Subject: [PATCH] docs: add types link --- docs/content/2.api/1.utils.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/2.api/1.utils.md b/docs/content/2.api/1.utils.md index c97dccc..c7dad69 100644 --- a/docs/content/2.api/1.utils.md +++ b/docs/content/2.api/1.utils.md @@ -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) => 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) => void`](https://mongoosejs.com/docs/middleware.html) | false | Schema Hooks Function to customize Model | @@ -66,4 +66,4 @@ Example usage: import { defineMongooseConnection } from '#nuxt/mongoose' export const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose') -``` \ No newline at end of file +```