@whisk/graphql 0.0.10 → 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.
@@ -3463,6 +3463,14 @@ type introspection_types = {
3463
3463
  ofType: { kind: "OBJECT"; name: "MorphoVaultPage"; ofType: null }
3464
3464
  }
3465
3465
  }
3466
+ steakhouseTvl: {
3467
+ name: "steakhouseTvl"
3468
+ type: {
3469
+ kind: "NON_NULL"
3470
+ name: never
3471
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvl"; ofType: null }
3472
+ }
3473
+ }
3466
3474
  tokenHoldings: {
3467
3475
  name: "tokenHoldings"
3468
3476
  type: {
@@ -3545,6 +3553,142 @@ type introspection_types = {
3545
3553
  }
3546
3554
  }
3547
3555
  }
3556
+ SteakhouseTvl: {
3557
+ kind: "OBJECT"
3558
+ name: "SteakhouseTvl"
3559
+ fields: {
3560
+ byAssetCategory: {
3561
+ name: "byAssetCategory"
3562
+ type: {
3563
+ kind: "NON_NULL"
3564
+ name: never
3565
+ ofType: {
3566
+ kind: "LIST"
3567
+ name: never
3568
+ ofType: {
3569
+ kind: "NON_NULL"
3570
+ name: never
3571
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvlByAssetCategory"; ofType: null }
3572
+ }
3573
+ }
3574
+ }
3575
+ }
3576
+ byChain: {
3577
+ name: "byChain"
3578
+ type: {
3579
+ kind: "NON_NULL"
3580
+ name: never
3581
+ ofType: {
3582
+ kind: "LIST"
3583
+ name: never
3584
+ ofType: {
3585
+ kind: "NON_NULL"
3586
+ name: never
3587
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvlByChain"; ofType: null }
3588
+ }
3589
+ }
3590
+ }
3591
+ }
3592
+ byProtocol: {
3593
+ name: "byProtocol"
3594
+ type: {
3595
+ kind: "NON_NULL"
3596
+ name: never
3597
+ ofType: {
3598
+ kind: "LIST"
3599
+ name: never
3600
+ ofType: {
3601
+ kind: "NON_NULL"
3602
+ name: never
3603
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvlByProtocol"; ofType: null }
3604
+ }
3605
+ }
3606
+ }
3607
+ }
3608
+ computedAt: {
3609
+ name: "computedAt"
3610
+ type: {
3611
+ kind: "NON_NULL"
3612
+ name: never
3613
+ ofType: { kind: "SCALAR"; name: "Int"; ofType: null }
3614
+ }
3615
+ }
3616
+ totalUsd: {
3617
+ name: "totalUsd"
3618
+ type: {
3619
+ kind: "NON_NULL"
3620
+ name: never
3621
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3622
+ }
3623
+ }
3624
+ }
3625
+ }
3626
+ SteakhouseTvlByAssetCategory: {
3627
+ kind: "OBJECT"
3628
+ name: "SteakhouseTvlByAssetCategory"
3629
+ fields: {
3630
+ category: {
3631
+ name: "category"
3632
+ type: {
3633
+ kind: "NON_NULL"
3634
+ name: never
3635
+ ofType: { kind: "ENUM"; name: "TokenCategory"; ofType: null }
3636
+ }
3637
+ }
3638
+ tvlUsd: {
3639
+ name: "tvlUsd"
3640
+ type: {
3641
+ kind: "NON_NULL"
3642
+ name: never
3643
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3644
+ }
3645
+ }
3646
+ }
3647
+ }
3648
+ SteakhouseTvlByChain: {
3649
+ kind: "OBJECT"
3650
+ name: "SteakhouseTvlByChain"
3651
+ fields: {
3652
+ chain: {
3653
+ name: "chain"
3654
+ type: {
3655
+ kind: "NON_NULL"
3656
+ name: never
3657
+ ofType: { kind: "OBJECT"; name: "Chain"; ofType: null }
3658
+ }
3659
+ }
3660
+ tvlUsd: {
3661
+ name: "tvlUsd"
3662
+ type: {
3663
+ kind: "NON_NULL"
3664
+ name: never
3665
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3666
+ }
3667
+ }
3668
+ }
3669
+ }
3670
+ SteakhouseTvlByProtocol: {
3671
+ kind: "OBJECT"
3672
+ name: "SteakhouseTvlByProtocol"
3673
+ fields: {
3674
+ protocol: {
3675
+ name: "protocol"
3676
+ type: {
3677
+ kind: "NON_NULL"
3678
+ name: never
3679
+ ofType: { kind: "ENUM"; name: "Erc4626VaultProtocol"; ofType: null }
3680
+ }
3681
+ }
3682
+ tvlUsd: {
3683
+ name: "tvlUsd"
3684
+ type: {
3685
+ kind: "NON_NULL"
3686
+ name: never
3687
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3688
+ }
3689
+ }
3690
+ }
3691
+ }
3548
3692
  String: unknown
3549
3693
  Token: {
3550
3694
  kind: "OBJECT"
@@ -521,6 +521,19 @@ var __schema = {
521
521
  }
522
522
  ]
523
523
  },
524
+ {
525
+ name: "steakhouseTvl",
526
+ type: {
527
+ kind: "NON_NULL",
528
+ ofType: {
529
+ kind: "OBJECT",
530
+ name: "SteakhouseTvl",
531
+ ofType: null
532
+ }
533
+ },
534
+ args: [
535
+ ]
536
+ },
524
537
  {
525
538
  name: "tokens",
526
539
  type: {
@@ -5702,6 +5715,197 @@ var __schema = {
5702
5715
  interfaces: [
5703
5716
  ]
5704
5717
  },
5718
+ {
5719
+ kind: "OBJECT",
5720
+ name: "SteakhouseTvl",
5721
+ fields: [
5722
+ {
5723
+ name: "totalUsd",
5724
+ type: {
5725
+ kind: "NON_NULL",
5726
+ ofType: {
5727
+ kind: "SCALAR",
5728
+ name: "Float",
5729
+ ofType: null
5730
+ }
5731
+ },
5732
+ args: [
5733
+ ]
5734
+ },
5735
+ {
5736
+ name: "computedAt",
5737
+ type: {
5738
+ kind: "NON_NULL",
5739
+ ofType: {
5740
+ kind: "SCALAR",
5741
+ name: "Int",
5742
+ ofType: null
5743
+ }
5744
+ },
5745
+ args: [
5746
+ ]
5747
+ },
5748
+ {
5749
+ name: "byChain",
5750
+ type: {
5751
+ kind: "NON_NULL",
5752
+ ofType: {
5753
+ kind: "LIST",
5754
+ ofType: {
5755
+ kind: "NON_NULL",
5756
+ ofType: {
5757
+ kind: "OBJECT",
5758
+ name: "SteakhouseTvlByChain",
5759
+ ofType: null
5760
+ }
5761
+ }
5762
+ }
5763
+ },
5764
+ args: [
5765
+ ]
5766
+ },
5767
+ {
5768
+ name: "byProtocol",
5769
+ type: {
5770
+ kind: "NON_NULL",
5771
+ ofType: {
5772
+ kind: "LIST",
5773
+ ofType: {
5774
+ kind: "NON_NULL",
5775
+ ofType: {
5776
+ kind: "OBJECT",
5777
+ name: "SteakhouseTvlByProtocol",
5778
+ ofType: null
5779
+ }
5780
+ }
5781
+ }
5782
+ },
5783
+ args: [
5784
+ ]
5785
+ },
5786
+ {
5787
+ name: "byAssetCategory",
5788
+ type: {
5789
+ kind: "NON_NULL",
5790
+ ofType: {
5791
+ kind: "LIST",
5792
+ ofType: {
5793
+ kind: "NON_NULL",
5794
+ ofType: {
5795
+ kind: "OBJECT",
5796
+ name: "SteakhouseTvlByAssetCategory",
5797
+ ofType: null
5798
+ }
5799
+ }
5800
+ }
5801
+ },
5802
+ args: [
5803
+ ]
5804
+ }
5805
+ ],
5806
+ interfaces: [
5807
+ ]
5808
+ },
5809
+ {
5810
+ kind: "OBJECT",
5811
+ name: "SteakhouseTvlByChain",
5812
+ fields: [
5813
+ {
5814
+ name: "chain",
5815
+ type: {
5816
+ kind: "NON_NULL",
5817
+ ofType: {
5818
+ kind: "OBJECT",
5819
+ name: "Chain",
5820
+ ofType: null
5821
+ }
5822
+ },
5823
+ args: [
5824
+ ]
5825
+ },
5826
+ {
5827
+ name: "tvlUsd",
5828
+ type: {
5829
+ kind: "NON_NULL",
5830
+ ofType: {
5831
+ kind: "SCALAR",
5832
+ name: "Float",
5833
+ ofType: null
5834
+ }
5835
+ },
5836
+ args: [
5837
+ ]
5838
+ }
5839
+ ],
5840
+ interfaces: [
5841
+ ]
5842
+ },
5843
+ {
5844
+ kind: "OBJECT",
5845
+ name: "SteakhouseTvlByProtocol",
5846
+ fields: [
5847
+ {
5848
+ name: "protocol",
5849
+ type: {
5850
+ kind: "NON_NULL",
5851
+ ofType: {
5852
+ kind: "SCALAR",
5853
+ name: "Any"
5854
+ }
5855
+ },
5856
+ args: [
5857
+ ]
5858
+ },
5859
+ {
5860
+ name: "tvlUsd",
5861
+ type: {
5862
+ kind: "NON_NULL",
5863
+ ofType: {
5864
+ kind: "SCALAR",
5865
+ name: "Float",
5866
+ ofType: null
5867
+ }
5868
+ },
5869
+ args: [
5870
+ ]
5871
+ }
5872
+ ],
5873
+ interfaces: [
5874
+ ]
5875
+ },
5876
+ {
5877
+ kind: "OBJECT",
5878
+ name: "SteakhouseTvlByAssetCategory",
5879
+ fields: [
5880
+ {
5881
+ name: "category",
5882
+ type: {
5883
+ kind: "NON_NULL",
5884
+ ofType: {
5885
+ kind: "SCALAR",
5886
+ name: "Any"
5887
+ }
5888
+ },
5889
+ args: [
5890
+ ]
5891
+ },
5892
+ {
5893
+ name: "tvlUsd",
5894
+ type: {
5895
+ kind: "NON_NULL",
5896
+ ofType: {
5897
+ kind: "SCALAR",
5898
+ name: "Float",
5899
+ ofType: null
5900
+ }
5901
+ },
5902
+ args: [
5903
+ ]
5904
+ }
5905
+ ],
5906
+ interfaces: [
5907
+ ]
5908
+ },
5705
5909
  {
5706
5910
  kind: "OBJECT",
5707
5911
  name: "TokenHistoricalEntry",
@@ -368,6 +368,18 @@
368
368
  }
369
369
  ]
370
370
  },
371
+ {
372
+ "name": "steakhouseTvl",
373
+ "type": {
374
+ "kind": "NON_NULL",
375
+ "ofType": {
376
+ "kind": "OBJECT",
377
+ "name": "SteakhouseTvl",
378
+ "ofType": null
379
+ }
380
+ },
381
+ "args": []
382
+ },
371
383
  {
372
384
  "name": "tokens",
373
385
  "type": {
@@ -4195,6 +4207,152 @@
4195
4207
  ],
4196
4208
  "interfaces": []
4197
4209
  },
4210
+ {
4211
+ "kind": "OBJECT",
4212
+ "name": "SteakhouseTvl",
4213
+ "fields": [
4214
+ {
4215
+ "name": "totalUsd",
4216
+ "type": {
4217
+ "kind": "NON_NULL",
4218
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4219
+ },
4220
+ "args": []
4221
+ },
4222
+ {
4223
+ "name": "computedAt",
4224
+ "type": {
4225
+ "kind": "NON_NULL",
4226
+ "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null }
4227
+ },
4228
+ "args": []
4229
+ },
4230
+ {
4231
+ "name": "byChain",
4232
+ "type": {
4233
+ "kind": "NON_NULL",
4234
+ "ofType": {
4235
+ "kind": "LIST",
4236
+ "ofType": {
4237
+ "kind": "NON_NULL",
4238
+ "ofType": {
4239
+ "kind": "OBJECT",
4240
+ "name": "SteakhouseTvlByChain",
4241
+ "ofType": null
4242
+ }
4243
+ }
4244
+ }
4245
+ },
4246
+ "args": []
4247
+ },
4248
+ {
4249
+ "name": "byProtocol",
4250
+ "type": {
4251
+ "kind": "NON_NULL",
4252
+ "ofType": {
4253
+ "kind": "LIST",
4254
+ "ofType": {
4255
+ "kind": "NON_NULL",
4256
+ "ofType": {
4257
+ "kind": "OBJECT",
4258
+ "name": "SteakhouseTvlByProtocol",
4259
+ "ofType": null
4260
+ }
4261
+ }
4262
+ }
4263
+ },
4264
+ "args": []
4265
+ },
4266
+ {
4267
+ "name": "byAssetCategory",
4268
+ "type": {
4269
+ "kind": "NON_NULL",
4270
+ "ofType": {
4271
+ "kind": "LIST",
4272
+ "ofType": {
4273
+ "kind": "NON_NULL",
4274
+ "ofType": {
4275
+ "kind": "OBJECT",
4276
+ "name": "SteakhouseTvlByAssetCategory",
4277
+ "ofType": null
4278
+ }
4279
+ }
4280
+ }
4281
+ },
4282
+ "args": []
4283
+ }
4284
+ ],
4285
+ "interfaces": []
4286
+ },
4287
+ {
4288
+ "kind": "OBJECT",
4289
+ "name": "SteakhouseTvlByChain",
4290
+ "fields": [
4291
+ {
4292
+ "name": "chain",
4293
+ "type": {
4294
+ "kind": "NON_NULL",
4295
+ "ofType": { "kind": "OBJECT", "name": "Chain", "ofType": null }
4296
+ },
4297
+ "args": []
4298
+ },
4299
+ {
4300
+ "name": "tvlUsd",
4301
+ "type": {
4302
+ "kind": "NON_NULL",
4303
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4304
+ },
4305
+ "args": []
4306
+ }
4307
+ ],
4308
+ "interfaces": []
4309
+ },
4310
+ {
4311
+ "kind": "OBJECT",
4312
+ "name": "SteakhouseTvlByProtocol",
4313
+ "fields": [
4314
+ {
4315
+ "name": "protocol",
4316
+ "type": {
4317
+ "kind": "NON_NULL",
4318
+ "ofType": { "kind": "SCALAR", "name": "Any" }
4319
+ },
4320
+ "args": []
4321
+ },
4322
+ {
4323
+ "name": "tvlUsd",
4324
+ "type": {
4325
+ "kind": "NON_NULL",
4326
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4327
+ },
4328
+ "args": []
4329
+ }
4330
+ ],
4331
+ "interfaces": []
4332
+ },
4333
+ {
4334
+ "kind": "OBJECT",
4335
+ "name": "SteakhouseTvlByAssetCategory",
4336
+ "fields": [
4337
+ {
4338
+ "name": "category",
4339
+ "type": {
4340
+ "kind": "NON_NULL",
4341
+ "ofType": { "kind": "SCALAR", "name": "Any" }
4342
+ },
4343
+ "args": []
4344
+ },
4345
+ {
4346
+ "name": "tvlUsd",
4347
+ "type": {
4348
+ "kind": "NON_NULL",
4349
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4350
+ },
4351
+ "args": []
4352
+ }
4353
+ ],
4354
+ "interfaces": []
4355
+ },
4198
4356
  {
4199
4357
  "kind": "OBJECT",
4200
4358
  "name": "TokenHistoricalEntry",
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
- export { graphql };
17
+ /** Vault protocol type from GraphQL schema */
18
+ type VaultProtocol = introspection_types["Erc4626VaultProtocol"]["enumValues"];
19
+
20
+ export { type VaultProtocol, graphql };
@@ -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
@@ -1,4 +1,4 @@
1
- export { graphql } from './graphql.js';
1
+ export { VaultProtocol, graphql } from './graphql.js';
2
2
  export { schema } from './schema.js';
3
3
  export { FragmentOf, ResultOf, VariablesOf, readFragment } from 'gql.tada';
4
4
  import './generated/graphql-env.d.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whisk/graphql",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/office-supply-ventures/whisk-sdk.git",
@@ -3463,6 +3463,14 @@ export type introspection_types = {
3463
3463
  ofType: { kind: "OBJECT"; name: "MorphoVaultPage"; ofType: null }
3464
3464
  }
3465
3465
  }
3466
+ steakhouseTvl: {
3467
+ name: "steakhouseTvl"
3468
+ type: {
3469
+ kind: "NON_NULL"
3470
+ name: never
3471
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvl"; ofType: null }
3472
+ }
3473
+ }
3466
3474
  tokenHoldings: {
3467
3475
  name: "tokenHoldings"
3468
3476
  type: {
@@ -3545,6 +3553,142 @@ export type introspection_types = {
3545
3553
  }
3546
3554
  }
3547
3555
  }
3556
+ SteakhouseTvl: {
3557
+ kind: "OBJECT"
3558
+ name: "SteakhouseTvl"
3559
+ fields: {
3560
+ byAssetCategory: {
3561
+ name: "byAssetCategory"
3562
+ type: {
3563
+ kind: "NON_NULL"
3564
+ name: never
3565
+ ofType: {
3566
+ kind: "LIST"
3567
+ name: never
3568
+ ofType: {
3569
+ kind: "NON_NULL"
3570
+ name: never
3571
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvlByAssetCategory"; ofType: null }
3572
+ }
3573
+ }
3574
+ }
3575
+ }
3576
+ byChain: {
3577
+ name: "byChain"
3578
+ type: {
3579
+ kind: "NON_NULL"
3580
+ name: never
3581
+ ofType: {
3582
+ kind: "LIST"
3583
+ name: never
3584
+ ofType: {
3585
+ kind: "NON_NULL"
3586
+ name: never
3587
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvlByChain"; ofType: null }
3588
+ }
3589
+ }
3590
+ }
3591
+ }
3592
+ byProtocol: {
3593
+ name: "byProtocol"
3594
+ type: {
3595
+ kind: "NON_NULL"
3596
+ name: never
3597
+ ofType: {
3598
+ kind: "LIST"
3599
+ name: never
3600
+ ofType: {
3601
+ kind: "NON_NULL"
3602
+ name: never
3603
+ ofType: { kind: "OBJECT"; name: "SteakhouseTvlByProtocol"; ofType: null }
3604
+ }
3605
+ }
3606
+ }
3607
+ }
3608
+ computedAt: {
3609
+ name: "computedAt"
3610
+ type: {
3611
+ kind: "NON_NULL"
3612
+ name: never
3613
+ ofType: { kind: "SCALAR"; name: "Int"; ofType: null }
3614
+ }
3615
+ }
3616
+ totalUsd: {
3617
+ name: "totalUsd"
3618
+ type: {
3619
+ kind: "NON_NULL"
3620
+ name: never
3621
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3622
+ }
3623
+ }
3624
+ }
3625
+ }
3626
+ SteakhouseTvlByAssetCategory: {
3627
+ kind: "OBJECT"
3628
+ name: "SteakhouseTvlByAssetCategory"
3629
+ fields: {
3630
+ category: {
3631
+ name: "category"
3632
+ type: {
3633
+ kind: "NON_NULL"
3634
+ name: never
3635
+ ofType: { kind: "ENUM"; name: "TokenCategory"; ofType: null }
3636
+ }
3637
+ }
3638
+ tvlUsd: {
3639
+ name: "tvlUsd"
3640
+ type: {
3641
+ kind: "NON_NULL"
3642
+ name: never
3643
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3644
+ }
3645
+ }
3646
+ }
3647
+ }
3648
+ SteakhouseTvlByChain: {
3649
+ kind: "OBJECT"
3650
+ name: "SteakhouseTvlByChain"
3651
+ fields: {
3652
+ chain: {
3653
+ name: "chain"
3654
+ type: {
3655
+ kind: "NON_NULL"
3656
+ name: never
3657
+ ofType: { kind: "OBJECT"; name: "Chain"; ofType: null }
3658
+ }
3659
+ }
3660
+ tvlUsd: {
3661
+ name: "tvlUsd"
3662
+ type: {
3663
+ kind: "NON_NULL"
3664
+ name: never
3665
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3666
+ }
3667
+ }
3668
+ }
3669
+ }
3670
+ SteakhouseTvlByProtocol: {
3671
+ kind: "OBJECT"
3672
+ name: "SteakhouseTvlByProtocol"
3673
+ fields: {
3674
+ protocol: {
3675
+ name: "protocol"
3676
+ type: {
3677
+ kind: "NON_NULL"
3678
+ name: never
3679
+ ofType: { kind: "ENUM"; name: "Erc4626VaultProtocol"; ofType: null }
3680
+ }
3681
+ }
3682
+ tvlUsd: {
3683
+ name: "tvlUsd"
3684
+ type: {
3685
+ kind: "NON_NULL"
3686
+ name: never
3687
+ ofType: { kind: "SCALAR"; name: "Float"; ofType: null }
3688
+ }
3689
+ }
3690
+ }
3691
+ }
3548
3692
  String: unknown
3549
3693
  Token: {
3550
3694
  kind: "OBJECT"
@@ -368,6 +368,18 @@
368
368
  }
369
369
  ]
370
370
  },
371
+ {
372
+ "name": "steakhouseTvl",
373
+ "type": {
374
+ "kind": "NON_NULL",
375
+ "ofType": {
376
+ "kind": "OBJECT",
377
+ "name": "SteakhouseTvl",
378
+ "ofType": null
379
+ }
380
+ },
381
+ "args": []
382
+ },
371
383
  {
372
384
  "name": "tokens",
373
385
  "type": {
@@ -4195,6 +4207,152 @@
4195
4207
  ],
4196
4208
  "interfaces": []
4197
4209
  },
4210
+ {
4211
+ "kind": "OBJECT",
4212
+ "name": "SteakhouseTvl",
4213
+ "fields": [
4214
+ {
4215
+ "name": "totalUsd",
4216
+ "type": {
4217
+ "kind": "NON_NULL",
4218
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4219
+ },
4220
+ "args": []
4221
+ },
4222
+ {
4223
+ "name": "computedAt",
4224
+ "type": {
4225
+ "kind": "NON_NULL",
4226
+ "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null }
4227
+ },
4228
+ "args": []
4229
+ },
4230
+ {
4231
+ "name": "byChain",
4232
+ "type": {
4233
+ "kind": "NON_NULL",
4234
+ "ofType": {
4235
+ "kind": "LIST",
4236
+ "ofType": {
4237
+ "kind": "NON_NULL",
4238
+ "ofType": {
4239
+ "kind": "OBJECT",
4240
+ "name": "SteakhouseTvlByChain",
4241
+ "ofType": null
4242
+ }
4243
+ }
4244
+ }
4245
+ },
4246
+ "args": []
4247
+ },
4248
+ {
4249
+ "name": "byProtocol",
4250
+ "type": {
4251
+ "kind": "NON_NULL",
4252
+ "ofType": {
4253
+ "kind": "LIST",
4254
+ "ofType": {
4255
+ "kind": "NON_NULL",
4256
+ "ofType": {
4257
+ "kind": "OBJECT",
4258
+ "name": "SteakhouseTvlByProtocol",
4259
+ "ofType": null
4260
+ }
4261
+ }
4262
+ }
4263
+ },
4264
+ "args": []
4265
+ },
4266
+ {
4267
+ "name": "byAssetCategory",
4268
+ "type": {
4269
+ "kind": "NON_NULL",
4270
+ "ofType": {
4271
+ "kind": "LIST",
4272
+ "ofType": {
4273
+ "kind": "NON_NULL",
4274
+ "ofType": {
4275
+ "kind": "OBJECT",
4276
+ "name": "SteakhouseTvlByAssetCategory",
4277
+ "ofType": null
4278
+ }
4279
+ }
4280
+ }
4281
+ },
4282
+ "args": []
4283
+ }
4284
+ ],
4285
+ "interfaces": []
4286
+ },
4287
+ {
4288
+ "kind": "OBJECT",
4289
+ "name": "SteakhouseTvlByChain",
4290
+ "fields": [
4291
+ {
4292
+ "name": "chain",
4293
+ "type": {
4294
+ "kind": "NON_NULL",
4295
+ "ofType": { "kind": "OBJECT", "name": "Chain", "ofType": null }
4296
+ },
4297
+ "args": []
4298
+ },
4299
+ {
4300
+ "name": "tvlUsd",
4301
+ "type": {
4302
+ "kind": "NON_NULL",
4303
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4304
+ },
4305
+ "args": []
4306
+ }
4307
+ ],
4308
+ "interfaces": []
4309
+ },
4310
+ {
4311
+ "kind": "OBJECT",
4312
+ "name": "SteakhouseTvlByProtocol",
4313
+ "fields": [
4314
+ {
4315
+ "name": "protocol",
4316
+ "type": {
4317
+ "kind": "NON_NULL",
4318
+ "ofType": { "kind": "SCALAR", "name": "Any" }
4319
+ },
4320
+ "args": []
4321
+ },
4322
+ {
4323
+ "name": "tvlUsd",
4324
+ "type": {
4325
+ "kind": "NON_NULL",
4326
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4327
+ },
4328
+ "args": []
4329
+ }
4330
+ ],
4331
+ "interfaces": []
4332
+ },
4333
+ {
4334
+ "kind": "OBJECT",
4335
+ "name": "SteakhouseTvlByAssetCategory",
4336
+ "fields": [
4337
+ {
4338
+ "name": "category",
4339
+ "type": {
4340
+ "kind": "NON_NULL",
4341
+ "ofType": { "kind": "SCALAR", "name": "Any" }
4342
+ },
4343
+ "args": []
4344
+ },
4345
+ {
4346
+ "name": "tvlUsd",
4347
+ "type": {
4348
+ "kind": "NON_NULL",
4349
+ "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null }
4350
+ },
4351
+ "args": []
4352
+ }
4353
+ ],
4354
+ "interfaces": []
4355
+ },
4198
4356
  {
4199
4357
  "kind": "OBJECT",
4200
4358
  "name": "TokenHistoricalEntry",
package/src/graphql.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { initGraphQLTada } from "gql.tada"
2
- import type { introspection } from "./generated/graphql-env.js"
2
+ import type { introspection, introspection_types } from "./generated/graphql-env.js"
3
3
 
4
4
  export const graphql = initGraphQLTada<{
5
5
  disableMasking: true
@@ -15,3 +15,6 @@ export const graphql = initGraphQLTada<{
15
15
 
16
16
  export type { FragmentOf, ResultOf, VariablesOf } from "gql.tada"
17
17
  export { readFragment } from "gql.tada"
18
+
19
+ /** Vault protocol type from GraphQL schema */
20
+ export type VaultProtocol = introspection_types["Erc4626VaultProtocol"]["enumValues"]