import { IManifestUpdater } from "../../IManifestUpdater" ; import { GeneratorTeamsAppOptions } from "../../../GeneratorTeamsAppOptions" ; export class ConnectorManifestUpdater implements IManifestUpdater { public updateManifest ( manifest , options ) { manifest . connectors . push ( { connectorId : "{{CONNECTOR_ID}}" , configurationUrl : `https://{{PUBLIC_HOSTNAME}}/${ options . connectorName }/config.html?name={loginHint}&tenant={tid}&group={groupId}&theme={theme}` , scopes : [ "team" ] , } ) ; } }