@usine/github/item-writer
Classes
Section titled “Classes”GitHubItemWriter
Section titled “GitHubItemWriter”Label writes on GitHub Items, used when the Board moves a card between lanes.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object
The service’s operations: what yield* GitHubItemWriter returns.
updateLabels
Section titled “updateLabels”
readonlyupdateLabels: (repository,item,mutation) =>Effect.Effect<ReadonlyArray<string>,GitHubAppError>
Adds and removes only the named labels and keeps every other applied label.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
repository |
RepositoryName |
item |
ItemNumber |
mutation |
ItemLabelMutation |
Returns
Section titled “Returns”Effect.Effect<ReadonlyArray<string>, GitHubAppError>
readonlystaticlayer:Layer<GitHubItemWriter,never,HttpClient|GitHubApp>
ItemLabelMutation
Section titled “ItemLabelMutation”Labels to add and remove on one Item. Labels outside these two sets are left alone.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ItemLabelMutation(…
args):ItemLabelMutation
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyadd: readonlystring[]
remove
Section titled “remove”
readonlyremove: readonlystring[]