import { FileHelper, z } from '@start9labs/start-sdk' import { sdk } from '../sdk' const shape = z.object({ password: z.string().nullable().catch(null), btcAuth: z .object({ username: z.string(), password: z.string(), }) .nullable() .catch(null), }) export const storeJson = FileHelper.json( { base: sdk.volumes.main, subpath: 'store.json' }, shape, )