Ocelot-Social/webapp/graphql/Registration.js
Moriz Wahl df4275c5cd
feat(webapp): location on registration (#8608)
* feat(webapp): location on registration

* add location name to signup verification, allow location query

* location name can be prompted in regeistration

* default value null for locationName

* Prevent ds-select overflow

* Remove location name from label

* Add margin-bottom to location-select

* group location is not affected by REQUIRE_LOCATION, previous location is shown

* Update webapp/components/Registration/RegistrationSlideCreate.vue

Co-authored-by: Max <maxharz@gmail.com>

* Replace more '16px' by '$space-small' and remove class 'password-strength'

* Add class 'password-strength' again

* property for previous location

---------

Co-authored-by: Maximilian Harz <maxharz@gmail.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-04 15:16:24 +02:00

31 lines
650 B
JavaScript

import gql from 'graphql-tag'
export const SignupVerificationMutation = gql`
mutation (
$nonce: String!
$name: String!
$email: String!
$inviteCode: String
$password: String!
$about: String
$termsAndConditionsAgreedVersion: String!
$locale: String
$locationName: String
) {
SignupVerification(
nonce: $nonce
email: $email
inviteCode: $inviteCode
name: $name
password: $password
about: $about
termsAndConditionsAgreedVersion: $termsAndConditionsAgreedVersion
locale: $locale
locationName: $locationName
) {
id
name
slug
}
}
`