@nomalism-com/types 0.40.95 → 0.40.97

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,6 +14,6 @@ export interface IPromptAbortController {
14
14
  abort(): void;
15
15
  }
16
16
  export interface IRepository {
17
- prompt: (data: IPromptRequest, response: IPromptResponse) => Promise<IPromptAbortController>;
17
+ prompt: (data: IPromptRequest, response: IPromptResponse) => IPromptAbortController;
18
18
  }
19
19
  export type IController = IShared.IEntityWithUserToken<IRepository>;
@@ -1,11 +1,15 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export interface IPcTags {
3
+ id: string;
4
+ text: string;
5
+ }
2
6
  export interface IPublicFindByOwnerIdResponse {
3
7
  start_document_header_id: string;
4
8
  label: string;
5
9
  emission_date: Date;
6
10
  pdf_link: string;
7
11
  client_unread: number;
8
- pc_tags: string[];
12
+ pc_tags: IPcTags[];
9
13
  pc_created_by: string;
10
14
  }
11
15
  export declare enum IPublicDocumentHeaderNoteType {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.40.95",
4
+ "version": "0.40.97",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",