@decentm/concourse-ts-resource-bitbucket-pr

0.2.1 • Public • Published

concourse-ts-resource-bitbucket-pr

Typed BitbucketPr resource for concourse-ts

Installation

npm i --save-dev @decentm/concourse-ts @decentm/concourse-ts-resource-bitbucket-pr

yarn add -D @decentm/concourse-ts @decentm/concourse-ts-resource-bitbucket-pr

Usage

The BitbucketPr 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 {BitbucketPrResource, BitbucketPrResourceType} from '@decentm/concourse-ts-resource-bitbucket-pr'

export class CorpityCorpBitbucketPr extends BitbucketPrResource {
  constructor(name: string, init?: Type.Initer<CorpityCorpBitbucketPr>) {
    super(name, new BitbucketPrResourceType(/*...*/))

    // Set defaults here

    if (init) {
      init(this)
    }
  }
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @decentm/concourse-ts-resource-bitbucket-pr

      Weekly Downloads

      0

      Version

      0.2.1

      License

      MIT

      Unpacked Size

      6.69 kB

      Total Files

      7

      Last publish

      Collaborators

      • decentm