Add types

This commit is contained in:
Peter Maquiran
2021-07-30 22:03:48 +01:00
parent df8ccb1073
commit 3d92560e1b
10 changed files with 114 additions and 60 deletions
+37 -1
View File
@@ -1,5 +1,4 @@
export class SearchDocument {
ApplicationType: number | string;
Assunto: string;
Data: string;
@@ -9,3 +8,40 @@ export class SearchDocument {
Id: string;
appName?: string;
}
export class FromSearchDocument {
ApplicationId: number
ApplicationID: number
Assunto: string
DocDate: string
DocId: number
DocID?: number
Sender: string
SenderId: number
}
export class SearchFolder {
ApplicationID: number
ApplicationId: number
Assunto:string
DateDispatch: string
DispatchNumber: string
Docs: string
Documents: {
Assunto: string
DocDate: string
DocId: number
DocNumber: string
Sender: string
}[]
DocumentsTotal: 2
IntervenerList: string[]
Interveners: string
Nature:string
Sender: null | string
SenderId: null | string
Status: string
folderId: number
}