all repos — caroster @ 35309ef0acbe64753679fc84022199d730edead2

[Octree] Group carpool to your event https://caroster.io

backend/src/graphql/auth/index.ts (view raw)

 1const registerExtension = ({ nexus, strapi }) => ({
 2  types: [
 3    nexus.extendInputType({
 4      type: "UsersPermissionsRegisterInput",
 5      definition(t) {
 6        t.string("firstName");
 7        t.string("lastName");
 8        t.string("lang");
 9        t.boolean("newsletterConsent");
10      },
11    }),
12  ],
13});
14
15export default [registerExtension];