all repos — caroster @ c4ee8c801635c3fcdb28d1bec4b97d691b098144

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