@feathersjs/adapter-commons
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -6,2 +6,9 @@ # Change Log | ||
## [5.0.1](https://github.com/feathersjs/feathers/compare/v5.0.0...v5.0.1) (2023-03-15) | ||
### Bug Fixes | ||
- **core:** Add PaginationParams to general find method ([#3095](https://github.com/feathersjs/feathers/issues/3095)) ([8ebdcf5](https://github.com/feathersjs/feathers/commit/8ebdcf5107fae5fa23920390052b871033de3a0a)) | ||
- **core:** Use Symbol.for to instantiate shared symbols ([#3087](https://github.com/feathersjs/feathers/issues/3087)) ([7f3fc21](https://github.com/feathersjs/feathers/commit/7f3fc2167576f228f8183568eb52b077160e8d65)) | ||
# [5.0.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.38...v5.0.0) (2023-02-24) | ||
@@ -8,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Query, Params, Paginated, Id } from '@feathersjs/feathers'; | ||
import { Query, Params, Paginated, Id, PaginationParams, PaginationOptions } from '@feathersjs/feathers'; | ||
export type FilterQueryOptions = { | ||
@@ -11,7 +11,3 @@ filters?: FilterSettings; | ||
}; | ||
export interface PaginationOptions { | ||
default?: number; | ||
max?: number; | ||
} | ||
export type PaginationParams = false | PaginationOptions; | ||
export { PaginationOptions, PaginationParams }; | ||
export interface AdapterServiceOptions { | ||
@@ -18,0 +14,0 @@ /** |
@@ -5,3 +5,3 @@ "use strict"; | ||
const query_1 = require("./query"); | ||
exports.VALIDATED = Symbol('@feathersjs/adapter/sanitized'); | ||
exports.VALIDATED = Symbol.for('@feathersjs/adapter/sanitized'); | ||
const alwaysMulti = { | ||
@@ -8,0 +8,0 @@ find: true, |
{ | ||
"name": "@feathersjs/adapter-commons", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Shared database adapter utility functions", | ||
@@ -53,5 +53,5 @@ "homepage": "https://feathersjs.com", | ||
"dependencies": { | ||
"@feathersjs/commons": "^5.0.0", | ||
"@feathersjs/errors": "^5.0.0", | ||
"@feathersjs/feathers": "^5.0.0" | ||
"@feathersjs/commons": "^5.0.1", | ||
"@feathersjs/errors": "^5.0.1", | ||
"@feathersjs/feathers": "^5.0.1" | ||
}, | ||
@@ -61,3 +61,3 @@ "devDependencies": { | ||
"@types/mongodb": "^4.0.6", | ||
"@types/node": "^18.14.1", | ||
"@types/node": "^18.14.6", | ||
"mocha": "^10.2.0", | ||
@@ -69,3 +69,3 @@ "mongodb": "^5.1.0", | ||
}, | ||
"gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5" | ||
"gitHead": "18b7f4ab0a8075572a81d78956ba1205a9795c91" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Query, Params, Paginated, Id } from '@feathersjs/feathers' | ||
import { Query, Params, Paginated, Id, PaginationParams, PaginationOptions } from '@feathersjs/feathers' | ||
@@ -15,9 +15,5 @@ export type FilterQueryOptions = { | ||
export interface PaginationOptions { | ||
default?: number | ||
max?: number | ||
} | ||
// re-export from @feathersjs/feathers to prevent breaking changes | ||
export { PaginationOptions, PaginationParams } | ||
export type PaginationParams = false | PaginationOptions | ||
export interface AdapterServiceOptions { | ||
@@ -24,0 +20,0 @@ /** |
@@ -10,3 +10,3 @@ import { Id, Paginated, Query } from '@feathersjs/feathers' | ||
export const VALIDATED = Symbol('@feathersjs/adapter/sanitized') | ||
export const VALIDATED = Symbol.for('@feathersjs/adapter/sanitized') | ||
@@ -13,0 +13,0 @@ const alwaysMulti: { [key: string]: boolean } = { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90190
1241
Updated@feathersjs/commons@^5.0.1
Updated@feathersjs/errors@^5.0.1
Updated@feathersjs/feathers@^5.0.1