@jobber/hooks 2.0.2 → 2.0.3-pre.35

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.
@@ -28,7 +28,7 @@ export declare const listQueryResponseMock: jest.Mock<{
28
28
  };
29
29
  };
30
30
  };
31
- }, [id: any]>;
31
+ }, [id: any], any>;
32
32
  export declare const listQueryWithTotalCountResponseMock: jest.Mock<{
33
33
  data: {
34
34
  conversation: {
@@ -55,7 +55,7 @@ export declare const listQueryWithTotalCountResponseMock: jest.Mock<{
55
55
  };
56
56
  };
57
57
  };
58
- }, [id: any]>;
58
+ }, [id: any], any>;
59
59
  export declare const subscriptionQueryMock: jest.Mock<{
60
60
  data: {
61
61
  conversationMessage: {
@@ -67,7 +67,7 @@ export declare const subscriptionQueryMock: jest.Mock<{
67
67
  };
68
68
  };
69
69
  };
70
- }, [id: any]>;
70
+ }, [id: any], any>;
71
71
  export declare function buildListRequestMock(query: DocumentNode, responseMock: jest.Mock, id?: string | undefined, searchTerm?: string | undefined): {
72
72
  request: {
73
73
  query: DocumentNode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Traps the focus within the children of the ref element.
3
4
  *
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function useFormState(): readonly [{
2
3
  isDirty: boolean;
3
4
  isValid: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Breakpoints: {
2
3
  base: number;
3
4
  small: number;
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@jobber/hooks",
3
- "version": "2.0.2",
3
+ "version": "2.0.3-pre.35+251cc8f0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
7
7
  "scripts": {
8
8
  "build": "tsc --project . --skipLibCheck",
9
9
  "clean": "rm -rf dist/* tsconfig.tsbuildinfo",
10
- "prepare": "npm run clean; npm run build"
10
+ "bootstrap": "npm run clean; npm run build"
11
11
  },
12
12
  "files": [
13
13
  "dist/*"
14
14
  ],
15
15
  "devDependencies": {
16
16
  "@apollo/react-testing": "^4.0.0",
17
- "@jobber/formatters": "^0.2.2",
17
+ "@jobber/formatters": "^0.2.3-pre.62+251cc8f0",
18
18
  "@testing-library/react": "^14.0.0",
19
19
  "@testing-library/react-hooks": "^7.0.0",
20
20
  "@testing-library/user-event": "^12.0.2",
@@ -38,5 +38,5 @@
38
38
  "@apollo/client": "^3.7.10",
39
39
  "react": "^18"
40
40
  },
41
- "gitHead": "2903854e30ee75a56600b5b50967f71e062a58e6"
41
+ "gitHead": "251cc8f0f8e59887d07eb55675be7bb507a3e412"
42
42
  }