refactor(server): centralize server options
This commit is contained in:
parent
f5a487ffcd
commit
ace77a5cf7
4 changed files with 74 additions and 67 deletions
10
packages/server/src/options.ts
Normal file
10
packages/server/src/options.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import type { Database } from "@opencode-ai/core/database/database"
|
||||
import type { ModelsDev } from "@opencode-ai/core/models-dev"
|
||||
|
||||
export interface ServerOptions {
|
||||
readonly hostname?: string
|
||||
readonly port?: number
|
||||
readonly password?: string
|
||||
readonly database?: Database.Options
|
||||
readonly models?: ModelsDev.Options
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue