UNPKG

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