@teambit/workspace 1.0.811 → 1.0.812

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.
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.811/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.811/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.812/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.812/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -8,21 +8,20 @@ type UseWorkspaceOptions = {
8
8
  };
9
9
  export declare function useWorkspace(options?: UseWorkspaceOptions): {
10
10
  error?: import("@apollo/client").ApolloError | undefined;
11
- errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | undefined;
12
11
  loading: boolean;
13
- client: import("@apollo/client").ApolloClient<any>;
14
12
  variables: import("@apollo/client").OperationVariables | undefined;
15
- observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
16
- networkStatus: import("@apollo/client").NetworkStatus;
17
- called: boolean;
18
13
  startPolling: (pollInterval: number) => void;
19
14
  stopPolling: () => void;
20
- updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
15
+ updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
21
16
  reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
17
+ client: import("@apollo/client").ApolloClient<any>;
18
+ observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
19
+ networkStatus: import("@apollo/client").NetworkStatus;
20
+ called: boolean;
22
21
  previousData?: any;
23
22
  fetchMore: (options: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, any>) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
24
23
  refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
25
24
  workspace: Workspace | undefined;
26
- subscribeToMore: import("@apollo/client").SubscribeToMoreFunction<any, import("@apollo/client").OperationVariables>;
25
+ subscribeToMore: <TSubscriptionData = any, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<any, TSubscriptionVariables, TSubscriptionData>) => () => void;
27
26
  };
28
27
  export {};
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "1.0.811",
3
+ "version": "1.0.812",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/workspace",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "workspace",
9
- "version": "1.0.811"
9
+ "version": "1.0.812"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -39,14 +39,20 @@
39
39
  "@teambit/toolbox.fs.last-modified": "0.0.9",
40
40
  "@teambit/toolbox.path.path": "0.0.11",
41
41
  "@teambit/graph.cleargraph": "0.0.11",
42
+ "@teambit/logger": "0.0.1379",
43
+ "@teambit/cli": "0.0.1286",
42
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
43
45
  "@teambit/legacy.constants": "0.0.19",
44
46
  "@teambit/harmony.modules.resolved-component": "0.0.508",
45
47
  "@teambit/legacy.utils": "0.0.28",
48
+ "@teambit/config-store": "0.0.166",
49
+ "@teambit/config": "0.0.1460",
46
50
  "@teambit/harmony.modules.requireable-component": "0.0.508",
47
51
  "@teambit/toolbox.modules.module-resolver": "0.0.14",
48
52
  "@teambit/workspace.modules.node-modules-linker": "0.0.315",
53
+ "@teambit/global-config": "0.0.1289",
49
54
  "@teambit/legacy.consumer-config": "0.0.86",
55
+ "@teambit/variants": "0.0.1553",
50
56
  "@teambit/component-issues": "0.0.165",
51
57
  "@teambit/component.sources": "0.0.138",
52
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
@@ -57,11 +63,16 @@
57
63
  "@teambit/scope.remotes": "0.0.86",
58
64
  "@teambit/toolbox.path.is-path-inside": "0.0.503",
59
65
  "@teambit/workspace.modules.match-pattern": "0.0.515",
66
+ "@teambit/component.ui.component-drawer": "0.0.469",
60
67
  "@teambit/design.ui.tree": "0.0.16",
61
68
  "@teambit/lanes.hooks.use-lane-components": "0.0.296",
62
69
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
63
70
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
+ "@teambit/ui-foundation.ui.side-bar": "0.0.921",
64
72
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
73
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.240",
74
+ "@teambit/component.ui.component-filters.env-filter": "0.0.265",
75
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.233",
65
76
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
66
77
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
67
78
  "@teambit/ui-foundation.ui.menu": "0.0.503",
@@ -76,6 +87,7 @@
76
87
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
77
88
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
78
89
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
90
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.233",
79
91
  "@teambit/ui-foundation.ui.corner": "0.0.520",
80
92
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
81
93
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
@@ -83,42 +95,30 @@
83
95
  "@teambit/workspace.hooks.use-url-change-broadcaster": "0.0.1",
84
96
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
85
97
  "@teambit/cloud.hooks.use-cloud-scopes": "0.0.14",
98
+ "@teambit/design.ui.tooltip": "0.0.382",
86
99
  "@teambit/explorer.ui.component-card": "0.0.51",
87
100
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
88
101
  "@teambit/preview.ui.preview-placeholder": "0.0.558",
89
102
  "@teambit/scopes.scope-id": "0.0.9",
90
103
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
91
- "@teambit/component": "1.0.811",
92
- "@teambit/dependency-resolver": "1.0.811",
93
- "@teambit/envs": "1.0.811",
94
- "@teambit/logger": "0.0.1379",
95
- "@teambit/objects": "0.0.318",
96
- "@teambit/scope": "1.0.811",
97
- "@teambit/graph": "1.0.811",
98
- "@teambit/cli": "0.0.1286",
99
- "@teambit/isolator": "1.0.811",
100
- "@teambit/component-tree": "1.0.811",
101
- "@teambit/watcher": "1.0.811",
102
- "@teambit/aspect-loader": "1.0.811",
103
- "@teambit/config-store": "0.0.166",
104
- "@teambit/config": "0.0.1460",
105
- "@teambit/graphql": "1.0.811",
106
- "@teambit/bundler": "1.0.811",
107
- "@teambit/global-config": "0.0.1289",
108
- "@teambit/ui": "1.0.811",
109
- "@teambit/variants": "0.0.1553",
110
- "@teambit/component.ui.component-drawer": "0.0.469",
111
- "@teambit/ui-foundation.ui.side-bar": "0.0.921",
112
- "@teambit/command-bar": "1.0.811",
113
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.240",
114
- "@teambit/component.ui.component-filters.env-filter": "0.0.265",
115
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.233",
116
- "@teambit/sidebar": "1.0.811",
117
- "@teambit/pubsub": "1.0.811",
118
- "@teambit/deprecation": "1.0.811",
119
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.233",
120
- "@teambit/design.ui.tooltip": "0.0.382",
121
- "@teambit/workspace.ui.workspace-component-card": "0.0.564"
104
+ "@teambit/workspace.ui.workspace-component-card": "0.0.564",
105
+ "@teambit/component": "1.0.812",
106
+ "@teambit/dependency-resolver": "1.0.812",
107
+ "@teambit/envs": "1.0.812",
108
+ "@teambit/objects": "0.0.319",
109
+ "@teambit/scope": "1.0.812",
110
+ "@teambit/graph": "1.0.812",
111
+ "@teambit/isolator": "1.0.812",
112
+ "@teambit/component-tree": "1.0.812",
113
+ "@teambit/watcher": "1.0.812",
114
+ "@teambit/aspect-loader": "1.0.812",
115
+ "@teambit/graphql": "1.0.812",
116
+ "@teambit/bundler": "1.0.812",
117
+ "@teambit/ui": "1.0.812",
118
+ "@teambit/command-bar": "1.0.812",
119
+ "@teambit/sidebar": "1.0.812",
120
+ "@teambit/pubsub": "1.0.812",
121
+ "@teambit/deprecation": "1.0.812"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@types/lodash": "4.14.165",