Added optional Explorer/Indexer
Build Service / BuildPackage (push) Has been cancelled

This commit is contained in:
2026-05-20 15:43:38 -04:00
parent 2cdc4a5f34
commit e41ff31221
27 changed files with 1431 additions and 70 deletions
+19
View File
@@ -0,0 +1,19 @@
import { storeJson } from '../fileModels/storeJson'
import { sdk } from '../sdk'
import { randomPassword } from '../utils'
export const taskSeedSpacedAuth = sdk.setupOnInit(async (effects) => {
const existing = await storeJson.read((s) => s.spacedAuth).once()
if (existing) return
await storeJson.merge(
effects,
{
spacedAuth: {
username: 'spaces',
password: randomPassword(),
},
},
{ allowWriteAfterConst: true },
)
})