resolveConvexStateDir

test-convex · /index·function

Resolves the project-local Convex state directory (<projectDir>/.convex) the local/anonymous backend persists its SQLite database, storage, and deployment config into. This is the directory reset wipes.

Signature

@nordcom/commerce-test-convex
function resolveConvexStateDir(projectDir: string): string;

Parameters

NameTypeDescription
projectDirstring

Returns

Absolute path to the .convex state directory.

runCli DaemonOptions runDaemon SeedClerkOperatorOptions SeedCmsOptions SeedCanonicalOptions SeedClerkOperatorView SeedShopOptions

Sourcestart.ts:106Edit the JSDoc directly
Metadata@nordcom/commerce-test-convex@0.0.0Open in GitHub ↗

On this page