@parallelworks/tandem-web 0.194.2 → 0.194.4

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.
@@ -0,0 +1,18 @@
1
+ import { codeHostQuery as e, githubSettingsQuery as t, groupsQuery as n, labelsQuery as r, meQuery as i, repositoriesQuery as a, statusesQuery as o, teamAccessQuery as s, teamMembersQuery as c, teamRotationQuery as l } from "../../../../api/queries.js";
2
+ import { may as u } from "../../../../lib/roles.js";
3
+ // src/routes/$workspace/teams/$key/settings.tsx?tsr-split=loader
4
+ var d = async ({ context: { queryClient: d }, params: { workspace: f, key: p } }) => {
5
+ let m = await d.ensureQueryData(i), h = u(m, f, "manage_workspace");
6
+ await Promise.all([
7
+ d.ensureQueryData(c(f, p)),
8
+ d.ensureQueryData(s(f, p)),
9
+ d.ensureQueryData(n(f)),
10
+ d.ensureQueryData(e(f)),
11
+ d.ensureQueryData(a(f, p)),
12
+ d.ensureQueryData(o(f, p)),
13
+ d.ensureQueryData(l(f, p)),
14
+ d.ensureQueryData(r(f)),
15
+ h && d.ensureQueryData(t(f))
16
+ ]);
17
+ };
18
+ export { d as loader };