@nomalism-com/api 0.49.18 → 0.49.19

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.cjs CHANGED
@@ -1755,7 +1755,7 @@ var Repository45 = class {
1755
1755
  async create(data) {
1756
1756
  await this.api.post(`${this.route}`, data);
1757
1757
  }
1758
- async find() {
1758
+ async findMany() {
1759
1759
  const response = await this.api.get(
1760
1760
  `${this.route}`
1761
1761
  );
package/dist/index.js CHANGED
@@ -1722,7 +1722,7 @@ var Repository45 = class {
1722
1722
  async create(data) {
1723
1723
  await this.api.post(`${this.route}`, data);
1724
1724
  }
1725
- async find() {
1725
+ async findMany() {
1726
1726
  const response = await this.api.get(
1727
1727
  `${this.route}`
1728
1728
  );
@@ -5,6 +5,6 @@ export default class Repository implements Nomalism.DisplayLabel.IRepository {
5
5
  private api;
6
6
  constructor({ api, route }: IModuleConstructor);
7
7
  create(data: Nomalism.DisplayLabel.ICreateRequest): Promise<void>;
8
- find(): Promise<Nomalism.DisplayLabel.Entity[]>;
8
+ findMany(): Promise<Nomalism.DisplayLabel.IFindResponse[]>;
9
9
  deleteMany(data: Nomalism.DisplayLabel.IDeleteManyRequest): Promise<void>;
10
10
  }
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.49.18",
4
+ "version": "0.49.19",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "prepare": "husky"
31
31
  },
32
32
  "dependencies": {
33
- "@nomalism-com/types": "^0.49.25",
33
+ "@nomalism-com/types": "^0.49.26",
34
34
  "axios": "^1.20.0"
35
35
  },
36
36
  "devDependencies": {