feathers-sequelize
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -5,8 +5,12 @@ # Changelog | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v7.0.0...HEAD) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v7.0.1...HEAD) | ||
**Merged pull requests:** | ||
- Dove [\#412](https://github.com/feathersjs-ecosystem/feathers-sequelize/pull/412) ([fratzinger](https://github.com/fratzinger)) | ||
- chore\(dependencies\): Update all dependencies [\#414](https://github.com/feathersjs-ecosystem/feathers-sequelize/pull/414) ([daffl](https://github.com/daffl)) | ||
## [v7.0.1](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v7.0.1) (2023-04-03) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v7.0.0...v7.0.1) | ||
## [v7.0.0](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v7.0.0) (2023-02-24) | ||
@@ -16,2 +20,6 @@ | ||
**Merged pull requests:** | ||
- Dove [\#412](https://github.com/feathersjs-ecosystem/feathers-sequelize/pull/412) ([fratzinger](https://github.com/fratzinger)) | ||
## [v7.0.0-pre.1](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v7.0.0-pre.1) (2023-01-06) | ||
@@ -18,0 +26,0 @@ |
@@ -5,2 +5,3 @@ import { SequelizeAdapter } from './adapter'; | ||
import type { PaginationOptions } from '@feathersjs/adapter-commons'; | ||
import type { PaginatedOrArray } from './internal.types'; | ||
export * from './declarations'; | ||
@@ -11,9 +12,5 @@ export * from './adapter'; | ||
export declare class SequelizeService<Result = any, Data = Partial<Result>, ServiceParams extends Params<any> = SequelizeAdapterParams, PatchData = Partial<Data>> extends SequelizeAdapter<Result, Data, ServiceParams, PatchData> implements ServiceMethods<Result | Paginated<Result>, Data, ServiceParams, PatchData> { | ||
find(params?: ServiceParams & { | ||
paginate?: PaginationOptions; | ||
}): Promise<Paginated<Result>>; | ||
find(params?: ServiceParams & { | ||
paginate: false; | ||
}): Promise<Result[]>; | ||
find(params?: ServiceParams): Promise<Paginated<Result> | Result[]>; | ||
find<P extends ServiceParams & { | ||
paginate?: PaginationOptions | false; | ||
}>(params?: P): Promise<PaginatedOrArray<Result, P>>; | ||
get(id: Id, params?: ServiceParams): Promise<Result>; | ||
@@ -20,0 +17,0 @@ create(data: Data, params?: ServiceParams): Promise<Result>; |
{ | ||
"name": "feathers-sequelize", | ||
"description": "A service adapter for Sequelize an SQL ORM", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"homepage": "https://github.com/feathersjs-ecosystem/feathers-sequelize", | ||
@@ -64,31 +64,31 @@ "main": "lib/", | ||
"dependencies": { | ||
"@feathersjs/adapter-commons": "^5.0.1", | ||
"@feathersjs/commons": "^5.0.1", | ||
"@feathersjs/errors": "^5.0.1" | ||
"@feathersjs/adapter-commons": "^5.0.6", | ||
"@feathersjs/commons": "^5.0.6", | ||
"@feathersjs/errors": "^5.0.6" | ||
}, | ||
"devDependencies": { | ||
"@feathersjs/adapter-tests": "^5.0.1", | ||
"@feathersjs/express": "^5.0.1", | ||
"@feathersjs/feathers": "^5.0.1", | ||
"@types/chai": "^4.3.4", | ||
"@feathersjs/adapter-tests": "^5.0.6", | ||
"@feathersjs/express": "^5.0.6", | ||
"@feathersjs/feathers": "^5.0.6", | ||
"@types/chai": "^4.3.5", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^18.15.11", | ||
"@types/pg": "^8.6.6", | ||
"@typescript-eslint/eslint-plugin": "^5.57.0", | ||
"@typescript-eslint/parser": "^5.57.0", | ||
"@types/node": "^20.3.1", | ||
"@types/pg": "^8.10.2", | ||
"@typescript-eslint/eslint-plugin": "^5.60.0", | ||
"@typescript-eslint/parser": "^5.60.0", | ||
"body-parser": "^1.20.2", | ||
"c8": "^7.13.0", | ||
"c8": "^8.0.0", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.37.0", | ||
"eslint": "^8.43.0", | ||
"mocha": "^10.2.0", | ||
"mysql2": "^3.2.0", | ||
"npm-check-updates": "^16.9.0", | ||
"pg": "^8.10.0", | ||
"mysql2": "^3.4.0", | ||
"npm-check-updates": "^16.10.12", | ||
"pg": "^8.11.0", | ||
"pg-hstore": "^2.3.4", | ||
"sequelize": "^6.30.0", | ||
"sequelize": "^6.32.1", | ||
"shx": "^0.3.4", | ||
"sqlite3": "^5.1.6", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.3" | ||
"typescript": "^5.1.3" | ||
} | ||
} |
@@ -5,2 +5,3 @@ import { SequelizeAdapter } from './adapter'; | ||
import type { PaginationOptions } from '@feathersjs/adapter-commons'; | ||
import type { PaginatedOrArray } from './internal.types'; | ||
@@ -15,6 +16,3 @@ export * from './declarations' | ||
{ | ||
async find (params?: ServiceParams & { paginate?: PaginationOptions }): Promise<Paginated<Result>> | ||
async find (params?: ServiceParams & { paginate: false }): Promise<Result[]> | ||
async find (params?: ServiceParams): Promise<Paginated<Result> | Result[]> | ||
async find (params?: ServiceParams): Promise<Paginated<Result> | Result[]> { | ||
async find <P extends ServiceParams & { paginate?: PaginationOptions | false }> (params?: P): Promise<PaginatedOrArray<Result, P>> { | ||
return this._find(params) as any | ||
@@ -21,0 +19,0 @@ } |
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
163398
36
1203