enssdk 1.14.0 → 1.15.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/README.md +6 -0
- package/dist/{evm-Dhdhx057.d.ts → evm-Dd4Y60SN.d.ts} +20 -1
- package/dist/index.d.ts +18 -5
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/omnigraph/index.d.ts +31 -311
- package/dist/omnigraph/index.js +33 -356
- package/dist/omnigraph/index.js.map +1 -1
- package/package.json +2 -2
- package/src/omnigraph/generated/schema.graphql +38 -59
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { initGraphQLTada, TadaDocumentNode } from 'gql.tada';
|
|
2
2
|
export { FragmentOf, ResultOf, VariablesOf, readFragment } from 'gql.tada';
|
|
3
3
|
import { CoinType } from '@ensdomains/address-encoder';
|
|
4
|
-
import { N as NormalizedAddress, H as Hex, C as ChainId,
|
|
4
|
+
import { N as NormalizedAddress, H as Hex, C as ChainId, a as InterpretedName, I as InterpretedLabel, b as BeautifiedName, B as BeautifiedLabel, e as Node, m as DomainId, J as RegistryId, o as ResolverId, P as PermissionsId, k as PermissionsResourceId, l as PermissionsUserId, R as RegistrationId, n as RenewalId, p as ResolverRecordsId } from '../evm-Dd4Y60SN.js';
|
|
5
5
|
import { DocumentNode } from 'graphql';
|
|
6
6
|
import { EnsNodeClient } from '../core/index.js';
|
|
7
7
|
import 'viem';
|
|
@@ -342,7 +342,6 @@ declare const introspection: {
|
|
|
342
342
|
readonly kind: "SCALAR";
|
|
343
343
|
readonly name: "Boolean";
|
|
344
344
|
};
|
|
345
|
-
readonly defaultValue: "false";
|
|
346
345
|
}, {
|
|
347
346
|
readonly name: "name";
|
|
348
347
|
readonly type: {
|
|
@@ -901,6 +900,12 @@ declare const introspection: {
|
|
|
901
900
|
readonly kind: "INTERFACE";
|
|
902
901
|
readonly name: "Registration";
|
|
903
902
|
}];
|
|
903
|
+
}, {
|
|
904
|
+
readonly kind: "SCALAR";
|
|
905
|
+
readonly name: "BeautifiedLabel";
|
|
906
|
+
}, {
|
|
907
|
+
readonly kind: "SCALAR";
|
|
908
|
+
readonly name: "BeautifiedName";
|
|
904
909
|
}, {
|
|
905
910
|
readonly kind: "SCALAR";
|
|
906
911
|
readonly name: "BigInt";
|
|
@@ -911,6 +916,17 @@ declare const introspection: {
|
|
|
911
916
|
readonly kind: "OBJECT";
|
|
912
917
|
readonly name: "CanonicalName";
|
|
913
918
|
readonly fields: readonly [{
|
|
919
|
+
readonly name: "beautified";
|
|
920
|
+
readonly type: {
|
|
921
|
+
readonly kind: "NON_NULL";
|
|
922
|
+
readonly ofType: {
|
|
923
|
+
readonly kind: "SCALAR";
|
|
924
|
+
readonly name: "BeautifiedName";
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
readonly args: readonly [];
|
|
928
|
+
readonly isDeprecated: false;
|
|
929
|
+
}, {
|
|
914
930
|
readonly name: "interpreted";
|
|
915
931
|
readonly type: {
|
|
916
932
|
readonly kind: "NON_NULL";
|
|
@@ -3091,6 +3107,17 @@ declare const introspection: {
|
|
|
3091
3107
|
readonly kind: "OBJECT";
|
|
3092
3108
|
readonly name: "Label";
|
|
3093
3109
|
readonly fields: readonly [{
|
|
3110
|
+
readonly name: "beautified";
|
|
3111
|
+
readonly type: {
|
|
3112
|
+
readonly kind: "NON_NULL";
|
|
3113
|
+
readonly ofType: {
|
|
3114
|
+
readonly kind: "SCALAR";
|
|
3115
|
+
readonly name: "BeautifiedLabel";
|
|
3116
|
+
};
|
|
3117
|
+
};
|
|
3118
|
+
readonly args: readonly [];
|
|
3119
|
+
readonly isDeprecated: false;
|
|
3120
|
+
}, {
|
|
3094
3121
|
readonly name: "hash";
|
|
3095
3122
|
readonly type: {
|
|
3096
3123
|
readonly kind: "NON_NULL";
|
|
@@ -3953,38 +3980,6 @@ declare const introspection: {
|
|
|
3953
3980
|
};
|
|
3954
3981
|
}];
|
|
3955
3982
|
readonly isDeprecated: false;
|
|
3956
|
-
}, {
|
|
3957
|
-
readonly name: "allDomains";
|
|
3958
|
-
readonly type: {
|
|
3959
|
-
readonly kind: "OBJECT";
|
|
3960
|
-
readonly name: "QueryAllDomainsConnection";
|
|
3961
|
-
};
|
|
3962
|
-
readonly args: readonly [{
|
|
3963
|
-
readonly name: "after";
|
|
3964
|
-
readonly type: {
|
|
3965
|
-
readonly kind: "SCALAR";
|
|
3966
|
-
readonly name: "String";
|
|
3967
|
-
};
|
|
3968
|
-
}, {
|
|
3969
|
-
readonly name: "before";
|
|
3970
|
-
readonly type: {
|
|
3971
|
-
readonly kind: "SCALAR";
|
|
3972
|
-
readonly name: "String";
|
|
3973
|
-
};
|
|
3974
|
-
}, {
|
|
3975
|
-
readonly name: "first";
|
|
3976
|
-
readonly type: {
|
|
3977
|
-
readonly kind: "SCALAR";
|
|
3978
|
-
readonly name: "Int";
|
|
3979
|
-
};
|
|
3980
|
-
}, {
|
|
3981
|
-
readonly name: "last";
|
|
3982
|
-
readonly type: {
|
|
3983
|
-
readonly kind: "SCALAR";
|
|
3984
|
-
readonly name: "Int";
|
|
3985
|
-
};
|
|
3986
|
-
}];
|
|
3987
|
-
readonly isDeprecated: false;
|
|
3988
3983
|
}, {
|
|
3989
3984
|
readonly name: "domain";
|
|
3990
3985
|
readonly type: {
|
|
@@ -4066,38 +4061,6 @@ declare const introspection: {
|
|
|
4066
4061
|
};
|
|
4067
4062
|
}];
|
|
4068
4063
|
readonly isDeprecated: false;
|
|
4069
|
-
}, {
|
|
4070
|
-
readonly name: "registrations";
|
|
4071
|
-
readonly type: {
|
|
4072
|
-
readonly kind: "OBJECT";
|
|
4073
|
-
readonly name: "QueryRegistrationsConnection";
|
|
4074
|
-
};
|
|
4075
|
-
readonly args: readonly [{
|
|
4076
|
-
readonly name: "after";
|
|
4077
|
-
readonly type: {
|
|
4078
|
-
readonly kind: "SCALAR";
|
|
4079
|
-
readonly name: "String";
|
|
4080
|
-
};
|
|
4081
|
-
}, {
|
|
4082
|
-
readonly name: "before";
|
|
4083
|
-
readonly type: {
|
|
4084
|
-
readonly kind: "SCALAR";
|
|
4085
|
-
readonly name: "String";
|
|
4086
|
-
};
|
|
4087
|
-
}, {
|
|
4088
|
-
readonly name: "first";
|
|
4089
|
-
readonly type: {
|
|
4090
|
-
readonly kind: "SCALAR";
|
|
4091
|
-
readonly name: "Int";
|
|
4092
|
-
};
|
|
4093
|
-
}, {
|
|
4094
|
-
readonly name: "last";
|
|
4095
|
-
readonly type: {
|
|
4096
|
-
readonly kind: "SCALAR";
|
|
4097
|
-
readonly name: "Int";
|
|
4098
|
-
};
|
|
4099
|
-
}];
|
|
4100
|
-
readonly isDeprecated: false;
|
|
4101
4064
|
}, {
|
|
4102
4065
|
readonly name: "registry";
|
|
4103
4066
|
readonly type: {
|
|
@@ -4132,38 +4095,6 @@ declare const introspection: {
|
|
|
4132
4095
|
};
|
|
4133
4096
|
}];
|
|
4134
4097
|
readonly isDeprecated: false;
|
|
4135
|
-
}, {
|
|
4136
|
-
readonly name: "resolvers";
|
|
4137
|
-
readonly type: {
|
|
4138
|
-
readonly kind: "OBJECT";
|
|
4139
|
-
readonly name: "QueryResolversConnection";
|
|
4140
|
-
};
|
|
4141
|
-
readonly args: readonly [{
|
|
4142
|
-
readonly name: "after";
|
|
4143
|
-
readonly type: {
|
|
4144
|
-
readonly kind: "SCALAR";
|
|
4145
|
-
readonly name: "String";
|
|
4146
|
-
};
|
|
4147
|
-
}, {
|
|
4148
|
-
readonly name: "before";
|
|
4149
|
-
readonly type: {
|
|
4150
|
-
readonly kind: "SCALAR";
|
|
4151
|
-
readonly name: "String";
|
|
4152
|
-
};
|
|
4153
|
-
}, {
|
|
4154
|
-
readonly name: "first";
|
|
4155
|
-
readonly type: {
|
|
4156
|
-
readonly kind: "SCALAR";
|
|
4157
|
-
readonly name: "Int";
|
|
4158
|
-
};
|
|
4159
|
-
}, {
|
|
4160
|
-
readonly name: "last";
|
|
4161
|
-
readonly type: {
|
|
4162
|
-
readonly kind: "SCALAR";
|
|
4163
|
-
readonly name: "Int";
|
|
4164
|
-
};
|
|
4165
|
-
}];
|
|
4166
|
-
readonly isDeprecated: false;
|
|
4167
4098
|
}, {
|
|
4168
4099
|
readonly name: "root";
|
|
4169
4100
|
readonly type: {
|
|
@@ -4177,77 +4108,6 @@ declare const introspection: {
|
|
|
4177
4108
|
readonly isDeprecated: false;
|
|
4178
4109
|
}];
|
|
4179
4110
|
readonly interfaces: readonly [];
|
|
4180
|
-
}, {
|
|
4181
|
-
readonly kind: "OBJECT";
|
|
4182
|
-
readonly name: "QueryAllDomainsConnection";
|
|
4183
|
-
readonly fields: readonly [{
|
|
4184
|
-
readonly name: "edges";
|
|
4185
|
-
readonly type: {
|
|
4186
|
-
readonly kind: "NON_NULL";
|
|
4187
|
-
readonly ofType: {
|
|
4188
|
-
readonly kind: "LIST";
|
|
4189
|
-
readonly ofType: {
|
|
4190
|
-
readonly kind: "NON_NULL";
|
|
4191
|
-
readonly ofType: {
|
|
4192
|
-
readonly kind: "OBJECT";
|
|
4193
|
-
readonly name: "QueryAllDomainsConnectionEdge";
|
|
4194
|
-
};
|
|
4195
|
-
};
|
|
4196
|
-
};
|
|
4197
|
-
};
|
|
4198
|
-
readonly args: readonly [];
|
|
4199
|
-
readonly isDeprecated: false;
|
|
4200
|
-
}, {
|
|
4201
|
-
readonly name: "pageInfo";
|
|
4202
|
-
readonly type: {
|
|
4203
|
-
readonly kind: "NON_NULL";
|
|
4204
|
-
readonly ofType: {
|
|
4205
|
-
readonly kind: "OBJECT";
|
|
4206
|
-
readonly name: "PageInfo";
|
|
4207
|
-
};
|
|
4208
|
-
};
|
|
4209
|
-
readonly args: readonly [];
|
|
4210
|
-
readonly isDeprecated: false;
|
|
4211
|
-
}, {
|
|
4212
|
-
readonly name: "totalCount";
|
|
4213
|
-
readonly type: {
|
|
4214
|
-
readonly kind: "NON_NULL";
|
|
4215
|
-
readonly ofType: {
|
|
4216
|
-
readonly kind: "SCALAR";
|
|
4217
|
-
readonly name: "Int";
|
|
4218
|
-
};
|
|
4219
|
-
};
|
|
4220
|
-
readonly args: readonly [];
|
|
4221
|
-
readonly isDeprecated: false;
|
|
4222
|
-
}];
|
|
4223
|
-
readonly interfaces: readonly [];
|
|
4224
|
-
}, {
|
|
4225
|
-
readonly kind: "OBJECT";
|
|
4226
|
-
readonly name: "QueryAllDomainsConnectionEdge";
|
|
4227
|
-
readonly fields: readonly [{
|
|
4228
|
-
readonly name: "cursor";
|
|
4229
|
-
readonly type: {
|
|
4230
|
-
readonly kind: "NON_NULL";
|
|
4231
|
-
readonly ofType: {
|
|
4232
|
-
readonly kind: "SCALAR";
|
|
4233
|
-
readonly name: "String";
|
|
4234
|
-
};
|
|
4235
|
-
};
|
|
4236
|
-
readonly args: readonly [];
|
|
4237
|
-
readonly isDeprecated: false;
|
|
4238
|
-
}, {
|
|
4239
|
-
readonly name: "node";
|
|
4240
|
-
readonly type: {
|
|
4241
|
-
readonly kind: "NON_NULL";
|
|
4242
|
-
readonly ofType: {
|
|
4243
|
-
readonly kind: "INTERFACE";
|
|
4244
|
-
readonly name: "Domain";
|
|
4245
|
-
};
|
|
4246
|
-
};
|
|
4247
|
-
readonly args: readonly [];
|
|
4248
|
-
readonly isDeprecated: false;
|
|
4249
|
-
}];
|
|
4250
|
-
readonly interfaces: readonly [];
|
|
4251
4111
|
}, {
|
|
4252
4112
|
readonly kind: "OBJECT";
|
|
4253
4113
|
readonly name: "QueryDomainsConnection";
|
|
@@ -4319,148 +4179,6 @@ declare const introspection: {
|
|
|
4319
4179
|
readonly isDeprecated: false;
|
|
4320
4180
|
}];
|
|
4321
4181
|
readonly interfaces: readonly [];
|
|
4322
|
-
}, {
|
|
4323
|
-
readonly kind: "OBJECT";
|
|
4324
|
-
readonly name: "QueryRegistrationsConnection";
|
|
4325
|
-
readonly fields: readonly [{
|
|
4326
|
-
readonly name: "edges";
|
|
4327
|
-
readonly type: {
|
|
4328
|
-
readonly kind: "NON_NULL";
|
|
4329
|
-
readonly ofType: {
|
|
4330
|
-
readonly kind: "LIST";
|
|
4331
|
-
readonly ofType: {
|
|
4332
|
-
readonly kind: "NON_NULL";
|
|
4333
|
-
readonly ofType: {
|
|
4334
|
-
readonly kind: "OBJECT";
|
|
4335
|
-
readonly name: "QueryRegistrationsConnectionEdge";
|
|
4336
|
-
};
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
};
|
|
4340
|
-
readonly args: readonly [];
|
|
4341
|
-
readonly isDeprecated: false;
|
|
4342
|
-
}, {
|
|
4343
|
-
readonly name: "pageInfo";
|
|
4344
|
-
readonly type: {
|
|
4345
|
-
readonly kind: "NON_NULL";
|
|
4346
|
-
readonly ofType: {
|
|
4347
|
-
readonly kind: "OBJECT";
|
|
4348
|
-
readonly name: "PageInfo";
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
readonly args: readonly [];
|
|
4352
|
-
readonly isDeprecated: false;
|
|
4353
|
-
}, {
|
|
4354
|
-
readonly name: "totalCount";
|
|
4355
|
-
readonly type: {
|
|
4356
|
-
readonly kind: "NON_NULL";
|
|
4357
|
-
readonly ofType: {
|
|
4358
|
-
readonly kind: "SCALAR";
|
|
4359
|
-
readonly name: "Int";
|
|
4360
|
-
};
|
|
4361
|
-
};
|
|
4362
|
-
readonly args: readonly [];
|
|
4363
|
-
readonly isDeprecated: false;
|
|
4364
|
-
}];
|
|
4365
|
-
readonly interfaces: readonly [];
|
|
4366
|
-
}, {
|
|
4367
|
-
readonly kind: "OBJECT";
|
|
4368
|
-
readonly name: "QueryRegistrationsConnectionEdge";
|
|
4369
|
-
readonly fields: readonly [{
|
|
4370
|
-
readonly name: "cursor";
|
|
4371
|
-
readonly type: {
|
|
4372
|
-
readonly kind: "NON_NULL";
|
|
4373
|
-
readonly ofType: {
|
|
4374
|
-
readonly kind: "SCALAR";
|
|
4375
|
-
readonly name: "String";
|
|
4376
|
-
};
|
|
4377
|
-
};
|
|
4378
|
-
readonly args: readonly [];
|
|
4379
|
-
readonly isDeprecated: false;
|
|
4380
|
-
}, {
|
|
4381
|
-
readonly name: "node";
|
|
4382
|
-
readonly type: {
|
|
4383
|
-
readonly kind: "NON_NULL";
|
|
4384
|
-
readonly ofType: {
|
|
4385
|
-
readonly kind: "INTERFACE";
|
|
4386
|
-
readonly name: "Registration";
|
|
4387
|
-
};
|
|
4388
|
-
};
|
|
4389
|
-
readonly args: readonly [];
|
|
4390
|
-
readonly isDeprecated: false;
|
|
4391
|
-
}];
|
|
4392
|
-
readonly interfaces: readonly [];
|
|
4393
|
-
}, {
|
|
4394
|
-
readonly kind: "OBJECT";
|
|
4395
|
-
readonly name: "QueryResolversConnection";
|
|
4396
|
-
readonly fields: readonly [{
|
|
4397
|
-
readonly name: "edges";
|
|
4398
|
-
readonly type: {
|
|
4399
|
-
readonly kind: "NON_NULL";
|
|
4400
|
-
readonly ofType: {
|
|
4401
|
-
readonly kind: "LIST";
|
|
4402
|
-
readonly ofType: {
|
|
4403
|
-
readonly kind: "NON_NULL";
|
|
4404
|
-
readonly ofType: {
|
|
4405
|
-
readonly kind: "OBJECT";
|
|
4406
|
-
readonly name: "QueryResolversConnectionEdge";
|
|
4407
|
-
};
|
|
4408
|
-
};
|
|
4409
|
-
};
|
|
4410
|
-
};
|
|
4411
|
-
readonly args: readonly [];
|
|
4412
|
-
readonly isDeprecated: false;
|
|
4413
|
-
}, {
|
|
4414
|
-
readonly name: "pageInfo";
|
|
4415
|
-
readonly type: {
|
|
4416
|
-
readonly kind: "NON_NULL";
|
|
4417
|
-
readonly ofType: {
|
|
4418
|
-
readonly kind: "OBJECT";
|
|
4419
|
-
readonly name: "PageInfo";
|
|
4420
|
-
};
|
|
4421
|
-
};
|
|
4422
|
-
readonly args: readonly [];
|
|
4423
|
-
readonly isDeprecated: false;
|
|
4424
|
-
}, {
|
|
4425
|
-
readonly name: "totalCount";
|
|
4426
|
-
readonly type: {
|
|
4427
|
-
readonly kind: "NON_NULL";
|
|
4428
|
-
readonly ofType: {
|
|
4429
|
-
readonly kind: "SCALAR";
|
|
4430
|
-
readonly name: "Int";
|
|
4431
|
-
};
|
|
4432
|
-
};
|
|
4433
|
-
readonly args: readonly [];
|
|
4434
|
-
readonly isDeprecated: false;
|
|
4435
|
-
}];
|
|
4436
|
-
readonly interfaces: readonly [];
|
|
4437
|
-
}, {
|
|
4438
|
-
readonly kind: "OBJECT";
|
|
4439
|
-
readonly name: "QueryResolversConnectionEdge";
|
|
4440
|
-
readonly fields: readonly [{
|
|
4441
|
-
readonly name: "cursor";
|
|
4442
|
-
readonly type: {
|
|
4443
|
-
readonly kind: "NON_NULL";
|
|
4444
|
-
readonly ofType: {
|
|
4445
|
-
readonly kind: "SCALAR";
|
|
4446
|
-
readonly name: "String";
|
|
4447
|
-
};
|
|
4448
|
-
};
|
|
4449
|
-
readonly args: readonly [];
|
|
4450
|
-
readonly isDeprecated: false;
|
|
4451
|
-
}, {
|
|
4452
|
-
readonly name: "node";
|
|
4453
|
-
readonly type: {
|
|
4454
|
-
readonly kind: "NON_NULL";
|
|
4455
|
-
readonly ofType: {
|
|
4456
|
-
readonly kind: "OBJECT";
|
|
4457
|
-
readonly name: "Resolver";
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
|
-
readonly args: readonly [];
|
|
4461
|
-
readonly isDeprecated: false;
|
|
4462
|
-
}];
|
|
4463
|
-
readonly interfaces: readonly [];
|
|
4464
4182
|
}, {
|
|
4465
4183
|
readonly kind: "INTERFACE";
|
|
4466
4184
|
readonly name: "Registration";
|
|
@@ -5739,6 +5457,8 @@ type OmnigraphScalars = {
|
|
|
5739
5457
|
CoinType: CoinType;
|
|
5740
5458
|
InterpretedName: InterpretedName;
|
|
5741
5459
|
InterpretedLabel: InterpretedLabel;
|
|
5460
|
+
BeautifiedName: BeautifiedName;
|
|
5461
|
+
BeautifiedLabel: BeautifiedLabel;
|
|
5742
5462
|
Node: Node;
|
|
5743
5463
|
DomainId: DomainId;
|
|
5744
5464
|
RegistryId: RegistryId;
|