seedClerkOperatorLive
Provisions the e2e Clerk operator's identity model onto a RUNNING deployment by calling the deployed
db/clerk_seed:seedClerkOperator server-tier mutation — the Clerk-org analog of
for the auth graph. Must run AFTER the canonical shop seed (the org attaches to the shop resolved by
shopLegacyId).
Idempotent end-to-end: the underlying mutation upserts the user/org/membership and re-projects the collaborator rows, so a re-run patches in place and never duplicates — safe to call on every e2e boot against the shared deployment.
Signature
function seedClerkOperatorLive(url: string, opts: SeedClerkOperatorOptions): Promise<SeedClerkOperatorView>;Parameters
| Name | Type | Description |
|---|---|---|
url | string | |
opts | SeedClerkOperatorOptions |
Returns
The seeded operator's users id, the org id, and the shop id, as plain strings.
Throws
CONVEX_SERVER_SECRET is unset, or the mutation rejects (e.g. the shop is
missing — run the canonical seed first).Related
runCli DaemonOptions runDaemon SeedClerkOperatorOptions SeedCmsOptions SeedCanonicalOptions SeedClerkOperatorView SeedShopOptions
seedCanonical
Livebackend transport wrapper around the canonical seed — the entry the HARNESS02 CLI's seed subcommand and the e2e globalsetups (HARNESS07/08) dispatch to. A r
SeedClerkOperatorOptions
Inputs for . Mirrors the Clerk ids the e2e harness obtains from the Clerk Backend API (clerkUserId/clerkOrgId) plus the operator/org display fields. shopLegacyI