@teambit/workspace 1.0.1020 → 1.0.1022

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.1020/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1020/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1022/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1022/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -7,11 +7,10 @@ type UseWorkspaceOptions = {
7
7
  onComponentRemoved?: (compId: ComponentID[]) => void;
8
8
  };
9
9
  export declare function useWorkspace(options?: UseWorkspaceOptions): {
10
- errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | undefined;
11
10
  error?: import("@apollo/client").ApolloError | undefined;
11
+ errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | undefined;
12
12
  client: import("@apollo/client").ApolloClient<any>;
13
13
  loading: boolean;
14
- variables: import("@apollo/client").OperationVariables | undefined;
15
14
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
16
15
  networkStatus: import("@apollo/client").NetworkStatus;
17
16
  called: boolean;
@@ -19,6 +18,7 @@ export declare function useWorkspace(options?: UseWorkspaceOptions): {
19
18
  stopPolling: () => void;
20
19
  updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
21
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;
22
22
  previousData?: any;
23
23
  fetchMore: (options: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, any>) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
24
24
  refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "1.0.1020",
3
+ "version": "1.0.1022",
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.1020"
9
+ "version": "1.0.1022"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -30,64 +30,33 @@
30
30
  "reset-css": "5.0.1",
31
31
  "@teambit/component-id": "1.2.4",
32
32
  "@teambit/harmony": "0.4.7",
33
- "@teambit/legacy.extension-data": "0.0.129",
34
- "@teambit/legacy.scope": "0.0.127",
35
33
  "@teambit/component-version": "1.0.4",
36
- "@teambit/legacy.consumer-component": "0.0.128",
37
- "@teambit/legacy.consumer": "0.0.127",
38
34
  "@teambit/bit-error": "0.0.404",
39
35
  "@teambit/lane-id": "0.0.312",
40
- "@teambit/legacy.bit-map": "0.0.184",
41
36
  "@teambit/toolbox.fs.last-modified": "0.0.15",
42
37
  "@teambit/toolbox.path.path": "0.0.17",
43
38
  "@teambit/graph.cleargraph": "0.0.11",
44
- "@teambit/logger": "0.0.1432",
45
- "@teambit/cli": "0.0.1339",
46
- "@teambit/config-store": "0.0.220",
47
- "@teambit/legacy.constants": "0.0.30",
48
39
  "@teambit/component.ui.component-status-resolver": "0.0.510",
49
40
  "@teambit/harmony.modules.load-trace": "0.0.1",
50
- "@teambit/harmony.modules.resolved-component": "0.0.514",
51
- "@teambit/legacy.utils": "0.0.38",
52
- "@teambit/scope.remotes": "0.0.127",
53
- "@teambit/config": "0.0.1514",
54
- "@teambit/harmony.modules.requireable-component": "0.0.514",
55
41
  "@teambit/toolbox.modules.module-resolver": "0.0.20",
56
- "@teambit/workspace.modules.node-modules-linker": "0.0.358",
57
- "@teambit/global-config": "0.0.1343",
58
- "@teambit/legacy.consumer-config": "0.0.127",
59
- "@teambit/variants": "0.0.1607",
60
- "@teambit/component-issues": "0.0.173",
61
- "@teambit/component.sources": "0.0.179",
62
42
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
63
- "@teambit/git.modules.git-executable": "0.0.31",
64
- "@teambit/harmony.modules.in-memory-cache": "0.0.34",
65
43
  "@teambit/legacy-bit-id": "1.1.3",
66
- "@teambit/legacy.component-list": "0.0.181",
67
- "@teambit/legacy.scope-api": "0.0.182",
68
44
  "@teambit/toolbox.path.is-path-inside": "0.0.509",
69
- "@teambit/workspace.modules.match-pattern": "0.0.521",
70
- "@teambit/component.ui.component-drawer": "0.0.483",
71
45
  "@teambit/design.ui.tree": "0.0.16",
72
- "@teambit/lanes.hooks.use-lane-components": "0.0.303",
73
46
  "@teambit/lanes.hooks.use-lanes": "0.0.293",
74
47
  "@teambit/lanes.ui.models.lanes-model": "0.0.233",
75
- "@teambit/ui-foundation.ui.side-bar": "0.0.934",
76
48
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.242",
77
49
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.244",
78
- "@teambit/component.ui.component-filters.env-filter": "0.0.275",
79
50
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.237",
80
51
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
81
52
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
82
53
  "@teambit/ui-foundation.ui.menu": "0.0.503",
83
54
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.523",
84
55
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
85
- "@teambit/harmony.modules.concurrency": "0.0.31",
86
56
  "@teambit/toolbox.promise.map-pool": "0.0.15",
87
57
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
58
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
89
59
  "@teambit/workspace.ui.use-workspace-mode": "0.0.3",
90
- "@teambit/component-descriptor": "0.0.452",
91
60
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
92
61
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.1",
93
62
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
@@ -99,32 +68,63 @@
99
68
  "@teambit/workspace.hooks.use-url-change-broadcaster": "0.0.2",
100
69
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.3",
101
70
  "@teambit/design.ui.tooltip": "0.0.383",
102
- "@teambit/preview.ui.preview-placeholder": "0.0.568",
103
71
  "@teambit/scopes.scope-id": "0.0.9",
104
72
  "@teambit/workspace.ui.load-preview": "0.0.504",
105
73
  "@teambit/evangelist.elements.icon": "1.0.5",
106
74
  "@teambit/component.filters.base-filter": "0.0.6",
107
75
  "@teambit/design.inputs.toggle-button": "0.0.16",
108
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.21",
109
76
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
110
77
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
111
- "@teambit/component": "1.0.1020",
112
- "@teambit/dependency-resolver": "1.0.1020",
113
- "@teambit/envs": "1.0.1020",
114
- "@teambit/objects": "0.0.527",
115
- "@teambit/scope": "1.0.1020",
116
- "@teambit/graph": "1.0.1020",
117
- "@teambit/isolator": "1.0.1020",
118
- "@teambit/component-tree": "1.0.1020",
119
- "@teambit/watcher": "1.0.1020",
120
- "@teambit/aspect-loader": "1.0.1020",
121
- "@teambit/graphql": "1.0.1020",
122
- "@teambit/bundler": "1.0.1020",
123
- "@teambit/ui": "1.0.1020",
124
- "@teambit/command-bar": "1.0.1020",
125
- "@teambit/sidebar": "1.0.1020",
126
- "@teambit/pubsub": "1.0.1020",
127
- "@teambit/deprecation": "1.0.1020"
78
+ "@teambit/component": "1.0.1022",
79
+ "@teambit/dependency-resolver": "1.0.1022",
80
+ "@teambit/envs": "1.0.1022",
81
+ "@teambit/legacy.extension-data": "0.0.130",
82
+ "@teambit/legacy.scope": "0.0.128",
83
+ "@teambit/legacy.consumer-component": "0.0.129",
84
+ "@teambit/legacy.consumer": "0.0.128",
85
+ "@teambit/legacy.bit-map": "0.0.185",
86
+ "@teambit/logger": "0.0.1433",
87
+ "@teambit/objects": "0.0.529",
88
+ "@teambit/scope": "1.0.1022",
89
+ "@teambit/graph": "1.0.1022",
90
+ "@teambit/cli": "0.0.1340",
91
+ "@teambit/config-store": "0.0.221",
92
+ "@teambit/isolator": "1.0.1022",
93
+ "@teambit/legacy.constants": "0.0.31",
94
+ "@teambit/component-tree": "1.0.1022",
95
+ "@teambit/harmony.modules.resolved-component": "0.0.515",
96
+ "@teambit/legacy.utils": "0.0.39",
97
+ "@teambit/watcher": "1.0.1022",
98
+ "@teambit/scope.remotes": "0.0.128",
99
+ "@teambit/aspect-loader": "1.0.1022",
100
+ "@teambit/config": "0.0.1515",
101
+ "@teambit/harmony.modules.requireable-component": "0.0.515",
102
+ "@teambit/workspace.modules.node-modules-linker": "0.0.359",
103
+ "@teambit/graphql": "1.0.1022",
104
+ "@teambit/bundler": "1.0.1022",
105
+ "@teambit/global-config": "0.0.1344",
106
+ "@teambit/legacy.consumer-config": "0.0.128",
107
+ "@teambit/ui": "1.0.1022",
108
+ "@teambit/variants": "0.0.1608",
109
+ "@teambit/component-issues": "0.0.174",
110
+ "@teambit/component.sources": "0.0.180",
111
+ "@teambit/git.modules.git-executable": "0.0.32",
112
+ "@teambit/harmony.modules.in-memory-cache": "0.0.35",
113
+ "@teambit/legacy.component-list": "0.0.182",
114
+ "@teambit/legacy.scope-api": "0.0.183",
115
+ "@teambit/workspace.modules.match-pattern": "0.0.522",
116
+ "@teambit/component.ui.component-drawer": "0.0.484",
117
+ "@teambit/lanes.hooks.use-lane-components": "0.0.304",
118
+ "@teambit/ui-foundation.ui.side-bar": "0.0.935",
119
+ "@teambit/command-bar": "1.0.1022",
120
+ "@teambit/component.ui.component-filters.env-filter": "0.0.276",
121
+ "@teambit/sidebar": "1.0.1022",
122
+ "@teambit/pubsub": "1.0.1022",
123
+ "@teambit/harmony.modules.concurrency": "0.0.32",
124
+ "@teambit/component-descriptor": "0.0.453",
125
+ "@teambit/deprecation": "1.0.1022",
126
+ "@teambit/preview.ui.preview-placeholder": "0.0.569",
127
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.22"
128
128
  },
129
129
  "devDependencies": {
130
130
  "@types/lodash": "4.14.165",
@@ -137,7 +137,7 @@
137
137
  "@types/pluralize": "0.0.29",
138
138
  "@types/mocha": "9.1.0",
139
139
  "@teambit/workspace.content.workspace-overview": "1.96.6",
140
- "@teambit/harmony.envs.core-aspect-env": "0.1.6"
140
+ "@teambit/harmony.envs.core-aspect-env": "0.1.7"
141
141
  },
142
142
  "peerDependencies": {
143
143
  "@apollo/client": "^3.12.0",
@@ -151,6 +151,7 @@
151
151
  "peerDependenciesMeta": {},
152
152
  "exports": {
153
153
  ".": {
154
+ "types": "./index.ts",
154
155
  "node": {
155
156
  "require": "./dist/index.js",
156
157
  "import": "./dist/esm.mjs"