MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / initState

Function initState

query-builder.js:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 const MULTI_KEYS = ["designer", "license", "parentModel", "tags"];
6
7 function initState() {
8 if (!window.multiFilterChips) {
9 window.multiFilterChips = { designer: [], license: [], parentModel: [], tags: [] };
10 }
11 if (!window.multiFilterCombine) {
12 window.multiFilterCombine = { designer: "OR", license: "OR", parentModel: "OR", tags: "AND" };
13 }
14 }
15
16 function getCombine(kind) {
17 initState();

Callers 9

getCombineFunction · 0.85
renderChipsFunction · 0.85
addChipFunction · 0.85
removeChipFunction · 0.85
clearChipsKindFunction · 0.85
effectiveScalarValuesFunction · 0.85
clearSidebarFilterKindsFunction · 0.85
setTagMultiFilterFunction · 0.85
query-builder.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected