Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

🔄 synced file(s) with bosch-grow-pat/commons-libs #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions libs/api-commons-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bosch-grow-pat/api-commons-lib",
"version": "0.6.2",
"version": "0.6.3",
"description": "YAKU API commons lib containing functionality that can be used across YAKU API projects",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -23,16 +23,16 @@
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand"
},
"dependencies": {
"@nestjs/common": "^10.3.8",
"@nestjs/core": "^10.3.8",
"@nestjs/platform-express": "^10.3.8",
"@nestjs/schedule": "^4.0.2",
"@nestjs/swagger": "^7.3.1",
"node-mocks-http": "^1.13.0",
"@nestjs/common": "^10.4.4",
"@nestjs/core": "^10.4.4",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/schedule": "^4.1.1",
"@nestjs/swagger": "^7.4.2",
"node-mocks-http": "^1.16.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"typeorm": "0.3.17",
"zod": "^3.22.3",
"zod": "^3.23.8",
"zod-validation-error": "^1.5.0"
},
"publishConfig": {
Expand All @@ -43,28 +43,28 @@
"url": "https://github.com/bosch-grow-pat/commons-libs.git"
},
"devDependencies": {
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.8",
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.1.4",
"@nestjs/testing": "^10.4.4",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.2",
"@types/jest": "^29.5.13",
"@types/node": "^20.3.1",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.0.0",
"prettier": "^3.3.3",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
"typescript": "^5.6.2"
},
"jest": {
"moduleFileExtensions": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const queryOptionsSchema = z.object({
page: z.number().int().positive().optional(),
items: z.number().int().positive().optional(),
sortOrder: z.nativeEnum(SortOrder).optional(),
sortBy: z.string().trim().nonempty().optional(),
sortBy: z.string().trim().min(1).optional(),
})

export function toListQueryOptions(
Expand Down
Loading