withmoney/withmoney-api

View on GitHub
src/types/Auth/AuthPayload.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { objectType } from 'nexus';

export const AuthPayload = objectType({
  name: 'AuthPayload',
  definition(t) {
    t.string('token');
    t.field('user', { type: 'User' });
  },
});