refactor: Introduce granular query types with specific policies for improved caching and data freshness.

This commit is contained in:
pa
2026-03-11 14:37:43 +09:00
parent 14d73b1532
commit a75c4b89f8
23 changed files with 221 additions and 39 deletions

View File

@@ -59,7 +59,7 @@ async function getGroupName(data) {
}
}
try {
const args = await queryRequest.fetch('group', {
const args = await queryRequest.fetch('group.dialog', {
groupId
});
groupName = args.ref.name;

View File

@@ -13,7 +13,7 @@ async function getWorldName(location) {
const L = parseLocation(location);
if (L.isRealInstance && L.worldId) {
try {
const args = await queryRequest.fetch('world', {
const args = await queryRequest.fetch('world.dialog', {
worldId: L.worldId
});
worldName = args.ref.name;