-
Notifications
You must be signed in to change notification settings - Fork 0
Class.Resource
@decentm/concourse-ts / Resource
• Source extends Config
= Config
• PutParams extends Config
= Config
• GetParams extends Config
= Config
new Resource<
Source
,PutParams
,GetParams
>(name
,type
,customise
?):Resource
<Source
,PutParams
,GetParams
>
• name: string
• type: ResourceType
<string
, Config
>
• customise?
Resource
<Source
, PutParams
, GetParams
>
optional
icon:string
https://materialdesignicons.com/
name:
string
optional
old_name:string
optional
public:boolean
optional
source:Source
optional
webhook_token:string
add_tag(...
tags
):void
• ...tags: string
[]
void
as_get_step(
input
?,customise
?):GetStep
<Source
,PutParams
,GetParams
>
• input?: AsGetStepInput
<GetParams
>
• customise?
GetStep
<Source
, PutParams
, GetParams
>
as_put_step(
input
?,customise
?):PutStep
<Source
,PutParams
,GetParams
>
• input?: AsPutStepInput
<PutParams
>
• customise?
PutStep
<Source
, PutParams
, GetParams
>
customise_get_step(
init
):void
• init
void
customise_put_step(
init
):void
• init
void
serialise():
Resource
set_check_every(
input
):void
• input: DurationInput
| "never"
void
set_version(
version
):void
• version: Version
void
static
customise(init
):void
• init
void
static
customise_get_step<Source
,PutParams
,GetParams
>(init
):void
• Source extends Config
= Config
• PutParams extends Config
= Config
• GetParams extends Config
= Config
• init
void
static
customise_put_step<Source
,PutParams
,GetParams
>(init
):void
• Source extends Config
= Config
• PutParams extends Config
= Config
• GetParams extends Config
= Config
• init
void