New Attachmentes Page with Skeleton. EventAttachments Model revised. Compatibility with v2. Get Attachments revised.

This commit is contained in:
Paulo Pinto
2020-08-24 23:41:15 +01:00
parent 91147ef6b9
commit 751b8dd7c5
23 changed files with 494 additions and 74 deletions
+21
View File
@@ -0,0 +1,21 @@
export class Attachment {
Id: number;
ParentId: string;
Sources: Sources;
SourceId: string;
Description: string;
SourceName: string;
CreateDate: string;
Stakeholders: string;
Link: string;
//Data: any;
}
enum Sources
{
Undefined = 0,
webTRIX = 1,
K2 = 2,
Exchange = 3,
File = 4
}
+1 -3
View File
@@ -1,7 +1,5 @@
import { EventBody } from './eventbody.model';
import { EventPerson } from './eventperson.model';
import { EventAttachment } from './eventattachment.model';
import { EventOrganizer } from './organizer.model';
export class Event{
@@ -22,5 +20,5 @@ export class Event{
TimeZone: string;
Organizer: string;
Categories: string[];
Attachments: EventAttachment[];
HasAttachments: boolean;
}
-16
View File
@@ -1,16 +0,0 @@
export class EventAttachment{
Id: number;
ParentId: string;
Sources: Sources;
SourceId: string;
Data: any;
}
enum Sources
{
Unknow = 0,
webTRIX = 1,
K2 = 2,
Exchange = 3,
File = 4
}