@usine/github/label-writer
Classes
Section titled “Classes”GitHubLabelWriter
Section titled “GitHubLabelWriter”Creates repository labels under the App installation token.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object
The service’s operations: what yield* GitHubLabelWriter returns.
create
Section titled “create”
readonlycreate: (repository,label) =>Effect.Effect<RepositoryLabel,GitHubAppError>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
repository |
RepositoryName |
label |
NewRepositoryLabel |
Returns
Section titled “Returns”Effect.Effect<RepositoryLabel, GitHubAppError>
readonlystaticlayer:Layer<GitHubLabelWriter,never,HttpClient|GitHubApp>
NewRepositoryLabel
Section titled “NewRepositoryLabel”One label definition as GitHub’s create-label endpoint accepts it.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NewRepositoryLabel(…
args):NewRepositoryLabel
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlycolor:Option<string&Brand<"GitHubRepositoryLabelColor">>
description
Section titled “description”
readonlydescription:Option<string>
readonlyname:string&Brand<"GitHubRepositoryLabelName">