next-data-kit 7.4.0 → 7.4.1
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/README.md +69 -18
- package/dist/{action-De2eEXMg.d.cts → action-pIfOi9UC.d.cts} +12 -3
- package/dist/{action-De2eEXMg.d.ts → action-pIfOi9UC.d.ts} +12 -3
- package/dist/client/components/data-kit-table.d.ts +2 -2
- package/dist/client/components/data-kit-table.d.ts.map +1 -1
- package/dist/client/components/data-kit-table.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js.map +1 -1
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/types/index.d.cts +2 -2
- package/dist/types/server/database/mongo.d.ts +12 -3
- package/dist/types/server/database/mongo.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/server.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Model } from 'mongoose';
|
|
2
|
-
import { T as TMongooseOptions, a as TExtractDocType, b as TDataKitResult, c as TAdapterOptions, d as TMongoModel, e as TMongoFilterQuery, f as TFilterCustomConfigWithFilter, g as TSortOptions, h as TDataKitAdapter, i as TPaginationInfo } from './action-
|
|
3
|
-
export { k as TDataKitInput, m as TFilterConfig, l as TFilterCustomConfig, j as TSortOrder } from './action-
|
|
2
|
+
import { T as TMongooseOptions, a as TExtractDocType, b as TDataKitResult, c as TAdapterOptions, d as TMongoModel, e as TMongoFilterQuery, f as TFilterCustomConfigWithFilter, g as TSortOptions, h as TDataKitAdapter, i as TPaginationInfo } from './action-pIfOi9UC.cjs';
|
|
3
|
+
export { k as TDataKitInput, m as TFilterConfig, l as TFilterCustomConfig, j as TSortOrder } from './action-pIfOi9UC.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Model } from 'mongoose';
|
|
2
|
-
import { T as TMongooseOptions, a as TExtractDocType, b as TDataKitResult, c as TAdapterOptions, d as TMongoModel, e as TMongoFilterQuery, f as TFilterCustomConfigWithFilter, g as TSortOptions, h as TDataKitAdapter, i as TPaginationInfo } from './action-
|
|
3
|
-
export { k as TDataKitInput, m as TFilterConfig, l as TFilterCustomConfig, j as TSortOrder } from './action-
|
|
2
|
+
import { T as TMongooseOptions, a as TExtractDocType, b as TDataKitResult, c as TAdapterOptions, d as TMongoModel, e as TMongoFilterQuery, f as TFilterCustomConfigWithFilter, g as TSortOptions, h as TDataKitAdapter, i as TPaginationInfo } from './action-pIfOi9UC.js';
|
|
3
|
+
export { k as TDataKitInput, m as TFilterConfig, l as TFilterCustomConfig, j as TSortOrder } from './action-pIfOi9UC.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as TSortEntry, m as TFilterConfig, k as TDataKitInput, b as TDataKitResult } from '../action-
|
|
2
|
-
export { c as TAdapterOptions, q as TBaseOptions, h as TDataKitAdapter, a as TExtractDocType, l as TFilterCustomConfig, f as TFilterCustomConfigWithFilter, o as TMongoFilterOperators, e as TMongoFilterQuery, d as TMongoModel, p as TMongoRootFilterOperators, T as TMongooseOptions, i as TPaginationInfo, g as TSortOptions, j as TSortOrder } from '../action-
|
|
1
|
+
import { n as TSortEntry, m as TFilterConfig, k as TDataKitInput, b as TDataKitResult } from '../action-pIfOi9UC.cjs';
|
|
2
|
+
export { c as TAdapterOptions, q as TBaseOptions, h as TDataKitAdapter, a as TExtractDocType, l as TFilterCustomConfig, f as TFilterCustomConfigWithFilter, o as TMongoFilterOperators, e as TMongoFilterQuery, d as TMongoModel, p as TMongoRootFilterOperators, T as TMongooseOptions, i as TPaginationInfo, g as TSortOptions, j as TSortOrder } from '../action-pIfOi9UC.cjs';
|
|
3
3
|
import 'mongoose';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -40,8 +40,17 @@ export type TMongoFilterQuery<T> = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Minimal Mongoose Model interface for the adapter.
|
|
42
42
|
*/
|
|
43
|
-
export type TMongoModel<
|
|
44
|
-
countDocuments(filter?:
|
|
45
|
-
find(filter?:
|
|
43
|
+
export type TMongoModel<T = unknown> = {
|
|
44
|
+
countDocuments(filter?: TMongoFilterQuery<T>): Promise<number>;
|
|
45
|
+
find(filter?: TMongoFilterQuery<T>, projection?: unknown, options?: unknown): TMongoQuery<T>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Mongoose Query interface.
|
|
49
|
+
*/
|
|
50
|
+
export type TMongoQuery<T> = {
|
|
51
|
+
sort(sort: Record<string, TSortOrder>): TMongoQuery<T>;
|
|
52
|
+
limit(limit: number): TMongoQuery<T>;
|
|
53
|
+
skip(skip: number): TMongoQuery<T>;
|
|
54
|
+
then<TResult1 = T[], TResult2 = never>(onfulfilled?: ((value: T[]) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
46
55
|
};
|
|
47
56
|
//# sourceMappingURL=mongo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../../src/types/server/database/mongo.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,YAAY,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI;IACtC,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,IAAI,CAAC,EAAE,C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