Add Global vendor country region

Allow vendor country selections to use a Global region alongside
existing country and EU values. The new value is accepted by backend
country-code validation, exposed through GraphQL and MCP schemas, and
shown in the shared country picker label set.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-05-28 18:51:42 +00:00
parent 93d8d20dbf
commit 29d8181b2c
8 changed files with 32 additions and 6 deletions

View File

@@ -25,6 +25,10 @@ type (
CountryCode string
)
const (
CountryCodeGlobal CountryCode = "GLOBAL"
)
const (
CountryCodeAD CountryCode = "AD"
CountryCodeAE CountryCode = "AE"
@@ -286,6 +290,7 @@ var (
func (v CountryCode) IsValid() bool {
switch v {
case
CountryCodeGlobal,
CountryCodeAD,
CountryCodeAE,
CountryCodeAF,