MCPcopy
hub / github.com/witheve/Eve / configure

Method configure

src/runtime/databases/system.ts:36–48  ·  view source on GitHub ↗
(record)

Source from the content-addressed store, hash-verified

34 }
35
36 configure(record) {
37 let max = this.interval || -1;
38 let interval = TimeAgent.updateIntervals["year"];
39 for(let attribute of record.attributes) {
40 let attr = attribute.attribute;
41 let index = TimeAgent.attributeOrdering.indexOf(attr)
42 if(index > max) {
43 max = index;
44 interval = TimeAgent.updateIntervals[attr];
45 }
46 }
47 this.interval = interval;
48 }
49
50 timeActions() {
51 let time = new Date();

Callers 1

analyzeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected