first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { FileHelper, z } from '@start9labs/start-sdk'
|
||||
import { sdk } from '../sdk'
|
||||
|
||||
const shape = z.object({
|
||||
databasePassword: z.string().min(32).catch(''),
|
||||
secretKeyBase: z.string().min(64).catch(''),
|
||||
})
|
||||
|
||||
export const storeJson = FileHelper.json(
|
||||
{ base: sdk.volumes.config, subpath: 'store.json' },
|
||||
shape,
|
||||
)
|
||||
Reference in New Issue
Block a user