all repos — caroster @ b665d19a2b5ab4e6c3f62c5344056a27ed78f486

[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];