@burdenoff/microfe-workspaces 2026.1013.2 → 2026.1016.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.d.ts +33 -0
- package/dist/WorkspacesRoutes.d.ts +9 -0
- package/dist/components/CreateProjectDialog.d.ts +5 -0
- package/dist/components/CreateWorkspaceDialog.d.ts +1 -0
- package/dist/components/InviteMemberDialog.d.ts +6 -0
- package/dist/components/MemberListItem.d.ts +9 -0
- package/dist/components/ProjectCard.d.ts +13 -0
- package/dist/components/ProjectMemberPickerDialog.d.ts +8 -0
- package/dist/components/RenameProjectDialog.d.ts +11 -0
- package/dist/components/WorkspaceCard.d.ts +6 -0
- package/dist/components/WorkspaceContextPathSync.d.ts +23 -0
- package/dist/components/WorkspacesErrorBoundary.d.ts +28 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/tags/ProjectTagsWidget.d.ts +21 -0
- package/dist/components/tags/ProjectTagsWidget.js +38 -38
- package/dist/constants/permissions.d.ts +32 -0
- package/dist/generated/global-operations.d.ts +257 -0
- package/dist/generated/global-operations.js +844 -152
- package/dist/generated/global-types.d.ts +23507 -0
- package/dist/generated/wspace-operations.d.ts +1457 -0
- package/dist/generated/wspace-operations.js +4277 -626
- package/dist/generated/wspace-types.d.ts +57824 -0
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/useMemberMutations.d.ts +59 -0
- package/dist/hooks/useOrgsWithPermission.d.ts +6 -0
- package/dist/hooks/usePendingInvitations.d.ts +7 -0
- package/dist/hooks/useProjectMemberMutations.d.ts +3 -0
- package/dist/hooks/useProjectMembers.d.ts +4 -0
- package/dist/hooks/useProjectMutations.d.ts +39 -0
- package/dist/hooks/useProjects.d.ts +14 -0
- package/dist/hooks/useScopedNavigation.d.ts +3 -0
- package/dist/hooks/useTenants.d.ts +11 -0
- package/dist/hooks/useTr.d.ts +26 -0
- package/dist/hooks/useWorkspaceActivity.d.ts +11 -0
- package/dist/hooks/useWorkspaceMembers.d.ts +25 -0
- package/dist/hooks/useWorkspaceMutations.d.ts +34 -0
- package/dist/hooks/useWorkspacePermissions.d.ts +32 -0
- package/dist/hooks/useWorkspaceRoles.d.ts +12 -0
- package/dist/hooks/useWorkspaces.d.ts +19 -0
- package/dist/hooks/useWorkspacesEventEmitter.d.ts +16 -0
- package/dist/hooks/useWorkspacesPageView.d.ts +26 -0
- package/dist/index.d.ts +35 -0
- package/dist/pages/ActivityListPage.d.ts +1 -0
- package/dist/pages/CreateWorkspacePage.d.ts +1 -0
- package/dist/pages/InviteAcceptancePage.d.ts +5 -0
- package/dist/pages/MembersListPage.d.ts +1 -0
- package/dist/pages/PendingInvitesPage.d.ts +1 -0
- package/dist/pages/ProjectDetailPage.d.ts +1 -0
- package/dist/pages/ProjectMembersPage.d.ts +1 -0
- package/dist/pages/ProjectsListPage.d.ts +1 -0
- package/dist/pages/WorkspaceDetailPage.d.ts +1 -0
- package/dist/pages/WorkspaceInvitePage.d.ts +1 -0
- package/dist/pages/WorkspaceSettingsPage.d.ts +1 -0
- package/dist/pages/WorkspaceSettingsPage.js +38 -37
- package/dist/pages/WorkspacesListPage.d.ts +1 -0
- package/dist/pages/dashboard/DashboardCustomizer.d.ts +11 -0
- package/dist/pages/dashboard/DashboardGrid.d.ts +6 -0
- package/dist/pages/dashboard/DashboardPage.d.ts +19 -0
- package/dist/pages/dashboard/WidgetWrapper.d.ts +16 -0
- package/dist/pages/dashboard/config.d.ts +27 -0
- package/dist/pages/dashboard/hooks/useDashboardData.d.ts +13 -0
- package/dist/pages/dashboard/hooks/useDashboardPreferences.d.ts +2 -0
- package/dist/pages/dashboard/reorder.d.ts +26 -0
- package/dist/pages/dashboard/types.d.ts +197 -0
- package/dist/pages/dashboard/widgets/AgentsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/GroupsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/MembersWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/ProjectsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/QuickActionsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/RecentActivityWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/SessionsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/StorageWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/StorageWidget.js +2 -2
- package/dist/pages/dashboard/widgets/TagCloudWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/TipsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/VibesWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/WelcomeWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/WorkflowRunsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/WorkflowsOverviewWidget.d.ts +2 -0
- package/dist/pages/dashboard/widgets/WorkspacesWidget.d.ts +2 -0
- package/dist/providers/WorkspacesProvider.d.ts +11 -0
- package/dist/store/workspacesStore.d.ts +80 -0
- package/dist/translations/en.d.ts +921 -0
- package/dist/types/index.d.ts +336 -0
- package/dist/utils/formatters.d.ts +53 -0
- package/dist/utils/formatters.js +1 -1
- package/dist/utils/i18n.d.ts +11 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/invitationDisplay.d.ts +6 -0
- package/dist/utils/nativeBridge.d.ts +2 -0
- package/dist/utils/projectTags.d.ts +6 -0
- package/dist/utils/slug.d.ts +12 -0
- package/dist/utils/telemetryError.d.ts +1 -0
- package/dist/utils/tokenHelpers.d.ts +112 -0
- package/dist/utils/workspaceBulkInviteCsv.d.ts +9 -0
- package/package.json +37 -23
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
3
|
+
type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
9
|
+
export type Incremental<T> = T | {
|
|
10
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
11
|
+
};
|
|
12
|
+
/** Actor types - actors are created in auth-svc, RBAC just references opaque IDs */
|
|
13
|
+
export type ActorType =
|
|
14
|
+
/** Automated bot (workflow, AI assistant) */
|
|
15
|
+
'BOT'
|
|
16
|
+
/** Service acting on behalf of user */
|
|
17
|
+
| 'DELEGATED_AGENT'
|
|
18
|
+
/** External API integration (Zapier, etc.) */
|
|
19
|
+
| 'INTEGRATION'
|
|
20
|
+
/** Human user */
|
|
21
|
+
| 'USER';
|
|
22
|
+
/** Input for creating a new workspace */
|
|
23
|
+
export type CreateWorkspaceInput = {
|
|
24
|
+
endpoint?: string | null | undefined;
|
|
25
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
26
|
+
name: string;
|
|
27
|
+
organizationId?: string | null | undefined;
|
|
28
|
+
region?: string | null | undefined;
|
|
29
|
+
slug: string;
|
|
30
|
+
tenantId: string;
|
|
31
|
+
type?: WorkspaceType | null | undefined;
|
|
32
|
+
};
|
|
33
|
+
/** Dashboard widget configuration for customization. */
|
|
34
|
+
export type DashboardWidgetInput = {
|
|
35
|
+
/** Whether the widget is visible on the dashboard */
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
/** Display order (0-based) */
|
|
38
|
+
order: number;
|
|
39
|
+
/** Widget size: 'small', 'medium', or 'large' */
|
|
40
|
+
size?: string | null | undefined;
|
|
41
|
+
/** Widget identifier (e.g. 'workspaces', 'projects', 'activity') */
|
|
42
|
+
widgetId: string;
|
|
43
|
+
};
|
|
44
|
+
/** Input for checking a single permission */
|
|
45
|
+
export type PermissionCheckInput = {
|
|
46
|
+
/** Action being performed */
|
|
47
|
+
action: string;
|
|
48
|
+
/** Opaque actor ID from auth-svc */
|
|
49
|
+
actorId: string;
|
|
50
|
+
/** Type of actor */
|
|
51
|
+
actorType: ActorType;
|
|
52
|
+
/** Optional: Additional attributes for OPA policies */
|
|
53
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
54
|
+
/** Optional: Specific resource ID */
|
|
55
|
+
resourceId?: string | null | undefined;
|
|
56
|
+
/** Resource type being accessed */
|
|
57
|
+
resourceType: string;
|
|
58
|
+
/** Scope ID - tenantId for global layer */
|
|
59
|
+
scopeId: string;
|
|
60
|
+
};
|
|
61
|
+
/** Tenant status for lifecycle management */
|
|
62
|
+
export type TenantStatus = 'ACTIVE' | 'DELETED' | 'PROVISIONING' | 'SUSPENDED';
|
|
63
|
+
/** Multi-tenancy tenant type - determines isolation model */
|
|
64
|
+
export type TenantType = 'DEDICATED' | 'SHARED';
|
|
65
|
+
/** Input for updating dashboard layout preferences. */
|
|
66
|
+
export type UpdateDashboardPreferencesInput = {
|
|
67
|
+
/** Complete list of widget configurations */
|
|
68
|
+
widgets: Array<DashboardWidgetInput>;
|
|
69
|
+
};
|
|
70
|
+
/** Input for updating an existing workspace */
|
|
71
|
+
export type UpdateWorkspaceInput = {
|
|
72
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
73
|
+
name?: string | null | undefined;
|
|
74
|
+
};
|
|
75
|
+
/** Workspace status for lifecycle management */
|
|
76
|
+
export type WorkspaceStatus = 'ACTIVE' | 'ARCHIVED' | 'DELETED' | 'SUSPENDED';
|
|
77
|
+
/** Workspace type determines the workspace tier and capabilities */
|
|
78
|
+
export type WorkspaceType = 'ENTERPRISE' | 'PERSONAL' | 'TEAM';
|
|
79
|
+
export type DashboardGlobalDataQueryVariables = Exact<{
|
|
80
|
+
[key: string]: never;
|
|
81
|
+
}>;
|
|
82
|
+
export type DashboardGlobalDataQuery = {
|
|
83
|
+
myDashboardPreferences: Record<string, unknown> | null;
|
|
84
|
+
currentUser: {
|
|
85
|
+
id: string;
|
|
86
|
+
email: string;
|
|
87
|
+
firstName: string | null;
|
|
88
|
+
lastName: string | null;
|
|
89
|
+
name: string | null;
|
|
90
|
+
role: string;
|
|
91
|
+
createdAt: string;
|
|
92
|
+
} | null;
|
|
93
|
+
myWorkspaces: {
|
|
94
|
+
total: number;
|
|
95
|
+
items: Array<{
|
|
96
|
+
id: string;
|
|
97
|
+
name: string;
|
|
98
|
+
status: WorkspaceStatus;
|
|
99
|
+
type: WorkspaceType;
|
|
100
|
+
createdAt: string;
|
|
101
|
+
memberCount: number;
|
|
102
|
+
}>;
|
|
103
|
+
};
|
|
104
|
+
myOrganizations: {
|
|
105
|
+
total: number;
|
|
106
|
+
items: Array<{
|
|
107
|
+
id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
status: string;
|
|
110
|
+
type: string;
|
|
111
|
+
createdAt: string;
|
|
112
|
+
}>;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export type UpdateDashboardPreferencesMutationVariables = Exact<{
|
|
116
|
+
input: UpdateDashboardPreferencesInput;
|
|
117
|
+
}>;
|
|
118
|
+
export type UpdateDashboardPreferencesMutation = {
|
|
119
|
+
updateMyDashboardPreferences: Record<string, unknown>;
|
|
120
|
+
};
|
|
121
|
+
export type CheckRbacPermissionsQueryVariables = Exact<{
|
|
122
|
+
inputs: Array<PermissionCheckInput> | PermissionCheckInput;
|
|
123
|
+
}>;
|
|
124
|
+
export type CheckRbacPermissionsQuery = {
|
|
125
|
+
checkPermissions: Array<{
|
|
126
|
+
allowed: boolean;
|
|
127
|
+
}>;
|
|
128
|
+
};
|
|
129
|
+
export type GetGlobalMyWorkspacesQueryVariables = Exact<{
|
|
130
|
+
limit?: number | null | undefined;
|
|
131
|
+
offset?: number | null | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
export type GetGlobalMyWorkspacesQuery = {
|
|
134
|
+
myWorkspaces: {
|
|
135
|
+
total: number;
|
|
136
|
+
hasMore: boolean;
|
|
137
|
+
items: Array<{
|
|
138
|
+
id: string;
|
|
139
|
+
name: string;
|
|
140
|
+
type: WorkspaceType;
|
|
141
|
+
status: WorkspaceStatus;
|
|
142
|
+
organizationId: string | null;
|
|
143
|
+
tenantId: string;
|
|
144
|
+
createdAt: string;
|
|
145
|
+
updatedAt: string;
|
|
146
|
+
memberCount: number;
|
|
147
|
+
}>;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export type GetMyTenantsQueryVariables = Exact<{
|
|
151
|
+
limit?: number | null | undefined;
|
|
152
|
+
offset?: number | null | undefined;
|
|
153
|
+
}>;
|
|
154
|
+
export type GetMyTenantsQuery = {
|
|
155
|
+
myTenants: {
|
|
156
|
+
total: number;
|
|
157
|
+
hasMore: boolean;
|
|
158
|
+
items: Array<{
|
|
159
|
+
id: string;
|
|
160
|
+
name: string;
|
|
161
|
+
slug: string;
|
|
162
|
+
status: TenantStatus;
|
|
163
|
+
type: TenantType;
|
|
164
|
+
}>;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export type GetMyOrganizationsQueryVariables = Exact<{
|
|
168
|
+
limit?: number | null | undefined;
|
|
169
|
+
offset?: number | null | undefined;
|
|
170
|
+
}>;
|
|
171
|
+
export type GetMyOrganizationsQuery = {
|
|
172
|
+
myOrganizations: {
|
|
173
|
+
total: number;
|
|
174
|
+
hasMore: boolean;
|
|
175
|
+
items: Array<{
|
|
176
|
+
id: string;
|
|
177
|
+
name: string;
|
|
178
|
+
slug: string;
|
|
179
|
+
tenantId: string;
|
|
180
|
+
}>;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
export type CreateGlobalWorkspaceMutationVariables = Exact<{
|
|
184
|
+
input: CreateWorkspaceInput;
|
|
185
|
+
}>;
|
|
186
|
+
export type CreateGlobalWorkspaceMutation = {
|
|
187
|
+
createWorkspace: {
|
|
188
|
+
id: string;
|
|
189
|
+
name: string;
|
|
190
|
+
slug: string;
|
|
191
|
+
type: WorkspaceType;
|
|
192
|
+
status: WorkspaceStatus;
|
|
193
|
+
tenantId: string;
|
|
194
|
+
organizationId: string | null;
|
|
195
|
+
createdAt: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
export type UpdateGlobalWorkspaceMutationVariables = Exact<{
|
|
199
|
+
id: string;
|
|
200
|
+
input: UpdateWorkspaceInput;
|
|
201
|
+
}>;
|
|
202
|
+
export type UpdateGlobalWorkspaceMutation = {
|
|
203
|
+
updateWorkspace: {
|
|
204
|
+
id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
slug: string;
|
|
207
|
+
type: WorkspaceType;
|
|
208
|
+
status: WorkspaceStatus;
|
|
209
|
+
tenantId: string;
|
|
210
|
+
organizationId: string | null;
|
|
211
|
+
createdAt: string;
|
|
212
|
+
updatedAt: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
export type ArchiveGlobalWorkspaceMutationVariables = Exact<{
|
|
216
|
+
id: string;
|
|
217
|
+
}>;
|
|
218
|
+
export type ArchiveGlobalWorkspaceMutation = {
|
|
219
|
+
archiveWorkspace: {
|
|
220
|
+
id: string;
|
|
221
|
+
name: string;
|
|
222
|
+
slug: string;
|
|
223
|
+
type: WorkspaceType;
|
|
224
|
+
status: WorkspaceStatus;
|
|
225
|
+
tenantId: string;
|
|
226
|
+
organizationId: string | null;
|
|
227
|
+
createdAt: string;
|
|
228
|
+
updatedAt: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
export type ActivateGlobalWorkspaceMutationVariables = Exact<{
|
|
232
|
+
id: string;
|
|
233
|
+
}>;
|
|
234
|
+
export type ActivateGlobalWorkspaceMutation = {
|
|
235
|
+
activateWorkspace: {
|
|
236
|
+
id: string;
|
|
237
|
+
name: string;
|
|
238
|
+
slug: string;
|
|
239
|
+
type: WorkspaceType;
|
|
240
|
+
status: WorkspaceStatus;
|
|
241
|
+
tenantId: string;
|
|
242
|
+
organizationId: string | null;
|
|
243
|
+
createdAt: string;
|
|
244
|
+
updatedAt: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
export declare const DashboardGlobalDataDocument: DocumentNode<DashboardGlobalDataQuery, DashboardGlobalDataQueryVariables>;
|
|
248
|
+
export declare const UpdateDashboardPreferencesDocument: DocumentNode<UpdateDashboardPreferencesMutation, UpdateDashboardPreferencesMutationVariables>;
|
|
249
|
+
export declare const CheckRbacPermissionsDocument: DocumentNode<CheckRbacPermissionsQuery, CheckRbacPermissionsQueryVariables>;
|
|
250
|
+
export declare const GetGlobalMyWorkspacesDocument: DocumentNode<GetGlobalMyWorkspacesQuery, GetGlobalMyWorkspacesQueryVariables>;
|
|
251
|
+
export declare const GetMyTenantsDocument: DocumentNode<GetMyTenantsQuery, GetMyTenantsQueryVariables>;
|
|
252
|
+
export declare const GetMyOrganizationsDocument: DocumentNode<GetMyOrganizationsQuery, GetMyOrganizationsQueryVariables>;
|
|
253
|
+
export declare const CreateGlobalWorkspaceDocument: DocumentNode<CreateGlobalWorkspaceMutation, CreateGlobalWorkspaceMutationVariables>;
|
|
254
|
+
export declare const UpdateGlobalWorkspaceDocument: DocumentNode<UpdateGlobalWorkspaceMutation, UpdateGlobalWorkspaceMutationVariables>;
|
|
255
|
+
export declare const ArchiveGlobalWorkspaceDocument: DocumentNode<ArchiveGlobalWorkspaceMutation, ArchiveGlobalWorkspaceMutationVariables>;
|
|
256
|
+
export declare const ActivateGlobalWorkspaceDocument: DocumentNode<ActivateGlobalWorkspaceMutation, ActivateGlobalWorkspaceMutationVariables>;
|
|
257
|
+
export {};
|