first commit

This commit is contained in:
2026-08-08 21:14:10 -05:00
commit e1600da8b1
55 changed files with 2687 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { utils } from '@start9labs/start-sdk'
import { storeJson } from '../fileModels/store.json'
import { sdk } from '../sdk'
export const seedSecrets = sdk.setupOnInit(async (effects, kind) => {
if (kind !== 'install') return
await storeJson.merge(effects, {
databasePassword: utils.getDefaultString({
charset: 'a-z,A-Z,0-9',
len: 48,
}),
secretKeyBase: utils.getDefaultString({
charset: 'a-z,A-Z,0-9',
len: 128,
}),
})
})