File tree Expand file tree Collapse file tree
packages/cli/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ import type { SpinnerInstance } from '@socketsecurity/lib-stable/spinner/types'
2929
3030type SpawnOption = Exclude < Parameters < typeof spawn > [ 2 ] , undefined >
3131
32- export interface AgentInstallOptions extends SpawnOption {
32+ interface AgentInstallOptions extends SpawnOption {
3333 args ?: string [ ] | readonly string [ ] | undefined
3434 spinner ?: SpinnerInstance | undefined
3535}
3636
37- export type AgentSpawnResult = ReturnType < typeof spawn >
37+ type AgentSpawnResult = ReturnType < typeof spawn >
3838
3939/**
4040 * Execute package installation with the detected package manager agent. Handles
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ import type { CResult } from '../../types.mts'
55import type { SetupSdkOptions } from '../../util/socket/sdk.mjs'
66import type { SocketSdkSuccessResult } from '@socketsecurity/sdk-stable'
77
8- export type FetchDependenciesConfig = {
8+ type FetchDependenciesConfig = {
99 limit : number
1010 offset : number
1111}
1212
13- export type FetchDependenciesOptions = {
13+ type FetchDependenciesOptions = {
1414 commandPath ?: string | undefined
1515 sdkOpts ?: SetupSdkOptions | undefined
1616}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type { CResult } from '../../types.mts'
55import type { SetupSdkOptions } from '../../util/socket/sdk.mjs'
66import type { SocketSdkSuccessResult } from '@socketsecurity/sdk-stable'
77
8- export type FetchCreateRepoConfig = {
8+ type FetchCreateRepoConfig = {
99 defaultBranch : string
1010 description : string
1111 homepage : string
@@ -14,7 +14,7 @@ export type FetchCreateRepoConfig = {
1414 visibility : 'private' | 'public'
1515}
1616
17- export type FetchCreateRepoOptions = {
17+ type FetchCreateRepoOptions = {
1818 commandPath ?: string | undefined
1919 sdkOpts ?: SetupSdkOptions | undefined
2020}
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ import type { CResult } from '../../types.mts'
55import type { SetupSdkOptions } from '../../util/socket/sdk.mjs'
66import type { SocketSdkSuccessResult } from '@socketsecurity/sdk-stable'
77
8- export type FetchListReposConfig = {
8+ type FetchListReposConfig = {
99 direction : string
1010 orgSlug : string
1111 page : number
1212 perPage : number
1313 sort : string
1414}
1515
16- export type FetchListReposOptions = {
16+ type FetchListReposOptions = {
1717 commandPath ?: string | undefined
1818 sdkOpts ?: SetupSdkOptions | undefined
1919}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type { CResult } from '../../types.mts'
55import type { SetupSdkOptions } from '../../util/socket/sdk.mjs'
66import type { SocketSdkSuccessResult } from '@socketsecurity/sdk-stable'
77
8- export type FetchUpdateRepoConfig = {
8+ type FetchUpdateRepoConfig = {
99 defaultBranch : string
1010 description : string
1111 homepage : string
@@ -14,7 +14,7 @@ export type FetchUpdateRepoConfig = {
1414 visibility : string
1515}
1616
17- export type FetchUpdateRepoOptions = {
17+ type FetchUpdateRepoOptions = {
1818 commandPath ?: string | undefined
1919 sdkOpts ?: SetupSdkOptions | undefined
2020}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type { SetupSdkOptions } from '../../util/socket/sdk.mjs'
66import type { SpinnerInstance } from '@socketsecurity/lib-stable/spinner/types'
77import type { SocketSdkSuccessResult } from '@socketsecurity/sdk-stable'
88
9- export type FetchCreateOrgFullScanConfigs = {
9+ type FetchCreateOrgFullScanConfigs = {
1010 branchName : string
1111 commitHash : string
1212 commitMessage : string
@@ -17,7 +17,7 @@ export type FetchCreateOrgFullScanConfigs = {
1717 workspace ?: string | undefined
1818}
1919
20- export type FetchCreateOrgFullScanOptions = {
20+ type FetchCreateOrgFullScanOptions = {
2121 commandPath ?: string | undefined
2222 cwd ?: string | undefined
2323 defaultBranch ?: boolean | undefined
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type { CResult } from '../../types.mts'
55import type { SetupSdkOptions } from '../../util/socket/sdk.mjs'
66import type { SocketSdkSuccessResult } from '@socketsecurity/sdk-stable'
77
8- export type FetchOrgFullScanListConfig = {
8+ type FetchOrgFullScanListConfig = {
99 branch : string
1010 direction : string
1111 from_time : string
@@ -16,7 +16,7 @@ export type FetchOrgFullScanListConfig = {
1616 sort : string
1717}
1818
19- export type FetchOrgFullScanListOptions = {
19+ type FetchOrgFullScanListOptions = {
2020 commandPath ?: string | undefined
2121 sdkOpts ?: SetupSdkOptions | undefined
2222}
You can’t perform that action at this time.
0 commit comments