MCPcopy Create free account
hub / github.com/parse-community/parse-server / baseStore

Function baseStore

src/triggers.js:34–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34const baseStore = function () {
35 const Validators = Object.keys(Types).reduce(function (base, key) {
36 base[key] = createStore();
37 return base;
38 }, createStore());
39 const Functions = createStore();
40 const Jobs = createStore();
41 const LiveQuery = [];
42 const Triggers = Object.keys(Types).reduce(function (base, key) {
43 base[key] = createStore();
44 return base;
45 }, createStore());
46
47 return Object.freeze({
48 Functions,
49 Jobs,
50 Validators,
51 Triggers,
52 LiveQuery,
53 });
54};
55
56export function getClassName(parseClass) {
57 if (parseClass && parseClass.className) {

Callers 2

getStoreFunction · 0.85
addLiveQueryEventHandlerFunction · 0.85

Calls 1

createStoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…