@teambit/workspace 1.0.812 → 1.0.814

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.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';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.814/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.814/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -8,20 +8,21 @@ 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;
11
12
  loading: boolean;
12
- variables: import("@apollo/client").OperationVariables | undefined;
13
- startPolling: (pollInterval: number) => void;
14
- stopPolling: () => void;
15
- updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
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
13
  client: import("@apollo/client").ApolloClient<any>;
18
14
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
19
15
  networkStatus: import("@apollo/client").NetworkStatus;
20
16
  called: boolean;
17
+ startPolling: (pollInterval: number) => void;
18
+ stopPolling: () => void;
19
+ updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
20
+ reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
21
+ variables: import("@apollo/client").OperationVariables | undefined;
21
22
  previousData?: any;
22
23
  fetchMore: (options: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, any>) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
23
24
  refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
24
25
  workspace: Workspace | undefined;
25
- subscribeToMore: <TSubscriptionData = any, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<any, TSubscriptionVariables, TSubscriptionData>) => () => void;
26
+ subscribeToMore: import("@apollo/client").SubscribeToMoreFunction<any, import("@apollo/client").OperationVariables>;
26
27
  };
27
28
  export {};
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "1.0.812",
3
+ "version": "1.0.814",
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.812"
9
+ "version": "1.0.814"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,61 +28,26 @@
28
28
  "reset-css": "5.0.1",
29
29
  "@teambit/component-id": "1.2.4",
30
30
  "@teambit/harmony": "0.4.7",
31
- "@teambit/legacy.extension-data": "0.0.88",
32
- "@teambit/legacy.scope": "0.0.86",
33
31
  "@teambit/component-version": "1.0.4",
34
- "@teambit/legacy.consumer-component": "0.0.87",
35
- "@teambit/legacy.consumer": "0.0.86",
36
32
  "@teambit/bit-error": "0.0.404",
37
33
  "@teambit/lane-id": "0.0.312",
38
- "@teambit/legacy.bit-map": "0.0.143",
39
- "@teambit/toolbox.fs.last-modified": "0.0.9",
40
- "@teambit/toolbox.path.path": "0.0.11",
41
34
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1379",
43
- "@teambit/cli": "0.0.1286",
44
35
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
- "@teambit/legacy.constants": "0.0.19",
46
- "@teambit/harmony.modules.resolved-component": "0.0.508",
47
- "@teambit/legacy.utils": "0.0.28",
48
- "@teambit/config-store": "0.0.166",
49
- "@teambit/config": "0.0.1460",
50
- "@teambit/harmony.modules.requireable-component": "0.0.508",
51
- "@teambit/toolbox.modules.module-resolver": "0.0.14",
52
- "@teambit/workspace.modules.node-modules-linker": "0.0.315",
53
- "@teambit/global-config": "0.0.1289",
54
- "@teambit/legacy.consumer-config": "0.0.86",
55
- "@teambit/variants": "0.0.1553",
56
- "@teambit/component-issues": "0.0.165",
57
- "@teambit/component.sources": "0.0.138",
58
36
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
59
- "@teambit/harmony.modules.in-memory-cache": "0.0.23",
60
37
  "@teambit/legacy-bit-id": "1.1.3",
61
- "@teambit/legacy.component-list": "0.0.140",
62
- "@teambit/legacy.scope-api": "0.0.141",
63
- "@teambit/scope.remotes": "0.0.86",
64
- "@teambit/toolbox.path.is-path-inside": "0.0.503",
65
- "@teambit/workspace.modules.match-pattern": "0.0.515",
66
- "@teambit/component.ui.component-drawer": "0.0.469",
67
38
  "@teambit/design.ui.tree": "0.0.16",
68
- "@teambit/lanes.hooks.use-lane-components": "0.0.296",
69
39
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
40
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
- "@teambit/ui-foundation.ui.side-bar": "0.0.921",
72
41
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
73
42
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.240",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.265",
75
43
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.233",
76
44
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
77
45
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
78
46
  "@teambit/ui-foundation.ui.menu": "0.0.503",
79
47
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.519",
80
48
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
81
- "@teambit/harmony.modules.concurrency": "0.0.20",
82
- "@teambit/toolbox.promise.map-pool": "0.0.9",
83
49
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
84
50
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
85
- "@teambit/component-descriptor": "0.0.446",
86
51
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
87
52
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
53
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
@@ -94,31 +59,66 @@
94
59
  "@teambit/workspace.hooks.use-navigation-message-listener": "0.0.1",
95
60
  "@teambit/workspace.hooks.use-url-change-broadcaster": "0.0.1",
96
61
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
97
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.14",
98
62
  "@teambit/design.ui.tooltip": "0.0.382",
99
63
  "@teambit/explorer.ui.component-card": "0.0.51",
100
64
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
101
- "@teambit/preview.ui.preview-placeholder": "0.0.558",
102
65
  "@teambit/scopes.scope-id": "0.0.9",
103
66
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
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"
67
+ "@teambit/component": "1.0.814",
68
+ "@teambit/dependency-resolver": "1.0.814",
69
+ "@teambit/envs": "1.0.814",
70
+ "@teambit/legacy.extension-data": "0.0.89",
71
+ "@teambit/legacy.scope": "0.0.87",
72
+ "@teambit/legacy.consumer-component": "0.0.88",
73
+ "@teambit/legacy.consumer": "0.0.87",
74
+ "@teambit/legacy.bit-map": "0.0.144",
75
+ "@teambit/toolbox.fs.last-modified": "0.0.10",
76
+ "@teambit/toolbox.path.path": "0.0.12",
77
+ "@teambit/logger": "0.0.1380",
78
+ "@teambit/objects": "0.0.321",
79
+ "@teambit/scope": "1.0.814",
80
+ "@teambit/graph": "1.0.814",
81
+ "@teambit/cli": "0.0.1287",
82
+ "@teambit/isolator": "1.0.814",
83
+ "@teambit/component-tree": "1.0.814",
84
+ "@teambit/legacy.constants": "0.0.20",
85
+ "@teambit/harmony.modules.resolved-component": "0.0.509",
86
+ "@teambit/legacy.utils": "0.0.29",
87
+ "@teambit/watcher": "1.0.814",
88
+ "@teambit/aspect-loader": "1.0.814",
89
+ "@teambit/config-store": "0.0.167",
90
+ "@teambit/config": "0.0.1461",
91
+ "@teambit/harmony.modules.requireable-component": "0.0.509",
92
+ "@teambit/toolbox.modules.module-resolver": "0.0.15",
93
+ "@teambit/workspace.modules.node-modules-linker": "0.0.316",
94
+ "@teambit/graphql": "1.0.814",
95
+ "@teambit/bundler": "1.0.814",
96
+ "@teambit/global-config": "0.0.1290",
97
+ "@teambit/legacy.consumer-config": "0.0.87",
98
+ "@teambit/ui": "1.0.814",
99
+ "@teambit/variants": "0.0.1554",
100
+ "@teambit/component-issues": "0.0.166",
101
+ "@teambit/component.sources": "0.0.139",
102
+ "@teambit/harmony.modules.in-memory-cache": "0.0.24",
103
+ "@teambit/legacy.component-list": "0.0.141",
104
+ "@teambit/legacy.scope-api": "0.0.142",
105
+ "@teambit/scope.remotes": "0.0.87",
106
+ "@teambit/toolbox.path.is-path-inside": "0.0.504",
107
+ "@teambit/workspace.modules.match-pattern": "0.0.516",
108
+ "@teambit/component.ui.component-drawer": "0.0.470",
109
+ "@teambit/lanes.hooks.use-lane-components": "0.0.297",
110
+ "@teambit/ui-foundation.ui.side-bar": "0.0.922",
111
+ "@teambit/command-bar": "1.0.814",
112
+ "@teambit/component.ui.component-filters.env-filter": "0.0.266",
113
+ "@teambit/sidebar": "1.0.814",
114
+ "@teambit/pubsub": "1.0.814",
115
+ "@teambit/harmony.modules.concurrency": "0.0.21",
116
+ "@teambit/toolbox.promise.map-pool": "0.0.10",
117
+ "@teambit/component-descriptor": "0.0.447",
118
+ "@teambit/deprecation": "1.0.814",
119
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.15",
120
+ "@teambit/preview.ui.preview-placeholder": "0.0.559",
121
+ "@teambit/workspace.ui.workspace-component-card": "0.0.565"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@types/lodash": "4.14.165",
@@ -131,7 +131,7 @@
131
131
  "@types/pluralize": "0.0.29",
132
132
  "@types/mocha": "9.1.0",
133
133
  "@teambit/workspace.content.workspace-overview": "1.96.6",
134
- "@teambit/harmony.envs.core-aspect-env": "0.0.79"
134
+ "@teambit/harmony.envs.core-aspect-env": "0.0.80"
135
135
  },
136
136
  "peerDependencies": {
137
137
  "@apollo/client": "^3.6.0",