@teambit/workspace 1.0.814 → 1.0.816

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.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';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.816/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.816/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;
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>>;
13
17
  client: import("@apollo/client").ApolloClient<any>;
14
18
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
15
19
  networkStatus: import("@apollo/client").NetworkStatus;
16
20
  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;
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.814",
3
+ "version": "1.0.816",
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.814"
9
+ "version": "1.0.816"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,97 +28,97 @@
28
28
  "reset-css": "5.0.1",
29
29
  "@teambit/component-id": "1.2.4",
30
30
  "@teambit/harmony": "0.4.7",
31
- "@teambit/component-version": "1.0.4",
32
- "@teambit/bit-error": "0.0.404",
33
- "@teambit/lane-id": "0.0.312",
34
- "@teambit/graph.cleargraph": "0.0.11",
35
- "@teambit/component.ui.component-status-resolver": "0.0.510",
36
- "@teambit/dependencies.modules.packages-excluder": "1.0.8",
37
- "@teambit/legacy-bit-id": "1.1.3",
38
- "@teambit/design.ui.tree": "0.0.16",
39
- "@teambit/lanes.hooks.use-lanes": "0.0.290",
40
- "@teambit/lanes.ui.models.lanes-model": "0.0.229",
41
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
42
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.240",
43
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.233",
44
- "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
45
- "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
46
- "@teambit/ui-foundation.ui.menu": "0.0.503",
47
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.519",
48
- "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
49
- "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
50
- "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
51
- "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
52
- "@teambit/base-react.themes.theme-switcher": "1.1.2",
53
- "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
54
- "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
55
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.233",
56
- "@teambit/ui-foundation.ui.corner": "0.0.520",
57
- "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
58
- "@teambit/ui-foundation.ui.top-bar": "0.0.515",
59
- "@teambit/workspace.hooks.use-navigation-message-listener": "0.0.1",
60
- "@teambit/workspace.hooks.use-url-change-broadcaster": "0.0.1",
61
- "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
62
- "@teambit/design.ui.tooltip": "0.0.382",
63
- "@teambit/explorer.ui.component-card": "0.0.51",
64
- "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
65
- "@teambit/scopes.scope-id": "0.0.9",
66
- "@teambit/workspace.ui.empty-workspace": "0.0.509",
67
- "@teambit/component": "1.0.814",
68
- "@teambit/dependency-resolver": "1.0.814",
69
- "@teambit/envs": "1.0.814",
70
31
  "@teambit/legacy.extension-data": "0.0.89",
71
32
  "@teambit/legacy.scope": "0.0.87",
33
+ "@teambit/component-version": "1.0.4",
72
34
  "@teambit/legacy.consumer-component": "0.0.88",
73
35
  "@teambit/legacy.consumer": "0.0.87",
36
+ "@teambit/bit-error": "0.0.404",
37
+ "@teambit/lane-id": "0.0.312",
74
38
  "@teambit/legacy.bit-map": "0.0.144",
75
39
  "@teambit/toolbox.fs.last-modified": "0.0.10",
76
40
  "@teambit/toolbox.path.path": "0.0.12",
41
+ "@teambit/graph.cleargraph": "0.0.11",
77
42
  "@teambit/logger": "0.0.1380",
78
- "@teambit/objects": "0.0.321",
79
- "@teambit/scope": "1.0.814",
80
- "@teambit/graph": "1.0.814",
81
43
  "@teambit/cli": "0.0.1287",
82
- "@teambit/isolator": "1.0.814",
83
- "@teambit/component-tree": "1.0.814",
44
+ "@teambit/component.ui.component-status-resolver": "0.0.510",
84
45
  "@teambit/legacy.constants": "0.0.20",
85
46
  "@teambit/harmony.modules.resolved-component": "0.0.509",
86
47
  "@teambit/legacy.utils": "0.0.29",
87
- "@teambit/watcher": "1.0.814",
88
- "@teambit/aspect-loader": "1.0.814",
89
48
  "@teambit/config-store": "0.0.167",
90
49
  "@teambit/config": "0.0.1461",
91
50
  "@teambit/harmony.modules.requireable-component": "0.0.509",
92
51
  "@teambit/toolbox.modules.module-resolver": "0.0.15",
93
52
  "@teambit/workspace.modules.node-modules-linker": "0.0.316",
94
- "@teambit/graphql": "1.0.814",
95
- "@teambit/bundler": "1.0.814",
96
53
  "@teambit/global-config": "0.0.1290",
97
54
  "@teambit/legacy.consumer-config": "0.0.87",
98
- "@teambit/ui": "1.0.814",
99
55
  "@teambit/variants": "0.0.1554",
100
56
  "@teambit/component-issues": "0.0.166",
101
57
  "@teambit/component.sources": "0.0.139",
58
+ "@teambit/dependencies.modules.packages-excluder": "1.0.8",
102
59
  "@teambit/harmony.modules.in-memory-cache": "0.0.24",
60
+ "@teambit/legacy-bit-id": "1.1.3",
103
61
  "@teambit/legacy.component-list": "0.0.141",
104
62
  "@teambit/legacy.scope-api": "0.0.142",
105
63
  "@teambit/scope.remotes": "0.0.87",
106
64
  "@teambit/toolbox.path.is-path-inside": "0.0.504",
107
65
  "@teambit/workspace.modules.match-pattern": "0.0.516",
108
66
  "@teambit/component.ui.component-drawer": "0.0.470",
67
+ "@teambit/design.ui.tree": "0.0.16",
109
68
  "@teambit/lanes.hooks.use-lane-components": "0.0.297",
69
+ "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
+ "@teambit/lanes.ui.models.lanes-model": "0.0.229",
110
71
  "@teambit/ui-foundation.ui.side-bar": "0.0.922",
111
- "@teambit/command-bar": "1.0.814",
72
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
73
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.240",
112
74
  "@teambit/component.ui.component-filters.env-filter": "0.0.266",
113
- "@teambit/sidebar": "1.0.814",
114
- "@teambit/pubsub": "1.0.814",
75
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.233",
76
+ "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
77
+ "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
78
+ "@teambit/ui-foundation.ui.menu": "0.0.503",
79
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.519",
80
+ "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
115
81
  "@teambit/harmony.modules.concurrency": "0.0.21",
116
82
  "@teambit/toolbox.promise.map-pool": "0.0.10",
83
+ "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
84
+ "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
117
85
  "@teambit/component-descriptor": "0.0.447",
118
- "@teambit/deprecation": "1.0.814",
86
+ "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
87
+ "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
+ "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
89
+ "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
90
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.233",
91
+ "@teambit/ui-foundation.ui.corner": "0.0.520",
92
+ "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
93
+ "@teambit/ui-foundation.ui.top-bar": "0.0.515",
94
+ "@teambit/workspace.hooks.use-navigation-message-listener": "0.0.1",
95
+ "@teambit/workspace.hooks.use-url-change-broadcaster": "0.0.1",
96
+ "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
119
97
  "@teambit/cloud.hooks.use-cloud-scopes": "0.0.15",
98
+ "@teambit/design.ui.tooltip": "0.0.382",
99
+ "@teambit/explorer.ui.component-card": "0.0.51",
100
+ "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
120
101
  "@teambit/preview.ui.preview-placeholder": "0.0.559",
121
- "@teambit/workspace.ui.workspace-component-card": "0.0.565"
102
+ "@teambit/scopes.scope-id": "0.0.9",
103
+ "@teambit/workspace.ui.empty-workspace": "0.0.509",
104
+ "@teambit/workspace.ui.workspace-component-card": "0.0.565",
105
+ "@teambit/component": "1.0.816",
106
+ "@teambit/dependency-resolver": "1.0.816",
107
+ "@teambit/envs": "1.0.816",
108
+ "@teambit/objects": "0.0.323",
109
+ "@teambit/scope": "1.0.816",
110
+ "@teambit/graph": "1.0.816",
111
+ "@teambit/isolator": "1.0.816",
112
+ "@teambit/component-tree": "1.0.816",
113
+ "@teambit/watcher": "1.0.816",
114
+ "@teambit/aspect-loader": "1.0.816",
115
+ "@teambit/graphql": "1.0.816",
116
+ "@teambit/bundler": "1.0.816",
117
+ "@teambit/ui": "1.0.816",
118
+ "@teambit/command-bar": "1.0.816",
119
+ "@teambit/sidebar": "1.0.816",
120
+ "@teambit/pubsub": "1.0.816",
121
+ "@teambit/deprecation": "1.0.816"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@types/lodash": "4.14.165",