@berachain/graphql 0.1.2-alpha.8 → 0.1.2-beta.1
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/README.md +1 -1
- package/dist/pol/api.codegen.cjs +4 -0
- package/dist/pol/{api.codegen.d.mts → api.codegen.d.cts} +16 -0
- package/dist/pol/api.codegen.d.ts +16 -0
- package/dist/pol/api.codegen.mjs +4 -0
- package/package.json +10 -18
- /package/dist/bend/{whisk.codegen.d.mts → whisk.codegen.d.cts} +0 -0
- /package/dist/chain/{chain.codegen.d.mts → chain.codegen.d.cts} +0 -0
- /package/dist/dex/{api.codegen.d.mts → api.codegen.d.cts} +0 -0
- /package/dist/dex/{subgraph.codegen.d.mts → subgraph.codegen.d.cts} +0 -0
- /package/dist/governance/{governance.codegen.d.mts → governance.codegen.d.cts} +0 -0
- /package/dist/honey/{honey.codegen.d.mts → honey.codegen.d.cts} +0 -0
- /package/dist/pol/{subgraph.codegen.d.mts → subgraph.codegen.d.cts} +0 -0
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Don't use this package unless you're from the Berachain team. API is unstable an
|
|
|
10
10
|
|
|
11
11
|
If you want to test locally (and without publishing) how changes to this package affect dapps, you can:
|
|
12
12
|
|
|
13
|
-
- go on the app you want to test and run `
|
|
13
|
+
- go on the app you want to test and run `pnpm i @berachain/graphql@workspace:`
|
|
14
14
|
- build the package and test it out
|
|
15
15
|
- bump the version on this package and run `pnpm publish`
|
|
16
16
|
- update the version in the `internal` catalog on `pnpn-workspace.yml`
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -2901,6 +2901,10 @@ type ApiValidatorFragment = {
|
|
|
2901
2901
|
lastBlockUptime?: {
|
|
2902
2902
|
__typename?: 'GqlValidatorBlockUptime';
|
|
2903
2903
|
isActive: boolean;
|
|
2904
|
+
isProposer: boolean;
|
|
2905
|
+
isSigner: boolean;
|
|
2906
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
2907
|
+
blockNumber: number;
|
|
2904
2908
|
} | null;
|
|
2905
2909
|
metadata?: {
|
|
2906
2910
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -3065,6 +3069,10 @@ type GetValidatorQuery = {
|
|
|
3065
3069
|
lastBlockUptime?: {
|
|
3066
3070
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3067
3071
|
isActive: boolean;
|
|
3072
|
+
isProposer: boolean;
|
|
3073
|
+
isSigner: boolean;
|
|
3074
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
3075
|
+
blockNumber: number;
|
|
3068
3076
|
} | null;
|
|
3069
3077
|
metadata?: {
|
|
3070
3078
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -3185,6 +3193,10 @@ type GetValidatorsQuery = {
|
|
|
3185
3193
|
lastBlockUptime?: {
|
|
3186
3194
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3187
3195
|
isActive: boolean;
|
|
3196
|
+
isProposer: boolean;
|
|
3197
|
+
isSigner: boolean;
|
|
3198
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
3199
|
+
blockNumber: number;
|
|
3188
3200
|
} | null;
|
|
3189
3201
|
metadata?: {
|
|
3190
3202
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -3292,6 +3304,10 @@ type GetVaultValidatorsQuery = {
|
|
|
3292
3304
|
lastBlockUptime?: {
|
|
3293
3305
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3294
3306
|
isActive: boolean;
|
|
3307
|
+
isProposer: boolean;
|
|
3308
|
+
isSigner: boolean;
|
|
3309
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
3310
|
+
blockNumber: number;
|
|
3295
3311
|
} | null;
|
|
3296
3312
|
metadata?: {
|
|
3297
3313
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -2901,6 +2901,10 @@ type ApiValidatorFragment = {
|
|
|
2901
2901
|
lastBlockUptime?: {
|
|
2902
2902
|
__typename?: 'GqlValidatorBlockUptime';
|
|
2903
2903
|
isActive: boolean;
|
|
2904
|
+
isProposer: boolean;
|
|
2905
|
+
isSigner: boolean;
|
|
2906
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
2907
|
+
blockNumber: number;
|
|
2904
2908
|
} | null;
|
|
2905
2909
|
metadata?: {
|
|
2906
2910
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -3065,6 +3069,10 @@ type GetValidatorQuery = {
|
|
|
3065
3069
|
lastBlockUptime?: {
|
|
3066
3070
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3067
3071
|
isActive: boolean;
|
|
3072
|
+
isProposer: boolean;
|
|
3073
|
+
isSigner: boolean;
|
|
3074
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
3075
|
+
blockNumber: number;
|
|
3068
3076
|
} | null;
|
|
3069
3077
|
metadata?: {
|
|
3070
3078
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -3185,6 +3193,10 @@ type GetValidatorsQuery = {
|
|
|
3185
3193
|
lastBlockUptime?: {
|
|
3186
3194
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3187
3195
|
isActive: boolean;
|
|
3196
|
+
isProposer: boolean;
|
|
3197
|
+
isSigner: boolean;
|
|
3198
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
3199
|
+
blockNumber: number;
|
|
3188
3200
|
} | null;
|
|
3189
3201
|
metadata?: {
|
|
3190
3202
|
__typename?: 'GqlValidatorMetadata';
|
|
@@ -3292,6 +3304,10 @@ type GetVaultValidatorsQuery = {
|
|
|
3292
3304
|
lastBlockUptime?: {
|
|
3293
3305
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3294
3306
|
isActive: boolean;
|
|
3307
|
+
isProposer: boolean;
|
|
3308
|
+
isSigner: boolean;
|
|
3309
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
3310
|
+
blockNumber: number;
|
|
3295
3311
|
} | null;
|
|
3296
3312
|
metadata?: {
|
|
3297
3313
|
__typename?: 'GqlValidatorMetadata';
|
package/dist/pol/api.codegen.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.1.2-
|
|
4
|
-
"type": "
|
|
3
|
+
"version": "0.1.2-beta.1",
|
|
4
|
+
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -41,57 +41,49 @@
|
|
|
41
41
|
"types": "./dist/governance/governance.codegen.d.ts",
|
|
42
42
|
"require": "./dist/governance/governance.codegen.cjs",
|
|
43
43
|
"module": "./dist/governance/governance.codegen.mjs",
|
|
44
|
-
"import": "./dist/governance/governance.codegen.mjs"
|
|
45
|
-
"default": "./dist/governance/governance.codegen.cjs"
|
|
44
|
+
"import": "./dist/governance/governance.codegen.mjs"
|
|
46
45
|
},
|
|
47
46
|
"./chain": {
|
|
48
47
|
"types": "./dist/chain/chain.codegen.d.ts",
|
|
49
48
|
"require": "./dist/chain/chain.codegen.cjs",
|
|
50
49
|
"module": "./dist/chain/chain.codegen.mjs",
|
|
51
|
-
"import": "./dist/chain/chain.codegen.mjs"
|
|
52
|
-
"default": "./dist/chain/chain.codegen.cjs"
|
|
50
|
+
"import": "./dist/chain/chain.codegen.mjs"
|
|
53
51
|
},
|
|
54
52
|
"./pol/subgraph": {
|
|
55
53
|
"types": "./dist/pol/subgraph.codegen.d.ts",
|
|
56
54
|
"require": "./dist/pol/subgraph.codegen.cjs",
|
|
57
55
|
"module": "./dist/pol/subgraph.codegen.mjs",
|
|
58
|
-
"import": "./dist/pol/subgraph.codegen.mjs"
|
|
59
|
-
"default": "./dist/pol/subgraph.codegen.cjs"
|
|
56
|
+
"import": "./dist/pol/subgraph.codegen.mjs"
|
|
60
57
|
},
|
|
61
58
|
"./pol/api": {
|
|
62
59
|
"types": "./dist/pol/api.codegen.d.ts",
|
|
63
60
|
"require": "./dist/pol/api.codegen.cjs",
|
|
64
61
|
"module": "./dist/pol/api.codegen.mjs",
|
|
65
|
-
"import": "./dist/pol/api.codegen.mjs"
|
|
66
|
-
"default": "./dist/pol/api.codegen.cjs"
|
|
62
|
+
"import": "./dist/pol/api.codegen.mjs"
|
|
67
63
|
},
|
|
68
64
|
"./dex/subgraph": {
|
|
69
65
|
"types": "./dist/dex/subgraph.codegen.d.ts",
|
|
70
66
|
"require": "./dist/dex/subgraph.codegen.cjs",
|
|
71
67
|
"module": "./dist/dex/subgraph.codegen.mjs",
|
|
72
|
-
"import": "./dist/dex/subgraph.codegen.mjs"
|
|
73
|
-
"default": "./dist/dex/subgraph.codegen.cjs"
|
|
68
|
+
"import": "./dist/dex/subgraph.codegen.mjs"
|
|
74
69
|
},
|
|
75
70
|
"./dex/api": {
|
|
76
71
|
"types": "./dist/dex/api.codegen.d.ts",
|
|
77
72
|
"require": "./dist/dex/api.codegen.cjs",
|
|
78
73
|
"module": "./dist/dex/api.codegen.mjs",
|
|
79
|
-
"import": "./dist/dex/api.codegen.mjs"
|
|
80
|
-
"default": "./dist/dex/api.codegen.cjs"
|
|
74
|
+
"import": "./dist/dex/api.codegen.mjs"
|
|
81
75
|
},
|
|
82
76
|
"./honey": {
|
|
83
77
|
"types": "./dist/honey/honey.codegen.d.ts",
|
|
84
78
|
"require": "./dist/honey/honey.codegen.cjs",
|
|
85
79
|
"module": "./dist/honey/honey.codegen.mjs",
|
|
86
|
-
"import": "./dist/honey/honey.codegen.mjs"
|
|
87
|
-
"default": "./dist/honey/honey.codegen.cjs"
|
|
80
|
+
"import": "./dist/honey/honey.codegen.mjs"
|
|
88
81
|
},
|
|
89
82
|
"./bend/whisk": {
|
|
90
83
|
"types": "./dist/bend/whisk.codegen.d.ts",
|
|
91
84
|
"require": "./dist/bend/whisk.codegen.cjs",
|
|
92
85
|
"module": "./dist/bend/whisk.codegen.mjs",
|
|
93
|
-
"import": "./dist/bend/whisk.codegen.mjs"
|
|
94
|
-
"default": "./dist/bend/whisk.codegen.cjs"
|
|
86
|
+
"import": "./dist/bend/whisk.codegen.mjs"
|
|
95
87
|
}
|
|
96
88
|
},
|
|
97
89
|
"typesVersions": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|