@nomalism-com/types 0.33.69 → 0.33.70
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.
|
@@ -15,7 +15,7 @@ export interface IGetOrSetNpcsRequest {
|
|
|
15
15
|
export interface IGetOrSetNpcsResponse {
|
|
16
16
|
npcs: INpc[];
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
18
|
+
export interface IPrintJobResponse {
|
|
19
19
|
id: string;
|
|
20
20
|
moloni_json?: unknown;
|
|
21
21
|
external_url?: string | null;
|
|
@@ -25,7 +25,7 @@ export interface IprintJobResponse {
|
|
|
25
25
|
export type IUpdateRequest = INpc;
|
|
26
26
|
export interface IRepository {
|
|
27
27
|
find: () => Promise<Entity[]>;
|
|
28
|
-
findPrintJobsForNpc(selector: IShared.IFindByIdRequest): Promise<
|
|
28
|
+
findPrintJobsForNpc(selector: IShared.IFindByIdRequest): Promise<IPrintJobResponse[]>;
|
|
29
29
|
update: (params: IShared.IFindByIdRequest, data: IUpdateRequest) => Promise<Entity | null>;
|
|
30
30
|
getOrSetNpcs: (data: IGetOrSetNpcsRequest) => Promise<IGetOrSetNpcsResponse>;
|
|
31
31
|
}
|