Skip to content
Snippets Groups Projects
Select Git revision
  • 5d89839379bd492de0edbd7f5349af883b374c7d
  • master default
2 results

group-representation.model.ts

Blame
  • group-representation.model.ts 540 B
    
    export interface IGroupRepresentation {
        id?: string;
        name?: string;
        path?: string;
        subGroups?: Array<IGroupRepresentation>;
      }
      
      export class GroupRepresentation implements IGroupRepresentation {
        constructor(
          public id?: string,
          public name?: string,
          public path?: string,
          public subGroups?:  Array<IGroupRepresentation>
        ) {}
      }
      
      export function getGroupRepresentationIdentifier(groupRepresentation: IGroupRepresentation): string | undefined {
        return groupRepresentation.id;
      }