File

src/app/modules/groups/interfaces/group.ts

Extends

CsGroup

Index

Properties

Properties

cardBgColor
cardBgColor: any
Type : any
Optional
cardTitleColor
cardTitleColor: any
Type : any
Optional
initial
initial: string
Type : string
Optional
isAdmin
isAdmin: boolean
Type : boolean
Optional
isCreator
isCreator: boolean
Type : boolean
Optional
isLoading
isLoading: boolean
Type : boolean
Optional
memberRole
memberRole: string
Type : string
Optional
theme
theme: string
Type : string
Optional
import { GroupMembershipType, GroupEntityStatus, CsGroup, GroupMember } from '@project-sunbird/client-services/models/group';

export interface IMember {
  members: [
    {
      userId: string;
      role: string;
    }
  ];
}

export interface IGroupUpdate {
  name: string;
  membershipType?: GroupMembershipType;
  description?: string;
  status?: GroupEntityStatus;
}

export interface IGroupCard extends CsGroup {
  cardBgColor?: any;
  cardTitleColor?: any;
  isLoading?: boolean;
  theme?: string;
  initial?: string;
  isCreator?: boolean;
  memberRole?: string;
  isAdmin?: boolean;
}


export interface IGroupMemberConfig {
  showMemberCount: boolean;
  showSearchBox: boolean;
  showAddMemberButton: boolean;
  showMemberMenu: boolean;
}

export interface IGroupMember extends GroupMember {
  identifier?: string;
  initial?: string;
  title?: string;
  isAdmin?: boolean;
  isMenu?: boolean;
  indexOfMember?: number;
  isCreator?: boolean;
  id?: string;
}
export interface IFetchForumId {
  identifier: Array<string>;
  type: string;
}

export interface IFetchForumConfig {
  identifier: string;
  type: string;
}

export enum actions {
  DELETE = 'delete',
  DEACTIVATE = 'deActivate',
  ACTIVATE = 'activate',
  DISABLE_FORUM = 'disableDiscussionForum'
}

export enum acceptTnc {
  ALL = 'all',
  GROUP = 'group'
}

export enum sessionKeys {
  GROUPADDABLEBLOCDATA = 'group-addable-bloc-data',
  GROUPDATA = 'group-data'
}

results matching ""

    No results matching ""