@parallelworks/tandem-web 0.150.3 → 0.152.0

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.
Files changed (110) hide show
  1. package/_virtual/_virtual_i18n/en/common.js +36 -4
  2. package/_virtual/_virtual_i18n/es/common.js +36 -4
  3. package/_virtual/_virtual_i18n/ja/common.js +36 -4
  4. package/_virtual/_virtual_i18n/ko/common.js +36 -4
  5. package/_virtual/_virtual_i18n/zh/common.js +36 -4
  6. package/api/queries.js +88 -77
  7. package/components/AccessGrants.js +6 -6
  8. package/components/ActivityTimeline.js +4 -4
  9. package/components/AgentWork.js +111 -111
  10. package/components/AreaLink.js +32 -0
  11. package/components/AreaTiles.js +10 -13
  12. package/components/AreaWork.js +25 -1
  13. package/components/BugRotation.js +3 -3
  14. package/components/CodeHostSettings.js +30 -30
  15. package/components/CommandPalette.js +53 -53
  16. package/components/CustomFields.js +116 -116
  17. package/components/DateChip.js +11 -11
  18. package/components/DocButton.js +6 -6
  19. package/components/DocHistory.js +4 -4
  20. package/components/DocLinkPicker.js +8 -8
  21. package/components/DocProperties.js +15 -15
  22. package/components/DocTable.js +15 -15
  23. package/components/DocsTree.js +80 -80
  24. package/components/Editor.js +35 -35
  25. package/components/FavoritesNav.js +53 -53
  26. package/components/GitHub.js +18 -18
  27. package/components/Graph.js +15 -15
  28. package/components/HostActions.js +21 -21
  29. package/components/HostPanel.js +6 -6
  30. package/components/HoverCards.js +38 -38
  31. package/components/IssueBoard.js +4 -4
  32. package/components/IssueCode.js +14 -14
  33. package/components/IssueEvent.js +3 -3
  34. package/components/IssueFilters.js +71 -71
  35. package/components/IssueListBlock.js +32 -32
  36. package/components/IssueRow.js +21 -21
  37. package/components/IssueTemplates.js +118 -118
  38. package/components/IssueTypes.js +40 -40
  39. package/components/NewIssueDialog.js +76 -76
  40. package/components/NewProjectDialog.js +145 -145
  41. package/components/PersonActivity.js +4 -4
  42. package/components/SharedViewer.js +5 -5
  43. package/components/SlashMenu.js +29 -29
  44. package/components/TeamRepositories.js +51 -51
  45. package/components/TeamWorkflow.js +6 -6
  46. package/components/UnlinkedMentions.js +20 -20
  47. package/components/Updates.js +3 -3
  48. package/components/Widgets.js +20 -20
  49. package/components/columns.js +17 -17
  50. package/components/editorPlugins.js +80 -80
  51. package/components/mathDiagrams.js +17 -17
  52. package/lib/boardMove.js +5 -5
  53. package/lib/issueList.js +58 -58
  54. package/lib/issueMenu.js +27 -27
  55. package/lib/knowledge.js +106 -106
  56. package/lib/views.js +9 -9
  57. package/package.json +1 -1
  58. package/pages/area.js +291 -0
  59. package/pages/areas.js +258 -287
  60. package/pages/decisions.js +21 -21
  61. package/pages/issues.js +52 -52
  62. package/pages/projects.js +125 -125
  63. package/pages/triage.js +12 -12
  64. package/routeTree.gen.js +186 -180
  65. package/routes/_workspace/agents/_slug2.js +11 -11
  66. package/routes/_workspace/agents/index2.js +10 -10
  67. package/routes/_workspace/areas/_area.js +7 -8
  68. package/routes/_workspace/areas/_area2.js +3 -290
  69. package/routes/_workspace/areas/_area3.js +7 -8
  70. package/routes/_workspace/docs/_doc2.js +230 -230
  71. package/routes/_workspace/docs/space2._space.js +27 -27
  72. package/routes/_workspace/issues/_identifier2.js +222 -224
  73. package/routes/_workspace/knowledge/_term2.js +43 -43
  74. package/routes/_workspace/knowledge/index.js +6 -6
  75. package/routes/_workspace/knowledge/index2.js +15 -15
  76. package/routes/_workspace/measures3.js +70 -72
  77. package/routes/_workspace/notifications2.js +150 -150
  78. package/routes/_workspace/people/_username2.js +10 -10
  79. package/routes/_workspace/projects/_projectId3.js +276 -276
  80. package/routes/_workspace/settings/audit-log3.js +136 -138
  81. package/routes/_workspace/settings/fields2.js +11 -11
  82. package/routes/_workspace/settings/github2.js +6 -6
  83. package/routes/_workspace/settings/groups2.js +26 -26
  84. package/routes/_workspace/settings/import2.js +414 -151
  85. package/routes/_workspace/settings/import3.js +7 -3
  86. package/routes/_workspace/settings/index2.js +6 -6
  87. package/routes/_workspace/settings/labels2.js +21 -21
  88. package/routes/_workspace/settings/members2.js +27 -27
  89. package/routes/_workspace/settings/notifications2.js +8 -8
  90. package/routes/_workspace/settings/parallelworks2.js +32 -32
  91. package/routes/_workspace/settings/roles2.js +24 -24
  92. package/routes/_workspace/settings/runners2.js +15 -15
  93. package/routes/_workspace/settings/sessions2.js +17 -17
  94. package/routes/_workspace/settings/slack2.js +7 -7
  95. package/routes/_workspace/settings/sso2.js +31 -31
  96. package/routes/_workspace/settings/teams2.js +25 -25
  97. package/routes/_workspace/settings/tokens2.js +12 -12
  98. package/routes/_workspace/settings/webhooks2.js +13 -13
  99. package/routes/_workspace/teams/_key/areas/_area.js +8 -0
  100. package/routes/_workspace/teams/_key/areas/_area2.js +4 -0
  101. package/routes/_workspace/teams/_key/areas/_area3.js +9 -0
  102. package/routes/_workspace/teams/_key/areas/index.js +6 -0
  103. package/routes/_workspace/teams/_key/areas/index2.js +4 -0
  104. package/routes/_workspace/teams/_key/{areas3.js → areas/index3.js} +2 -2
  105. package/routes/_workspace/teams/_key/cycles/_number2.js +27 -27
  106. package/routes/_workspace/teams/_key/cycles/index2.js +24 -24
  107. package/routes/_workspace/teams/_key/settings2.js +29 -29
  108. package/routes/_workspace2.js +368 -368
  109. package/routes/_workspace/teams/_key/areas.js +0 -6
  110. package/routes/_workspace/teams/_key/areas2.js +0 -4
@@ -3,18 +3,18 @@ import { usePageTitle as n } from "../../../lib/pageTitle.js";
3
3
  import { Link as r, useNavigate as i } from "../../../lib/router.js";
4
4
  import { agentsQuery as a, meQuery as o } from "../../../api/queries.js";
5
5
  import { Route as s } from "./index.js";
6
- import { useConfirm as c } from "../../../lib/confirm.js";
7
- import { AgentIcon as l } from "../../../components/icons.js";
8
- import { copyItem as u, useLinkItems as d } from "../../../lib/menus.js";
6
+ import { harnessNames as c } from "../../../lib/agents.js";
7
+ import { copyItem as l, useLinkItems as u } from "../../../lib/menus.js";
8
+ import { AgentIcon as d } from "../../../components/icons.js";
9
9
  import { may as f } from "../../../lib/roles.js";
10
- import { harnessNames as p } from "../../../lib/agents.js";
10
+ import { useConfirm as p } from "../../../lib/confirm.js";
11
11
  import { Avatar as m, Card as h, EmptyState as g, buttonClasses as _, menuDivider as v, useOpenMenu as y } from "@parallelworks/ui";
12
12
  import { useTranslations as b } from "use-intl";
13
13
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
14
14
  import { useMutation as C, useQueryClient as w, useSuspenseQuery as T } from "@tanstack/react-query";
15
15
  // src/routes/$workspace/agents/index.tsx?tsr-split=component
16
16
  function E() {
17
- let { workspace: E } = s.useParams(), D = b("agents"), O = b("common"), k = d(), { data: A } = T(a(E));
17
+ let { workspace: E } = s.useParams(), D = b("agents"), O = b("common"), k = u(), { data: A } = T(a(E));
18
18
  n(D("title"));
19
19
  let { data: j } = T(o), M = f(j, E, "manage_agents"), N = y(), P = i(), F = w(), I = C({
20
20
  mutationFn: async (n) => t(await e.DELETE("/api/v1/workspaces/{workspace}/agents/{slug}", { params: { path: {
@@ -22,7 +22,7 @@ function E() {
22
22
  slug: n
23
23
  } } })),
24
24
  onSettled: () => F.invalidateQueries({ queryKey: a(E).queryKey })
25
- }), { confirm: L, dialog: R } = c(), z = (e) => [
25
+ }), { confirm: L, dialog: R } = p(), z = (e) => [
26
26
  {
27
27
  label: O("open"),
28
28
  onClick: () => P({
@@ -34,7 +34,7 @@ function E() {
34
34
  })
35
35
  },
36
36
  ...k(`/${E}/agents/${e.slug}`),
37
- u(D("copySlug"), e.slug),
37
+ l(D("copySlug"), e.slug),
38
38
  ...M && !e.archivedAt ? [v, {
39
39
  label: D("archive"),
40
40
  destructive: !0,
@@ -74,7 +74,7 @@ function E() {
74
74
  ]
75
75
  }),
76
76
  A.length === 0 ? /* @__PURE__ */ x(g, {
77
- icon: /* @__PURE__ */ x(l, {}),
77
+ icon: /* @__PURE__ */ x(d, {}),
78
78
  title: D("empty"),
79
79
  description: D("emptyDescription"),
80
80
  ...M && { action: /* @__PURE__ */ x(r, {
@@ -125,9 +125,9 @@ function E() {
125
125
  /* @__PURE__ */ x("span", {
126
126
  className: "text-xs text-muted-foreground",
127
127
  children: e.model ? D("harnessWithModel", {
128
- harness: p[e.harness] ?? e.harness,
128
+ harness: c[e.harness] ?? e.harness,
129
129
  model: e.model
130
- }) : p[e.harness]
130
+ }) : c[e.harness]
131
131
  })
132
132
  ]
133
133
  }) }, e.id))
@@ -1,9 +1,8 @@
1
- import "../../../api/queries.js";
2
- import { createFileRoute as e, lazyFn as t, lazyRouteComponent as n } from "@tanstack/react-router";
3
- import "@tanstack/react-query";
4
- var r = e("/$workspace/areas/$area")({
5
- validateSearch: (e) => ({ ...typeof e.decision == "string" && { decision: e.decision } }),
6
- loader: t(() => import("./_area3.js"), "loader"),
7
- component: n(() => import("./_area2.js"), "component")
1
+ import { validateAreaSearch as e } from "../../../pages/area.js";
2
+ import { createFileRoute as t, lazyFn as n, lazyRouteComponent as r } from "@tanstack/react-router";
3
+ var i = t("/$workspace/areas/$area")({
4
+ validateSearch: e,
5
+ loader: n(() => import("./_area3.js"), "loader"),
6
+ component: r(() => import("./_area2.js"), "component")
8
7
  });
9
- export { r as Route };
8
+ export { i as Route };
@@ -1,291 +1,4 @@
1
- import { api as e, unwrap as t } from "../../../api/client.js";
2
- import { usePageTitle as n } from "../../../lib/pageTitle.js";
3
- import { Link as r, useNavigate as i } from "../../../lib/router.js";
4
- import { areaThreadQuery as a, areasQuery as ee, countsQuery as o, teamsQuery as s } from "../../../api/queries.js";
5
- import { Route as c } from "./_area.js";
6
- import { AddIcon as l, ChevronRightIcon as u, FileTextIcon as te } from "../../../components/icons.js";
7
- import { docRef as ne } from "../../../lib/docs.js";
8
- import { useNewIssue as re } from "../../../lib/newIssue.js";
9
- import { Editor as ie } from "../../../components/Editor.js";
10
- import { useShortcuts as ae } from "../../../lib/shortcuts.js";
11
- import { DecisionCard as d } from "../../../components/AgentWork.js";
12
- import { FoldedAnswer as f, KnowledgeRow as p } from "../../../components/AreaWork.js";
13
- import { WorkCounts as m } from "../../../components/WorkCounts.js";
14
- import { Button as h, CountBadge as g, Kbd as _ } from "@parallelworks/ui";
15
- import { useEffect as v, useState as y } from "react";
16
- import { useLocale as b, useTranslations as x } from "use-intl";
17
- import { jsx as S, jsxs as C } from "react/jsx-runtime";
18
- import { useMutation as oe, useQuery as w, useQueryClient as se, useSuspenseQuery as T } from "@tanstack/react-query";
1
+ import { AreaPage as e } from "../../../pages/area.js";
19
2
  // src/routes/$workspace/areas/$area.tsx?tsr-split=component
20
- function E() {
21
- let { workspace: e, area: t } = c.useParams();
22
- return T(a(e, t)).data;
23
- }
24
- function D() {
25
- let e = E();
26
- return /* @__PURE__ */ S(k, { thread: e }, e.area.id);
27
- }
28
- var O = (...e) => e.filter(Boolean).join(" ");
29
- function k({ thread: a }) {
30
- let _ = x("areaPage"), E = b(), { workspace: D, area: k } = c.useParams(), { decision: M } = c.useSearch(), N = i(), P = se(), { data: F } = T(o(D)), { data: I = [] } = w(ee(D)), { data: L = [] } = w(s(D)), R = re(), { area: z, open: B, answered: V, knowledge: H, siblings: U, summary: W } = a;
31
- n(z.title);
32
- let [G] = y(() => a.lastVisitedAt ? Date.parse(a.lastVisitedAt) : null), K = (e) => !!e && G !== null && Date.parse(e) > G;
33
- v(() => {
34
- k.toLowerCase() !== z.key && N({
35
- to: "/$workspace/areas/$area",
36
- params: {
37
- workspace: D,
38
- area: z.key
39
- },
40
- search: (e) => e,
41
- replace: !0
42
- });
43
- }, [
44
- k,
45
- z.key,
46
- D,
47
- N
48
- ]), v(() => {
49
- e.POST("/api/v1/workspaces/{workspace}/areas/{area}/visit", { params: { path: {
50
- workspace: D,
51
- area: z.key
52
- } } });
53
- }, [D, z.key]);
54
- let q = B.find((e) => e.identifier.toLowerCase() === M?.toLowerCase() || e.id === M), J = q?.id;
55
- v(() => {
56
- J && document.getElementById(`decision-${J}`)?.scrollIntoView({ block: "center" });
57
- }, [J]);
58
- let Y = oe({
59
- mutationFn: async ({ decision: n, optionId: r }) => t(await e.POST("/api/v1/workspaces/{workspace}/decisions/{decisionId}/answer", {
60
- params: { path: {
61
- workspace: D,
62
- decisionId: n.id
63
- } },
64
- body: { optionId: r }
65
- })),
66
- onSettled: () => P.invalidateQueries({ queryKey: [
67
- "workspace",
68
- D,
69
- "decisions"
70
- ] })
71
- }), ce = (e) => N({
72
- to: "/$workspace/areas/$area",
73
- params: {
74
- workspace: D,
75
- area: z.key
76
- },
77
- search: e ? { decision: e.identifier.toLowerCase() } : {},
78
- replace: !0
79
- }), le = U.findIndex((e) => e.id === z.id), X = (e) => {
80
- let t = U[le + e];
81
- t && N({
82
- to: "/$workspace/areas/$area",
83
- params: {
84
- workspace: D,
85
- area: t.key
86
- }
87
- });
88
- }, Z = {
89
- "[": () => X(-1),
90
- "]": () => X(1),
91
- n: () => {
92
- let e = q ? B.indexOf(q) : -1;
93
- ce(B[(e + 1) % B.length]);
94
- },
95
- e: () => {
96
- (document.getElementById(`decision-${q?.id}`)?.querySelector(".ProseMirror"))?.focus();
97
- }
98
- };
99
- for (let e = 1; e <= 9; e++) Z[String(e)] = () => {
100
- let t = q?.options[e - 1];
101
- q && t && !Y.isPending && Y.mutate({
102
- decision: q,
103
- optionId: t.id
104
- });
105
- };
106
- ae(Z);
107
- let Q = L.find((e) => e.id === z.teamId), $ = [];
108
- for (let e = I.find((e) => e.id === z.parentId); e; e = I.find((t) => t.id === e?.parentId)) $.unshift(e);
109
- return /* @__PURE__ */ C("div", {
110
- className: "flex h-full flex-col",
111
- children: [
112
- /* @__PURE__ */ C("header", {
113
- className: "flex h-12 shrink-0 items-center gap-1.5 border-b border-border px-4 text-sm md:px-5",
114
- children: [
115
- /* @__PURE__ */ S(r, {
116
- to: "/$workspace/areas",
117
- params: { workspace: D },
118
- className: "text-muted-foreground hover:text-foreground",
119
- children: _("areas")
120
- }),
121
- $.map((e) => /* @__PURE__ */ C("span", {
122
- className: "flex min-w-0 items-center gap-1.5 max-sm:hidden",
123
- children: [/* @__PURE__ */ S(u, { className: "size-3 shrink-0 text-muted-foreground" }), /* @__PURE__ */ S(r, {
124
- to: "/$workspace/areas/$area",
125
- params: {
126
- workspace: D,
127
- area: e.key
128
- },
129
- className: "truncate text-muted-foreground hover:text-foreground",
130
- children: e.title
131
- })]
132
- }, e.key)),
133
- /* @__PURE__ */ S(u, { className: "size-3 shrink-0 text-muted-foreground" }),
134
- /* @__PURE__ */ S("h1", {
135
- className: "truncate font-medium",
136
- children: z.title
137
- }),
138
- /* @__PURE__ */ S("span", {
139
- className: "shrink-0 font-mono text-xs text-muted-foreground",
140
- children: z.key
141
- }),
142
- /* @__PURE__ */ S(m, {
143
- counts: F.areas[z.id],
144
- teamId: z.teamId,
145
- className: "ml-auto max-sm:hidden"
146
- }),
147
- /* @__PURE__ */ C(h, {
148
- type: "button",
149
- size: "sm",
150
- onClick: () => R({
151
- ...Q && { team: Q.key },
152
- area: z.key,
153
- origin: { area: z.key }
154
- }),
155
- className: "max-sm:ml-auto",
156
- children: [/* @__PURE__ */ S(l, { className: "size-3.5" }), _("newIssue")]
157
- })
158
- ]
159
- }),
160
- U.length > 1 && /* @__PURE__ */ S("nav", {
161
- "aria-label": _("siblings"),
162
- className: "flex shrink-0 gap-1 overflow-x-auto border-b border-border px-4 py-1.5 md:px-5",
163
- children: U.map((e) => {
164
- let t = F.areas[e.id]?.decisions ?? 0;
165
- return /* @__PURE__ */ C(r, {
166
- to: "/$workspace/areas/$area",
167
- params: {
168
- workspace: D,
169
- area: e.key
170
- },
171
- "aria-current": e.id === z.id ? "page" : void 0,
172
- className: "flex h-7 shrink-0 items-center gap-1.5 rounded-md px-2 text-xs text-muted-foreground hover:bg-muted hover:text-foreground aria-[current=page]:bg-muted aria-[current=page]:font-medium aria-[current=page]:text-foreground",
173
- children: [e.title, /* @__PURE__ */ S(g, {
174
- count: t,
175
- emphasis: "soft",
176
- size: "sm",
177
- locale: E,
178
- label: _("waitingCount"),
179
- className: "border-transparent! bg-agent-soft! text-agent!"
180
- })]
181
- }, e.id);
182
- })
183
- }),
184
- /* @__PURE__ */ S("div", {
185
- className: "min-h-0 flex-1 overflow-y-auto",
186
- children: /* @__PURE__ */ C("div", {
187
- className: "mx-auto max-w-3xl space-y-8 px-4 py-6 md:px-6",
188
- children: [
189
- z.redirectedFrom && /* @__PURE__ */ S("p", {
190
- className: "text-xs text-muted-foreground",
191
- children: _("mergedFrom", { key: z.redirectedFrom })
192
- }),
193
- z.homeDoc && /* @__PURE__ */ C("section", {
194
- "aria-label": _("about"),
195
- children: [W && /* @__PURE__ */ S(ie, {
196
- value: W,
197
- editable: !1
198
- }), /* @__PURE__ */ C(r, {
199
- to: "/$workspace/docs/$doc",
200
- params: {
201
- workspace: D,
202
- doc: ne(z.homeDoc)
203
- },
204
- className: "mt-1 inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground",
205
- children: [/* @__PURE__ */ S(te, { className: "size-3.5" }), _("readDoc", { title: z.homeDoc.title })]
206
- })]
207
- }),
208
- /* @__PURE__ */ C("section", {
209
- "aria-label": _("toDecide"),
210
- className: "space-y-3",
211
- children: [/* @__PURE__ */ C("h2", {
212
- className: "text-sm font-semibold",
213
- children: [
214
- _("toDecide"),
215
- " ",
216
- /* @__PURE__ */ S("span", {
217
- className: "font-normal text-muted-foreground",
218
- children: B.length
219
- })
220
- ]
221
- }), B.length === 0 ? /* @__PURE__ */ S("p", {
222
- className: "text-sm text-muted-foreground",
223
- children: _("nothingToDecide")
224
- }) : B.map((e) => /* @__PURE__ */ C("div", {
225
- id: `decision-${e.id}`,
226
- className: O("relative scroll-mt-4 rounded-lg", e.id === q?.id && "ring-2 ring-primary/50"),
227
- children: [K(e.createdAt) && /* @__PURE__ */ S(A, {}), /* @__PURE__ */ S(d, {
228
- workspace: D,
229
- decision: e,
230
- showIssue: !0
231
- })]
232
- }, e.id))]
233
- }),
234
- H.length > 0 && /* @__PURE__ */ C("section", {
235
- "aria-label": _("knowledge"),
236
- children: [/* @__PURE__ */ S("h2", {
237
- className: "text-sm font-semibold",
238
- children: _("knowledge")
239
- }), /* @__PURE__ */ S("ul", {
240
- className: "mt-2 divide-y divide-border rounded-lg border border-border",
241
- children: H.map((e) => /* @__PURE__ */ S(p, {
242
- workspace: D,
243
- entry: e,
244
- isNew: K(e.createdAt)
245
- }, e.id))
246
- })]
247
- }),
248
- V.length > 0 && /* @__PURE__ */ C("section", {
249
- "aria-label": _("decided"),
250
- children: [/* @__PURE__ */ S("h2", {
251
- className: "text-sm font-semibold",
252
- children: _("decided")
253
- }), /* @__PURE__ */ S("ul", {
254
- className: "mt-2 divide-y divide-border rounded-lg border border-border",
255
- children: V.map((e) => /* @__PURE__ */ S(f, {
256
- workspace: D,
257
- decision: e,
258
- isNew: K(e.answer?.at),
259
- notInDocs: a.notInDocs.includes(e.id)
260
- }, e.id))
261
- })]
262
- })
263
- ]
264
- })
265
- }),
266
- /* @__PURE__ */ S(j, { deciding: B.length > 0 })
267
- ]
268
- });
269
- }
270
- function A() {
271
- let e = x("areaPage");
272
- return /* @__PURE__ */ S("span", {
273
- className: "absolute -top-2 right-3 z-10 rounded bg-primary px-1.5 py-0.5 text-[10px] font-medium text-primary-foreground",
274
- children: e("new")
275
- });
276
- }
277
- function j({ deciding: e }) {
278
- let t = x("areaPage"), n = [[["[", "]"], t("keys.move")], ...e ? [
279
- [["N"], t("keys.next")],
280
- [["1–9"], t("keys.choose")],
281
- [["E"], t("keys.note")]
282
- ] : []];
283
- return /* @__PURE__ */ S("footer", {
284
- className: "flex shrink-0 items-center gap-4 border-t border-border px-4 py-1.5 text-xs text-muted-foreground max-md:hidden md:px-5",
285
- children: n.map(([e, t]) => /* @__PURE__ */ C("span", {
286
- className: "flex items-center gap-1.5",
287
- children: [/* @__PURE__ */ S(_, { keys: e }), t]
288
- }, t))
289
- });
290
- }
291
- export { D as component };
3
+ var t = e;
4
+ export { t as component };
@@ -1,10 +1,9 @@
1
- import { areaThreadQuery as e, areasQuery as t, countsQuery as n } from "../../../api/queries.js";
2
- import "./_area.js";
3
- import "@tanstack/react-query";
1
+ import { areaThreadQuery as e, areasQuery as t, countsQuery as n, teamsQuery as r } from "../../../api/queries.js";
4
2
  // src/routes/$workspace/areas/$area.tsx?tsr-split=loader
5
- var r = ({ context: { queryClient: r }, params: { workspace: i, area: a } }) => Promise.all([
6
- r.ensureQueryData(e(i, a)),
7
- r.ensureQueryData(n(i)),
8
- r.ensureQueryData(t(i))
3
+ var i = ({ context: { queryClient: i }, params: { workspace: a, area: o } }) => Promise.all([
4
+ i.ensureQueryData(e(a, o)),
5
+ i.ensureQueryData(n(a)),
6
+ i.ensureQueryData(t(a)),
7
+ i.ensureQueryData(r(a))
9
8
  ]);
10
- export { r as loader };
9
+ export { i as loader };