@burdenoff/microfe-devportal 2026.625.6 → 2026.625.7

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.
@@ -675,7 +675,11 @@ var Me = [
675
675
  let { t: n } = P(), r = (e, t) => {
676
676
  let r = n(e);
677
677
  return r === e ? t : r;
678
- }, { navigate: i, basePath: a } = e(), o = t.appType === "NODE" || t.appType === "WORKFLOW", s = t.status === "DRAFT", c = s ? [
678
+ }, { navigate: i, basePath: a } = e(), o = t.appType === "NODE" || t.appType === "WORKFLOW", s = t.status === "DRAFT", c = t.appType === "API_INTEGRATION", l = t.manifest?.oauth, u = !!(l?.authorizationUrl && l?.tokenUrl && l?.clientId), { data: f } = d({
679
+ variables: { applicationId: t.id },
680
+ skip: !c,
681
+ fetchPolicy: "cache-and-network"
682
+ }), p = f?.webhooks?.length ?? 0, m = s ? [
679
683
  {
680
684
  label: "Store listing info (name, description, category)",
681
685
  done: !!(t.shortDescription && t.category),
@@ -694,19 +698,30 @@ var Me = [
694
698
  path: `${a}/apps/${t.id}/versions`,
695
699
  cta: "Create version →"
696
700
  }] : [],
701
+ ...c ? [{
702
+ label: "OAuth endpoints (Authorization URL, Token URL, Client ID)",
703
+ done: u,
704
+ path: `${a}/apps/${t.id}/edit`,
705
+ cta: "Configure OAuth in Edit App →"
706
+ }, {
707
+ label: "Webhook endpoint — so your server receives platform events",
708
+ done: p > 0,
709
+ path: `${a}/apps/${t.id}/webhooks`,
710
+ cta: "Add a webhook →"
711
+ }] : [],
697
712
  {
698
713
  label: "Submit for marketplace review",
699
714
  done: !1,
700
715
  path: `${a}/apps/${t.id}/publish`,
701
716
  cta: "Submit for review →"
702
717
  }
703
- ] : [], l = c.filter((e) => !e.done)[0];
718
+ ] : [], h = m.filter((e) => !e.done)[0];
704
719
  return /* @__PURE__ */ G("div", {
705
720
  className: "grid gap-6 lg:grid-cols-3",
706
721
  children: [/* @__PURE__ */ G("div", {
707
722
  className: "lg:col-span-2 space-y-6",
708
723
  children: [
709
- s && l && /* @__PURE__ */ G("div", {
724
+ s && h && /* @__PURE__ */ G("div", {
710
725
  className: "rounded-lg border border-primary/30 bg-primary/5 p-4 space-y-3",
711
726
  children: [/* @__PURE__ */ G("div", {
712
727
  className: "flex items-center justify-between",
@@ -715,9 +730,9 @@ var Me = [
715
730
  children: [
716
731
  r("devportal.setupProgress", "Setup Progress"),
717
732
  " — ",
718
- c.filter((e) => e.done).length,
733
+ m.filter((e) => e.done).length,
719
734
  "/",
720
- c.length,
735
+ m.length,
721
736
  " complete"
722
737
  ]
723
738
  }), /* @__PURE__ */ W("button", {
@@ -727,7 +742,7 @@ var Me = [
727
742
  })]
728
743
  }), /* @__PURE__ */ W("div", {
729
744
  className: "space-y-1.5",
730
- children: c.map((e, t) => /* @__PURE__ */ G("div", {
745
+ children: m.map((e, t) => /* @__PURE__ */ G("div", {
731
746
  className: "flex items-center gap-2 text-sm",
732
747
  children: [
733
748
  e.done ? /* @__PURE__ */ W(de, {
@@ -738,7 +753,7 @@ var Me = [
738
753
  className: e.done ? "line-through text-muted-foreground" : "text-foreground",
739
754
  children: e.label
740
755
  }),
741
- !e.done && t === c.indexOf(l) && /* @__PURE__ */ W("button", {
756
+ !e.done && t === m.indexOf(h) && /* @__PURE__ */ W("button", {
742
757
  onClick: () => i?.(e.path),
743
758
  className: "ml-auto text-xs text-primary hover:underline font-medium shrink-0",
744
759
  children: e.cta