@whisk/graphql 0.0.9 → 0.0.11
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/generated/graphql-env.d.d.ts +4159 -104
- package/dist/generated/graphql-env.d.js +0 -1
- package/dist/generated/graphql-env.d.js.map +1 -1
- package/dist/generated/schema.d.ts +476 -0
- package/dist/generated/schema.json +4695 -1
- package/dist/graphql.d.ts +5 -2
- package/dist/graphql.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/generated/graphql-env.d.ts +4160 -106
- package/src/generated/schema.json +4695 -1
- package/src/graphql.ts +4 -1
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 } from './generated/graphql-env.d.js';
|
|
3
|
+
import { introspection, introspection_types } from './generated/graphql-env.d.js';
|
|
4
4
|
|
|
5
5
|
declare const graphql: initGraphQLTada<{
|
|
6
6
|
disableMasking: true;
|
|
@@ -14,4 +14,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
14
14
|
};
|
|
15
15
|
}>;
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
/** Vault protocol type from GraphQL schema */
|
|
18
|
+
type VaultProtocol = introspection_types["Erc4626VaultProtocol"]["enumValues"];
|
|
19
|
+
|
|
20
|
+
export { type VaultProtocol, 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 } 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":[]}
|
|
1
|
+
{"version":3,"sources":["../src/graphql.ts"],"sourcesContent":["import { initGraphQLTada } from \"gql.tada\"\nimport type { introspection, introspection_types } 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\n/** Vault protocol type from GraphQL schema */\nexport type VaultProtocol = introspection_types[\"Erc4626VaultProtocol\"][\"enumValues\"]\n"],"mappings":"AAAA,SAAS,uBAAuB;AAGzB,MAAM,UAAU,gBAUpB;AAGH,SAAS,oBAAoB;","names":[]}
|
package/dist/index.d.ts
CHANGED