@agimon-ai/po-wake 0.0.1-alpha.18 → 0.0.1-alpha.19
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.
|
@@ -1488,9 +1488,17 @@ var help_how_to_wake_server_default = (0, _agimon_ai_po_core_extensionFile.defin
|
|
|
1488
1488
|
const at = (value, context) => typeof value === "function" ? value(context) : value;
|
|
1489
1489
|
/* v8 ignore next -- generated normalization branch */
|
|
1490
1490
|
const defined = (values) => values.filter((value) => value !== void 0);
|
|
1491
|
-
const via = (identity, value) =>
|
|
1492
|
-
|
|
1493
|
-
|
|
1491
|
+
const via = (identity, value) => {
|
|
1492
|
+
if (value === void 0) return void 0;
|
|
1493
|
+
const declaration = value;
|
|
1494
|
+
return {
|
|
1495
|
+
...identity,
|
|
1496
|
+
...declaration,
|
|
1497
|
+
...declaration.relations === void 0 ? {} : { relations: declaration.relations.map((relation) => ({
|
|
1498
|
+
evidence: "declared",
|
|
1499
|
+
...relation
|
|
1500
|
+
})) }
|
|
1501
|
+
};
|
|
1494
1502
|
};
|
|
1495
1503
|
const serverPlugin = (0, _agimon_ai_po_core_serverPlugin.defineServerPlugin)({
|
|
1496
1504
|
name: "@agimon-ai/po-wake",
|