@decentm/concourse-ts-resource-oss-github-pr
v0.2.1
Published
`npm i --save-dev @decentm/concourse-ts @decentm/concourse-ts-resource-oss-github-pr`
Downloads
6
Readme
Typed OssGithubPr resource for concourse-ts
Installation
npm i --save-dev @decentm/concourse-ts @decentm/concourse-ts-resource-oss-github-pr
yarn add -D @decentm/concourse-ts @decentm/concourse-ts-resource-oss-github-pr
Usage
The OssGithubPr resource is a typed class that extends the base Resource class. Therefore, it has the same properties. See the Resource documentation for details.
import {Type} from '@decentm/concourse-ts'
import {OssGithubPrResource, OssGithubPrResourceType} from '@decentm/concourse-ts-resource-oss-github-pr'
export class CorpityCorpOssGithubPr extends OssGithubPrResource {
constructor(name: string, init?: Type.Initer<CorpityCorpOssGithubPr>) {
super(name, new OssGithubPrResourceType(/*...*/))
// Set defaults here
if (init) {
init(this)
}
}
}