@nomalism-com/api 0.8.236 → 0.8.238

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.
@@ -14,4 +14,4 @@ export import IFindWithPaginationResponse = Entity.IFindWithPaginationResponse;
14
14
  export declare const route: string;
15
15
  export declare const publicRoute: string;
16
16
  export declare const printLabelToPdfUrl: ({ id }: shared.IFindByIdRequest, token: string) => string;
17
- export declare const findById: (params_0: shared.IFindByIdRequest, params_1: shared.IUserToken) => Promise<import("@nomalism-com/types/dist/shared/entities").Cabide | null>, create: (params_0: Entity.ICreateRequest, params_1: shared.IUserToken) => Promise<import("@nomalism-com/types/dist/shared/entities").Cabide>, update: (params_0: shared.IFindByIdRequest, params_1: Entity.IUpdateRequest, params_2: shared.IUserToken) => Promise<import("@nomalism-com/types/dist/shared/entities").Cabide | null>, deleteOne: (params_0: shared.IFindByIdRequest, params_1: shared.IUserToken) => Promise<void>, find: (params_0: Entity.IFindRequest, params_1: shared.IUserToken) => Promise<Entity.IFindResponse[]>, findPaginated: (params_0: Entity.IFindPaginatedRequest, params_1: shared.IUserToken) => Promise<Entity.IFindWithPaginationResponse>, findCabideProviders: (params_0: shared.IFindMinifiedRequest, params_1: shared.IUserToken) => Promise<Entity.IFindCabideProvidersResponse[]>;
17
+ export declare const findById: (selector: shared.IFindByIdRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").Cabide | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").Cabide>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").Cabide | null>, deleteOne: (selector: shared.IFindByIdRequest) => Promise<void>, find: (data: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findCabideProviders: (search_value: shared.IFindMinifiedRequest) => Promise<Entity.IFindCabideProvidersResponse[]>;
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "@nomalism-com/api",
3
- "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
5
- "keywords": [
6
- "nomalism",
7
- "api",
8
- "types",
9
- "typescript",
10
- "helper"
11
- ],
12
- "version": "0.8.236",
13
- "main": "dist/index.js",
14
- "types": "./dist/index.d.ts",
15
- "files": [
16
- "dist"
17
- ],
18
- "license": "UNLICENSED",
19
- "homepage": "https://gitlab.com/nomalism-develop/api",
20
- "bugs": {
21
- "url": "https://gitlab.com/nomalism-develop/api/issues"
22
- },
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://gitlab.com/nomalism-develop/api.git"
26
- },
27
- "scripts": {
28
- "lint": "eslint src --ext .ts,.js --ignore-pattern node_modules --ignore-pattern dist --cache",
29
- "build": "rm -rf dist && tsc --project tsconfig.json",
30
- "start": "tsx --tsconfig ./tsconfig.json src/index.ts",
31
- "prepack": "concurrently --success all \"npm run lint\" \"npm run build\" \"npm run start\""
32
- },
33
- "devDependencies": {
34
- "@types/convert-units": "^2.3.5",
35
- "@types/node": "^18.16.3",
36
- "@typescript-eslint/eslint-plugin": "^5.59.2",
37
- "@typescript-eslint/parser": "^5.59.2",
38
- "concurrently": "^8.0.1",
39
- "eslint": "^8.39.0",
40
- "eslint-config-airbnb-base": "^15.0.0",
41
- "eslint-config-prettier": "^8.8.0",
42
- "eslint-import-resolver-typescript": "^3.5.5",
43
- "eslint-plugin-import": "^2.27.5",
44
- "eslint-plugin-prettier": "^4.2.1",
45
- "prettier": "^2.8.8",
46
- "tsx": "^3.12.7",
47
- "typescript": "^5.0.4"
48
- },
49
- "dependencies": {
50
- "@nomalism-com/types": "^0.9.307",
51
- "axios": "^0.27.2"
52
- }
53
- }
1
+ {
2
+ "name": "@nomalism-com/api",
3
+ "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
+ "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
5
+ "keywords": [
6
+ "nomalism",
7
+ "api",
8
+ "types",
9
+ "typescript",
10
+ "helper"
11
+ ],
12
+ "version": "0.8.238",
13
+ "main": "dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "license": "UNLICENSED",
19
+ "homepage": "https://gitlab.com/nomalism-develop/api",
20
+ "bugs": {
21
+ "url": "https://gitlab.com/nomalism-develop/api/issues"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://gitlab.com/nomalism-develop/api.git"
26
+ },
27
+ "scripts": {
28
+ "lint": "eslint src --ext .ts,.js --ignore-pattern node_modules --ignore-pattern dist --cache",
29
+ "build": "rm -rf dist && tsc --project tsconfig.json",
30
+ "start": "tsx --tsconfig ./tsconfig.json src/index.ts",
31
+ "prepack": "concurrently --success all \"npm run lint\" \"npm run build\" \"npm run start\""
32
+ },
33
+ "devDependencies": {
34
+ "@types/convert-units": "^2.3.5",
35
+ "@types/node": "^18.16.3",
36
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
37
+ "@typescript-eslint/parser": "^5.59.2",
38
+ "concurrently": "^8.0.1",
39
+ "eslint": "^8.39.0",
40
+ "eslint-config-airbnb-base": "^15.0.0",
41
+ "eslint-config-prettier": "^8.8.0",
42
+ "eslint-import-resolver-typescript": "^3.5.5",
43
+ "eslint-plugin-import": "^2.27.5",
44
+ "eslint-plugin-prettier": "^4.2.1",
45
+ "prettier": "^2.8.8",
46
+ "tsx": "^3.12.7",
47
+ "typescript": "^5.0.4"
48
+ },
49
+ "dependencies": {
50
+ "@nomalism-com/types": "^0.9.309",
51
+ "axios": "^0.27.2"
52
+ }
53
+ }