diff --git a/api/pkg/model/invitation.go b/api/pkg/model/invitation.go index f055ec5..d9c1c7a 100644 --- a/api/pkg/model/invitation.go +++ b/api/pkg/model/invitation.go @@ -19,9 +19,10 @@ const ( ) type invitationDesc struct { - Email string `bson:"email" json:"email"` - Name string `bson:"name" json:"name"` - Comment string `bson:"comment" json:"comment"` + Email string `bson:"email" json:"email"` + Name string `bson:"name" json:"name"` + LastName string `bson:"lastName" json:"lastName"` + Comment string `bson:"comment" json:"comment"` } func (id *invitationDesc) Collection() string { diff --git a/frontend/pweb/analysis_options.yaml b/frontend/pweb/analysis_options.yaml new file mode 100644 index 0000000..dee8927 --- /dev/null +++ b/frontend/pweb/analysis_options.yaml @@ -0,0 +1,30 @@ +# This file configures the static analysis results for your project (errors, +# warnings, and lints). +# +# This enables the 'recommended' set of lints from `package:lints`. +# This set helps identify many issues that may lead to problems when running +# or consuming Dart code, and enforces writing Dart using a single, idiomatic +# style and format. +# +# If you want a smaller set of lints you can change this to specify +# 'package:lints/core.yaml'. These are just the most critical lints +# (the recommended set includes the core lints). +# The core lints are also what is used by pub.dev for scoring packages. + +include: package:lints/recommended.yaml + +# Uncomment the following section to specify additional rules. + +# linter: +# rules: +# - camel_case_types + +# analyzer: +# exclude: +# - path/to/excluded/files/** + +# For more information about the core and recommended set of lints, see +# https://dart.dev/go/core-lints + +# For additional information about configuring this file, see +# https://dart.dev/guides/language/analysis-options