@kitten-science/kitten-analysts
Version:
17 lines • 535 B
JavaScript
import { gaugeFactory } from "./factory.js";
export const kg_festival_days = (cache, remote) => gaugeFactory({
cache,
extract(client_type, guid, location, element, subject) {
subject.set({
client_type,
guid,
location,
}, element.festivalDays);
},
help: "The remaining duration of the festival.",
labelNames: ["client_type", "guid", "location"],
name: "kg_festival_days",
remote,
require: "getCalendar",
});
//# sourceMappingURL=kg_festival_days.js.map