@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 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.30.0",
3
+ "version": "0.32.0",
4
4
  "typedoc": {
5
5
  "entryPoint": "./src/index.ts",
6
6
  "tsconfig": "./tsconfig.lib.json"
7
7
  },
8
- "dependencies": {
9
- "@apollo/client": "3.6.10",
10
- "apollo-link-rest": "0.9.0",
11
- "graphql": "16.6.0",
12
- "qs": "6.11.0",
13
- "react": "17.0.2",
14
- "react-dom": "17.0.2"
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
- "peerDependencies": {
17
- "tslib": "2.4.0"
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
- "main": "./src/index.js",
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';
@@ -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
+ };
@@ -1 +1 @@
1
- export * from './apiClient';
1
+ export * from './apiClient';
@@ -0,0 +1,13 @@
1
+ export type ComponentViewProps = {
2
+ clientKey: string;
3
+ userToken: string;
4
+ initialPath?: string;
5
+ } & ({
6
+ uri: string;
7
+ version?: never;
8
+ name?: never;
9
+ } | {
10
+ uri?: never;
11
+ version?: string;
12
+ name: string;
13
+ });
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
@@ -1,2 +0,0 @@
1
- export * from './lib';
2
- //# sourceMappingURL=index.js.map
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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=apiClient.js.map
@@ -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
@@ -1,2 +0,0 @@
1
- export * from './apiClient';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/types/src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}