@burdenoff/microfe-workspaces 2026.1109.1 → 2026.1110.1
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.
- package/dist/WorkspacesRoot.js +10 -9
- package/dist/WorkspacesRoutes.js +1 -2
- package/dist/components/CreateProjectDialog.js +22 -22
- package/dist/components/CreateWorkspaceDialog.js +8 -9
- package/dist/components/InviteMemberDialog.js +18 -23
- package/dist/components/MemberListItem.js +16 -17
- package/dist/components/ProjectCard.js +14 -15
- package/dist/components/ProjectMemberPickerDialog.js +92 -93
- package/dist/components/RenameProjectDialog.js +12 -17
- package/dist/components/WorkspaceCard.js +6 -7
- package/dist/components/WorkspaceContextPathSync.js +4 -5
- package/dist/components/WorkspacesErrorBoundary.js +6 -11
- package/dist/components/index.js +8 -7
- package/dist/components/tags/ProjectTagsWidget.js +56 -57
- package/dist/components/tags/WorkspaceTagsEditor.js +2 -3
- package/dist/constants/permissions.js +1 -2
- package/dist/generated/global-operations.js +1 -2
- package/dist/generated/wspace-operations.js +1 -2
- package/dist/hooks/index.js +9 -8
- package/dist/hooks/useMemberMutations.js +165 -166
- package/dist/hooks/useOpenWorkspace.js +1 -2
- package/dist/hooks/useOrgsWithPermission.js +2 -3
- package/dist/hooks/usePendingInvitations.d.ts +1 -1
- package/dist/hooks/usePendingInvitations.js +2 -3
- package/dist/hooks/useProjectMemberMutations.js +23 -24
- package/dist/hooks/useProjectMembers.d.ts +2 -2
- package/dist/hooks/useProjectMembers.js +2 -3
- package/dist/hooks/useProjectMutations.js +68 -69
- package/dist/hooks/useProjects.d.ts +3 -3
- package/dist/hooks/useProjects.js +5 -6
- package/dist/hooks/useScopedNavigation.js +1 -2
- package/dist/hooks/useTenants.d.ts +2 -2
- package/dist/hooks/useTenants.js +3 -4
- package/dist/hooks/useTr.js +1 -2
- package/dist/hooks/useWorkspaceActivity.d.ts +1 -1
- package/dist/hooks/useWorkspaceActivity.js +2 -3
- package/dist/hooks/useWorkspaceMembers.d.ts +5 -5
- package/dist/hooks/useWorkspaceMembers.js +7 -8
- package/dist/hooks/useWorkspaceMutations.js +70 -71
- package/dist/hooks/useWorkspacePermissions.js +1 -2
- package/dist/hooks/useWorkspaceRoles.d.ts +1 -1
- package/dist/hooks/useWorkspaceRoles.js +3 -4
- package/dist/hooks/useWorkspaces.d.ts +3 -3
- package/dist/hooks/useWorkspaces.js +4 -5
- package/dist/hooks/useWorkspacesEventEmitter.js +1 -2
- package/dist/hooks/useWorkspacesPageView.js +1 -2
- package/dist/index.js +15 -15
- package/dist/pages/ActivityListPage.js +28 -29
- package/dist/pages/CreateWorkspacePage.js +137 -138
- package/dist/pages/InviteAcceptancePage.js +65 -66
- package/dist/pages/MembersListPage.js +203 -204
- package/dist/pages/PendingInvitesPage.js +63 -64
- package/dist/pages/ProjectDetailPage.js +71 -72
- package/dist/pages/ProjectMembersPage.js +116 -117
- package/dist/pages/ProjectsListPage.js +62 -67
- package/dist/pages/WorkspaceDetailPage.js +153 -154
- package/dist/pages/WorkspaceInvitePage.js +88 -92
- package/dist/pages/WorkspaceSettingsPage.js +32 -33
- package/dist/pages/WorkspacesListPage.js +40 -41
- package/dist/pages/dashboard/DashboardCustomizer.js +98 -94
- package/dist/pages/dashboard/DashboardGrid.js +1 -2
- package/dist/pages/dashboard/DashboardPage.js +12 -13
- package/dist/pages/dashboard/WidgetWrapper.js +3 -3
- package/dist/pages/dashboard/config.js +3 -4
- package/dist/pages/dashboard/hooks/useDashboardData.d.ts +5 -5
- package/dist/pages/dashboard/hooks/useDashboardData.js +9 -10
- package/dist/pages/dashboard/hooks/useDashboardPreferences.js +7 -8
- package/dist/pages/dashboard/reorder.js +11 -14
- package/dist/pages/dashboard/widgets/AgentsWidget.js +13 -14
- package/dist/pages/dashboard/widgets/GroupsWidget.js +9 -10
- package/dist/pages/dashboard/widgets/MembersWidget.js +10 -11
- package/dist/pages/dashboard/widgets/ProjectsWidget.js +11 -12
- package/dist/pages/dashboard/widgets/QuickActionsWidget.js +28 -29
- package/dist/pages/dashboard/widgets/RecentActivityWidget.js +22 -23
- package/dist/pages/dashboard/widgets/SessionsWidget.js +28 -29
- package/dist/pages/dashboard/widgets/StorageWidget.js +19 -20
- package/dist/pages/dashboard/widgets/TagCloudWidget.js +9 -10
- package/dist/pages/dashboard/widgets/TipsWidget.js +5 -6
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js +17 -18
- package/dist/pages/dashboard/widgets/VibesWidget.js +13 -14
- package/dist/pages/dashboard/widgets/WelcomeWidget.js +11 -12
- package/dist/pages/dashboard/widgets/WorkflowRunsWidget.js +16 -17
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js +11 -12
- package/dist/pages/dashboard/widgets/WorkflowsOverviewWidget.js +17 -18
- package/dist/pages/dashboard/widgets/WorkspacesWidget.js +7 -8
- package/dist/pages/dashboard/widgets/tipsCatalog.js +1 -2
- package/dist/providers/WorkspacesProvider.js +1 -2
- package/dist/store/workspacesStore.d.ts +1 -1
- package/dist/store/workspacesStore.js +1 -2
- package/dist/test/happydom.d.ts +1 -0
- package/dist/translations/en.js +1 -2
- package/dist/utils/formatters.js +1 -2
- package/dist/utils/i18n.js +1 -2
- package/dist/utils/invitationDisplay.js +1 -2
- package/dist/utils/nativeBridge.js +1 -2
- package/dist/utils/pinnedRequest.js +2 -3
- package/dist/utils/projectTags.js +2 -3
- package/dist/utils/slug.js +1 -2
- package/dist/utils/telemetryError.js +13 -16
- package/dist/utils/tokenHelpers.js +1 -2
- package/dist/utils/workspaceBulkInviteCsv.js +3 -8
- package/package.json +72 -55
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useTr as e } from "../../hooks/useTr.js";
|
|
2
2
|
import { useCallback as t, useEffect as n, useRef as r, useState as i } from "react";
|
|
3
|
-
import { Loader2 as a, Plus as ee, Tag as te, X as
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { Command as
|
|
6
|
-
import { cn as
|
|
7
|
-
import { useGatewayClient as
|
|
8
|
-
import { TagBadge as
|
|
9
|
-
import { gql as
|
|
10
|
-
import { useLazyQuery as
|
|
11
|
-
|
|
12
|
-
var
|
|
3
|
+
import { Loader2 as a, Plus as ee, Tag as te, X as ne } from "lucide-react";
|
|
4
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
+
import { Command as re, CommandEmpty as c, CommandGroup as l, CommandInput as u, CommandItem as d, CommandList as f, Popover as p, PopoverContent as ie, PopoverTrigger as ae } from "@burdenoff/fe-libs/ui";
|
|
6
|
+
import { cn as m } from "@burdenoff/fe-libs/shared/utils";
|
|
7
|
+
import { useGatewayClient as oe } from "@burdenoff/fe-libs/shared/graphql";
|
|
8
|
+
import { TagBadge as se } from "@burdenoff/fe-libs/tag";
|
|
9
|
+
import { gql as h } from "@apollo/client";
|
|
10
|
+
import { useLazyQuery as g, useMutation as _ } from "@apollo/client/react";
|
|
11
|
+
// src/components/tags/ProjectTagsWidget.tsx
|
|
12
|
+
var v = h`
|
|
13
13
|
query ProjectTagsWidget_SearchTags($query: String!, $vocabularyId: ID, $limit: Int) {
|
|
14
14
|
searchTags(query: $query, vocabularyId: $vocabularyId, limit: $limit) {
|
|
15
15
|
id
|
|
@@ -27,7 +27,7 @@ var y = g`
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`, y = h`
|
|
31
31
|
query ProjectTagsWidget_GetVocabularyByKey($key: String!) {
|
|
32
32
|
getVocabularyByKey(key: $key) {
|
|
33
33
|
id
|
|
@@ -35,7 +35,7 @@ var y = g`
|
|
|
35
35
|
name
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
`,
|
|
38
|
+
`, b = h`
|
|
39
39
|
mutation ProjectTagsWidget_CreateVocabulary($input: CreateVocabularyInput!) {
|
|
40
40
|
createVocabulary(input: $input) {
|
|
41
41
|
id
|
|
@@ -43,7 +43,7 @@ var y = g`
|
|
|
43
43
|
name
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`, ce = h`
|
|
47
47
|
mutation ProjectTagsWidget_CreateTag($input: CreateTagInput!) {
|
|
48
48
|
createTag(input: $input) {
|
|
49
49
|
id
|
|
@@ -60,19 +60,19 @@ var y = g`
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
64
|
-
function
|
|
63
|
+
`, x = "general";
|
|
64
|
+
function S(e) {
|
|
65
65
|
if (!e || typeof e != "object") return !1;
|
|
66
66
|
let t = e;
|
|
67
67
|
return typeof t.id == "string" && typeof t.key == "string" && typeof t.label == "string";
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let A = e(), [ue, j] = i(!1), [M, N] = i(""), [P, F] = i(null), [I, L] = i(!1), [R, z] = i(), B = r(null), V =
|
|
69
|
+
function C({ entityType: h, entityId: C, workspaceId: le, tags: w, onAdd: T, onRemove: E, allowCreate: D = !0, maxTags: O = 20, className: k }) {
|
|
70
|
+
let A = e(), [ue, j] = i(!1), [M, N] = i(""), [P, F] = i(null), [I, L] = i(!1), [R, z] = i(), B = r(null), V = oe("workspace"), H = !le || !C, de = new Set(w.map((e) => e.id)), U = w.length < O, [W, { data: fe, loading: G }] = g(v, { client: V }), K = (fe?.searchTags ?? []).filter((e) => S(e) && !de.has(e.id)), [q, { loading: J }] = _(ce, { client: V }), [Y] = g(y, { client: V }), [X] = _(b, { client: V }), Z = t(async () => {
|
|
71
71
|
if (R) return R;
|
|
72
|
-
let e = (await Y({ variables: { key:
|
|
72
|
+
let e = (await Y({ variables: { key: x } })).data?.getVocabularyByKey;
|
|
73
73
|
if (e) return z(e.id), e.id;
|
|
74
74
|
let t = (await X({ variables: { input: {
|
|
75
|
-
key:
|
|
75
|
+
key: x,
|
|
76
76
|
name: "General",
|
|
77
77
|
description: "Default vocabulary for general-purpose tags",
|
|
78
78
|
scope: "WORKSPACE",
|
|
@@ -102,10 +102,10 @@ function w({ entityType: g, entityId: w, workspaceId: ce, tags: T, onAdd: E, onR
|
|
|
102
102
|
B.current && clearTimeout(B.current);
|
|
103
103
|
}, []);
|
|
104
104
|
let Q = t(async (e) => {
|
|
105
|
-
if (
|
|
105
|
+
if (U && !I) {
|
|
106
106
|
L(!0);
|
|
107
107
|
try {
|
|
108
|
-
await
|
|
108
|
+
await T({
|
|
109
109
|
...e,
|
|
110
110
|
vocabularyKey: e.vocabularyKey ?? e.vocabulary?.key ?? null
|
|
111
111
|
}), N(""), j(!1);
|
|
@@ -114,11 +114,11 @@ function w({ entityType: g, entityId: w, workspaceId: ce, tags: T, onAdd: E, onR
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}, [
|
|
117
|
-
|
|
117
|
+
T,
|
|
118
118
|
U,
|
|
119
119
|
I
|
|
120
120
|
]), me = t(async () => {
|
|
121
|
-
if (
|
|
121
|
+
if (D && M.trim() && !J) {
|
|
122
122
|
F(null);
|
|
123
123
|
try {
|
|
124
124
|
let e = M.trim(), t = e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
|
|
@@ -126,19 +126,19 @@ function w({ entityType: g, entityId: w, workspaceId: ce, tags: T, onAdd: E, onR
|
|
|
126
126
|
F(A("projectTagsWidget.createValidationError", "Must contain at least one letter or number"));
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
let n = (await q({ variables: { input: {
|
|
129
|
+
let n = await Z(), r = (await q({ variables: { input: {
|
|
130
130
|
key: t,
|
|
131
131
|
label: e,
|
|
132
|
-
vocabularyId:
|
|
132
|
+
vocabularyId: n
|
|
133
133
|
} } })).data?.createTag;
|
|
134
|
-
if (!
|
|
135
|
-
await Q(
|
|
134
|
+
if (!S(r)) throw Error("No data returned");
|
|
135
|
+
await Q(r);
|
|
136
136
|
} catch (e) {
|
|
137
137
|
F(e instanceof Error ? e.message : A("projectTagsWidget.createGenericError", "Failed to create tag"));
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}, [
|
|
141
|
-
|
|
141
|
+
D,
|
|
142
142
|
M,
|
|
143
143
|
J,
|
|
144
144
|
Z,
|
|
@@ -146,13 +146,13 @@ function w({ entityType: g, entityId: w, workspaceId: ce, tags: T, onAdd: E, onR
|
|
|
146
146
|
Q,
|
|
147
147
|
A
|
|
148
148
|
]), he = t(async (e) => {
|
|
149
|
-
await
|
|
150
|
-
}, [
|
|
149
|
+
await E(e);
|
|
150
|
+
}, [E]);
|
|
151
151
|
if (H) return null;
|
|
152
|
-
let $ = !!(
|
|
153
|
-
return /* @__PURE__ */
|
|
154
|
-
className:
|
|
155
|
-
children: [
|
|
152
|
+
let $ = !!(D && M.trim() && !G && K.length === 0);
|
|
153
|
+
return /* @__PURE__ */ s("div", {
|
|
154
|
+
className: m("flex flex-wrap items-center gap-1.5", k),
|
|
155
|
+
children: [w.map((e) => /* @__PURE__ */ o(se, {
|
|
156
156
|
id: e.id,
|
|
157
157
|
label: e.label,
|
|
158
158
|
color: e.color ?? void 0,
|
|
@@ -161,79 +161,79 @@ function w({ entityType: g, entityId: w, workspaceId: ce, tags: T, onAdd: E, onR
|
|
|
161
161
|
removable: !0,
|
|
162
162
|
onRemove: () => void he(e.id),
|
|
163
163
|
size: "sm"
|
|
164
|
-
}, e.id)), U && /* @__PURE__ */
|
|
164
|
+
}, e.id)), U && /* @__PURE__ */ s(p, {
|
|
165
165
|
open: ue,
|
|
166
166
|
onOpenChange: j,
|
|
167
|
-
children: [/* @__PURE__ */
|
|
167
|
+
children: [/* @__PURE__ */ s(ae, {
|
|
168
168
|
type: "button",
|
|
169
169
|
"aria-label": A("projectTagsWidget.addTagAriaLabel", "Add tag"),
|
|
170
|
-
className:
|
|
171
|
-
children: [/* @__PURE__ */
|
|
172
|
-
}), /* @__PURE__ */
|
|
170
|
+
className: m("inline-flex items-center gap-1 px-2 py-0.5 rounded-full border border-dashed", "border-border-subtle text-text-secondary text-xs", "hover:border-foreground hover:text-text-primary transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]"),
|
|
171
|
+
children: [/* @__PURE__ */ o(te, { className: "size-3" }), /* @__PURE__ */ o("span", { children: w.length > 0 ? A("projectTagsWidget.add", "Add") : A("projectTagsWidget.addTags", "Add tags") })]
|
|
172
|
+
}), /* @__PURE__ */ o(ie, {
|
|
173
173
|
className: "z-50 w-72 max-w-[calc(100vw-2rem)] border-border-subtle/80 bg-popover p-0 shadow-xl",
|
|
174
174
|
align: "start",
|
|
175
175
|
side: "bottom",
|
|
176
176
|
sideOffset: 8,
|
|
177
|
-
children: /* @__PURE__ */
|
|
177
|
+
children: /* @__PURE__ */ s(re, {
|
|
178
178
|
shouldFilter: !1,
|
|
179
179
|
children: [
|
|
180
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ s("div", {
|
|
181
181
|
className: "relative",
|
|
182
|
-
children: [/* @__PURE__ */
|
|
182
|
+
children: [/* @__PURE__ */ o(u, {
|
|
183
183
|
placeholder: A("projectTagsWidget.searchPlaceholder", "Search or create a tag..."),
|
|
184
184
|
value: M,
|
|
185
185
|
onValueChange: pe,
|
|
186
186
|
className: "h-10 border-0 bg-transparent pr-9 text-sm outline-none placeholder:text-text-secondary"
|
|
187
|
-
}), G && /* @__PURE__ */
|
|
187
|
+
}), G && /* @__PURE__ */ o(a, { className: "absolute right-3 top-1/2 size-3.5 -translate-y-1/2 animate-spin text-text-secondary" })]
|
|
188
188
|
}),
|
|
189
|
-
/* @__PURE__ */
|
|
189
|
+
/* @__PURE__ */ s(f, {
|
|
190
190
|
className: "max-h-48 overflow-y-auto",
|
|
191
191
|
children: [
|
|
192
|
-
M.trim() === "" && /* @__PURE__ */
|
|
192
|
+
M.trim() === "" && /* @__PURE__ */ o(c, {
|
|
193
193
|
className: "py-4 text-center text-xs text-text-secondary",
|
|
194
194
|
children: A("projectTagsWidget.typeToSearch", "Type to search or create a tag")
|
|
195
195
|
}),
|
|
196
|
-
K.length > 0 && /* @__PURE__ */
|
|
196
|
+
K.length > 0 && /* @__PURE__ */ o(l, { children: K.map((e) => /* @__PURE__ */ s(d, {
|
|
197
197
|
value: e.id,
|
|
198
198
|
onSelect: () => void Q(e),
|
|
199
199
|
className: "flex items-center gap-2 px-3 py-2 cursor-pointer",
|
|
200
200
|
disabled: I,
|
|
201
201
|
children: [
|
|
202
|
-
e.icon && /* @__PURE__ */
|
|
202
|
+
e.icon && /* @__PURE__ */ o("span", {
|
|
203
203
|
className: "text-sm",
|
|
204
204
|
children: e.icon
|
|
205
205
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ o("span", {
|
|
207
207
|
className: "truncate text-sm",
|
|
208
208
|
style: e.color ? { color: e.color } : void 0,
|
|
209
209
|
children: e.label
|
|
210
210
|
}),
|
|
211
|
-
I && /* @__PURE__ */
|
|
211
|
+
I && /* @__PURE__ */ o(a, { className: "ml-auto size-3 animate-spin" })
|
|
212
212
|
]
|
|
213
213
|
}, e.id)) }),
|
|
214
|
-
$ && /* @__PURE__ */
|
|
214
|
+
$ && /* @__PURE__ */ o(l, { children: /* @__PURE__ */ s(d, {
|
|
215
215
|
value: `__create__${M}`,
|
|
216
216
|
onSelect: () => void me(),
|
|
217
217
|
className: "flex items-center gap-2 px-3 py-2 cursor-pointer text-primary",
|
|
218
218
|
disabled: J,
|
|
219
|
-
children: [J ? /* @__PURE__ */
|
|
219
|
+
children: [J ? /* @__PURE__ */ o(a, { className: "size-3.5 animate-spin" }) : /* @__PURE__ */ o(ee, { className: "size-3.5" }), /* @__PURE__ */ o("span", {
|
|
220
220
|
className: "text-sm truncate",
|
|
221
221
|
children: J ? A("projectTagsWidget.creating", "Creating...") : A("projectTagsWidget.create", "Create \"{{label}}\"", { label: M })
|
|
222
222
|
})]
|
|
223
223
|
}) }),
|
|
224
|
-
M.trim() !== "" && !G && K.length === 0 && !$ && /* @__PURE__ */
|
|
224
|
+
M.trim() !== "" && !G && K.length === 0 && !$ && /* @__PURE__ */ o(c, {
|
|
225
225
|
className: "py-4 text-center text-xs text-text-secondary",
|
|
226
226
|
children: A("projectTagsWidget.noTagsFound", "No tags found")
|
|
227
227
|
}),
|
|
228
|
-
P && /* @__PURE__ */
|
|
228
|
+
P && /* @__PURE__ */ o("div", {
|
|
229
229
|
className: "px-3 py-2 text-xs text-status-error-text border-t border-border-subtle",
|
|
230
230
|
children: P
|
|
231
231
|
})
|
|
232
232
|
]
|
|
233
233
|
}),
|
|
234
|
-
!U && /* @__PURE__ */
|
|
234
|
+
!U && /* @__PURE__ */ s("div", {
|
|
235
235
|
className: "border-t border-border-subtle px-3 py-2 text-xs text-text-secondary flex items-center gap-1",
|
|
236
|
-
children: [/* @__PURE__ */
|
|
236
|
+
children: [/* @__PURE__ */ o(ne, { className: "size-3" }), A("projectTagsWidget.maxTagsReached", "Maximum {{maxTags}} tags reached", { maxTags: O })]
|
|
237
237
|
})
|
|
238
238
|
]
|
|
239
239
|
})
|
|
@@ -241,5 +241,4 @@ function w({ entityType: g, entityId: w, workspaceId: ce, tags: T, onAdd: E, onR
|
|
|
241
241
|
})]
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
export { w as ProjectTagsWidget };
|
|
244
|
+
export { C as ProjectTagsWidget };
|
|
@@ -6,7 +6,7 @@ import { Button as l } from "@burdenoff/fe-libs/ui";
|
|
|
6
6
|
import { TagsWidget as u } from "@burdenoff/fe-libs/tag";
|
|
7
7
|
import { NetworkStatus as d } from "@apollo/client";
|
|
8
8
|
import { useMutation as f, useQuery as p } from "@apollo/client/react";
|
|
9
|
-
|
|
9
|
+
// src/components/tags/WorkspaceTagsEditor.tsx
|
|
10
10
|
function m(e, t) {
|
|
11
11
|
if (!Array.isArray(e)) return !1;
|
|
12
12
|
let n = /* @__PURE__ */ new Set();
|
|
@@ -62,7 +62,7 @@ function g({ workspaceId: g }) {
|
|
|
62
62
|
j.current = null;
|
|
63
63
|
}), [M]);
|
|
64
64
|
async function N(e) {
|
|
65
|
-
if (
|
|
65
|
+
if (w.current && j.current === M && M.ready && !T.current) {
|
|
66
66
|
T.current = !0, C(!0);
|
|
67
67
|
try {
|
|
68
68
|
let t = await y({ variables: { input: {
|
|
@@ -124,5 +124,4 @@ function g({ workspaceId: g }) {
|
|
|
124
124
|
})]
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
-
//#endregion
|
|
128
127
|
export { g as WorkspaceTagsEditor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/constants/permissions.ts
|
|
2
2
|
var e = {
|
|
3
3
|
WORKSPACE_LIST: "workspace:list",
|
|
4
4
|
WORKSPACE_READ: "workspace:read",
|
|
@@ -25,5 +25,4 @@ var e = {
|
|
|
25
25
|
SETTINGS_WRITE: "settings:write",
|
|
26
26
|
ACTIVITY_READ: "activity-log:read"
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { e as WORKSPACE_PERMISSIONS };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/generated/global-operations.ts
|
|
2
2
|
var e = {
|
|
3
3
|
kind: "Document",
|
|
4
4
|
definitions: [{
|
|
@@ -856,5 +856,4 @@ var e = {
|
|
|
856
856
|
}
|
|
857
857
|
}]
|
|
858
858
|
};
|
|
859
|
-
//#endregion
|
|
860
859
|
export { a as ActivateGlobalWorkspaceDocument, i as ArchiveGlobalWorkspaceDocument, e as DashboardGlobalDataDocument, n as GetGlobalMyWorkspacesDocument, t as UpdateDashboardPreferencesDocument, r as UpdateGlobalWorkspaceDocument };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/generated/wspace-operations.ts
|
|
2
2
|
var e = {
|
|
3
3
|
kind: "Document",
|
|
4
4
|
definitions: [{
|
|
@@ -4275,5 +4275,4 @@ var e = {
|
|
|
4275
4275
|
}
|
|
4276
4276
|
}]
|
|
4277
4277
|
};
|
|
4278
|
-
//#endregion
|
|
4279
4278
|
export { s as AcceptInvitationDocument, n as AddWorkspaceMemberDocument, f as BulkCreateInvitationsDocument, l as CancelInvitationDocument, a as CreateInvitationDocument, e as DashboardProjectsDocument, t as DashboardWorkspaceDataDocument, d as DeleteInvitationDocument, m as DeleteWorkspaceDocument, b as GetInvitationDocument, v as GetUserWorkspacesDocument, S as GetWorkspaceDocument, y as GetWorkspaceInvitationsDocument, _ as GetWorkspaceMemberDocument, g as GetWorkspaceMembersDocument, C as GetWorkspaceTagsDocument, x as GetWorkspacesDocument, c as RejectInvitationDocument, i as RemoveUserFromWorkspaceDocument, r as RemoveWorkspaceMemberDocument, h as ReplaceWorkspaceTagsDocument, u as ResendInvitationDocument, o as UpdateInvitationDocument, p as UpdateWorkspaceDocument };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "./useWorkspaces.js";
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./useTenants.js";
|
|
1
|
+
import { useMyWorkspaces as e, useWorkspace as t, useWorkspaces as n } from "./useWorkspaces.js";
|
|
2
|
+
import { useArchiveWorkspace as r, useCreateWorkspace as i, useDeleteWorkspace as a, useReactivateWorkspace as o, useUpdateWorkspace as s } from "./useWorkspaceMutations.js";
|
|
3
|
+
import { useMyProjects as c, useProject as l, useProjectMembersCount as u, useProjects as d } from "./useProjects.js";
|
|
4
|
+
import { useArchiveProject as f, useCreateProject as p, useDeleteProject as m, useTagProject as h, useUnarchiveProject as g, useUntagProject as _, useUpdateProject as v } from "./useProjectMutations.js";
|
|
5
|
+
import { useInfiniteWorkspaceMembers as y, useInvitation as b, useUserWorkspaces as x, useWorkspaceInvitations as S, useWorkspaceMember as C, useWorkspaceMembers as w } from "./useWorkspaceMembers.js";
|
|
6
|
+
import { useMyPendingInvitations as T } from "./usePendingInvitations.js";
|
|
7
|
+
import { useAcceptInvitation as E, useAddWorkspaceMember as D, useBulkCreateInvitations as O, useCancelInvitation as k, useCreateInvitation as A, useDeleteInvitation as j, useRejectInvitation as M, useRemoveUserFromWorkspace as N, useRemoveWorkspaceMember as P, useResendInvitation as F, useUpdateInvitation as I } from "./useMemberMutations.js";
|
|
8
|
+
import { useMyOrganizations as L, useMyTenants as R } from "./useTenants.js";
|
|
9
|
+
export { E as useAcceptInvitation, D as useAddWorkspaceMember, f as useArchiveProject, r as useArchiveWorkspace, O as useBulkCreateInvitations, k as useCancelInvitation, A as useCreateInvitation, p as useCreateProject, i as useCreateWorkspace, j as useDeleteInvitation, m as useDeleteProject, a as useDeleteWorkspace, y as useInfiniteWorkspaceMembers, b as useInvitation, L as useMyOrganizations, T as useMyPendingInvitations, c as useMyProjects, R as useMyTenants, e as useMyWorkspaces, l as useProject, u as useProjectMembersCount, d as useProjects, o as useReactivateWorkspace, M as useRejectInvitation, N as useRemoveUserFromWorkspace, P as useRemoveWorkspaceMember, F as useResendInvitation, h as useTagProject, g as useUnarchiveProject, _ as useUntagProject, I as useUpdateInvitation, v as useUpdateProject, s as useUpdateWorkspace, x as useUserWorkspaces, t as useWorkspace, S as useWorkspaceInvitations, C as useWorkspaceMember, w as useWorkspaceMembers, n as useWorkspaces };
|