mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Share REST and RPC response types
This commit is contained in:
+11
-9
@@ -2,17 +2,9 @@ import type {
|
||||
AttachmentMetadata,
|
||||
AuthResponse,
|
||||
CodexCollaborationMode,
|
||||
DeleteUploadResponse,
|
||||
ListDirectoryResponse,
|
||||
FileReadResponse,
|
||||
FileSearchResponse,
|
||||
GitCommandResponse,
|
||||
MachineListDirectoryResponse,
|
||||
MachinePathsExistsResponse,
|
||||
MachinesResponse,
|
||||
MessagesResponse,
|
||||
CodexModelsResponse,
|
||||
OpencodeModelsResponse,
|
||||
PermissionMode,
|
||||
PushSubscriptionPayload,
|
||||
PushUnsubscribePayload,
|
||||
@@ -20,11 +12,21 @@ import type {
|
||||
SlashCommandsResponse,
|
||||
SkillsResponse,
|
||||
SpawnResponse,
|
||||
UploadFileResponse,
|
||||
VisibilityPayload,
|
||||
SessionResponse,
|
||||
SessionsResponse
|
||||
} from '@/types/api'
|
||||
import type {
|
||||
CodexModelsResponse,
|
||||
DeleteUploadResponse,
|
||||
FileReadResponse,
|
||||
GitCommandResponse,
|
||||
ListDirectoryResponse,
|
||||
MachineListDirectoryResponse,
|
||||
MachinePathsExistsResponse,
|
||||
OpencodeModelsResponse,
|
||||
UploadFileResponse
|
||||
} from '@hapi/protocol/apiTypes'
|
||||
import type { AgentFlavor } from '@hapi/protocol'
|
||||
import type { CancelMessageResponse } from '@hapi/protocol/schemas'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user