@teambit/component 0.0.825 → 0.0.828

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.
@@ -19,9 +19,7 @@ export declare function useComponentQuery(componentId: string, host: string, fil
19
19
  previousData?: any;
20
20
  networkStatus: import("@apollo/client").NetworkStatus;
21
21
  called: true;
22
- startPolling: (pollInterval: number) => void;
23
- stopPolling: () => void;
24
- updateQuery: <TVars = {
22
+ variables: {
25
23
  logType?: string | undefined;
26
24
  logOffset?: number | undefined;
27
25
  logLimit?: number | undefined;
@@ -29,8 +27,10 @@ export declare function useComponentQuery(componentId: string, host: string, fil
29
27
  logSort?: string | undefined;
30
28
  id: string;
31
29
  extensionId: string;
32
- }>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
33
- refetch: (variables?: Partial<{
30
+ } | undefined;
31
+ startPolling: (pollInterval: number) => void;
32
+ stopPolling: () => void;
33
+ updateQuery: <TVars = {
34
34
  logType?: string | undefined;
35
35
  logOffset?: number | undefined;
36
36
  logLimit?: number | undefined;
@@ -38,8 +38,8 @@ export declare function useComponentQuery(componentId: string, host: string, fil
38
38
  logSort?: string | undefined;
39
39
  id: string;
40
40
  extensionId: string;
41
- }> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
42
- variables: {
41
+ }>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
42
+ refetch: (variables?: Partial<{
43
43
  logType?: string | undefined;
44
44
  logOffset?: number | undefined;
45
45
  logLimit?: number | undefined;
@@ -47,8 +47,8 @@ export declare function useComponentQuery(componentId: string, host: string, fil
47
47
  logSort?: string | undefined;
48
48
  id: string;
49
49
  extensionId: string;
50
- } | undefined;
51
- fetchMore: (<K extends "id" | "extensionId" | "logType" | "logOffset" | "logLimit" | "logHead" | "logSort">(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<{
50
+ }> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
51
+ fetchMore: ((fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<{
52
52
  logType?: string | undefined;
53
53
  logOffset?: number | undefined;
54
54
  logLimit?: number | undefined;
@@ -56,7 +56,7 @@ export declare function useComponentQuery(componentId: string, host: string, fil
56
56
  logSort?: string | undefined;
57
57
  id: string;
58
58
  extensionId: string;
59
- }, K, any> & import("@apollo/client").FetchMoreOptions<any, {
59
+ }, any> & import("@apollo/client").FetchMoreOptions<any, {
60
60
  logType?: string | undefined;
61
61
  logOffset?: number | undefined;
62
62
  logLimit?: number | undefined;
@@ -64,7 +64,7 @@ export declare function useComponentQuery(componentId: string, host: string, fil
64
64
  logSort?: string | undefined;
65
65
  id: string;
66
66
  extensionId: string;
67
- }>) => Promise<import("@apollo/client").ApolloQueryResult<any>>) & (<TData2, TVariables2, K_1 extends keyof TVariables2>(fetchMoreOptions: {
67
+ }>) => Promise<import("@apollo/client").ApolloQueryResult<any>>) & (<TData2, TVariables2>(fetchMoreOptions: {
68
68
  query?: import("@apollo/client").DocumentNode | import("@graphql-typed-document-node/core").TypedDocumentNode<any, {
69
69
  logType?: string | undefined;
70
70
  logOffset?: number | undefined;
@@ -74,7 +74,7 @@ export declare function useComponentQuery(componentId: string, host: string, fil
74
74
  id: string;
75
75
  extensionId: string;
76
76
  }> | undefined;
77
- } & import("@apollo/client").FetchMoreQueryOptions<TVariables2, K_1, any> & import("@apollo/client").FetchMoreOptions<TData2, TVariables2>) => Promise<import("@apollo/client").ApolloQueryResult<TData2>>);
77
+ } & import("@apollo/client").FetchMoreQueryOptions<TVariables2, any> & import("@apollo/client").FetchMoreOptions<TData2, TVariables2>) => Promise<import("@apollo/client").ApolloQueryResult<TData2>>);
78
78
  componentDescriptor: ComponentDescriptor | undefined;
79
79
  component: ComponentModel | undefined;
80
80
  error: ComponentError | undefined;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/component",
3
- "version": "0.0.825",
3
+ "version": "0.0.828",
4
4
  "homepage": "https://bit.dev/teambit/component/component",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component",
9
- "version": "0.0.825"
9
+ "version": "0.0.828"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/any-fs": "0.0.5",
@@ -31,42 +31,42 @@
31
31
  "@teambit/design.inputs.dropdown": "0.0.7",
32
32
  "@teambit/component-id": "0.0.405",
33
33
  "@teambit/ui-foundation.ui.menu-widget-icon": "0.0.488",
34
- "@teambit/aspect-loader": "0.0.825",
34
+ "@teambit/aspect-loader": "0.0.828",
35
35
  "@teambit/legacy-bit-id": "0.0.402",
36
36
  "@teambit/toolbox.path.match-patterns": "0.0.1",
37
37
  "@teambit/toolbox.string.capitalize": "0.0.483",
38
- "@teambit/cli": "0.0.553",
39
- "@teambit/express": "0.0.651",
40
- "@teambit/graphql": "0.0.825",
38
+ "@teambit/cli": "0.0.555",
39
+ "@teambit/express": "0.0.653",
40
+ "@teambit/graphql": "0.0.828",
41
41
  "@teambit/bit-error": "0.0.394",
42
- "@teambit/command-bar": "0.0.825",
42
+ "@teambit/command-bar": "0.0.828",
43
43
  "@teambit/component.ui.deprecation-icon": "0.0.494",
44
- "@teambit/preview": "0.0.825",
45
- "@teambit/pubsub": "0.0.825",
46
- "@teambit/react-router": "0.0.825",
44
+ "@teambit/preview": "0.0.828",
45
+ "@teambit/pubsub": "0.0.828",
46
+ "@teambit/react-router": "0.0.828",
47
47
  "@teambit/ui-foundation.ui.is-browser": "0.0.486",
48
48
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.487",
49
49
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.490",
50
50
  "@teambit/ui-foundation.ui.use-box.menu": "0.0.116",
51
- "@teambit/ui": "0.0.825",
51
+ "@teambit/ui": "0.0.828",
52
52
  "@teambit/component-issues": "0.0.60",
53
- "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.488",
53
+ "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.489",
54
54
  "@teambit/cli-table": "0.0.34",
55
- "@teambit/lanes.hooks.use-lanes": "0.0.6",
56
- "@teambit/component-descriptor": "0.0.116",
55
+ "@teambit/lanes.hooks.use-lanes": "0.0.8",
56
+ "@teambit/component-descriptor": "0.0.118",
57
57
  "@teambit/ui-foundation.ui.react-router.use-query": "0.0.487",
58
58
  "@teambit/design.ui.empty-box": "0.0.354",
59
59
  "@teambit/harmony.ui.aspect-box": "0.0.486",
60
+ "@teambit/compositions": "0.0.828",
61
+ "@teambit/deprecation": "0.0.828",
62
+ "@teambit/envs": "0.0.828",
63
+ "@teambit/legacy-component-log": "0.0.392",
60
64
  "@teambit/design.ui.pages.not-found": "0.0.357",
61
65
  "@teambit/design.ui.pages.server-error": "0.0.357",
62
- "@teambit/compositions": "0.0.825",
63
- "@teambit/deprecation": "0.0.825",
64
- "@teambit/envs": "0.0.825",
65
- "@teambit/legacy-component-log": "0.0.392",
66
66
  "@teambit/design.ui.styles.ellipsis": "0.0.347",
67
67
  "@teambit/envs.ui.env-icon": "0.0.486",
68
- "@teambit/component.ui.version-dropdown": "0.0.610",
69
- "@teambit/lanes.ui.models": "0.0.6",
68
+ "@teambit/component.ui.version-dropdown": "0.0.612",
69
+ "@teambit/lanes.ui.models": "0.0.8",
70
70
  "@teambit/ui-foundation.ui.full-loader": "0.0.486",
71
71
  "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.116",
72
72
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.488"
@@ -87,8 +87,8 @@
87
87
  },
88
88
  "peerDependencies": {
89
89
  "react-router-dom": "^6.0.0",
90
- "@apollo/client": "^3.0.0",
91
- "@teambit/legacy": "1.0.336",
90
+ "@apollo/client": "^3.4.0",
91
+ "@teambit/legacy": "1.0.338",
92
92
  "react-dom": "^16.8.0 || ^17.0.0",
93
93
  "react": "^16.8.0 || ^17.0.0"
94
94
  },
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.825/dist/component.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.825/dist/component.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.828/dist/component.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@0.0.828/dist/component.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];