all repos — caroster @ 697013da96cbab8cec2487977d72c09c114fdec7

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