mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-22 19:25:56 +00:00
Phase 10.1: Registry protocol 2 (structured listing), migration 2, v1 refused explicitly
Listing (rates, modules, region, account provisioning), population with players and bots apart, level cap and ruleset derived from the hash-checked capabilities. Realm records from protocol 1 keep their id, key and creation time and are republished in place. Host publishes the real values: rates from the effective worldserver configuration, modules from the module catalog, players/bots from the realm database. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e57d32c90
commit
e39cecb333
28 files changed
+1012
-397
No files matched your search
+3
-2
@@ -11,6 +11,7 @@ export interface RealmPublishStatus {
|
||||
display_name: string;
|
||||
description: string;
|
||||
language: string;
|
||||
region: string | null;
|
||||
metadata_revision: number | null;
|
||||
last_ok_unix: number | null;
|
||||
last_error: string | null;
|
||||
@@ -25,8 +26,8 @@ export interface RegistryStatus {
|
||||
export const realmRegistry = {
|
||||
status: () => invoke<RegistryStatus>("registry_status"),
|
||||
setUrl: (url: string | null) => invoke<void>("registry_set_url", { url }),
|
||||
publish: (localId: string, displayName: string, description: string, language: string) =>
|
||||
invoke<void>("registry_publish", { localId, displayName, description, language }),
|
||||
publish: (localId: string, displayName: string, description: string, language: string, region: string | null) =>
|
||||
invoke<void>("registry_publish", { localId, displayName, description, language, region }),
|
||||
unpublish: (localId: string) => invoke<void>("registry_unpublish", { localId }),
|
||||
retry: (localId: string) => invoke<void>("registry_retry", { localId }),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user