@clivly/core 0.10.5 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -179,7 +179,6 @@ function evidenceFor(id, facts) {
|
|
|
179
179
|
const age = heartbeatAge(facts);
|
|
180
180
|
if (id === "application" && age !== null) return `heartbeat ${formatAge(age)}`;
|
|
181
181
|
if (id === "schema" && facts.discoveredTableCount > 0) return `found ${facts.discoveredTableCount} tables`;
|
|
182
|
-
if (id === "mapping" && facts.mappedEntityCount > 0) return "entities mapped";
|
|
183
182
|
if (id === "trigger" && facts.triggerConfigured) return triggerUnreachable(facts) ? "set, but the last attempt could not reach your app" : "trigger URL and secret set";
|
|
184
183
|
if (id === "sync" && facts.lastRun) return `last run ${formatAge(facts.now - facts.lastRun.at)}`;
|
|
185
184
|
return null;
|
|
@@ -178,7 +178,6 @@ function evidenceFor(id, facts) {
|
|
|
178
178
|
const age = heartbeatAge(facts);
|
|
179
179
|
if (id === "application" && age !== null) return `heartbeat ${formatAge(age)}`;
|
|
180
180
|
if (id === "schema" && facts.discoveredTableCount > 0) return `found ${facts.discoveredTableCount} tables`;
|
|
181
|
-
if (id === "mapping" && facts.mappedEntityCount > 0) return "entities mapped";
|
|
182
181
|
if (id === "trigger" && facts.triggerConfigured) return triggerUnreachable(facts) ? "set, but the last attempt could not reach your app" : "trigger URL and secret set";
|
|
183
182
|
if (id === "sync" && facts.lastRun) return `last run ${formatAge(facts.now - facts.lastRun.at)}`;
|
|
184
183
|
return null;
|