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

@@ -14,8 +14,9 @@
type Translator = (s: string) => string;
// ISO 3166-1 alpha-2 country codes
// ISO 3166-1 alpha-2 country codes and supported regions.
export const countries = [
"GLOBAL",
"AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR",
"AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE",
"BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ",
@@ -46,6 +47,7 @@ export const countries = [
export type CountryCode = typeof countries[number];
const countryNames: Record<CountryCode, (t: Translator) => string> = {
"GLOBAL": (__) => __("Global"),
"AD": (__) => __("Andorra"),
"AE": (__) => __("United Arab Emirates"),
"AF": (__) => __("Afghanistan"),

View File

@@ -169,7 +169,7 @@ export const description: INodeProperties[] = [
name: 'countries',
type: 'string',
default: '',
description: 'Comma-separated list of country codes',
description: 'Comma-separated list of country or region codes',
},
{
displayName: 'Data Processing Agreement URL',

View File

@@ -181,7 +181,7 @@ export const description: INodeProperties[] = [
name: 'countries',
type: 'string',
default: '',
description: 'Comma-separated list of country codes',
description: 'Comma-separated list of country or region codes',
},
{
displayName: 'Data Processing Agreement URL',