@whisk/graphql 0.0.11 → 0.0.13
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/dist/enums.d.ts +8 -0
- package/dist/enums.js +1 -0
- package/dist/enums.js.map +1 -0
- package/dist/generated/graphql-env.d.d.ts +109 -4159
- package/dist/generated/graphql-env.d.js +1 -0
- package/dist/generated/graphql-env.d.js.map +1 -1
- package/dist/generated/schema.d.ts +2160 -1648
- package/dist/generated/schema.json +1 -4695
- package/dist/graphql.d.ts +2 -5
- package/dist/graphql.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/enums.ts +6 -0
- package/src/generated/graphql-env.d.ts +111 -4160
- package/src/generated/schema.json +1 -4695
- package/src/graphql.ts +1 -4
- package/src/index.ts +1 -0
package/dist/graphql.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initGraphQLTada } from 'gql.tada';
|
|
2
2
|
export { FragmentOf, ResultOf, VariablesOf, readFragment } from 'gql.tada';
|
|
3
|
-
import { introspection
|
|
3
|
+
import { introspection } from './generated/graphql-env.d.js';
|
|
4
4
|
|
|
5
5
|
declare const graphql: initGraphQLTada<{
|
|
6
6
|
disableMasking: true;
|
|
@@ -14,7 +14,4 @@ declare const graphql: initGraphQLTada<{
|
|
|
14
14
|
};
|
|
15
15
|
}>;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
type VaultProtocol = introspection_types["Erc4626VaultProtocol"]["enumValues"];
|
|
19
|
-
|
|
20
|
-
export { type VaultProtocol, graphql };
|
|
17
|
+
export { graphql };
|
package/dist/graphql.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/graphql.ts"],"sourcesContent":["import { initGraphQLTada } from \"gql.tada\"\nimport type { introspection
|
|
1
|
+
{"version":3,"sources":["../src/graphql.ts"],"sourcesContent":["import { initGraphQLTada } from \"gql.tada\"\nimport type { introspection } from \"./generated/graphql-env.js\"\n\nexport const graphql = initGraphQLTada<{\n disableMasking: true\n introspection: introspection\n scalars: {\n Address: `0x${string}` // string underlying\n ChainId: number // number underlying\n BigInt: bigint // string underlying, but assumes an exchange to convert at runtime (done in client)\n Hex: `0x${string}` // string underlying\n URL: string\n }\n}>()\n\nexport type { FragmentOf, ResultOf, VariablesOf } from \"gql.tada\"\nexport { readFragment } from \"gql.tada\"\n"],"mappings":"AAAA,SAAS,uBAAuB;AAGzB,MAAM,UAAU,gBAUpB;AAGH,SAAS,oBAAoB;","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ApySide, ApyTimeframe, Erc4626VaultProtocol, TokenCategory } from './enums.js';
|
|
2
|
+
export { graphql } from './graphql.js';
|
|
2
3
|
export { schema } from './schema.js';
|
|
3
4
|
export { FragmentOf, ResultOf, VariablesOf, readFragment } from 'gql.tada';
|
|
4
5
|
import './generated/graphql-env.d.js';
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from \"./graphql.js\"\nexport * from \"./schema.js\"\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from \"./enums.js\"\nexport * from \"./graphql.js\"\nexport * from \"./schema.js\"\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whisk/graphql",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/office-supply-ventures/whisk-sdk.git",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup",
|
|
39
39
|
"dev": "tsup --watch",
|
|
40
|
-
"schema:sync": "tsx scripts/fetch-schema.ts && gql-tada generate-output"
|
|
40
|
+
"schema:sync": "tsx scripts/fetch-schema.ts && gql-tada generate-output",
|
|
41
|
+
"check:types": "tsc --noEmit"
|
|
41
42
|
}
|
|
42
43
|
}
|
package/src/enums.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { introspection_types } from "./generated/graphql-env.js"
|
|
2
|
+
|
|
3
|
+
export type ApySide = introspection_types["ApySide"]["enumValues"]
|
|
4
|
+
export type ApyTimeframe = introspection_types["ApyTimeframe"]["enumValues"]
|
|
5
|
+
export type Erc4626VaultProtocol = introspection_types["Erc4626VaultProtocol"]["enumValues"]
|
|
6
|
+
export type TokenCategory = introspection_types["TokenCategory"]["enumValues"]
|