@teambit/workspace 1.0.851 → 1.0.852

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.851/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.851/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.852/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.852/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
  client: import("@apollo/client").ApolloClient<any>;
12
13
  loading: boolean;
13
- variables: import("@apollo/client").OperationVariables | undefined;
14
- startPolling: (pollInterval: number) => void;
15
- stopPolling: () => void;
16
- updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
17
- reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<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.851",
3
+ "version": "1.0.852",
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.851"
9
+ "version": "1.0.852"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,62 +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.95",
32
- "@teambit/legacy.scope": "0.0.93",
33
31
  "@teambit/component-version": "1.0.4",
34
- "@teambit/legacy.consumer-component": "0.0.94",
35
- "@teambit/legacy.consumer": "0.0.93",
36
32
  "@teambit/bit-error": "0.0.404",
37
33
  "@teambit/lane-id": "0.0.312",
38
- "@teambit/legacy.bit-map": "0.0.150",
39
- "@teambit/toolbox.fs.last-modified": "0.0.11",
40
- "@teambit/toolbox.path.path": "0.0.13",
41
34
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1386",
43
- "@teambit/cli": "0.0.1293",
44
35
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
- "@teambit/legacy.constants": "0.0.21",
46
- "@teambit/harmony.modules.resolved-component": "0.0.510",
47
- "@teambit/legacy.utils": "0.0.31",
48
- "@teambit/scope.remotes": "0.0.93",
49
- "@teambit/config-store": "0.0.173",
50
- "@teambit/config": "0.0.1468",
51
- "@teambit/harmony.modules.requireable-component": "0.0.510",
52
- "@teambit/toolbox.modules.module-resolver": "0.0.16",
53
- "@teambit/workspace.modules.node-modules-linker": "0.0.322",
54
- "@teambit/global-config": "0.0.1296",
55
- "@teambit/legacy.consumer-config": "0.0.93",
56
- "@teambit/variants": "0.0.1561",
57
- "@teambit/component-issues": "0.0.167",
58
- "@teambit/component.sources": "0.0.145",
59
36
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
60
- "@teambit/harmony.modules.in-memory-cache": "0.0.25",
61
37
  "@teambit/legacy-bit-id": "1.1.3",
62
- "@teambit/legacy.component-list": "0.0.147",
63
- "@teambit/legacy.scope-api": "0.0.148",
64
- "@teambit/toolbox.path.is-path-inside": "0.0.505",
65
- "@teambit/workspace.modules.match-pattern": "0.0.517",
66
- "@teambit/component.ui.component-drawer": "0.0.473",
67
38
  "@teambit/design.ui.tree": "0.0.16",
68
- "@teambit/lanes.hooks.use-lane-components": "0.0.298",
69
39
  "@teambit/lanes.hooks.use-lanes": "0.0.292",
70
40
  "@teambit/lanes.ui.models.lanes-model": "0.0.232",
71
- "@teambit/ui-foundation.ui.side-bar": "0.0.925",
72
41
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.241",
73
42
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.242",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.269",
75
43
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.235",
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
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.520",
80
47
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
81
- "@teambit/harmony.modules.concurrency": "0.0.22",
82
- "@teambit/toolbox.promise.map-pool": "0.0.11",
83
48
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
84
49
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
85
50
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
86
- "@teambit/component-descriptor": "0.0.448",
87
51
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
88
52
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
89
53
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
@@ -96,32 +60,68 @@
96
60
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
97
61
  "@teambit/component.filters.base-filter": "0.0.6",
98
62
  "@teambit/design.inputs.toggle-button": "0.0.13",
99
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.16",
100
63
  "@teambit/design.ui.heading": "1.0.26",
101
64
  "@teambit/design.ui.tooltip": "0.0.382",
102
65
  "@teambit/explorer.ui.component-card": "0.0.51",
103
66
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
104
- "@teambit/preview.ui.preview-placeholder": "0.0.560",
105
67
  "@teambit/scopes.scope-id": "0.0.9",
106
68
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
107
- "@teambit/workspace.ui.workspace-component-card": "0.0.566",
108
- "@teambit/component": "1.0.851",
109
- "@teambit/dependency-resolver": "1.0.851",
110
- "@teambit/envs": "1.0.851",
111
- "@teambit/objects": "0.0.358",
112
- "@teambit/scope": "1.0.851",
113
- "@teambit/graph": "1.0.851",
114
- "@teambit/isolator": "1.0.851",
115
- "@teambit/component-tree": "1.0.851",
116
- "@teambit/watcher": "1.0.851",
117
- "@teambit/aspect-loader": "1.0.851",
118
- "@teambit/graphql": "1.0.851",
119
- "@teambit/bundler": "1.0.851",
120
- "@teambit/ui": "1.0.851",
121
- "@teambit/command-bar": "1.0.851",
122
- "@teambit/sidebar": "1.0.851",
123
- "@teambit/pubsub": "1.0.851",
124
- "@teambit/deprecation": "1.0.851"
69
+ "@teambit/component": "1.0.852",
70
+ "@teambit/dependency-resolver": "1.0.852",
71
+ "@teambit/envs": "1.0.852",
72
+ "@teambit/legacy.extension-data": "0.0.96",
73
+ "@teambit/legacy.scope": "0.0.94",
74
+ "@teambit/legacy.consumer-component": "0.0.95",
75
+ "@teambit/legacy.consumer": "0.0.94",
76
+ "@teambit/legacy.bit-map": "0.0.151",
77
+ "@teambit/toolbox.fs.last-modified": "0.0.12",
78
+ "@teambit/toolbox.path.path": "0.0.14",
79
+ "@teambit/logger": "0.0.1387",
80
+ "@teambit/objects": "0.0.359",
81
+ "@teambit/scope": "1.0.852",
82
+ "@teambit/graph": "1.0.852",
83
+ "@teambit/cli": "0.0.1294",
84
+ "@teambit/isolator": "1.0.852",
85
+ "@teambit/component-tree": "1.0.852",
86
+ "@teambit/legacy.constants": "0.0.22",
87
+ "@teambit/harmony.modules.resolved-component": "0.0.511",
88
+ "@teambit/legacy.utils": "0.0.32",
89
+ "@teambit/watcher": "1.0.852",
90
+ "@teambit/scope.remotes": "0.0.94",
91
+ "@teambit/aspect-loader": "1.0.852",
92
+ "@teambit/config-store": "0.0.174",
93
+ "@teambit/config": "0.0.1469",
94
+ "@teambit/harmony.modules.requireable-component": "0.0.511",
95
+ "@teambit/toolbox.modules.module-resolver": "0.0.17",
96
+ "@teambit/workspace.modules.node-modules-linker": "0.0.323",
97
+ "@teambit/graphql": "1.0.852",
98
+ "@teambit/bundler": "1.0.852",
99
+ "@teambit/global-config": "0.0.1297",
100
+ "@teambit/legacy.consumer-config": "0.0.94",
101
+ "@teambit/ui": "1.0.852",
102
+ "@teambit/variants": "0.0.1562",
103
+ "@teambit/component-issues": "0.0.168",
104
+ "@teambit/component.sources": "0.0.146",
105
+ "@teambit/harmony.modules.in-memory-cache": "0.0.26",
106
+ "@teambit/legacy.component-list": "0.0.148",
107
+ "@teambit/legacy.scope-api": "0.0.149",
108
+ "@teambit/toolbox.path.is-path-inside": "0.0.506",
109
+ "@teambit/workspace.modules.match-pattern": "0.0.518",
110
+ "@teambit/component.ui.component-drawer": "0.0.474",
111
+ "@teambit/lanes.hooks.use-lane-components": "0.0.299",
112
+ "@teambit/ui-foundation.ui.side-bar": "0.0.926",
113
+ "@teambit/command-bar": "1.0.852",
114
+ "@teambit/component.ui.component-filters.env-filter": "0.0.270",
115
+ "@teambit/sidebar": "1.0.852",
116
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.521",
117
+ "@teambit/pubsub": "1.0.852",
118
+ "@teambit/harmony.modules.concurrency": "0.0.23",
119
+ "@teambit/toolbox.promise.map-pool": "0.0.12",
120
+ "@teambit/component-descriptor": "0.0.449",
121
+ "@teambit/deprecation": "1.0.852",
122
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.17",
123
+ "@teambit/preview.ui.preview-placeholder": "0.0.561",
124
+ "@teambit/workspace.ui.workspace-component-card": "0.0.567"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@types/lodash": "4.14.165",
@@ -134,7 +134,7 @@
134
134
  "@types/pluralize": "0.0.29",
135
135
  "@types/mocha": "9.1.0",
136
136
  "@teambit/workspace.content.workspace-overview": "1.96.6",
137
- "@teambit/harmony.envs.core-aspect-env": "0.1.0"
137
+ "@teambit/harmony.envs.core-aspect-env": "0.1.3"
138
138
  },
139
139
  "peerDependencies": {
140
140
  "@apollo/client": "^3.6.0",