convexIdentityMutation
Calls a deployed Convex mutation by path on an identity-authenticated client — the bearer-token
companion to . No serverSecret is injected: the callee is expected
to be a tenant-tier function that derives its scope from the validated identity the client's
setAuth token carries, never from a shared-trust argument.
Signature
function convexIdentityMutation(client: ConvexHttpClient, name: string, args: Record<string, unknown>): Promise<Result>;Parameters
| Name | Type | Description |
|---|---|---|
client | ConvexHttpClient | |
name | string | |
args | Record<string, unknown> |
Returns
The function's result.
Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
CommerceProviders
Literal union of valid commerce provider type strings, constrained to the same set as the runtime CommerceProviders array. Use to type commerceProvider.type par
convexIdentityQuery
Calls a deployed Convex query by path on an identityauthenticated client — the readside companion of . No serverSecret is injected: the callee is expected to be