/// Options: /// Date: 2026-09-01 21:26:46 /// Version: 10.09 /// Tip: To override a DTO option, remove "/" prefix before updating /// BaseUrl: https://blazor-gallery.servicestack.net /// GlobalNamespace: /// MakePropertiesOptional: False /// AddServiceStackTypes: True /// AddResponseStatus: False /// AddImplicitVersion: /// AddDescriptionAsComments: True //IncludeTypes: CreateProfile.* /// ExcludeTypes: /// DefaultImports: const std = @import("std"); /// const std = @import("std"); const ss = @import("servicestack"); pub const PlayerRole = enum { Leader, Player, NonPlayer, }; pub const PlayerRegion = enum { Africa, Americas, Asia, Australasia, Europe, }; pub const Profile = struct { id: i32 = 0, role: ?PlayerRole = null, region: ?PlayerRegion = null, username: ?[]const u8 = null, highScore: i64 = 0, gamesPlayed: i64 = 0, energy: i32 = 0, profileUrl: ?[]const u8 = null, coverUrl: ?[]const u8 = null, meta: ?std.json.Value = null, }; pub const CreateProfile = struct { pub const ss_name = "CreateProfile"; pub const ss_verb = "POST"; pub const Response = ss.IdResponse; role: ?PlayerRole = null, region: ?PlayerRegion = null, // @Validate(Validator="NotEmpty") username: ?[]const u8 = null, highScore: i64 = 0, gamesPlayed: i64 = 0, // @Validate(Validator="InclusiveBetween(0,100)") energy: i32 = 0, profileUrl: ?[]const u8 = null, coverUrl: ?[]const u8 = null, };