@nomalism-com/api 0.39.56 → 0.39.58
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/dist/index.d.ts +0 -1
- package/dist/index.js +0 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -119,7 +119,6 @@ declare class Repository$1I implements Nomalism$1.DocumentHeader.IRepository {
|
|
|
119
119
|
private api;
|
|
120
120
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
121
121
|
findOne(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.DocumentHeader.IFindOneBase | null>;
|
|
122
|
-
findStart(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.DocumentHeader.IFindOneBase | null>;
|
|
123
122
|
findStartVirtual(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.DocumentHeader.IStartDocumentHeaderVirtuals | null>;
|
|
124
123
|
findByBasicSearch(params: Nomalism$1.DocumentHeader.IBasicSearchRequest): Promise<Nomalism$1.shared.IPaginationResponse<Nomalism$1.DocumentHeader.IBasicSearchResponse>>;
|
|
125
124
|
findByType(params: Nomalism$1.DocumentHeader.IFindByTypeRequest): Promise<Nomalism$1.DocumentHeader.IFindByTypeResponse[]>;
|
package/dist/index.js
CHANGED
|
@@ -409,10 +409,6 @@ var Repository7 = class {
|
|
|
409
409
|
const response = await this.api.get(`${this.route}${selector.id}`);
|
|
410
410
|
return response.data;
|
|
411
411
|
}
|
|
412
|
-
async findStart(selector) {
|
|
413
|
-
const response = await this.api.get(`${this.route}start/${selector.id}`);
|
|
414
|
-
return response.data;
|
|
415
|
-
}
|
|
416
412
|
async findStartVirtual(selector) {
|
|
417
413
|
const response = await this.api.get(`${this.route}start_virtual/${selector.id}`);
|
|
418
414
|
return response.data;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.39.
|
|
4
|
+
"version": "0.39.58",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.39.
|
|
26
|
+
"@nomalism-com/types": "^0.39.59",
|
|
27
27
|
"axios": "^1.9.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|