@nomalism-com/types 0.28.1 → 0.28.2

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.
@@ -21,9 +21,6 @@ export interface ICreateResponse {
21
21
  tasks: IShared.ITaskCluster[];
22
22
  }
23
23
  export interface IRepository {
24
- create(data: ICreateRequest): Promise<ICreateResponse>;
25
- }
26
- export interface IApi extends Omit<IRepository, "create"> {
27
24
  create(data: ICreateRequest): Promise<IShared.ITaskCluster[]>;
28
25
  }
29
26
  export type IController = IShared.IEntityWithUserToken<IRepository>;
@@ -1,5 +1,4 @@
1
1
  import * as IShared from "../../../shared/interface";
2
- import type { ICreateFromHeaderResponse } from "../../supply/documentHeader/interfaces";
3
2
  export interface ICreateRequest {
4
3
  document_header_id?: string;
5
4
  from_document_header_id: string;
@@ -8,9 +7,6 @@ export interface ICreateRequest {
8
7
  price_sale: number;
9
8
  }
10
9
  export interface IRepository {
11
- create(params: ICreateRequest): Promise<ICreateFromHeaderResponse>;
12
- }
13
- export interface IApi extends Omit<IRepository, "create"> {
14
10
  create(params: ICreateRequest): Promise<IShared.ITaskCluster[]>;
15
11
  }
16
12
  export type IController = IShared.IEntityWithUserToken<IRepository>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.28.1",
12
+ "version": "0.28.2",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [