@teambit/workspace 1.0.848 → 1.0.849

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.848/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.848/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.849/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.849/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
  client: import("@apollo/client").ApolloClient<any>;
13
12
  loading: boolean;
14
- observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
15
- networkStatus: import("@apollo/client").NetworkStatus;
16
- called: boolean;
13
+ variables: import("@apollo/client").OperationVariables | undefined;
17
14
  startPolling: (pollInterval: number) => void;
18
15
  stopPolling: () => void;
19
- updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
16
+ updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
20
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>>;
21
- variables: import("@apollo/client").OperationVariables | undefined;
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.848",
3
+ "version": "1.0.849",
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.848"
9
+ "version": "1.0.849"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -31,23 +31,42 @@
31
31
  "@teambit/component-version": "1.0.4",
32
32
  "@teambit/bit-error": "0.0.404",
33
33
  "@teambit/lane-id": "0.0.312",
34
+ "@teambit/toolbox.fs.last-modified": "0.0.11",
35
+ "@teambit/toolbox.path.path": "0.0.13",
34
36
  "@teambit/graph.cleargraph": "0.0.11",
35
37
  "@teambit/component.ui.component-status-resolver": "0.0.510",
38
+ "@teambit/legacy.constants": "0.0.21",
39
+ "@teambit/harmony.modules.resolved-component": "0.0.510",
40
+ "@teambit/legacy.utils": "0.0.31",
41
+ "@teambit/harmony.modules.requireable-component": "0.0.510",
42
+ "@teambit/toolbox.modules.module-resolver": "0.0.16",
43
+ "@teambit/component-issues": "0.0.167",
36
44
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
45
+ "@teambit/harmony.modules.in-memory-cache": "0.0.25",
37
46
  "@teambit/legacy-bit-id": "1.1.3",
47
+ "@teambit/toolbox.path.is-path-inside": "0.0.505",
48
+ "@teambit/workspace.modules.match-pattern": "0.0.517",
49
+ "@teambit/component.ui.component-drawer": "0.0.473",
38
50
  "@teambit/design.ui.tree": "0.0.16",
51
+ "@teambit/lanes.hooks.use-lane-components": "0.0.298",
39
52
  "@teambit/lanes.hooks.use-lanes": "0.0.292",
40
53
  "@teambit/lanes.ui.models.lanes-model": "0.0.232",
54
+ "@teambit/ui-foundation.ui.side-bar": "0.0.925",
41
55
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.241",
42
56
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.242",
57
+ "@teambit/component.ui.component-filters.env-filter": "0.0.269",
43
58
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.235",
44
59
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
45
60
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
46
61
  "@teambit/ui-foundation.ui.menu": "0.0.503",
62
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.520",
47
63
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
64
+ "@teambit/harmony.modules.concurrency": "0.0.22",
65
+ "@teambit/toolbox.promise.map-pool": "0.0.11",
48
66
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
49
67
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
50
68
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
69
+ "@teambit/component-descriptor": "0.0.448",
51
70
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
52
71
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
53
72
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
@@ -60,68 +79,49 @@
60
79
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
61
80
  "@teambit/component.filters.base-filter": "0.0.6",
62
81
  "@teambit/design.inputs.toggle-button": "0.0.13",
82
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.16",
63
83
  "@teambit/design.ui.heading": "1.0.26",
64
84
  "@teambit/design.ui.tooltip": "0.0.382",
65
85
  "@teambit/explorer.ui.component-card": "0.0.51",
66
86
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
87
+ "@teambit/preview.ui.preview-placeholder": "0.0.560",
67
88
  "@teambit/scopes.scope-id": "0.0.9",
68
89
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
69
- "@teambit/component": "1.0.848",
70
- "@teambit/dependency-resolver": "1.0.848",
71
- "@teambit/envs": "1.0.848",
72
- "@teambit/legacy.extension-data": "0.0.93",
73
- "@teambit/legacy.scope": "0.0.91",
74
- "@teambit/legacy.consumer-component": "0.0.92",
75
- "@teambit/legacy.consumer": "0.0.91",
76
- "@teambit/legacy.bit-map": "0.0.148",
77
- "@teambit/toolbox.fs.last-modified": "0.0.11",
78
- "@teambit/toolbox.path.path": "0.0.13",
79
- "@teambit/logger": "0.0.1384",
80
- "@teambit/objects": "0.0.355",
81
- "@teambit/scope": "1.0.848",
82
- "@teambit/graph": "1.0.848",
83
- "@teambit/cli": "0.0.1291",
84
- "@teambit/isolator": "1.0.848",
85
- "@teambit/component-tree": "1.0.848",
86
- "@teambit/legacy.constants": "0.0.21",
87
- "@teambit/harmony.modules.resolved-component": "0.0.510",
88
- "@teambit/legacy.utils": "0.0.31",
89
- "@teambit/watcher": "1.0.848",
90
- "@teambit/scope.remotes": "0.0.91",
91
- "@teambit/aspect-loader": "1.0.848",
92
- "@teambit/config-store": "0.0.171",
93
- "@teambit/config": "0.0.1466",
94
- "@teambit/harmony.modules.requireable-component": "0.0.510",
95
- "@teambit/toolbox.modules.module-resolver": "0.0.16",
96
- "@teambit/workspace.modules.node-modules-linker": "0.0.320",
97
- "@teambit/graphql": "1.0.848",
98
- "@teambit/bundler": "1.0.848",
99
- "@teambit/global-config": "0.0.1294",
100
- "@teambit/legacy.consumer-config": "0.0.91",
101
- "@teambit/ui": "1.0.848",
102
- "@teambit/variants": "0.0.1559",
103
- "@teambit/component-issues": "0.0.167",
104
- "@teambit/component.sources": "0.0.143",
105
- "@teambit/harmony.modules.in-memory-cache": "0.0.25",
106
- "@teambit/legacy.component-list": "0.0.145",
107
- "@teambit/legacy.scope-api": "0.0.146",
108
- "@teambit/toolbox.path.is-path-inside": "0.0.505",
109
- "@teambit/workspace.modules.match-pattern": "0.0.517",
110
- "@teambit/component.ui.component-drawer": "0.0.473",
111
- "@teambit/lanes.hooks.use-lane-components": "0.0.298",
112
- "@teambit/ui-foundation.ui.side-bar": "0.0.925",
113
- "@teambit/command-bar": "1.0.848",
114
- "@teambit/component.ui.component-filters.env-filter": "0.0.269",
115
- "@teambit/sidebar": "1.0.848",
116
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.520",
117
- "@teambit/pubsub": "1.0.848",
118
- "@teambit/harmony.modules.concurrency": "0.0.22",
119
- "@teambit/toolbox.promise.map-pool": "0.0.11",
120
- "@teambit/component-descriptor": "0.0.448",
121
- "@teambit/deprecation": "1.0.848",
122
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.16",
123
- "@teambit/preview.ui.preview-placeholder": "0.0.560",
124
- "@teambit/workspace.ui.workspace-component-card": "0.0.566"
90
+ "@teambit/workspace.ui.workspace-component-card": "0.0.566",
91
+ "@teambit/component": "1.0.849",
92
+ "@teambit/dependency-resolver": "1.0.849",
93
+ "@teambit/envs": "1.0.849",
94
+ "@teambit/legacy.extension-data": "0.0.94",
95
+ "@teambit/legacy.scope": "0.0.92",
96
+ "@teambit/legacy.consumer-component": "0.0.93",
97
+ "@teambit/legacy.consumer": "0.0.92",
98
+ "@teambit/legacy.bit-map": "0.0.149",
99
+ "@teambit/logger": "0.0.1385",
100
+ "@teambit/objects": "0.0.356",
101
+ "@teambit/scope": "1.0.849",
102
+ "@teambit/graph": "1.0.849",
103
+ "@teambit/cli": "0.0.1292",
104
+ "@teambit/isolator": "1.0.849",
105
+ "@teambit/component-tree": "1.0.849",
106
+ "@teambit/watcher": "1.0.849",
107
+ "@teambit/scope.remotes": "0.0.92",
108
+ "@teambit/aspect-loader": "1.0.849",
109
+ "@teambit/config-store": "0.0.172",
110
+ "@teambit/config": "0.0.1467",
111
+ "@teambit/workspace.modules.node-modules-linker": "0.0.321",
112
+ "@teambit/graphql": "1.0.849",
113
+ "@teambit/bundler": "1.0.849",
114
+ "@teambit/global-config": "0.0.1295",
115
+ "@teambit/legacy.consumer-config": "0.0.92",
116
+ "@teambit/ui": "1.0.849",
117
+ "@teambit/variants": "0.0.1560",
118
+ "@teambit/component.sources": "0.0.144",
119
+ "@teambit/legacy.component-list": "0.0.146",
120
+ "@teambit/legacy.scope-api": "0.0.147",
121
+ "@teambit/command-bar": "1.0.849",
122
+ "@teambit/sidebar": "1.0.849",
123
+ "@teambit/pubsub": "1.0.849",
124
+ "@teambit/deprecation": "1.0.849"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@types/lodash": "4.14.165",