32 lines
1.4 KiB
TypeScript
32 lines
1.4 KiB
TypeScript
import { sdk } from '../sdk'
|
|
import { setAdminPassword } from './setAdminPassword'
|
|
import { adjustTierQuotas } from './adjustTierQuotas'
|
|
import { setTierPrices } from './setTierPrices'
|
|
// setBackendRouting removed in v0.2.50 — backend routing + Gemini
|
|
// model selection now live in the relay dashboard's Settings tab.
|
|
//
|
|
// Five more actions removed in v0.2.82 for the same reason:
|
|
// setGeminiKey, setKeysatBaseUrl, setSparkControlUrl,
|
|
// setParakeetUrl, setGemmaUrl
|
|
// All five fields are now inline-editable in the dashboard's Settings
|
|
// tab under "Endpoints & credentials". Same backing store
|
|
// (relay-config.json); the actions added a parallel surface for the
|
|
// same writes which created confusion about which path won. Single
|
|
// source of truth: the dashboard. The config keys themselves stay in
|
|
// relay-config.json — no migration needed.
|
|
//
|
|
// setAdminPassword stays here because it's the bootstrap mechanism:
|
|
// you can't sign into the dashboard until the password is set, so
|
|
// that one HAS to live in StartOS Actions.
|
|
import { setBtcpayConnection } from './setBtcpayConnection'
|
|
import { setZapriteConnection } from './setZapriteConnection'
|
|
import { setCreditPackages } from './setCreditPackages'
|
|
|
|
export const actions = sdk.Actions.of()
|
|
.addAction(setAdminPassword)
|
|
.addAction(adjustTierQuotas)
|
|
.addAction(setTierPrices)
|
|
.addAction(setBtcpayConnection)
|
|
.addAction(setZapriteConnection)
|
|
.addAction(setCreditPackages)
|