@pristy/pristy-libvue 2.8.2 → 2.8.3

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.
@@ -15024,13 +15024,20 @@ class M9 {
15024
15024
  );
15025
15025
  }
15026
15026
  async #e(t) {
15027
- const l = ke(), a = (await Je.listNodeChildren(
15028
- Y9,
15029
- {
15030
- where: `(name='${l.INSTANCE_NAME}')`
15031
- }
15032
- )).list.entries[0]?.entry?.id;
15033
- return a ? (await Je.listNodeChildren(a, { include: t })).list.entries.map((r) => r.entry) : [];
15027
+ const l = ke();
15028
+ try {
15029
+ const a = (await Je.listNodeChildren(Y9, {
15030
+ include: t
15031
+ })).list.entries.find(
15032
+ (r) => r.entry.name === l.INSTANCE_NAME
15033
+ );
15034
+ return a ? (await Je.listNodeChildren(
15035
+ a.entry.id,
15036
+ { include: t }
15037
+ )).list.entries.map((r) => r.entry) : [];
15038
+ } catch {
15039
+ return [];
15040
+ }
15034
15041
  }
15035
15042
  }
15036
15043
  const Zl = new M9(), xt = nl.global.t, ka = "env-config.json", Rs = "savedViews.json", Po = {
@@ -21433,9 +21440,9 @@ class h6 {
21433
21440
  if (!l || l === "/")
21434
21441
  return { ok: !1, detail: "INSTANCE_NAME_NOT_SET" };
21435
21442
  try {
21436
- return ((await Je.listNodeChildren(p6, {
21437
- where: `(name='${l}')`
21438
- }))?.list?.pagination?.totalItems ?? 0) > 0 ? { ok: !0, detail: "OK" } : { ok: !1, detail: "CONFIG_FOLDER_NOT_FOUND" };
21443
+ return (await Je.listNodeChildren(p6)).list.entries.some(
21444
+ (s) => s.entry.name === l
21445
+ ) ? { ok: !0, detail: "OK" } : { ok: !1, detail: "CONFIG_FOLDER_NOT_FOUND" };
21439
21446
  } catch (i) {
21440
21447
  return console.error("ConfigHealthService.check failed", i), { ok: !1, detail: "CHECK_FAILED" };
21441
21448
  }
@@ -24297,13 +24304,20 @@ class vN {
24297
24304
  );
24298
24305
  }
24299
24306
  async #e(t) {
24300
- const l = ke(), a = (await Je.listNodeChildren(
24301
- WN,
24302
- {
24303
- where: `(name='${l.INSTANCE_NAME}')`
24304
- }
24305
- )).list.entries[0]?.entry?.id;
24306
- return a ? (await Je.listNodeChildren(a, { include: t })).list.entries.map((r) => r.entry) : [];
24307
+ const l = ke();
24308
+ try {
24309
+ const a = (await Je.listNodeChildren(WN, {
24310
+ include: t
24311
+ })).list.entries.find(
24312
+ (r) => r.entry.name === l.INSTANCE_NAME
24313
+ );
24314
+ return a ? (await Je.listNodeChildren(
24315
+ a.entry.id,
24316
+ { include: t }
24317
+ )).list.entries.map((r) => r.entry) : [];
24318
+ } catch {
24319
+ return [];
24320
+ }
24307
24321
  }
24308
24322
  }
24309
24323
  const Kl = new vN(), gN = { class: "create-plan-actions" }, fN = {