Skip to content

Commit af957df

Browse files
committed
chore: adjusts import sorting
1 parent 28cfce3 commit af957df

File tree

8 files changed

+16
-18
lines changed

8 files changed

+16
-18
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from './User.js'
1+
export * from './Notification.js'
22
export * from './PrivateUser.js'
33
export * from './Repository.js'
4-
export * from './Notification.js'
4+
export * from './User.js'

packages/github/src/Domain/Errors/SDKError.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import type { ApiError } from './ApiError.js'
12
import type { AuthError } from './AuthError.js'
3+
import type { ConfigError } from './ConfigError.js'
24
import type { HttpError } from './HttpError.js'
3-
import type { ApiError } from './ApiError.js'
4-
import type { RepositoryError } from './RepositoryError.js'
55
import type { NotificationError } from './NotificationError.js'
6-
import type { ConfigError } from './ConfigError.js'
6+
import type { RepositoryError } from './RepositoryError.js'
77

88
/**
99
* Union type of all GitHub SDK errors
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
export * from './ApiError.js'
12
export * from './AuthError.js'
3+
export * from './ConfigError.js'
24
export * from './HttpError.js'
3-
export * from './ApiError.js'
4-
export * from './RepositoryError.js'
55
export * from './NotificationError.js'
6-
export * from './ConfigError.js'
6+
export * from './RepositoryError.js'
77
export * from './SDKError.js'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
export * from './AuthConfig.js'
2+
export * from './ListResponse.js'
13
export * from './MinimalRepository.js'
4+
export * from './NotificationListOptions.js'
25
export * from './NotificationSubject.js'
36
export * from './RepositoryListOptions.js'
4-
export * from './NotificationListOptions.js'
5-
export * from './ListResponse.js'
6-
export * from './AuthConfig.js'
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// Domain entities
22
export * from './Entities/index.js'
3-
4-
// Domain value objects
5-
export * from './ValueObjects/index.js'
6-
73
// Domain errors
84
export * from './Errors/index.js'
5+
// Domain value objects
6+
export * from './ValueObjects/index.js'
97

108
// Authentication and configuration - already included in ValueObjects

packages/github/src/Infrastructure/Auth/GitHubAuthService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Context, Effect, Layer, Match, Redacted } from 'effect'
2-
import type { AuthConfig } from '../../Domain/ValueObjects/AuthConfig.js'
32
import { AuthError } from '../../Domain/Errors/AuthError.js'
3+
import type { AuthConfig } from '../../Domain/ValueObjects/AuthConfig.js'
44

55
/**
66
* GitHub authentication configuration service

packages/github/src/Services/NotificationsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
NotificationError,
77
} from '../Domain/Errors/index.js'
88
import {
9+
type ListResponseType,
910
Notification,
1011
type NotificationListOptions,
11-
type ListResponseType,
1212
} from '../Domain/index.js'
1313
import { GitHubAuthService } from '../Infrastructure/Auth/GitHubAuthService.js'
1414
import { GitHubHttpClientService } from '../Infrastructure/Http/GitHubHttpClientService.js'

packages/github/src/Services/RepositoriesService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
RepositoryError,
77
} from '../Domain/Errors/index.js'
88
import {
9+
type ListResponseType,
910
Repository,
1011
RepositoryListOptions,
11-
type ListResponseType,
1212
} from '../Domain/index.js'
1313
import { GitHubAuthService } from '../Infrastructure/Auth/GitHubAuthService.js'
1414
import { GitHubHttpClientService } from '../Infrastructure/Http/GitHubHttpClientService.js'

0 commit comments

Comments
 (0)