Expose config options for cleartext stratum port

This commit is contained in:
2026-08-01 06:31:15 +03:00
commit a2ae800a19
36 changed files with 4585 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { storeJson } from '../fileModels/store.json'
import { sdk } from '../sdk'
/**
* Merging {} materializes every `.catch()` default in the store schema, so a
* fresh install gets a fully-populated store.json and an existing one is
* healed if fields are missing (e.g. after a restore from an older backup).
*/
export const seedFiles = sdk.setupOnInit(async (effects) => {
await storeJson.merge(effects, {})
})