-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add committee selector to motion meta data submitters (#3606)
This selector allows to fill the submitters extension text field with committee names.
- Loading branch information
Showing
6 changed files
with
122 additions
and
7 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
client/src/app/gateways/presenter/get-forwarding-committees-presenter.service.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Injectable } from '@angular/core'; | ||
import { Id } from 'src/app/domain/definitions/key-types'; | ||
|
||
import { Presenter } from './presenter'; | ||
import { PresenterService } from './presenter.service'; | ||
|
||
interface GetForwardCommitteesPresenterPayload { | ||
meeting_id: Id; | ||
} | ||
|
||
type GetForwardingCommitteesPresenterResult = string[]; | ||
|
||
@Injectable({ | ||
providedIn: `root` | ||
}) | ||
export class GetForwardingCommitteesPresenterService { | ||
public constructor(private presenter: PresenterService) {} | ||
|
||
public async call(payload: GetForwardCommitteesPresenterPayload): Promise<GetForwardingCommitteesPresenterResult> { | ||
return await this.presenter.call<GetForwardingCommitteesPresenterResult>( | ||
Presenter.GET_FORWARDING_COMMITTEES, | ||
payload | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters