@@ -31,7 +31,7 @@ import { createPrProvider } from '../../util/git/provider-factory.mts'
3131import type { OctokitResponse } from '@octokit/types'
3232import type { JsonContent } from '@socketsecurity/lib-stable/fs/types'
3333
34- export type GQL_MERGE_STATE_STATUS =
34+ type GQL_MERGE_STATE_STATUS =
3535 | 'BEHIND'
3636 | 'BLOCKED'
3737 | 'CLEAN'
@@ -41,7 +41,7 @@ export type GQL_MERGE_STATE_STATUS =
4141 | 'UNKNOWN'
4242 | 'UNSTABLE'
4343
44- export type GQL_PR_STATE = 'OPEN' | 'CLOSED' | 'MERGED'
44+ type GQL_PR_STATE = 'OPEN' | 'CLOSED' | 'MERGED'
4545
4646export type PrMatch = {
4747 author : string
@@ -151,7 +151,7 @@ export type PrAutoMergeState = {
151151 details ?: string [ ] | undefined
152152}
153153
154- export type SocketPrsOptions = {
154+ type SocketPrsOptions = {
155155 author ?: string | undefined
156156 ghsaId ?: string | undefined
157157 states ?: 'all' | GQL_PR_STATE | GQL_PR_STATE [ ] | undefined
@@ -339,14 +339,14 @@ async function getSocketFixPrsWithContext(
339339 return contextualMatches
340340}
341341
342- export type OpenSocketFixPrOptions = {
342+ type OpenSocketFixPrOptions = {
343343 baseBranch ?: string | undefined
344344 cwd ?: string | undefined
345345 ghsaDetails ?: Map < string , GhsaDetails > | undefined
346346 retries ?: number | undefined
347347}
348348
349- export type OpenPrResult =
349+ type OpenPrResult =
350350 | { ok : true ; pr : OctokitResponse < Pr > }
351351 | { ok : false ; reason : 'already_exists' ; error : RequestError }
352352 | {
0 commit comments