@icanbwell/types 0.30.0 → 0.32.0
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.
- package/index.js +1 -0
- package/native-components.js +1 -0
- package/package.json +24 -12
- package/src/index.d.ts +1 -1
- package/src/lib/apiClient.d.ts +9 -9
- package/src/lib/index.d.ts +1 -1
- package/src/native-components.d.ts +13 -0
- package/README.md +0 -11
- package/src/index.js +0 -2
- package/src/index.js.map +0 -1
- package/src/lib/apiClient.js +0 -2
- package/src/lib/apiClient.js.map +0 -1
- package/src/lib/index.js +0 -2
- package/src/lib/index.js.map +0 -1
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"tsconfig": "./tsconfig.lib.json"
|
|
7
7
|
},
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
"*": {
|
|
10
|
+
"native-components": [
|
|
11
|
+
"src/native-components.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"exports": {
|
|
16
|
+
"./native-components": {
|
|
17
|
+
"types": "./src/native-components.d.ts",
|
|
18
|
+
"import": "./native-components.js"
|
|
19
|
+
},
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./src/index.d.ts",
|
|
22
|
+
"import": "./index.js"
|
|
23
|
+
}
|
|
15
24
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
25
|
+
"module": "./index.js",
|
|
26
|
+
"main": "./index.js",
|
|
27
|
+
"type": "module",
|
|
28
|
+
"types": "./src/index.d.ts",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"apollo-link-rest": "0.9.0"
|
|
18
31
|
},
|
|
19
|
-
"
|
|
20
|
-
"types": "./src/index.d.ts"
|
|
32
|
+
"peerDependencies": {}
|
|
21
33
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib';
|
|
1
|
+
export * from './lib';
|
package/src/lib/apiClient.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { RestLink } from 'apollo-link-rest';
|
|
2
|
-
export type QueryResponse<T> = {
|
|
3
|
-
__typename: string;
|
|
4
|
-
} & T;
|
|
5
|
-
export type ApiMap = {
|
|
6
|
-
default?: string;
|
|
7
|
-
rest?: RestLink.Options;
|
|
8
|
-
[apiName: string]: string | any;
|
|
9
|
-
};
|
|
1
|
+
import type { RestLink } from 'apollo-link-rest';
|
|
2
|
+
export type QueryResponse<T> = {
|
|
3
|
+
__typename: string;
|
|
4
|
+
} & T;
|
|
5
|
+
export type ApiMap = {
|
|
6
|
+
default?: string;
|
|
7
|
+
rest?: RestLink.Options;
|
|
8
|
+
[apiName: string]: string | any;
|
|
9
|
+
};
|
package/src/lib/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './apiClient';
|
|
1
|
+
export * from './apiClient';
|
package/README.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# types
|
|
2
|
-
|
|
3
|
-
This library was generated with [Nx](https://nx.dev).
|
|
4
|
-
|
|
5
|
-
## Running unit tests
|
|
6
|
-
|
|
7
|
-
Run `nx test types` to execute the unit tests via [Jest](https://jestjs.io).
|
|
8
|
-
|
|
9
|
-
## Running lint
|
|
10
|
-
|
|
11
|
-
Run `nx lint types` to execute the lint via [ESLint](https://eslint.org/).
|
package/src/index.js
DELETED
package/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/types/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
package/src/lib/apiClient.js
DELETED
package/src/lib/apiClient.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apiClient.js","sourceRoot":"","sources":["../../../../../libs/types/src/lib/apiClient.ts"],"names":[],"mappings":""}
|
package/src/lib/index.js
DELETED
package/src/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/types/src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|