@@ -34,7 +34,7 @@ import {
3434
3535import * as LinearApi from "./LinearApi.ts" ;
3636
37- export const DESCRIPTOR : StandaloneIssueTrackerDescriptor = {
37+ const DESCRIPTOR : StandaloneIssueTrackerDescriptor = {
3838 tracker : LinearApi . KIND ,
3939 displayName : "Linear" ,
4040 host : "linear.app" ,
@@ -51,7 +51,7 @@ export const DESCRIPTOR: StandaloneIssueTrackerDescriptor = {
5151 * The driver maps `open` to the team's default state and `closed` to its first completed state,
5252 * with `canceled` as the close reason for its first canceled state.
5353 */
54- export const CAPABILITIES : IssueCapabilities = {
54+ const CAPABILITIES : IssueCapabilities = {
5555 create : true ,
5656 edit : true ,
5757 comment : true ,
@@ -104,14 +104,14 @@ function parseIdentifier(key: string): string | null {
104104 return / ^ [ A - Z a - z ] [ A - Z a - z 0 - 9 ] * - [ 1 - 9 ] \d * $ / . test ( key . trim ( ) ) ? key . trim ( ) . toUpperCase ( ) : null ;
105105}
106106
107- export function toState ( state : LinearApi . LinearWorkflowState ) : IssueState {
107+ function toState ( state : LinearApi . LinearWorkflowState ) : IssueState {
108108 return CLOSED_STATE_TYPES . includes ( state . type )
109109 ? { category : "closed" , name : state . name , closeReason : state . type }
110110 : { category : "open" , name : state . name } ;
111111}
112112
113113/** Linear identifies people by id, so that is the login; the display name is what people see. */
114- export function toActor ( user : LinearApi . LinearUser ) : IssueActor {
114+ function toActor ( user : LinearApi . LinearUser ) : IssueActor {
115115 return {
116116 login : user . id ,
117117 name : user . displayName ?? user . name ,
@@ -125,7 +125,7 @@ function userName(user: LinearApi.LinearUser): string {
125125}
126126
127127/** Linear's connections report no totals, so a listing shows no comment count. */
128- export function toSummary ( issue : LinearApi . LinearIssue , commentCount = 0 ) : TrackerIssueSummary {
128+ function toSummary ( issue : LinearApi . LinearIssue , commentCount = 0 ) : TrackerIssueSummary {
129129 return {
130130 key : issue . identifier ,
131131 displayKey : issue . identifier ,
0 commit comments