1 | # Mapped Parameters
|
2 |
|
3 | Mapped parameters are special parameters that aren't gathered from
|
4 | users but supplied, like secrets, by the Atomist runtime.
|
5 |
|
6 | Like normal parameters, they are specified using decorators and
|
7 | injected into a fresh instance before the `handle` function is
|
8 | called.
|
9 |
|
10 | The following example provides the current GitHub owner name:
|
11 |
|
12 | ```typescript
|
13 | @MappedParameter(MappedParameters.GITHUB_OWNER)
|
14 | public targetOwner: string;
|
15 | ```
|