Add SCUM trade catalog projections

This commit is contained in:
npc0-hue
2026-08-27 16:14:59 +08:00
parent 316efbe780
commit a0e7ae362b
16 changed files with 267 additions and 23 deletions
+14
View File
@@ -51,6 +51,20 @@ export interface GameClientBridgeQueryTemplateDeclarationResponse {
sqlRef?: string;
maxRows: number;
timeoutSeconds: number;
pollIntervalSeconds?: number;
projections?: GameClientBridgeQueryProjectionDeclarationResponse[];
}
export interface GameClientBridgeQueryProjectionDeclarationResponse {
collection: string;
rowPath: "rows";
matchField?: string;
matchValue?: string;
upsertKeys: string[];
fieldMappings?: Record<string, string>;
fixedValues?: Record<string, string>;
observedAtField?: string;
mergeExisting?: boolean;
}
export interface GameClientBridgeDataPackDeclarationResponse { key: string; databaseUserVersion: number; logParserRefs: string[]; configMapRefs: string[]; }