@teambit/workspace 1.0.694 → 1.0.696
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.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.696/dist/workspace.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.696/dist/workspace.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -7,10 +7,11 @@ type UseWorkspaceOptions = {
|
|
|
7
7
|
onComponentRemoved?: (compId: ComponentID[]) => void;
|
|
8
8
|
};
|
|
9
9
|
export declare function useWorkspace(options?: UseWorkspaceOptions): {
|
|
10
|
-
error?: import("@apollo/client").ApolloError | undefined;
|
|
11
10
|
errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | undefined;
|
|
11
|
+
error?: import("@apollo/client").ApolloError | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
client: import("@apollo/client").ApolloClient<any>;
|
|
14
|
+
variables: import("@apollo/client").OperationVariables | undefined;
|
|
14
15
|
observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
|
|
15
16
|
networkStatus: import("@apollo/client").NetworkStatus;
|
|
16
17
|
called: boolean;
|
|
@@ -18,7 +19,6 @@ export declare function useWorkspace(options?: UseWorkspaceOptions): {
|
|
|
18
19
|
stopPolling: () => void;
|
|
19
20
|
updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
|
|
20
21
|
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>>;
|
|
@@ -28,7 +28,7 @@ export declare class WorkspaceComponent extends Component {
|
|
|
28
28
|
/**
|
|
29
29
|
* head version of the component. can be `null` for new components.
|
|
30
30
|
*/
|
|
31
|
-
head: Snap | null,
|
|
31
|
+
head: (Snap | null) | undefined,
|
|
32
32
|
/**
|
|
33
33
|
* state of the component.
|
|
34
34
|
*/
|
|
@@ -36,7 +36,7 @@ export declare class WorkspaceComponent extends Component {
|
|
|
36
36
|
/**
|
|
37
37
|
* tags of the component.
|
|
38
38
|
*/
|
|
39
|
-
tags: TagMap,
|
|
39
|
+
tags: TagMap | undefined,
|
|
40
40
|
/**
|
|
41
41
|
* workspace extension.
|
|
42
42
|
*/
|
|
@@ -6,15 +6,15 @@ declare const _default: (workspace: Workspace, graphql: GraphqlMain) => {
|
|
|
6
6
|
resolvers: {
|
|
7
7
|
Subscription: {
|
|
8
8
|
componentAdded: {
|
|
9
|
-
subscribe: () => AsyncIterator<unknown, any,
|
|
9
|
+
subscribe: () => AsyncIterator<unknown, any, any>;
|
|
10
10
|
resolve: (payload: any) => any;
|
|
11
11
|
};
|
|
12
12
|
componentChanged: {
|
|
13
|
-
subscribe: () => AsyncIterator<unknown, any,
|
|
13
|
+
subscribe: () => AsyncIterator<unknown, any, any>;
|
|
14
14
|
resolve: (payload: any) => any;
|
|
15
15
|
};
|
|
16
16
|
componentRemoved: {
|
|
17
|
-
subscribe: () => AsyncIterator<unknown, any,
|
|
17
|
+
subscribe: () => AsyncIterator<unknown, any, any>;
|
|
18
18
|
resolve: (payload: any) => any;
|
|
19
19
|
};
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.696",
|
|
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.
|
|
9
|
+
"version": "1.0.696"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -39,14 +39,20 @@
|
|
|
39
39
|
"@teambit/toolbox.fs.last-modified": "0.0.6",
|
|
40
40
|
"@teambit/toolbox.path.path": "0.0.8",
|
|
41
41
|
"@teambit/graph.cleargraph": "0.0.11",
|
|
42
|
+
"@teambit/logger": "0.0.1351",
|
|
43
|
+
"@teambit/cli": "0.0.1258",
|
|
42
44
|
"@teambit/component.ui.component-status-resolver": "0.0.510",
|
|
43
45
|
"@teambit/legacy.constants": "0.0.14",
|
|
44
46
|
"@teambit/harmony.modules.resolved-component": "0.0.504",
|
|
45
47
|
"@teambit/legacy.utils": "0.0.23",
|
|
48
|
+
"@teambit/config-store": "0.0.138",
|
|
49
|
+
"@teambit/config": "0.0.1432",
|
|
46
50
|
"@teambit/harmony.modules.requireable-component": "0.0.504",
|
|
47
51
|
"@teambit/toolbox.modules.module-resolver": "0.0.11",
|
|
48
52
|
"@teambit/workspace.modules.node-modules-linker": "0.0.293",
|
|
53
|
+
"@teambit/global-config": "0.0.1261",
|
|
49
54
|
"@teambit/legacy.consumer-config": "0.0.65",
|
|
55
|
+
"@teambit/variants": "0.0.1525",
|
|
50
56
|
"@teambit/component-issues": "0.0.161",
|
|
51
57
|
"@teambit/component.sources": "0.0.117",
|
|
52
58
|
"@teambit/dependencies.modules.packages-excluder": "1.0.8",
|
|
@@ -58,12 +64,11 @@
|
|
|
58
64
|
"@teambit/toolbox.path.is-path-inside": "0.0.500",
|
|
59
65
|
"@teambit/workspace.modules.match-pattern": "0.0.510",
|
|
60
66
|
"@teambit/design.ui.tree": "0.0.16",
|
|
67
|
+
"@teambit/lanes.hooks.use-lane-components": "0.0.290",
|
|
61
68
|
"@teambit/lanes.hooks.use-lanes": "0.0.290",
|
|
62
69
|
"@teambit/lanes.ui.models.lanes-model": "0.0.229",
|
|
63
|
-
"@teambit/ui-foundation.ui.side-bar": "0.0.914",
|
|
64
70
|
"@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
|
|
65
71
|
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.237",
|
|
66
|
-
"@teambit/component.ui.component-filters.env-filter": "0.0.256",
|
|
67
72
|
"@teambit/component.ui.component-filters.show-main-filter": "0.0.230",
|
|
68
73
|
"@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
|
|
69
74
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.503",
|
|
@@ -74,49 +79,44 @@
|
|
|
74
79
|
"@teambit/toolbox.promise.map-pool": "0.0.6",
|
|
75
80
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
|
|
76
81
|
"@teambit/workspace.ui.use-workspace-mode": "0.0.2",
|
|
82
|
+
"@teambit/component-descriptor": "0.0.440",
|
|
77
83
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
|
|
78
84
|
"@teambit/base-react.themes.theme-switcher": "1.1.2",
|
|
79
85
|
"@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
|
|
80
86
|
"@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
|
|
81
|
-
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.230",
|
|
82
87
|
"@teambit/ui-foundation.ui.corner": "0.0.520",
|
|
83
88
|
"@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
|
|
84
89
|
"@teambit/ui-foundation.ui.top-bar": "0.0.515",
|
|
85
90
|
"@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
|
|
86
91
|
"@teambit/cloud.hooks.use-cloud-scopes": "0.0.9",
|
|
87
|
-
"@teambit/design.ui.tooltip": "0.0.379",
|
|
88
92
|
"@teambit/explorer.ui.component-card": "0.0.50",
|
|
89
93
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.496",
|
|
94
|
+
"@teambit/preview.ui.preview-placeholder": "0.0.549",
|
|
90
95
|
"@teambit/scopes.scope-id": "0.0.7",
|
|
91
96
|
"@teambit/workspace.ui.empty-workspace": "0.0.509",
|
|
92
|
-
"@teambit/component": "
|
|
93
|
-
"@teambit/
|
|
94
|
-
"@teambit/
|
|
95
|
-
"@teambit/
|
|
96
|
-
"@teambit/objects": "0.0.
|
|
97
|
-
"@teambit/scope": "1.0.
|
|
98
|
-
"@teambit/graph": "1.0.
|
|
99
|
-
"@teambit/
|
|
100
|
-
"@teambit/
|
|
101
|
-
"@teambit/
|
|
102
|
-
"@teambit/
|
|
103
|
-
"@teambit/
|
|
104
|
-
"@teambit/
|
|
105
|
-
"@teambit/
|
|
106
|
-
"@teambit/
|
|
107
|
-
"@teambit/
|
|
108
|
-
"@teambit/
|
|
109
|
-
"@teambit/ui": "
|
|
110
|
-
"@teambit/
|
|
111
|
-
"@teambit/
|
|
112
|
-
"@teambit/
|
|
113
|
-
"@teambit/
|
|
114
|
-
"@teambit/
|
|
115
|
-
"@teambit/pubsub": "1.0.694",
|
|
116
|
-
"@teambit/component-descriptor": "0.0.439",
|
|
117
|
-
"@teambit/deprecation": "1.0.694",
|
|
118
|
-
"@teambit/preview.ui.preview-placeholder": "0.0.548",
|
|
119
|
-
"@teambit/workspace.ui.workspace-component-card": "0.0.555"
|
|
97
|
+
"@teambit/workspace.ui.workspace-component-card": "0.0.556",
|
|
98
|
+
"@teambit/component": "1.0.696",
|
|
99
|
+
"@teambit/dependency-resolver": "1.0.696",
|
|
100
|
+
"@teambit/envs": "1.0.696",
|
|
101
|
+
"@teambit/objects": "0.0.203",
|
|
102
|
+
"@teambit/scope": "1.0.696",
|
|
103
|
+
"@teambit/graph": "1.0.696",
|
|
104
|
+
"@teambit/isolator": "1.0.696",
|
|
105
|
+
"@teambit/component-tree": "1.0.696",
|
|
106
|
+
"@teambit/watcher": "1.0.696",
|
|
107
|
+
"@teambit/aspect-loader": "1.0.696",
|
|
108
|
+
"@teambit/graphql": "1.0.696",
|
|
109
|
+
"@teambit/bundler": "1.0.696",
|
|
110
|
+
"@teambit/ui": "1.0.696",
|
|
111
|
+
"@teambit/component.ui.component-drawer": "0.0.457",
|
|
112
|
+
"@teambit/ui-foundation.ui.side-bar": "0.0.915",
|
|
113
|
+
"@teambit/command-bar": "1.0.696",
|
|
114
|
+
"@teambit/component.ui.component-filters.env-filter": "0.0.257",
|
|
115
|
+
"@teambit/sidebar": "1.0.696",
|
|
116
|
+
"@teambit/pubsub": "1.0.696",
|
|
117
|
+
"@teambit/deprecation": "1.0.696",
|
|
118
|
+
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.231",
|
|
119
|
+
"@teambit/design.ui.tooltip": "0.0.380"
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@types/lodash": "4.14.165",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"@types/pluralize": "0.0.29",
|
|
130
130
|
"@types/mocha": "9.1.0",
|
|
131
131
|
"@teambit/workspace.content.workspace-overview": "1.95.0",
|
|
132
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
132
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.75"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
|
135
135
|
"@apollo/client": "^3.6.0",
|