@kikiutils/mongoose 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/types/index.d.ts +2 -0
- package/utils.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kikiutils/mongoose",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Types and utilities for Mongoose v8.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "kiki-kanri",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/node": "^20.14.9",
|
|
28
28
|
"changelogen": "^0.5.5",
|
|
29
29
|
"tsc-multi": "^1.1.0",
|
|
30
|
-
"typescript": "^5.5.
|
|
30
|
+
"typescript": "^5.5.3"
|
|
31
31
|
},
|
|
32
32
|
"keywords": [
|
|
33
33
|
"mongoose",
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { AggregatePaginateModel, HydratedDocument, PaginateModel, QueryWithHelpers, Types } from 'mongoose';
|
|
2
|
+
export type {} from './aggregate-paginate';
|
|
3
|
+
export type {} from './paginate';
|
|
2
4
|
export interface BaseModelStatics<RawDocType, InstanceMethodsAndOverrides = {}, QueryHelpers = {}> {
|
|
3
5
|
}
|
|
4
6
|
declare global {
|
package/utils.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
2
|
import type { BuildMongooseModelOptions } from './types/options';
|
|
3
3
|
import type { BaseSchemaAttribute, CreateCommonMongooseSchemasOptions, MongooseObjectIdRefSchema, MongooseStringSchema, MongooseStringSchemaAttribute } from './types/schema';
|
|
4
|
-
export type {} from './types/aggregate-paginate';
|
|
5
|
-
export type {} from './types/paginate';
|
|
6
4
|
/**
|
|
7
5
|
* Builds and returns a Mongoose model with specified schema and options.
|
|
8
6
|
*
|