all repos — caroster @ 2b432f87d46e7cab99f95223088266dcc4cb2dda

[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        t.field("tosAcceptationDate", { type: "DateTime" });
11      },
12    }),
13  ],
14});
15
16export default [registerExtension];