src/app/my-groups/group.interface.ts
Properties |
|
| activityId |
activityId:
|
Type : string
|
| activityList |
activityList:
|
Type : GroupActivity[]
|
| Optional |
| activityType |
activityType:
|
Type : string
|
| corRelationList |
corRelationList:
|
Type : Array<CorrelationData>
|
| groupId |
groupId:
|
Type : string
|
| noOfPagesToRevertOnSuccess |
noOfPagesToRevertOnSuccess:
|
Type : number
|
| Optional |
| pageId |
pageId:
|
Type : string
|
| source |
source:
|
Type : string
|
| Optional |
import { CorrelationData, Group, GroupActivity } from '@project-sunbird/sunbird-sdk';
export interface AddActivityToGroup {
groupId: string;
activityId: string;
activityType: string;
pageId: string;
corRelationList: Array<CorrelationData>;
activityList?: GroupActivity[];
source?: string;
noOfPagesToRevertOnSuccess?: number;
}
export interface ActivityData {
group: Group,
activity: any,
isGroupCreatorOrAdmin: boolean
}