mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
New Attachmentes Page with Skeleton. EventAttachments Model revised. Compatibility with v2. Get Attachments revised.
This commit is contained in:
@@ -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,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;
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user