@accounter/server
Version:
Accounter GraphQL server
9 lines (8 loc) • 428 B
TypeScript
import type { CommonModule } from '../types.js';
/**
* `viewer` is intentionally not `@requiresAuth`: its whole purpose is to describe
* identities that have no auth context yet (a valid Auth0 login that is not linked
* to any business). It therefore verifies the JWT itself via `getJwtIdentity()` and
* returns nothing beyond the caller's own token claims.
*/
export declare const viewerResolvers: CommonModule.Resolvers;