phone numbers are advanced as of now

This commit is contained in:
Priec
2026-07-18 23:55:40 +02:00
parent e15ba04158
commit a2c55aa982
7 changed files with 15 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ message RegisterRequest {
string password_confirmation = 4;
string role = 5;
string timezone = 6; // IANA timezone, for example Europe/Bratislava
string phone_country = 7; // ISO 3166-1 alpha-2 country used for national phone numbers, for example SK
}
message AuthResponse {
@@ -41,6 +42,7 @@ message LoginResponse {
string username = 6;
AuthorizationSnapshot authorization = 7;
string timezone = 8;
string phone_country = 9;
}
message SetTimezoneRequest {

View File

@@ -120,9 +120,11 @@ message ColumnDefinition {
// Logical column type. Supported values (case-insensitive):
// TEXT
// BOOLEAN
// INSTANT (absolute timestamp, displayed in the viewer timezone)
// INSTANT (local input resolved in the authenticated user's timezone
// and displayed in the viewer timezone)
// USER_DATETIME (local input resolved in the user's timezone)
// RAW_DATETIME (timezone-free civil datetime)
// PHONE (international or national phone number; generates extension/type/country/calling-code companions)
// TIME (timezone-free time of day)
// MONEY (= unconstrained NUMERIC; currency comes from the table)
// INT