mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
chore: reserialize db on equal version, update bindings and docs
- Run de/ser roundtrip in pre_init even when db version matches, ensuring all #[serde(default)] fields are populated before any typed access - Add patchdb.md documentation for TypedDbWatch patterns - Update TS bindings for CheckPortParams, CheckPortRes, ifconfigUrl - Update CLAUDE.md docs with patchdb and component-level references
This commit is contained in:
4
sdk/base/lib/osBindings/CheckPortParams.ts
Normal file
4
sdk/base/lib/osBindings/CheckPortParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { GatewayId } from './GatewayId'
|
||||
|
||||
export type CheckPortParams = { port: number; gateway: GatewayId }
|
||||
3
sdk/base/lib/osBindings/CheckPortRes.ts
Normal file
3
sdk/base/lib/osBindings/CheckPortRes.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type CheckPortRes = { ip: string; port: number; reachable: boolean }
|
||||
@@ -25,6 +25,7 @@ export type ServerInfo = {
|
||||
zram: boolean
|
||||
governor: Governor | null
|
||||
smtp: SmtpValue | null
|
||||
ifconfigUrl: string
|
||||
ram: number
|
||||
devices: Array<LshwDevice>
|
||||
kiosk: boolean | null
|
||||
|
||||
@@ -56,6 +56,8 @@ export { Category } from './Category'
|
||||
export { Celsius } from './Celsius'
|
||||
export { CheckDependenciesParam } from './CheckDependenciesParam'
|
||||
export { CheckDependenciesResult } from './CheckDependenciesResult'
|
||||
export { CheckPortParams } from './CheckPortParams'
|
||||
export { CheckPortRes } from './CheckPortRes'
|
||||
export { CifsAddParams } from './CifsAddParams'
|
||||
export { CifsBackupTarget } from './CifsBackupTarget'
|
||||
export { CifsRemoveParams } from './CifsRemoveParams'
|
||||
|
||||
Reference in New Issue
Block a user