@burdenoff/microfe-workspaces 2026.510.50
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/README.md +88 -0
- package/dist/WorkspacesRoot.d.ts +35 -0
- package/dist/WorkspacesRoot.d.ts.map +1 -0
- package/dist/WorkspacesRoot.js +71 -0
- package/dist/WorkspacesRoot.js.map +1 -0
- package/dist/WorkspacesRoutes.d.ts +10 -0
- package/dist/WorkspacesRoutes.d.ts.map +1 -0
- package/dist/WorkspacesRoutes.js +111 -0
- package/dist/WorkspacesRoutes.js.map +1 -0
- package/dist/components/CreateProjectDialog.d.ts +6 -0
- package/dist/components/CreateProjectDialog.d.ts.map +1 -0
- package/dist/components/CreateProjectDialog.js +115 -0
- package/dist/components/CreateProjectDialog.js.map +1 -0
- package/dist/components/CreateWorkspaceDialog.d.ts +2 -0
- package/dist/components/CreateWorkspaceDialog.d.ts.map +1 -0
- package/dist/components/CreateWorkspaceDialog.js +172 -0
- package/dist/components/CreateWorkspaceDialog.js.map +1 -0
- package/dist/components/InviteMemberDialog.d.ts +7 -0
- package/dist/components/InviteMemberDialog.d.ts.map +1 -0
- package/dist/components/InviteMemberDialog.js +148 -0
- package/dist/components/InviteMemberDialog.js.map +1 -0
- package/dist/components/MemberListItem.d.ts +11 -0
- package/dist/components/MemberListItem.d.ts.map +1 -0
- package/dist/components/MemberListItem.js +118 -0
- package/dist/components/MemberListItem.js.map +1 -0
- package/dist/components/ProjectCard.d.ts +13 -0
- package/dist/components/ProjectCard.d.ts.map +1 -0
- package/dist/components/ProjectCard.js +150 -0
- package/dist/components/ProjectCard.js.map +1 -0
- package/dist/components/WorkspaceCard.d.ts +8 -0
- package/dist/components/WorkspaceCard.d.ts.map +1 -0
- package/dist/components/WorkspaceCard.js +79 -0
- package/dist/components/WorkspaceCard.js.map +1 -0
- package/dist/components/WorkspacesErrorBoundary.d.ts +27 -0
- package/dist/components/WorkspacesErrorBoundary.d.ts.map +1 -0
- package/dist/components/WorkspacesErrorBoundary.js +136 -0
- package/dist/components/WorkspacesErrorBoundary.js.map +1 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +7 -0
- package/dist/constants/permissions.d.ts +33 -0
- package/dist/constants/permissions.d.ts.map +1 -0
- package/dist/constants/permissions.js +31 -0
- package/dist/constants/permissions.js.map +1 -0
- package/dist/generated/global-operations.d.ts +279 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +103 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +20714 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2209 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +576 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +54990 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +7 -0
- package/dist/hooks/useMemberMutations.d.ts +61 -0
- package/dist/hooks/useMemberMutations.d.ts.map +1 -0
- package/dist/hooks/useMemberMutations.js +263 -0
- package/dist/hooks/useMemberMutations.js.map +1 -0
- package/dist/hooks/useProjectMutations.d.ts +26 -0
- package/dist/hooks/useProjectMutations.d.ts.map +1 -0
- package/dist/hooks/useProjectMutations.js +127 -0
- package/dist/hooks/useProjectMutations.js.map +1 -0
- package/dist/hooks/useProjects.d.ts +16 -0
- package/dist/hooks/useProjects.d.ts.map +1 -0
- package/dist/hooks/useProjects.js +103 -0
- package/dist/hooks/useProjects.js.map +1 -0
- package/dist/hooks/useScopedNavigation.d.ts +4 -0
- package/dist/hooks/useScopedNavigation.d.ts.map +1 -0
- package/dist/hooks/useScopedNavigation.js +11 -0
- package/dist/hooks/useScopedNavigation.js.map +1 -0
- package/dist/hooks/useTenants.d.ts +13 -0
- package/dist/hooks/useTenants.d.ts.map +1 -0
- package/dist/hooks/useTenants.js +47 -0
- package/dist/hooks/useTenants.js.map +1 -0
- package/dist/hooks/useWorkspaceActivity.d.ts +12 -0
- package/dist/hooks/useWorkspaceActivity.d.ts.map +1 -0
- package/dist/hooks/useWorkspaceActivity.js +31 -0
- package/dist/hooks/useWorkspaceActivity.js.map +1 -0
- package/dist/hooks/useWorkspaceMembers.d.ts +24 -0
- package/dist/hooks/useWorkspaceMembers.d.ts.map +1 -0
- package/dist/hooks/useWorkspaceMembers.js +130 -0
- package/dist/hooks/useWorkspaceMembers.js.map +1 -0
- package/dist/hooks/useWorkspaceMutations.d.ts +36 -0
- package/dist/hooks/useWorkspaceMutations.d.ts.map +1 -0
- package/dist/hooks/useWorkspaceMutations.js +119 -0
- package/dist/hooks/useWorkspaceMutations.js.map +1 -0
- package/dist/hooks/useWorkspacePermissions.d.ts +29 -0
- package/dist/hooks/useWorkspacePermissions.d.ts.map +1 -0
- package/dist/hooks/useWorkspacePermissions.js +33 -0
- package/dist/hooks/useWorkspacePermissions.js.map +1 -0
- package/dist/hooks/useWorkspaceRoles.d.ts +8 -0
- package/dist/hooks/useWorkspaceRoles.d.ts.map +1 -0
- package/dist/hooks/useWorkspaceRoles.js +31 -0
- package/dist/hooks/useWorkspaceRoles.js.map +1 -0
- package/dist/hooks/useWorkspaces.d.ts +21 -0
- package/dist/hooks/useWorkspaces.d.ts.map +1 -0
- package/dist/hooks/useWorkspaces.js +75 -0
- package/dist/hooks/useWorkspaces.js.map +1 -0
- package/dist/hooks/useWorkspacesEventEmitter.d.ts +14 -0
- package/dist/hooks/useWorkspacesEventEmitter.d.ts.map +1 -0
- package/dist/hooks/useWorkspacesEventEmitter.js +14 -0
- package/dist/hooks/useWorkspacesEventEmitter.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/pages/ActivityListPage.d.ts +2 -0
- package/dist/pages/ActivityListPage.d.ts.map +1 -0
- package/dist/pages/ActivityListPage.js +119 -0
- package/dist/pages/ActivityListPage.js.map +1 -0
- package/dist/pages/CreateWorkspacePage.d.ts +2 -0
- package/dist/pages/CreateWorkspacePage.d.ts.map +1 -0
- package/dist/pages/CreateWorkspacePage.js +264 -0
- package/dist/pages/CreateWorkspacePage.js.map +1 -0
- package/dist/pages/InviteAcceptancePage.d.ts +6 -0
- package/dist/pages/InviteAcceptancePage.d.ts.map +1 -0
- package/dist/pages/InviteAcceptancePage.js +495 -0
- package/dist/pages/InviteAcceptancePage.js.map +1 -0
- package/dist/pages/MembersListPage.d.ts +2 -0
- package/dist/pages/MembersListPage.d.ts.map +1 -0
- package/dist/pages/MembersListPage.js +420 -0
- package/dist/pages/MembersListPage.js.map +1 -0
- package/dist/pages/ProjectDetailPage.d.ts +2 -0
- package/dist/pages/ProjectDetailPage.d.ts.map +1 -0
- package/dist/pages/ProjectDetailPage.js +361 -0
- package/dist/pages/ProjectDetailPage.js.map +1 -0
- package/dist/pages/ProjectsListPage.d.ts +2 -0
- package/dist/pages/ProjectsListPage.d.ts.map +1 -0
- package/dist/pages/ProjectsListPage.js +398 -0
- package/dist/pages/ProjectsListPage.js.map +1 -0
- package/dist/pages/WorkspaceDetailPage.d.ts +2 -0
- package/dist/pages/WorkspaceDetailPage.d.ts.map +1 -0
- package/dist/pages/WorkspaceDetailPage.js +230 -0
- package/dist/pages/WorkspaceDetailPage.js.map +1 -0
- package/dist/pages/WorkspaceSettingsPage.d.ts +2 -0
- package/dist/pages/WorkspaceSettingsPage.d.ts.map +1 -0
- package/dist/pages/WorkspaceSettingsPage.js +157 -0
- package/dist/pages/WorkspaceSettingsPage.js.map +1 -0
- package/dist/pages/WorkspacesListPage.d.ts +2 -0
- package/dist/pages/WorkspacesListPage.d.ts.map +1 -0
- package/dist/pages/WorkspacesListPage.js +186 -0
- package/dist/pages/WorkspacesListPage.js.map +1 -0
- package/dist/pages/dashboard/DashboardCustomizer.d.ts +12 -0
- package/dist/pages/dashboard/DashboardCustomizer.d.ts.map +1 -0
- package/dist/pages/dashboard/DashboardCustomizer.js +136 -0
- package/dist/pages/dashboard/DashboardCustomizer.js.map +1 -0
- package/dist/pages/dashboard/DashboardGrid.d.ts +8 -0
- package/dist/pages/dashboard/DashboardGrid.d.ts.map +1 -0
- package/dist/pages/dashboard/DashboardGrid.js +58 -0
- package/dist/pages/dashboard/DashboardGrid.js.map +1 -0
- package/dist/pages/dashboard/DashboardPage.d.ts +14 -0
- package/dist/pages/dashboard/DashboardPage.d.ts.map +1 -0
- package/dist/pages/dashboard/DashboardPage.js +136 -0
- package/dist/pages/dashboard/DashboardPage.js.map +1 -0
- package/dist/pages/dashboard/WidgetWrapper.d.ts +17 -0
- package/dist/pages/dashboard/WidgetWrapper.d.ts.map +1 -0
- package/dist/pages/dashboard/WidgetWrapper.js +72 -0
- package/dist/pages/dashboard/WidgetWrapper.js.map +1 -0
- package/dist/pages/dashboard/config.d.ts +9 -0
- package/dist/pages/dashboard/config.d.ts.map +1 -0
- package/dist/pages/dashboard/config.js +214 -0
- package/dist/pages/dashboard/config.js.map +1 -0
- package/dist/pages/dashboard/hooks/useDashboardData.d.ts +9 -0
- package/dist/pages/dashboard/hooks/useDashboardData.d.ts.map +1 -0
- package/dist/pages/dashboard/hooks/useDashboardData.js +118 -0
- package/dist/pages/dashboard/hooks/useDashboardData.js.map +1 -0
- package/dist/pages/dashboard/hooks/useDashboardPreferences.d.ts +4 -0
- package/dist/pages/dashboard/hooks/useDashboardPreferences.d.ts.map +1 -0
- package/dist/pages/dashboard/hooks/useDashboardPreferences.js +32 -0
- package/dist/pages/dashboard/hooks/useDashboardPreferences.js.map +1 -0
- package/dist/pages/dashboard/types.d.ts +145 -0
- package/dist/pages/dashboard/types.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/GroupsWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/GroupsWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/GroupsWidget.js +59 -0
- package/dist/pages/dashboard/widgets/GroupsWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/MembersWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/MembersWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/MembersWidget.js +65 -0
- package/dist/pages/dashboard/widgets/MembersWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/ProjectsWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/ProjectsWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/ProjectsWidget.js +91 -0
- package/dist/pages/dashboard/widgets/ProjectsWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/QuickActionsWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/QuickActionsWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/QuickActionsWidget.js +80 -0
- package/dist/pages/dashboard/widgets/QuickActionsWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/RecentActivityWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/RecentActivityWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/RecentActivityWidget.js +81 -0
- package/dist/pages/dashboard/widgets/RecentActivityWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/StorageWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/StorageWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/StorageWidget.js +69 -0
- package/dist/pages/dashboard/widgets/StorageWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/SystemHealthWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/SystemHealthWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/SystemHealthWidget.js +59 -0
- package/dist/pages/dashboard/widgets/SystemHealthWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/TagCloudWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/TagCloudWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/TagCloudWidget.js +61 -0
- package/dist/pages/dashboard/widgets/TagCloudWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/TipsWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/TipsWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/TipsWidget.js +67 -0
- package/dist/pages/dashboard/widgets/TipsWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js +83 -0
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/WelcomeWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/WelcomeWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/WelcomeWidget.js +71 -0
- package/dist/pages/dashboard/widgets/WelcomeWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js +97 -0
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js.map +1 -0
- package/dist/pages/dashboard/widgets/WorkspacesWidget.d.ts +4 -0
- package/dist/pages/dashboard/widgets/WorkspacesWidget.d.ts.map +1 -0
- package/dist/pages/dashboard/widgets/WorkspacesWidget.js +67 -0
- package/dist/pages/dashboard/widgets/WorkspacesWidget.js.map +1 -0
- package/dist/providers/WorkspacesProvider.d.ts +13 -0
- package/dist/providers/WorkspacesProvider.d.ts.map +1 -0
- package/dist/providers/WorkspacesProvider.js +24 -0
- package/dist/providers/WorkspacesProvider.js.map +1 -0
- package/dist/store/workspacesStore.d.ts +82 -0
- package/dist/store/workspacesStore.d.ts.map +1 -0
- package/dist/store/workspacesStore.js +92 -0
- package/dist/store/workspacesStore.js.map +1 -0
- package/dist/types/index.d.ts +280 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/formatters.d.ts +60 -0
- package/dist/utils/formatters.d.ts.map +1 -0
- package/dist/utils/formatters.js +61 -0
- package/dist/utils/formatters.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/dist/utils/projectTags.d.ts +6 -0
- package/dist/utils/projectTags.d.ts.map +1 -0
- package/dist/utils/projectTags.js +49 -0
- package/dist/utils/projectTags.js.map +1 -0
- package/dist/utils/slug.d.ts +13 -0
- package/dist/utils/slug.d.ts.map +1 -0
- package/dist/utils/slug.js +8 -0
- package/dist/utils/slug.js.map +1 -0
- package/dist/utils/tokenHelpers.d.ts +114 -0
- package/dist/utils/tokenHelpers.d.ts.map +1 -0
- package/dist/utils/tokenHelpers.js +80 -0
- package/dist/utils/tokenHelpers.js.map +1 -0
- package/package.json +113 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import * as Types from './global-types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
import * as ApolloReactHooks from '@apollo/client/react';
|
|
4
|
+
export type DashboardGlobalDataQueryVariables = Types.Exact<{
|
|
5
|
+
[key: string]: never;
|
|
6
|
+
}>;
|
|
7
|
+
export type DashboardGlobalDataQuery = {
|
|
8
|
+
__typename?: 'Query';
|
|
9
|
+
myDashboardPreferences?: Record<string, unknown> | null;
|
|
10
|
+
currentUser?: {
|
|
11
|
+
__typename?: 'User';
|
|
12
|
+
id: string;
|
|
13
|
+
email: string;
|
|
14
|
+
firstName?: string | null;
|
|
15
|
+
lastName?: string | null;
|
|
16
|
+
name?: string | null;
|
|
17
|
+
role: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
} | null;
|
|
20
|
+
myWorkspaces: {
|
|
21
|
+
__typename?: 'WorkspaceList';
|
|
22
|
+
total: number;
|
|
23
|
+
items: Array<{
|
|
24
|
+
__typename?: 'Workspace';
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
status: Types.WorkspaceStatus;
|
|
28
|
+
type: Types.WorkspaceType;
|
|
29
|
+
createdAt: string;
|
|
30
|
+
memberCount: number;
|
|
31
|
+
}>;
|
|
32
|
+
};
|
|
33
|
+
myOrganizations: {
|
|
34
|
+
__typename?: 'OrganizationList';
|
|
35
|
+
total: number;
|
|
36
|
+
items: Array<{
|
|
37
|
+
__typename?: 'Organization';
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
status: string;
|
|
41
|
+
type: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type UpdateDashboardPreferencesMutationVariables = Types.Exact<{
|
|
47
|
+
input: Types.UpdateDashboardPreferencesInput;
|
|
48
|
+
}>;
|
|
49
|
+
export type UpdateDashboardPreferencesMutation = {
|
|
50
|
+
__typename?: 'Mutation';
|
|
51
|
+
updateMyDashboardPreferences: Record<string, unknown>;
|
|
52
|
+
};
|
|
53
|
+
export type GetGlobalMyWorkspacesQueryVariables = Types.Exact<{
|
|
54
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
55
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
56
|
+
}>;
|
|
57
|
+
export type GetGlobalMyWorkspacesQuery = {
|
|
58
|
+
__typename?: 'Query';
|
|
59
|
+
myWorkspaces: {
|
|
60
|
+
__typename?: 'WorkspaceList';
|
|
61
|
+
total: number;
|
|
62
|
+
hasMore: boolean;
|
|
63
|
+
items: Array<{
|
|
64
|
+
__typename?: 'Workspace';
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
type: Types.WorkspaceType;
|
|
68
|
+
status: Types.WorkspaceStatus;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
updatedAt: string;
|
|
71
|
+
memberCount: number;
|
|
72
|
+
}>;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export type GetMyTenantsQueryVariables = Types.Exact<{
|
|
76
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
77
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
78
|
+
}>;
|
|
79
|
+
export type GetMyTenantsQuery = {
|
|
80
|
+
__typename?: 'Query';
|
|
81
|
+
myTenants: {
|
|
82
|
+
__typename?: 'TenantList';
|
|
83
|
+
total: number;
|
|
84
|
+
hasMore: boolean;
|
|
85
|
+
items: Array<{
|
|
86
|
+
__typename?: 'Tenant';
|
|
87
|
+
id: string;
|
|
88
|
+
name: string;
|
|
89
|
+
slug: string;
|
|
90
|
+
status: Types.TenantStatus;
|
|
91
|
+
type: Types.TenantType;
|
|
92
|
+
}>;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export type GetMyOrganizationsQueryVariables = Types.Exact<{
|
|
96
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
97
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
98
|
+
}>;
|
|
99
|
+
export type GetMyOrganizationsQuery = {
|
|
100
|
+
__typename?: 'Query';
|
|
101
|
+
myOrganizations: {
|
|
102
|
+
__typename?: 'OrganizationList';
|
|
103
|
+
total: number;
|
|
104
|
+
hasMore: boolean;
|
|
105
|
+
items: Array<{
|
|
106
|
+
__typename?: 'Organization';
|
|
107
|
+
id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
slug: string;
|
|
110
|
+
tenantId: string;
|
|
111
|
+
}>;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export type CreateGlobalWorkspaceMutationVariables = Types.Exact<{
|
|
115
|
+
input: Types.CreateWorkspaceInput;
|
|
116
|
+
}>;
|
|
117
|
+
export type CreateGlobalWorkspaceMutation = {
|
|
118
|
+
__typename?: 'Mutation';
|
|
119
|
+
createWorkspace: {
|
|
120
|
+
__typename?: 'Workspace';
|
|
121
|
+
id: string;
|
|
122
|
+
name: string;
|
|
123
|
+
slug: string;
|
|
124
|
+
type: Types.WorkspaceType;
|
|
125
|
+
status: Types.WorkspaceStatus;
|
|
126
|
+
tenantId: string;
|
|
127
|
+
organizationId?: string | null;
|
|
128
|
+
createdAt: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export declare const DashboardGlobalDataDocument: Apollo.DocumentNode;
|
|
132
|
+
/**
|
|
133
|
+
* __useDashboardGlobalDataQuery__
|
|
134
|
+
*
|
|
135
|
+
* To run a query within a React component, call `useDashboardGlobalDataQuery` and pass it any options that fit your needs.
|
|
136
|
+
* When your component renders, `useDashboardGlobalDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
137
|
+
* you can use to render your UI.
|
|
138
|
+
*
|
|
139
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* const { data, loading, error } = useDashboardGlobalDataQuery({
|
|
143
|
+
* variables: {
|
|
144
|
+
* },
|
|
145
|
+
* });
|
|
146
|
+
*/
|
|
147
|
+
export declare function useDashboardGlobalDataQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>): ApolloReactHooks.useQuery.Result<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables, "empty" | "complete" | "streaming", Types.DashboardGlobalDataQueryVariables>;
|
|
148
|
+
export declare function useDashboardGlobalDataLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables, "empty" | "complete" | "streaming">;
|
|
149
|
+
export declare function useDashboardGlobalDataSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>;
|
|
150
|
+
export declare function useDashboardGlobalDataSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DashboardGlobalDataQuery | undefined, Types.DashboardGlobalDataQueryVariables>;
|
|
151
|
+
export type DashboardGlobalDataQueryHookResult = ReturnType<typeof useDashboardGlobalDataQuery>;
|
|
152
|
+
export type DashboardGlobalDataLazyQueryHookResult = ReturnType<typeof useDashboardGlobalDataLazyQuery>;
|
|
153
|
+
export type DashboardGlobalDataSuspenseQueryHookResult = ReturnType<typeof useDashboardGlobalDataSuspenseQuery>;
|
|
154
|
+
export type DashboardGlobalDataQueryResult = Apollo.QueryResult<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>;
|
|
155
|
+
export declare const UpdateDashboardPreferencesDocument: Apollo.DocumentNode;
|
|
156
|
+
export type UpdateDashboardPreferencesMutationFn = Apollo.MutationFunction<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>;
|
|
157
|
+
/**
|
|
158
|
+
* __useUpdateDashboardPreferencesMutation__
|
|
159
|
+
*
|
|
160
|
+
* To run a mutation, you first call `useUpdateDashboardPreferencesMutation` within a React component and pass it any options that fit your needs.
|
|
161
|
+
* When your component renders, `useUpdateDashboardPreferencesMutation` returns a tuple that includes:
|
|
162
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
163
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
164
|
+
*
|
|
165
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* const [updateDashboardPreferencesMutation, { data, loading, error }] = useUpdateDashboardPreferencesMutation({
|
|
169
|
+
* variables: {
|
|
170
|
+
* input: // value for 'input'
|
|
171
|
+
* },
|
|
172
|
+
* });
|
|
173
|
+
*/
|
|
174
|
+
export declare function useUpdateDashboardPreferencesMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpdateDashboardPreferencesMutation, any, Apollo.ApolloCache>;
|
|
175
|
+
export type UpdateDashboardPreferencesMutationHookResult = ReturnType<typeof useUpdateDashboardPreferencesMutation>;
|
|
176
|
+
export type UpdateDashboardPreferencesMutationResult = Apollo.MutationResult<Types.UpdateDashboardPreferencesMutation>;
|
|
177
|
+
export type UpdateDashboardPreferencesMutationOptions = Apollo.BaseMutationOptions<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>;
|
|
178
|
+
export declare const GetGlobalMyWorkspacesDocument: Apollo.DocumentNode;
|
|
179
|
+
/**
|
|
180
|
+
* __useGetGlobalMyWorkspacesQuery__
|
|
181
|
+
*
|
|
182
|
+
* To run a query within a React component, call `useGetGlobalMyWorkspacesQuery` and pass it any options that fit your needs.
|
|
183
|
+
* When your component renders, `useGetGlobalMyWorkspacesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
184
|
+
* you can use to render your UI.
|
|
185
|
+
*
|
|
186
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* const { data, loading, error } = useGetGlobalMyWorkspacesQuery({
|
|
190
|
+
* variables: {
|
|
191
|
+
* limit: // value for 'limit'
|
|
192
|
+
* offset: // value for 'offset'
|
|
193
|
+
* },
|
|
194
|
+
* });
|
|
195
|
+
*/
|
|
196
|
+
export declare function useGetGlobalMyWorkspacesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables, "empty" | "complete" | "streaming", Types.GetGlobalMyWorkspacesQueryVariables>;
|
|
197
|
+
export declare function useGetGlobalMyWorkspacesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables, "empty" | "complete" | "streaming">;
|
|
198
|
+
export declare function useGetGlobalMyWorkspacesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>;
|
|
199
|
+
export declare function useGetGlobalMyWorkspacesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetGlobalMyWorkspacesQuery | undefined, Types.GetGlobalMyWorkspacesQueryVariables>;
|
|
200
|
+
export type GetGlobalMyWorkspacesQueryHookResult = ReturnType<typeof useGetGlobalMyWorkspacesQuery>;
|
|
201
|
+
export type GetGlobalMyWorkspacesLazyQueryHookResult = ReturnType<typeof useGetGlobalMyWorkspacesLazyQuery>;
|
|
202
|
+
export type GetGlobalMyWorkspacesSuspenseQueryHookResult = ReturnType<typeof useGetGlobalMyWorkspacesSuspenseQuery>;
|
|
203
|
+
export type GetGlobalMyWorkspacesQueryResult = Apollo.QueryResult<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>;
|
|
204
|
+
export declare const GetMyTenantsDocument: Apollo.DocumentNode;
|
|
205
|
+
/**
|
|
206
|
+
* __useGetMyTenantsQuery__
|
|
207
|
+
*
|
|
208
|
+
* To run a query within a React component, call `useGetMyTenantsQuery` and pass it any options that fit your needs.
|
|
209
|
+
* When your component renders, `useGetMyTenantsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
210
|
+
* you can use to render your UI.
|
|
211
|
+
*
|
|
212
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* const { data, loading, error } = useGetMyTenantsQuery({
|
|
216
|
+
* variables: {
|
|
217
|
+
* limit: // value for 'limit'
|
|
218
|
+
* offset: // value for 'offset'
|
|
219
|
+
* },
|
|
220
|
+
* });
|
|
221
|
+
*/
|
|
222
|
+
export declare function useGetMyTenantsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables, "empty" | "complete" | "streaming", Types.GetMyTenantsQueryVariables>;
|
|
223
|
+
export declare function useGetMyTenantsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables, "empty" | "complete" | "streaming">;
|
|
224
|
+
export declare function useGetMyTenantsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>;
|
|
225
|
+
export declare function useGetMyTenantsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyTenantsQuery | undefined, Types.GetMyTenantsQueryVariables>;
|
|
226
|
+
export type GetMyTenantsQueryHookResult = ReturnType<typeof useGetMyTenantsQuery>;
|
|
227
|
+
export type GetMyTenantsLazyQueryHookResult = ReturnType<typeof useGetMyTenantsLazyQuery>;
|
|
228
|
+
export type GetMyTenantsSuspenseQueryHookResult = ReturnType<typeof useGetMyTenantsSuspenseQuery>;
|
|
229
|
+
export type GetMyTenantsQueryResult = Apollo.QueryResult<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>;
|
|
230
|
+
export declare const GetMyOrganizationsDocument: Apollo.DocumentNode;
|
|
231
|
+
/**
|
|
232
|
+
* __useGetMyOrganizationsQuery__
|
|
233
|
+
*
|
|
234
|
+
* To run a query within a React component, call `useGetMyOrganizationsQuery` and pass it any options that fit your needs.
|
|
235
|
+
* When your component renders, `useGetMyOrganizationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
236
|
+
* you can use to render your UI.
|
|
237
|
+
*
|
|
238
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* const { data, loading, error } = useGetMyOrganizationsQuery({
|
|
242
|
+
* variables: {
|
|
243
|
+
* limit: // value for 'limit'
|
|
244
|
+
* offset: // value for 'offset'
|
|
245
|
+
* },
|
|
246
|
+
* });
|
|
247
|
+
*/
|
|
248
|
+
export declare function useGetMyOrganizationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables, "empty" | "complete" | "streaming", Types.GetMyOrganizationsQueryVariables>;
|
|
249
|
+
export declare function useGetMyOrganizationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables, "empty" | "complete" | "streaming">;
|
|
250
|
+
export declare function useGetMyOrganizationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>;
|
|
251
|
+
export declare function useGetMyOrganizationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyOrganizationsQuery | undefined, Types.GetMyOrganizationsQueryVariables>;
|
|
252
|
+
export type GetMyOrganizationsQueryHookResult = ReturnType<typeof useGetMyOrganizationsQuery>;
|
|
253
|
+
export type GetMyOrganizationsLazyQueryHookResult = ReturnType<typeof useGetMyOrganizationsLazyQuery>;
|
|
254
|
+
export type GetMyOrganizationsSuspenseQueryHookResult = ReturnType<typeof useGetMyOrganizationsSuspenseQuery>;
|
|
255
|
+
export type GetMyOrganizationsQueryResult = Apollo.QueryResult<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>;
|
|
256
|
+
export declare const CreateGlobalWorkspaceDocument: Apollo.DocumentNode;
|
|
257
|
+
export type CreateGlobalWorkspaceMutationFn = Apollo.MutationFunction<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>;
|
|
258
|
+
/**
|
|
259
|
+
* __useCreateGlobalWorkspaceMutation__
|
|
260
|
+
*
|
|
261
|
+
* To run a mutation, you first call `useCreateGlobalWorkspaceMutation` within a React component and pass it any options that fit your needs.
|
|
262
|
+
* When your component renders, `useCreateGlobalWorkspaceMutation` returns a tuple that includes:
|
|
263
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
264
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
265
|
+
*
|
|
266
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
267
|
+
*
|
|
268
|
+
* @example
|
|
269
|
+
* const [createGlobalWorkspaceMutation, { data, loading, error }] = useCreateGlobalWorkspaceMutation({
|
|
270
|
+
* variables: {
|
|
271
|
+
* input: // value for 'input'
|
|
272
|
+
* },
|
|
273
|
+
* });
|
|
274
|
+
*/
|
|
275
|
+
export declare function useCreateGlobalWorkspaceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateGlobalWorkspaceMutation, any, Apollo.ApolloCache>;
|
|
276
|
+
export type CreateGlobalWorkspaceMutationHookResult = ReturnType<typeof useCreateGlobalWorkspaceMutation>;
|
|
277
|
+
export type CreateGlobalWorkspaceMutationResult = Apollo.MutationResult<Types.CreateGlobalWorkspaceMutation>;
|
|
278
|
+
export type CreateGlobalWorkspaceMutationOptions = Apollo.BaseMutationOptions<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>;
|
|
279
|
+
//# sourceMappingURL=global-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-operations.d.ts","sourceRoot":"","sources":["../../src/generated/global-operations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAGxC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,KA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;;;;;;;;GAgBG;AACH,wBAAgB,gCAAgC,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,KAAK,CAAC,6BAA6B,EAAE,KAAK,CAAC,sCAAsC,CAAC,0GAG/K;AACP,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1G,MAAM,MAAM,mCAAmC,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAC7G,MAAM,MAAM,oCAAoC,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,6BAA6B,EAAE,KAAK,CAAC,sCAAsC,CAAC,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client";
|
|
2
|
+
import "@apollo/client/react";
|
|
3
|
+
//#region src/generated/global-operations.ts
|
|
4
|
+
var t = e`
|
|
5
|
+
query DashboardGlobalData {
|
|
6
|
+
currentUser {
|
|
7
|
+
id
|
|
8
|
+
email
|
|
9
|
+
firstName
|
|
10
|
+
lastName
|
|
11
|
+
name
|
|
12
|
+
role
|
|
13
|
+
createdAt
|
|
14
|
+
}
|
|
15
|
+
myDashboardPreferences
|
|
16
|
+
myWorkspaces {
|
|
17
|
+
items {
|
|
18
|
+
id
|
|
19
|
+
name
|
|
20
|
+
status
|
|
21
|
+
type
|
|
22
|
+
createdAt
|
|
23
|
+
memberCount
|
|
24
|
+
}
|
|
25
|
+
total
|
|
26
|
+
}
|
|
27
|
+
myOrganizations {
|
|
28
|
+
items {
|
|
29
|
+
id
|
|
30
|
+
name
|
|
31
|
+
status
|
|
32
|
+
type
|
|
33
|
+
createdAt
|
|
34
|
+
}
|
|
35
|
+
total
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
`, n = e`
|
|
39
|
+
mutation UpdateDashboardPreferences($input: UpdateDashboardPreferencesInput!) {
|
|
40
|
+
updateMyDashboardPreferences(input: $input)
|
|
41
|
+
}
|
|
42
|
+
`, r = e`
|
|
43
|
+
query GetGlobalMyWorkspaces($limit: Int, $offset: Int) {
|
|
44
|
+
myWorkspaces(limit: $limit, offset: $offset) {
|
|
45
|
+
items {
|
|
46
|
+
id
|
|
47
|
+
name
|
|
48
|
+
type
|
|
49
|
+
status
|
|
50
|
+
createdAt
|
|
51
|
+
updatedAt
|
|
52
|
+
memberCount
|
|
53
|
+
}
|
|
54
|
+
total
|
|
55
|
+
hasMore
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
59
|
+
e`
|
|
60
|
+
query GetMyTenants($limit: Int, $offset: Int) {
|
|
61
|
+
myTenants(limit: $limit, offset: $offset) {
|
|
62
|
+
items {
|
|
63
|
+
id
|
|
64
|
+
name
|
|
65
|
+
slug
|
|
66
|
+
status
|
|
67
|
+
type
|
|
68
|
+
}
|
|
69
|
+
total
|
|
70
|
+
hasMore
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
`, e`
|
|
74
|
+
query GetMyOrganizations($limit: Int, $offset: Int) {
|
|
75
|
+
myOrganizations(limit: $limit, offset: $offset) {
|
|
76
|
+
items {
|
|
77
|
+
id
|
|
78
|
+
name
|
|
79
|
+
slug
|
|
80
|
+
tenantId
|
|
81
|
+
}
|
|
82
|
+
total
|
|
83
|
+
hasMore
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
`, e`
|
|
87
|
+
mutation CreateGlobalWorkspace($input: CreateWorkspaceInput!) {
|
|
88
|
+
createWorkspace(input: $input) {
|
|
89
|
+
id
|
|
90
|
+
name
|
|
91
|
+
slug
|
|
92
|
+
type
|
|
93
|
+
status
|
|
94
|
+
tenantId
|
|
95
|
+
organizationId
|
|
96
|
+
createdAt
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`;
|
|
100
|
+
//#endregion
|
|
101
|
+
export { t as DashboardGlobalDataDocument, r as GetGlobalMyWorkspacesDocument, n as UpdateDashboardPreferencesDocument };
|
|
102
|
+
|
|
103
|
+
//# sourceMappingURL=global-operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-operations.js","names":[],"sources":["../../src/generated/global-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './global-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type DashboardGlobalDataQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type DashboardGlobalDataQuery = { __typename?: 'Query', myDashboardPreferences?: Record<string, unknown> | null, currentUser?: { __typename?: 'User', id: string, email: string, firstName?: string | null, lastName?: string | null, name?: string | null, role: string, createdAt: string } | null, myWorkspaces: { __typename?: 'WorkspaceList', total: number, items: Array<{ __typename?: 'Workspace', id: string, name: string, status: Types.WorkspaceStatus, type: Types.WorkspaceType, createdAt: string, memberCount: number }> }, myOrganizations: { __typename?: 'OrganizationList', total: number, items: Array<{ __typename?: 'Organization', id: string, name: string, status: string, type: string, createdAt: string }> } };\n\nexport type UpdateDashboardPreferencesMutationVariables = Types.Exact<{\n input: Types.UpdateDashboardPreferencesInput;\n}>;\n\n\nexport type UpdateDashboardPreferencesMutation = { __typename?: 'Mutation', updateMyDashboardPreferences: Record<string, unknown> };\n\nexport type GetGlobalMyWorkspacesQueryVariables = Types.Exact<{\n limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n}>;\n\n\nexport type GetGlobalMyWorkspacesQuery = { __typename?: 'Query', myWorkspaces: { __typename?: 'WorkspaceList', total: number, hasMore: boolean, items: Array<{ __typename?: 'Workspace', id: string, name: string, type: Types.WorkspaceType, status: Types.WorkspaceStatus, createdAt: string, updatedAt: string, memberCount: number }> } };\n\nexport type GetMyTenantsQueryVariables = Types.Exact<{\n limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n}>;\n\n\nexport type GetMyTenantsQuery = { __typename?: 'Query', myTenants: { __typename?: 'TenantList', total: number, hasMore: boolean, items: Array<{ __typename?: 'Tenant', id: string, name: string, slug: string, status: Types.TenantStatus, type: Types.TenantType }> } };\n\nexport type GetMyOrganizationsQueryVariables = Types.Exact<{\n limit?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n offset?: Types.InputMaybe<Types.Scalars['Int']['input']>;\n}>;\n\n\nexport type GetMyOrganizationsQuery = { __typename?: 'Query', myOrganizations: { __typename?: 'OrganizationList', total: number, hasMore: boolean, items: Array<{ __typename?: 'Organization', id: string, name: string, slug: string, tenantId: string }> } };\n\nexport type CreateGlobalWorkspaceMutationVariables = Types.Exact<{\n input: Types.CreateWorkspaceInput;\n}>;\n\n\nexport type CreateGlobalWorkspaceMutation = { __typename?: 'Mutation', createWorkspace: { __typename?: 'Workspace', id: string, name: string, slug: string, type: Types.WorkspaceType, status: Types.WorkspaceStatus, tenantId: string, organizationId?: string | null, createdAt: string } };\n\n\nexport const DashboardGlobalDataDocument = gql`\n query DashboardGlobalData {\n currentUser {\n id\n email\n firstName\n lastName\n name\n role\n createdAt\n }\n myDashboardPreferences\n myWorkspaces {\n items {\n id\n name\n status\n type\n createdAt\n memberCount\n }\n total\n }\n myOrganizations {\n items {\n id\n name\n status\n type\n createdAt\n }\n total\n }\n}\n `;\n\n/**\n * __useDashboardGlobalDataQuery__\n *\n * To run a query within a React component, call `useDashboardGlobalDataQuery` and pass it any options that fit your needs.\n * When your component renders, `useDashboardGlobalDataQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useDashboardGlobalDataQuery({\n * variables: {\n * },\n * });\n */\nexport function useDashboardGlobalDataQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>(DashboardGlobalDataDocument, options);\n }\nexport function useDashboardGlobalDataLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>(DashboardGlobalDataDocument, options);\n }\n// @ts-ignore\nexport function useDashboardGlobalDataSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>;\nexport function useDashboardGlobalDataSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.DashboardGlobalDataQuery | undefined, Types.DashboardGlobalDataQueryVariables>;\nexport function useDashboardGlobalDataSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>(DashboardGlobalDataDocument, options);\n }\nexport type DashboardGlobalDataQueryHookResult = ReturnType<typeof useDashboardGlobalDataQuery>;\nexport type DashboardGlobalDataLazyQueryHookResult = ReturnType<typeof useDashboardGlobalDataLazyQuery>;\nexport type DashboardGlobalDataSuspenseQueryHookResult = ReturnType<typeof useDashboardGlobalDataSuspenseQuery>;\nexport type DashboardGlobalDataQueryResult = Apollo.QueryResult<Types.DashboardGlobalDataQuery, Types.DashboardGlobalDataQueryVariables>;\nexport const UpdateDashboardPreferencesDocument = gql`\n mutation UpdateDashboardPreferences($input: UpdateDashboardPreferencesInput!) {\n updateMyDashboardPreferences(input: $input)\n}\n `;\nexport type UpdateDashboardPreferencesMutationFn = Apollo.MutationFunction<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>;\n\n/**\n * __useUpdateDashboardPreferencesMutation__\n *\n * To run a mutation, you first call `useUpdateDashboardPreferencesMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUpdateDashboardPreferencesMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [updateDashboardPreferencesMutation, { data, loading, error }] = useUpdateDashboardPreferencesMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useUpdateDashboardPreferencesMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>(UpdateDashboardPreferencesDocument, options);\n }\nexport type UpdateDashboardPreferencesMutationHookResult = ReturnType<typeof useUpdateDashboardPreferencesMutation>;\nexport type UpdateDashboardPreferencesMutationResult = Apollo.MutationResult<Types.UpdateDashboardPreferencesMutation>;\nexport type UpdateDashboardPreferencesMutationOptions = Apollo.BaseMutationOptions<Types.UpdateDashboardPreferencesMutation, Types.UpdateDashboardPreferencesMutationVariables>;\nexport const GetGlobalMyWorkspacesDocument = gql`\n query GetGlobalMyWorkspaces($limit: Int, $offset: Int) {\n myWorkspaces(limit: $limit, offset: $offset) {\n items {\n id\n name\n type\n status\n createdAt\n updatedAt\n memberCount\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetGlobalMyWorkspacesQuery__\n *\n * To run a query within a React component, call `useGetGlobalMyWorkspacesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetGlobalMyWorkspacesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetGlobalMyWorkspacesQuery({\n * variables: {\n * limit: // value for 'limit'\n * offset: // value for 'offset'\n * },\n * });\n */\nexport function useGetGlobalMyWorkspacesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>(GetGlobalMyWorkspacesDocument, options);\n }\nexport function useGetGlobalMyWorkspacesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>(GetGlobalMyWorkspacesDocument, options);\n }\n// @ts-ignore\nexport function useGetGlobalMyWorkspacesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>;\nexport function useGetGlobalMyWorkspacesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetGlobalMyWorkspacesQuery | undefined, Types.GetGlobalMyWorkspacesQueryVariables>;\nexport function useGetGlobalMyWorkspacesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>(GetGlobalMyWorkspacesDocument, options);\n }\nexport type GetGlobalMyWorkspacesQueryHookResult = ReturnType<typeof useGetGlobalMyWorkspacesQuery>;\nexport type GetGlobalMyWorkspacesLazyQueryHookResult = ReturnType<typeof useGetGlobalMyWorkspacesLazyQuery>;\nexport type GetGlobalMyWorkspacesSuspenseQueryHookResult = ReturnType<typeof useGetGlobalMyWorkspacesSuspenseQuery>;\nexport type GetGlobalMyWorkspacesQueryResult = Apollo.QueryResult<Types.GetGlobalMyWorkspacesQuery, Types.GetGlobalMyWorkspacesQueryVariables>;\nexport const GetMyTenantsDocument = gql`\n query GetMyTenants($limit: Int, $offset: Int) {\n myTenants(limit: $limit, offset: $offset) {\n items {\n id\n name\n slug\n status\n type\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetMyTenantsQuery__\n *\n * To run a query within a React component, call `useGetMyTenantsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMyTenantsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMyTenantsQuery({\n * variables: {\n * limit: // value for 'limit'\n * offset: // value for 'offset'\n * },\n * });\n */\nexport function useGetMyTenantsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>(GetMyTenantsDocument, options);\n }\nexport function useGetMyTenantsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>(GetMyTenantsDocument, options);\n }\n// @ts-ignore\nexport function useGetMyTenantsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>;\nexport function useGetMyTenantsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyTenantsQuery | undefined, Types.GetMyTenantsQueryVariables>;\nexport function useGetMyTenantsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>(GetMyTenantsDocument, options);\n }\nexport type GetMyTenantsQueryHookResult = ReturnType<typeof useGetMyTenantsQuery>;\nexport type GetMyTenantsLazyQueryHookResult = ReturnType<typeof useGetMyTenantsLazyQuery>;\nexport type GetMyTenantsSuspenseQueryHookResult = ReturnType<typeof useGetMyTenantsSuspenseQuery>;\nexport type GetMyTenantsQueryResult = Apollo.QueryResult<Types.GetMyTenantsQuery, Types.GetMyTenantsQueryVariables>;\nexport const GetMyOrganizationsDocument = gql`\n query GetMyOrganizations($limit: Int, $offset: Int) {\n myOrganizations(limit: $limit, offset: $offset) {\n items {\n id\n name\n slug\n tenantId\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetMyOrganizationsQuery__\n *\n * To run a query within a React component, call `useGetMyOrganizationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMyOrganizationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMyOrganizationsQuery({\n * variables: {\n * limit: // value for 'limit'\n * offset: // value for 'offset'\n * },\n * });\n */\nexport function useGetMyOrganizationsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>(GetMyOrganizationsDocument, options);\n }\nexport function useGetMyOrganizationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>(GetMyOrganizationsDocument, options);\n }\n// @ts-ignore\nexport function useGetMyOrganizationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>;\nexport function useGetMyOrganizationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyOrganizationsQuery | undefined, Types.GetMyOrganizationsQueryVariables>;\nexport function useGetMyOrganizationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>(GetMyOrganizationsDocument, options);\n }\nexport type GetMyOrganizationsQueryHookResult = ReturnType<typeof useGetMyOrganizationsQuery>;\nexport type GetMyOrganizationsLazyQueryHookResult = ReturnType<typeof useGetMyOrganizationsLazyQuery>;\nexport type GetMyOrganizationsSuspenseQueryHookResult = ReturnType<typeof useGetMyOrganizationsSuspenseQuery>;\nexport type GetMyOrganizationsQueryResult = Apollo.QueryResult<Types.GetMyOrganizationsQuery, Types.GetMyOrganizationsQueryVariables>;\nexport const CreateGlobalWorkspaceDocument = gql`\n mutation CreateGlobalWorkspace($input: CreateWorkspaceInput!) {\n createWorkspace(input: $input) {\n id\n name\n slug\n type\n status\n tenantId\n organizationId\n createdAt\n }\n}\n `;\nexport type CreateGlobalWorkspaceMutationFn = Apollo.MutationFunction<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>;\n\n/**\n * __useCreateGlobalWorkspaceMutation__\n *\n * To run a mutation, you first call `useCreateGlobalWorkspaceMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateGlobalWorkspaceMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createGlobalWorkspaceMutation, { data, loading, error }] = useCreateGlobalWorkspaceMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateGlobalWorkspaceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>(CreateGlobalWorkspaceDocument, options);\n }\nexport type CreateGlobalWorkspaceMutationHookResult = ReturnType<typeof useCreateGlobalWorkspaceMutation>;\nexport type CreateGlobalWorkspaceMutationResult = Apollo.MutationResult<Types.CreateGlobalWorkspaceMutation>;\nexport type CreateGlobalWorkspaceMutationOptions = Apollo.BaseMutationOptions<Types.CreateGlobalWorkspaceMutation, Types.CreateGlobalWorkspaceMutationVariables>;"],"mappings":";;;AAmDA,IAAa,IAA8B,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsEjC,IAAqC,CAAG;;;;OA+BxC,IAAgC,CAAG;;;;;;;;;;;;;;;;;AAsDZ,CAAG;;;;;;;;;;;;;;OAoDG,CAAG;;;;;;;;;;;;;OAmDA,CAAG"}
|