@ensforge/react 0.0.0 → 0.1.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 +10 -10
- package/dist/atoms/batch.d.ts +6 -6
- package/dist/atoms/batch.d.ts.map +1 -1
- package/dist/atoms/capabilities.d.ts +20 -20
- package/dist/atoms/capabilities.d.ts.map +1 -1
- package/dist/atoms/dns.d.ts +7 -7
- package/dist/atoms/dns.d.ts.map +1 -1
- package/dist/atoms/events.d.ts +29 -29
- package/dist/atoms/events.d.ts.map +1 -1
- package/dist/atoms/generic.d.ts +5 -4
- package/dist/atoms/generic.d.ts.map +1 -1
- package/dist/atoms/generic.js.map +1 -1
- package/dist/atoms/migration.d.ts +5 -5
- package/dist/atoms/migration.d.ts.map +1 -1
- package/dist/atoms/name.d.ts +23 -23
- package/dist/atoms/name.d.ts.map +1 -1
- package/dist/atoms/ownership.d.ts +2 -2
- package/dist/atoms/ownership.d.ts.map +1 -1
- package/dist/atoms/query.d.ts +6 -11
- package/dist/atoms/query.d.ts.map +1 -1
- package/dist/atoms/query.js +14 -11
- package/dist/atoms/query.js.map +1 -1
- package/dist/atoms/records.d.ts +12 -12
- package/dist/atoms/records.d.ts.map +1 -1
- package/dist/atoms/registration.d.ts +8 -8
- package/dist/atoms/registration.d.ts.map +1 -1
- package/dist/atoms/resolution.d.ts +8 -8
- package/dist/atoms/resolution.d.ts.map +1 -1
- package/dist/atoms/reverse.d.ts +2 -2
- package/dist/atoms/reverse.d.ts.map +1 -1
- package/dist/atoms/stream.d.ts +2 -2
- package/dist/atoms/stream.d.ts.map +1 -1
- package/dist/atoms/stream.js +6 -4
- package/dist/atoms/stream.js.map +1 -1
- package/dist/atoms/wrapping.d.ts +3 -3
- package/dist/atoms/wrapping.d.ts.map +1 -1
- package/dist/atoms.d.ts +3 -2
- package/dist/atoms.js +3 -2
- package/dist/cache/invalidation.d.ts +5 -5
- package/dist/cache/invalidation.d.ts.map +1 -1
- package/dist/cache/invalidation.js +3 -3
- package/dist/cache/invalidation.js.map +1 -1
- package/dist/cache/prefetch.d.ts +5 -4
- package/dist/cache/prefetch.d.ts.map +1 -1
- package/dist/cache/prefetch.js +3 -3
- package/dist/cache/prefetch.js.map +1 -1
- package/dist/cache/registry.d.ts +3 -3
- package/dist/cache/registry.d.ts.map +1 -1
- package/dist/cache/registry.js +2 -2
- package/dist/cache/registry.js.map +1 -1
- package/dist/cache.d.ts +4 -4
- package/dist/cache.js +4 -4
- package/dist/hooks/batch.d.ts +13 -13
- package/dist/hooks/batch.d.ts.map +1 -1
- package/dist/hooks/capabilities.d.ts +107 -107
- package/dist/hooks/capabilities.d.ts.map +1 -1
- package/dist/hooks/dns.d.ts +39 -39
- package/dist/hooks/dns.d.ts.map +1 -1
- package/dist/hooks/events.d.ts +98 -98
- package/dist/hooks/events.d.ts.map +1 -1
- package/dist/hooks/generic.d.ts +5 -5
- package/dist/hooks/generic.d.ts.map +1 -1
- package/dist/hooks/generic.js.map +1 -1
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/migration.d.ts +27 -27
- package/dist/hooks/migration.d.ts.map +1 -1
- package/dist/hooks/name.d.ts +73 -73
- package/dist/hooks/name.d.ts.map +1 -1
- package/dist/hooks/ownership.d.ts +5 -5
- package/dist/hooks/ownership.d.ts.map +1 -1
- package/dist/hooks/records.d.ts +69 -69
- package/dist/hooks/records.d.ts.map +1 -1
- package/dist/hooks/registration.d.ts +45 -45
- package/dist/hooks/registration.d.ts.map +1 -1
- package/dist/hooks/resolution.d.ts +33 -33
- package/dist/hooks/resolution.d.ts.map +1 -1
- package/dist/hooks/reverse.d.ts +9 -9
- package/dist/hooks/reverse.d.ts.map +1 -1
- package/dist/hooks/use-cache.d.ts +6 -6
- package/dist/hooks/use-cache.d.ts.map +1 -1
- package/dist/hooks/use-cache.js +4 -4
- package/dist/hooks/use-cache.js.map +1 -1
- package/dist/hooks/use-mutation.js +16 -31
- package/dist/hooks/use-mutation.js.map +1 -1
- package/dist/hooks/use-query.d.ts +6 -6
- package/dist/hooks/use-query.d.ts.map +1 -1
- package/dist/hooks/use-query.js +24 -52
- package/dist/hooks/use-query.js.map +1 -1
- package/dist/hooks/use-suspense-query.d.ts +9 -8
- package/dist/hooks/use-suspense-query.d.ts.map +1 -1
- package/dist/hooks/use-suspense-query.js +5 -5
- package/dist/hooks/use-suspense-query.js.map +1 -1
- package/dist/hooks/wrapping.d.ts +7 -7
- package/dist/hooks/wrapping.d.ts.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.js +7 -7
- package/dist/mutation/options.d.ts +9 -7
- package/dist/mutation/options.d.ts.map +1 -1
- package/dist/mutation/result.d.ts +8 -10
- package/dist/mutation/result.d.ts.map +1 -1
- package/dist/provider/context.d.ts +4 -2
- package/dist/provider/context.d.ts.map +1 -1
- package/dist/provider/context.js.map +1 -1
- package/dist/query/options.d.ts +27 -24
- package/dist/query/options.d.ts.map +1 -1
- package/dist/query/options.js +26 -12
- package/dist/query/options.js.map +1 -1
- package/dist/query/result.d.ts +7 -13
- package/dist/query/result.d.ts.map +1 -1
- package/dist/query/result.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { UseEnsAtomParameters } from "../query/options.js";
|
|
2
|
+
import { EnsSuspenseAtomResult, UseEnsSuspenseAtomParameters } from "./use-suspense-query.js";
|
|
3
|
+
import { EnsAtomResult } from "../query/result.js";
|
|
4
4
|
import "../index.js";
|
|
5
5
|
//#region src/hooks/capabilities.d.ts
|
|
6
|
-
declare const useNameCapabilities: <
|
|
6
|
+
declare const useNameCapabilities: <Mapped = {
|
|
7
7
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
8
8
|
readonly account: `0x${string}`;
|
|
9
9
|
readonly registry: {
|
|
@@ -27,7 +27,7 @@ declare const useNameCapabilities: <Selected = {
|
|
|
27
27
|
readonly inherited: boolean;
|
|
28
28
|
readonly extended: boolean;
|
|
29
29
|
readonly permissioned: boolean;
|
|
30
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
30
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
31
31
|
readonly profiles: {
|
|
32
32
|
readonly address: boolean;
|
|
33
33
|
readonly text: boolean;
|
|
@@ -115,7 +115,7 @@ declare const useNameCapabilities: <Selected = {
|
|
|
115
115
|
readonly transfer: boolean;
|
|
116
116
|
readonly setExpiry: boolean;
|
|
117
117
|
};
|
|
118
|
-
}>(input:
|
|
118
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetNameCapabilitiesParameters, {
|
|
119
119
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
120
120
|
readonly account: `0x${string}`;
|
|
121
121
|
readonly registry: {
|
|
@@ -139,7 +139,7 @@ declare const useNameCapabilities: <Selected = {
|
|
|
139
139
|
readonly inherited: boolean;
|
|
140
140
|
readonly extended: boolean;
|
|
141
141
|
readonly permissioned: boolean;
|
|
142
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
142
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
143
143
|
readonly profiles: {
|
|
144
144
|
readonly address: boolean;
|
|
145
145
|
readonly text: boolean;
|
|
@@ -227,8 +227,8 @@ declare const useNameCapabilities: <Selected = {
|
|
|
227
227
|
readonly transfer: boolean;
|
|
228
228
|
readonly setExpiry: boolean;
|
|
229
229
|
};
|
|
230
|
-
},
|
|
231
|
-
declare const useNameCapabilitiesSuspense: <
|
|
230
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
231
|
+
declare const useNameCapabilitiesSuspense: <Mapped = {
|
|
232
232
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
233
233
|
readonly account: `0x${string}`;
|
|
234
234
|
readonly registry: {
|
|
@@ -252,7 +252,7 @@ declare const useNameCapabilitiesSuspense: <Selected = {
|
|
|
252
252
|
readonly inherited: boolean;
|
|
253
253
|
readonly extended: boolean;
|
|
254
254
|
readonly permissioned: boolean;
|
|
255
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
255
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
256
256
|
readonly profiles: {
|
|
257
257
|
readonly address: boolean;
|
|
258
258
|
readonly text: boolean;
|
|
@@ -340,7 +340,7 @@ declare const useNameCapabilitiesSuspense: <Selected = {
|
|
|
340
340
|
readonly transfer: boolean;
|
|
341
341
|
readonly setExpiry: boolean;
|
|
342
342
|
};
|
|
343
|
-
}>(input:
|
|
343
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetNameCapabilitiesParameters, {
|
|
344
344
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
345
345
|
readonly account: `0x${string}`;
|
|
346
346
|
readonly registry: {
|
|
@@ -364,7 +364,7 @@ declare const useNameCapabilitiesSuspense: <Selected = {
|
|
|
364
364
|
readonly inherited: boolean;
|
|
365
365
|
readonly extended: boolean;
|
|
366
366
|
readonly permissioned: boolean;
|
|
367
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
367
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
368
368
|
readonly profiles: {
|
|
369
369
|
readonly address: boolean;
|
|
370
370
|
readonly text: boolean;
|
|
@@ -452,46 +452,46 @@ declare const useNameCapabilitiesSuspense: <Selected = {
|
|
|
452
452
|
readonly transfer: boolean;
|
|
453
453
|
readonly setExpiry: boolean;
|
|
454
454
|
};
|
|
455
|
-
},
|
|
456
|
-
declare const useOperatorApproval: <
|
|
455
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
456
|
+
declare const useOperatorApproval: <Mapped = {
|
|
457
457
|
readonly owner: `0x${string}`;
|
|
458
458
|
readonly operator: `0x${string}`;
|
|
459
459
|
readonly targets: readonly {
|
|
460
|
-
readonly kind: "
|
|
460
|
+
readonly kind: "registry" | "resolver" | "registrar" | "wrapper";
|
|
461
461
|
readonly address: `0x${string}`;
|
|
462
462
|
readonly supported: boolean;
|
|
463
463
|
readonly approved: boolean;
|
|
464
464
|
}[];
|
|
465
|
-
}>(input:
|
|
465
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetOperatorApprovalParameters, {
|
|
466
466
|
readonly owner: `0x${string}`;
|
|
467
467
|
readonly operator: `0x${string}`;
|
|
468
468
|
readonly targets: readonly {
|
|
469
|
-
readonly kind: "
|
|
469
|
+
readonly kind: "registry" | "resolver" | "registrar" | "wrapper";
|
|
470
470
|
readonly address: `0x${string}`;
|
|
471
471
|
readonly supported: boolean;
|
|
472
472
|
readonly approved: boolean;
|
|
473
473
|
}[];
|
|
474
|
-
},
|
|
475
|
-
declare const useOperatorApprovalSuspense: <
|
|
474
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
475
|
+
declare const useOperatorApprovalSuspense: <Mapped = {
|
|
476
476
|
readonly owner: `0x${string}`;
|
|
477
477
|
readonly operator: `0x${string}`;
|
|
478
478
|
readonly targets: readonly {
|
|
479
|
-
readonly kind: "
|
|
479
|
+
readonly kind: "registry" | "resolver" | "registrar" | "wrapper";
|
|
480
480
|
readonly address: `0x${string}`;
|
|
481
481
|
readonly supported: boolean;
|
|
482
482
|
readonly approved: boolean;
|
|
483
483
|
}[];
|
|
484
|
-
}>(input:
|
|
484
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetOperatorApprovalParameters, {
|
|
485
485
|
readonly owner: `0x${string}`;
|
|
486
486
|
readonly operator: `0x${string}`;
|
|
487
487
|
readonly targets: readonly {
|
|
488
|
-
readonly kind: "
|
|
488
|
+
readonly kind: "registry" | "resolver" | "registrar" | "wrapper";
|
|
489
489
|
readonly address: `0x${string}`;
|
|
490
490
|
readonly supported: boolean;
|
|
491
491
|
readonly approved: boolean;
|
|
492
492
|
}[];
|
|
493
|
-
},
|
|
494
|
-
declare const useRecordPermissions: <
|
|
493
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
494
|
+
declare const useRecordPermissions: <Mapped = {
|
|
495
495
|
readonly resolver: `0x${string}` | null;
|
|
496
496
|
readonly inherited: boolean;
|
|
497
497
|
readonly account: `0x${string}`;
|
|
@@ -562,7 +562,7 @@ declare const useRecordPermissions: <Selected = {
|
|
|
562
562
|
readonly requiredRole: bigint;
|
|
563
563
|
readonly resource: bigint | null;
|
|
564
564
|
}[];
|
|
565
|
-
}>(input:
|
|
565
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRecordPermissionsParameters, {
|
|
566
566
|
readonly resolver: `0x${string}` | null;
|
|
567
567
|
readonly inherited: boolean;
|
|
568
568
|
readonly account: `0x${string}`;
|
|
@@ -633,8 +633,8 @@ declare const useRecordPermissions: <Selected = {
|
|
|
633
633
|
readonly requiredRole: bigint;
|
|
634
634
|
readonly resource: bigint | null;
|
|
635
635
|
}[];
|
|
636
|
-
},
|
|
637
|
-
declare const useRecordPermissionsSuspense: <
|
|
636
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
637
|
+
declare const useRecordPermissionsSuspense: <Mapped = {
|
|
638
638
|
readonly resolver: `0x${string}` | null;
|
|
639
639
|
readonly inherited: boolean;
|
|
640
640
|
readonly account: `0x${string}`;
|
|
@@ -705,7 +705,7 @@ declare const useRecordPermissionsSuspense: <Selected = {
|
|
|
705
705
|
readonly requiredRole: bigint;
|
|
706
706
|
readonly resource: bigint | null;
|
|
707
707
|
}[];
|
|
708
|
-
}>(input:
|
|
708
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRecordPermissionsParameters, {
|
|
709
709
|
readonly resolver: `0x${string}` | null;
|
|
710
710
|
readonly inherited: boolean;
|
|
711
711
|
readonly account: `0x${string}`;
|
|
@@ -776,8 +776,8 @@ declare const useRecordPermissionsSuspense: <Selected = {
|
|
|
776
776
|
readonly requiredRole: bigint;
|
|
777
777
|
readonly resource: bigint | null;
|
|
778
778
|
}[];
|
|
779
|
-
},
|
|
780
|
-
declare const useRegistryCapabilities: <
|
|
779
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
780
|
+
declare const useRegistryCapabilities: <Mapped = {
|
|
781
781
|
readonly address: `0x${string}`;
|
|
782
782
|
readonly protocol: "v1" | "v2";
|
|
783
783
|
readonly kind: "registry" | "name-wrapper" | "permissioned-registry" | "wrapper-registry";
|
|
@@ -791,7 +791,7 @@ declare const useRegistryCapabilities: <Selected = {
|
|
|
791
791
|
readonly createSubname: boolean;
|
|
792
792
|
readonly transfer: boolean;
|
|
793
793
|
readonly setExpiry: boolean;
|
|
794
|
-
}>(input:
|
|
794
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistryCapabilitiesParameters, {
|
|
795
795
|
readonly address: `0x${string}`;
|
|
796
796
|
readonly protocol: "v1" | "v2";
|
|
797
797
|
readonly kind: "registry" | "name-wrapper" | "permissioned-registry" | "wrapper-registry";
|
|
@@ -805,8 +805,8 @@ declare const useRegistryCapabilities: <Selected = {
|
|
|
805
805
|
readonly createSubname: boolean;
|
|
806
806
|
readonly transfer: boolean;
|
|
807
807
|
readonly setExpiry: boolean;
|
|
808
|
-
},
|
|
809
|
-
declare const useRegistryCapabilitiesSuspense: <
|
|
808
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
809
|
+
declare const useRegistryCapabilitiesSuspense: <Mapped = {
|
|
810
810
|
readonly address: `0x${string}`;
|
|
811
811
|
readonly protocol: "v1" | "v2";
|
|
812
812
|
readonly kind: "registry" | "name-wrapper" | "permissioned-registry" | "wrapper-registry";
|
|
@@ -820,7 +820,7 @@ declare const useRegistryCapabilitiesSuspense: <Selected = {
|
|
|
820
820
|
readonly createSubname: boolean;
|
|
821
821
|
readonly transfer: boolean;
|
|
822
822
|
readonly setExpiry: boolean;
|
|
823
|
-
}>(input:
|
|
823
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistryCapabilitiesParameters, {
|
|
824
824
|
readonly address: `0x${string}`;
|
|
825
825
|
readonly protocol: "v1" | "v2";
|
|
826
826
|
readonly kind: "registry" | "name-wrapper" | "permissioned-registry" | "wrapper-registry";
|
|
@@ -834,8 +834,8 @@ declare const useRegistryCapabilitiesSuspense: <Selected = {
|
|
|
834
834
|
readonly createSubname: boolean;
|
|
835
835
|
readonly transfer: boolean;
|
|
836
836
|
readonly setExpiry: boolean;
|
|
837
|
-
},
|
|
838
|
-
declare const useRegistryRoles: <
|
|
837
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
838
|
+
declare const useRegistryRoles: <Mapped = {
|
|
839
839
|
readonly supported: false;
|
|
840
840
|
readonly protocol: "v1" | "v2";
|
|
841
841
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -846,7 +846,7 @@ declare const useRegistryRoles: <Selected = {
|
|
|
846
846
|
readonly resource: bigint;
|
|
847
847
|
readonly account: `0x${string}`;
|
|
848
848
|
readonly roles: bigint;
|
|
849
|
-
}>(input:
|
|
849
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistryRolesParameters, {
|
|
850
850
|
readonly supported: false;
|
|
851
851
|
readonly protocol: "v1" | "v2";
|
|
852
852
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -857,8 +857,8 @@ declare const useRegistryRoles: <Selected = {
|
|
|
857
857
|
readonly resource: bigint;
|
|
858
858
|
readonly account: `0x${string}`;
|
|
859
859
|
readonly roles: bigint;
|
|
860
|
-
},
|
|
861
|
-
declare const useRegistryRolesSuspense: <
|
|
860
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
861
|
+
declare const useRegistryRolesSuspense: <Mapped = {
|
|
862
862
|
readonly supported: false;
|
|
863
863
|
readonly protocol: "v1" | "v2";
|
|
864
864
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -869,7 +869,7 @@ declare const useRegistryRolesSuspense: <Selected = {
|
|
|
869
869
|
readonly resource: bigint;
|
|
870
870
|
readonly account: `0x${string}`;
|
|
871
871
|
readonly roles: bigint;
|
|
872
|
-
}>(input:
|
|
872
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistryRolesParameters, {
|
|
873
873
|
readonly supported: false;
|
|
874
874
|
readonly protocol: "v1" | "v2";
|
|
875
875
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -880,8 +880,8 @@ declare const useRegistryRolesSuspense: <Selected = {
|
|
|
880
880
|
readonly resource: bigint;
|
|
881
881
|
readonly account: `0x${string}`;
|
|
882
882
|
readonly roles: bigint;
|
|
883
|
-
},
|
|
884
|
-
declare const useRequiredAuthorization: <
|
|
883
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
884
|
+
declare const useRequiredAuthorization: <Mapped = {
|
|
885
885
|
readonly account: `0x${string}`;
|
|
886
886
|
readonly operation: {
|
|
887
887
|
readonly type: "address";
|
|
@@ -932,7 +932,7 @@ declare const useRequiredAuthorization: <Selected = {
|
|
|
932
932
|
} | {
|
|
933
933
|
readonly available: true;
|
|
934
934
|
readonly protocol: "v1" | "v2";
|
|
935
|
-
readonly kind: "
|
|
935
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
936
936
|
readonly address: `0x${string}`;
|
|
937
937
|
readonly operation: {
|
|
938
938
|
readonly type: "address";
|
|
@@ -1014,7 +1014,7 @@ declare const useRequiredAuthorization: <Selected = {
|
|
|
1014
1014
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1015
1015
|
};
|
|
1016
1016
|
readonly blockers: readonly ("NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1017
|
-
}>(input:
|
|
1017
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRequiredAuthorizationParameters, {
|
|
1018
1018
|
readonly account: `0x${string}`;
|
|
1019
1019
|
readonly operation: {
|
|
1020
1020
|
readonly type: "address";
|
|
@@ -1065,7 +1065,7 @@ declare const useRequiredAuthorization: <Selected = {
|
|
|
1065
1065
|
} | {
|
|
1066
1066
|
readonly available: true;
|
|
1067
1067
|
readonly protocol: "v1" | "v2";
|
|
1068
|
-
readonly kind: "
|
|
1068
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1069
1069
|
readonly address: `0x${string}`;
|
|
1070
1070
|
readonly operation: {
|
|
1071
1071
|
readonly type: "address";
|
|
@@ -1147,8 +1147,8 @@ declare const useRequiredAuthorization: <Selected = {
|
|
|
1147
1147
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1148
1148
|
};
|
|
1149
1149
|
readonly blockers: readonly ("NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1150
|
-
},
|
|
1151
|
-
declare const useRequiredAuthorizationSuspense: <
|
|
1150
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1151
|
+
declare const useRequiredAuthorizationSuspense: <Mapped = {
|
|
1152
1152
|
readonly account: `0x${string}`;
|
|
1153
1153
|
readonly operation: {
|
|
1154
1154
|
readonly type: "address";
|
|
@@ -1199,7 +1199,7 @@ declare const useRequiredAuthorizationSuspense: <Selected = {
|
|
|
1199
1199
|
} | {
|
|
1200
1200
|
readonly available: true;
|
|
1201
1201
|
readonly protocol: "v1" | "v2";
|
|
1202
|
-
readonly kind: "
|
|
1202
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1203
1203
|
readonly address: `0x${string}`;
|
|
1204
1204
|
readonly operation: {
|
|
1205
1205
|
readonly type: "address";
|
|
@@ -1281,7 +1281,7 @@ declare const useRequiredAuthorizationSuspense: <Selected = {
|
|
|
1281
1281
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1282
1282
|
};
|
|
1283
1283
|
readonly blockers: readonly ("NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1284
|
-
}>(input:
|
|
1284
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRequiredAuthorizationParameters, {
|
|
1285
1285
|
readonly account: `0x${string}`;
|
|
1286
1286
|
readonly operation: {
|
|
1287
1287
|
readonly type: "address";
|
|
@@ -1332,7 +1332,7 @@ declare const useRequiredAuthorizationSuspense: <Selected = {
|
|
|
1332
1332
|
} | {
|
|
1333
1333
|
readonly available: true;
|
|
1334
1334
|
readonly protocol: "v1" | "v2";
|
|
1335
|
-
readonly kind: "
|
|
1335
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1336
1336
|
readonly address: `0x${string}`;
|
|
1337
1337
|
readonly operation: {
|
|
1338
1338
|
readonly type: "address";
|
|
@@ -1414,14 +1414,14 @@ declare const useRequiredAuthorizationSuspense: <Selected = {
|
|
|
1414
1414
|
readonly reason: "CUSTOM_RESOLVER";
|
|
1415
1415
|
};
|
|
1416
1416
|
readonly blockers: readonly ("NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED" | "WRAPPER_FUSE" | "TRANSFER_ROLE")[];
|
|
1417
|
-
},
|
|
1418
|
-
declare const useResolverCapabilities: <
|
|
1417
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1418
|
+
declare const useResolverCapabilities: <Mapped = {
|
|
1419
1419
|
readonly address: `0x${string}` | null;
|
|
1420
1420
|
readonly node: `0x${string}` & import("effect/Brand").Brand<"Namehash">;
|
|
1421
1421
|
readonly inherited: boolean;
|
|
1422
1422
|
readonly extended: boolean;
|
|
1423
1423
|
readonly permissioned: boolean;
|
|
1424
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
1424
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
1425
1425
|
readonly profiles: {
|
|
1426
1426
|
readonly address: boolean;
|
|
1427
1427
|
readonly text: boolean;
|
|
@@ -1434,13 +1434,13 @@ declare const useResolverCapabilities: <Selected = {
|
|
|
1434
1434
|
readonly dnsRecord: boolean;
|
|
1435
1435
|
readonly dnsZone: boolean;
|
|
1436
1436
|
};
|
|
1437
|
-
}>(input:
|
|
1437
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistryCapabilitiesParameters, {
|
|
1438
1438
|
readonly address: `0x${string}` | null;
|
|
1439
1439
|
readonly node: `0x${string}` & import("effect/Brand").Brand<"Namehash">;
|
|
1440
1440
|
readonly inherited: boolean;
|
|
1441
1441
|
readonly extended: boolean;
|
|
1442
1442
|
readonly permissioned: boolean;
|
|
1443
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
1443
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
1444
1444
|
readonly profiles: {
|
|
1445
1445
|
readonly address: boolean;
|
|
1446
1446
|
readonly text: boolean;
|
|
@@ -1453,14 +1453,14 @@ declare const useResolverCapabilities: <Selected = {
|
|
|
1453
1453
|
readonly dnsRecord: boolean;
|
|
1454
1454
|
readonly dnsZone: boolean;
|
|
1455
1455
|
};
|
|
1456
|
-
},
|
|
1457
|
-
declare const useResolverCapabilitiesSuspense: <
|
|
1456
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1457
|
+
declare const useResolverCapabilitiesSuspense: <Mapped = {
|
|
1458
1458
|
readonly address: `0x${string}` | null;
|
|
1459
1459
|
readonly node: `0x${string}` & import("effect/Brand").Brand<"Namehash">;
|
|
1460
1460
|
readonly inherited: boolean;
|
|
1461
1461
|
readonly extended: boolean;
|
|
1462
1462
|
readonly permissioned: boolean;
|
|
1463
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
1463
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
1464
1464
|
readonly profiles: {
|
|
1465
1465
|
readonly address: boolean;
|
|
1466
1466
|
readonly text: boolean;
|
|
@@ -1473,13 +1473,13 @@ declare const useResolverCapabilitiesSuspense: <Selected = {
|
|
|
1473
1473
|
readonly dnsRecord: boolean;
|
|
1474
1474
|
readonly dnsZone: boolean;
|
|
1475
1475
|
};
|
|
1476
|
-
}>(input:
|
|
1476
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistryCapabilitiesParameters, {
|
|
1477
1477
|
readonly address: `0x${string}` | null;
|
|
1478
1478
|
readonly node: `0x${string}` & import("effect/Brand").Brand<"Namehash">;
|
|
1479
1479
|
readonly inherited: boolean;
|
|
1480
1480
|
readonly extended: boolean;
|
|
1481
1481
|
readonly permissioned: boolean;
|
|
1482
|
-
readonly authorization: "unknown" | "none" | "owner-delegate"
|
|
1482
|
+
readonly authorization: "role" | "unknown" | "none" | "owner-delegate";
|
|
1483
1483
|
readonly profiles: {
|
|
1484
1484
|
readonly address: boolean;
|
|
1485
1485
|
readonly text: boolean;
|
|
@@ -1492,8 +1492,8 @@ declare const useResolverCapabilitiesSuspense: <Selected = {
|
|
|
1492
1492
|
readonly dnsRecord: boolean;
|
|
1493
1493
|
readonly dnsZone: boolean;
|
|
1494
1494
|
};
|
|
1495
|
-
},
|
|
1496
|
-
declare const useResolverDelegateApproval: <
|
|
1495
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1496
|
+
declare const useResolverDelegateApproval: <Mapped = {
|
|
1497
1497
|
readonly supported: false;
|
|
1498
1498
|
readonly protocol: "v1" | "v2";
|
|
1499
1499
|
readonly reason: "RESOLVER_NOT_FOUND" | "DELEGATE_APPROVAL_UNSUPPORTED";
|
|
@@ -1504,7 +1504,7 @@ declare const useResolverDelegateApproval: <Selected = {
|
|
|
1504
1504
|
readonly owner: `0x${string}`;
|
|
1505
1505
|
readonly delegate: `0x${string}`;
|
|
1506
1506
|
readonly approved: boolean;
|
|
1507
|
-
}>(input:
|
|
1507
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetResolverDelegateApprovalParameters, {
|
|
1508
1508
|
readonly supported: false;
|
|
1509
1509
|
readonly protocol: "v1" | "v2";
|
|
1510
1510
|
readonly reason: "RESOLVER_NOT_FOUND" | "DELEGATE_APPROVAL_UNSUPPORTED";
|
|
@@ -1515,8 +1515,8 @@ declare const useResolverDelegateApproval: <Selected = {
|
|
|
1515
1515
|
readonly owner: `0x${string}`;
|
|
1516
1516
|
readonly delegate: `0x${string}`;
|
|
1517
1517
|
readonly approved: boolean;
|
|
1518
|
-
},
|
|
1519
|
-
declare const useResolverDelegateApprovalSuspense: <
|
|
1518
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1519
|
+
declare const useResolverDelegateApprovalSuspense: <Mapped = {
|
|
1520
1520
|
readonly supported: false;
|
|
1521
1521
|
readonly protocol: "v1" | "v2";
|
|
1522
1522
|
readonly reason: "RESOLVER_NOT_FOUND" | "DELEGATE_APPROVAL_UNSUPPORTED";
|
|
@@ -1527,7 +1527,7 @@ declare const useResolverDelegateApprovalSuspense: <Selected = {
|
|
|
1527
1527
|
readonly owner: `0x${string}`;
|
|
1528
1528
|
readonly delegate: `0x${string}`;
|
|
1529
1529
|
readonly approved: boolean;
|
|
1530
|
-
}>(input:
|
|
1530
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetResolverDelegateApprovalParameters, {
|
|
1531
1531
|
readonly supported: false;
|
|
1532
1532
|
readonly protocol: "v1" | "v2";
|
|
1533
1533
|
readonly reason: "RESOLVER_NOT_FOUND" | "DELEGATE_APPROVAL_UNSUPPORTED";
|
|
@@ -1538,8 +1538,8 @@ declare const useResolverDelegateApprovalSuspense: <Selected = {
|
|
|
1538
1538
|
readonly owner: `0x${string}`;
|
|
1539
1539
|
readonly delegate: `0x${string}`;
|
|
1540
1540
|
readonly approved: boolean;
|
|
1541
|
-
},
|
|
1542
|
-
declare const useResolverRoles: <
|
|
1541
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1542
|
+
declare const useResolverRoles: <Mapped = {
|
|
1543
1543
|
readonly supported: false;
|
|
1544
1544
|
readonly protocol: "v1" | "v2";
|
|
1545
1545
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -1550,7 +1550,7 @@ declare const useResolverRoles: <Selected = {
|
|
|
1550
1550
|
readonly resource: bigint;
|
|
1551
1551
|
readonly account: `0x${string}`;
|
|
1552
1552
|
readonly roles: bigint;
|
|
1553
|
-
}>(input:
|
|
1553
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetResolverRolesParameters, {
|
|
1554
1554
|
readonly supported: false;
|
|
1555
1555
|
readonly protocol: "v1" | "v2";
|
|
1556
1556
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -1561,8 +1561,8 @@ declare const useResolverRoles: <Selected = {
|
|
|
1561
1561
|
readonly resource: bigint;
|
|
1562
1562
|
readonly account: `0x${string}`;
|
|
1563
1563
|
readonly roles: bigint;
|
|
1564
|
-
},
|
|
1565
|
-
declare const useResolverRolesSuspense: <
|
|
1564
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1565
|
+
declare const useResolverRolesSuspense: <Mapped = {
|
|
1566
1566
|
readonly supported: false;
|
|
1567
1567
|
readonly protocol: "v1" | "v2";
|
|
1568
1568
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -1573,7 +1573,7 @@ declare const useResolverRolesSuspense: <Selected = {
|
|
|
1573
1573
|
readonly resource: bigint;
|
|
1574
1574
|
readonly account: `0x${string}`;
|
|
1575
1575
|
readonly roles: bigint;
|
|
1576
|
-
}>(input:
|
|
1576
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetResolverRolesParameters, {
|
|
1577
1577
|
readonly supported: false;
|
|
1578
1578
|
readonly protocol: "v1" | "v2";
|
|
1579
1579
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -1584,8 +1584,8 @@ declare const useResolverRolesSuspense: <Selected = {
|
|
|
1584
1584
|
readonly resource: bigint;
|
|
1585
1585
|
readonly account: `0x${string}`;
|
|
1586
1586
|
readonly roles: bigint;
|
|
1587
|
-
},
|
|
1588
|
-
declare const useTokenApproval: <
|
|
1587
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1588
|
+
declare const useTokenApproval: <Mapped = {
|
|
1589
1589
|
readonly supported: false;
|
|
1590
1590
|
readonly protocol: "v1" | "v2";
|
|
1591
1591
|
readonly reason: "PER_TOKEN_APPROVAL_UNSUPPORTED" | "NAME_NOT_TOKENIZED";
|
|
@@ -1596,7 +1596,7 @@ declare const useTokenApproval: <Selected = {
|
|
|
1596
1596
|
readonly contract: `0x${string}`;
|
|
1597
1597
|
readonly tokenId: bigint;
|
|
1598
1598
|
readonly approved: `0x${string}` | null;
|
|
1599
|
-
}>(input:
|
|
1599
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistryCapabilitiesParameters, {
|
|
1600
1600
|
readonly supported: false;
|
|
1601
1601
|
readonly protocol: "v1" | "v2";
|
|
1602
1602
|
readonly reason: "PER_TOKEN_APPROVAL_UNSUPPORTED" | "NAME_NOT_TOKENIZED";
|
|
@@ -1607,8 +1607,8 @@ declare const useTokenApproval: <Selected = {
|
|
|
1607
1607
|
readonly contract: `0x${string}`;
|
|
1608
1608
|
readonly tokenId: bigint;
|
|
1609
1609
|
readonly approved: `0x${string}` | null;
|
|
1610
|
-
},
|
|
1611
|
-
declare const useTokenApprovalSuspense: <
|
|
1610
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1611
|
+
declare const useTokenApprovalSuspense: <Mapped = {
|
|
1612
1612
|
readonly supported: false;
|
|
1613
1613
|
readonly protocol: "v1" | "v2";
|
|
1614
1614
|
readonly reason: "PER_TOKEN_APPROVAL_UNSUPPORTED" | "NAME_NOT_TOKENIZED";
|
|
@@ -1619,7 +1619,7 @@ declare const useTokenApprovalSuspense: <Selected = {
|
|
|
1619
1619
|
readonly contract: `0x${string}`;
|
|
1620
1620
|
readonly tokenId: bigint;
|
|
1621
1621
|
readonly approved: `0x${string}` | null;
|
|
1622
|
-
}>(input:
|
|
1622
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistryCapabilitiesParameters, {
|
|
1623
1623
|
readonly supported: false;
|
|
1624
1624
|
readonly protocol: "v1" | "v2";
|
|
1625
1625
|
readonly reason: "PER_TOKEN_APPROVAL_UNSUPPORTED" | "NAME_NOT_TOKENIZED";
|
|
@@ -1630,8 +1630,8 @@ declare const useTokenApprovalSuspense: <Selected = {
|
|
|
1630
1630
|
readonly contract: `0x${string}`;
|
|
1631
1631
|
readonly tokenId: bigint;
|
|
1632
1632
|
readonly approved: `0x${string}` | null;
|
|
1633
|
-
},
|
|
1634
|
-
declare const useWrapperPermissions: <
|
|
1633
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1634
|
+
declare const useWrapperPermissions: <Mapped = {
|
|
1635
1635
|
readonly supported: false;
|
|
1636
1636
|
readonly protocol: "v1" | "v2";
|
|
1637
1637
|
readonly reason: "NAME_NOT_WRAPPED";
|
|
@@ -1662,7 +1662,7 @@ declare const useWrapperPermissions: <Selected = {
|
|
|
1662
1662
|
readonly resource: bigint;
|
|
1663
1663
|
readonly roles: bigint;
|
|
1664
1664
|
readonly operatorApproved: boolean;
|
|
1665
|
-
}>(input:
|
|
1665
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetRegistryRolesParameters, {
|
|
1666
1666
|
readonly supported: false;
|
|
1667
1667
|
readonly protocol: "v1" | "v2";
|
|
1668
1668
|
readonly reason: "NAME_NOT_WRAPPED";
|
|
@@ -1693,8 +1693,8 @@ declare const useWrapperPermissions: <Selected = {
|
|
|
1693
1693
|
readonly resource: bigint;
|
|
1694
1694
|
readonly roles: bigint;
|
|
1695
1695
|
readonly operatorApproved: boolean;
|
|
1696
|
-
},
|
|
1697
|
-
declare const useWrapperPermissionsSuspense: <
|
|
1696
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1697
|
+
declare const useWrapperPermissionsSuspense: <Mapped = {
|
|
1698
1698
|
readonly supported: false;
|
|
1699
1699
|
readonly protocol: "v1" | "v2";
|
|
1700
1700
|
readonly reason: "NAME_NOT_WRAPPED";
|
|
@@ -1725,7 +1725,7 @@ declare const useWrapperPermissionsSuspense: <Selected = {
|
|
|
1725
1725
|
readonly resource: bigint;
|
|
1726
1726
|
readonly roles: bigint;
|
|
1727
1727
|
readonly operatorApproved: boolean;
|
|
1728
|
-
}>(input:
|
|
1728
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetRegistryRolesParameters, {
|
|
1729
1729
|
readonly supported: false;
|
|
1730
1730
|
readonly protocol: "v1" | "v2";
|
|
1731
1731
|
readonly reason: "NAME_NOT_WRAPPED";
|
|
@@ -1756,15 +1756,15 @@ declare const useWrapperPermissionsSuspense: <Selected = {
|
|
|
1756
1756
|
readonly resource: bigint;
|
|
1757
1757
|
readonly roles: bigint;
|
|
1758
1758
|
readonly operatorApproved: boolean;
|
|
1759
|
-
},
|
|
1760
|
-
declare const useWriteTarget: <
|
|
1759
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1760
|
+
declare const useWriteTarget: <Mapped = {
|
|
1761
1761
|
readonly available: false;
|
|
1762
1762
|
readonly protocol: "v1" | "v2";
|
|
1763
1763
|
readonly reason: "NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED";
|
|
1764
1764
|
} | {
|
|
1765
1765
|
readonly available: true;
|
|
1766
1766
|
readonly protocol: "v1" | "v2";
|
|
1767
|
-
readonly kind: "
|
|
1767
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1768
1768
|
readonly address: `0x${string}`;
|
|
1769
1769
|
readonly operation: {
|
|
1770
1770
|
readonly type: "address";
|
|
@@ -1812,14 +1812,14 @@ declare const useWriteTarget: <Selected = {
|
|
|
1812
1812
|
readonly tokenId: bigint | null;
|
|
1813
1813
|
readonly resource: bigint | null;
|
|
1814
1814
|
readonly inheritedResolver: boolean;
|
|
1815
|
-
}>(input:
|
|
1815
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").GetWriteTargetParameters, {
|
|
1816
1816
|
readonly available: false;
|
|
1817
1817
|
readonly protocol: "v1" | "v2";
|
|
1818
1818
|
readonly reason: "NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED";
|
|
1819
1819
|
} | {
|
|
1820
1820
|
readonly available: true;
|
|
1821
1821
|
readonly protocol: "v1" | "v2";
|
|
1822
|
-
readonly kind: "
|
|
1822
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1823
1823
|
readonly address: `0x${string}`;
|
|
1824
1824
|
readonly operation: {
|
|
1825
1825
|
readonly type: "address";
|
|
@@ -1867,15 +1867,15 @@ declare const useWriteTarget: <Selected = {
|
|
|
1867
1867
|
readonly tokenId: bigint | null;
|
|
1868
1868
|
readonly resource: bigint | null;
|
|
1869
1869
|
readonly inheritedResolver: boolean;
|
|
1870
|
-
},
|
|
1871
|
-
declare const useWriteTargetSuspense: <
|
|
1870
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
1871
|
+
declare const useWriteTargetSuspense: <Mapped = {
|
|
1872
1872
|
readonly available: false;
|
|
1873
1873
|
readonly protocol: "v1" | "v2";
|
|
1874
1874
|
readonly reason: "NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED";
|
|
1875
1875
|
} | {
|
|
1876
1876
|
readonly available: true;
|
|
1877
1877
|
readonly protocol: "v1" | "v2";
|
|
1878
|
-
readonly kind: "
|
|
1878
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1879
1879
|
readonly address: `0x${string}`;
|
|
1880
1880
|
readonly operation: {
|
|
1881
1881
|
readonly type: "address";
|
|
@@ -1923,14 +1923,14 @@ declare const useWriteTargetSuspense: <Selected = {
|
|
|
1923
1923
|
readonly tokenId: bigint | null;
|
|
1924
1924
|
readonly resource: bigint | null;
|
|
1925
1925
|
readonly inheritedResolver: boolean;
|
|
1926
|
-
}>(input:
|
|
1926
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").GetWriteTargetParameters, {
|
|
1927
1927
|
readonly available: false;
|
|
1928
1928
|
readonly protocol: "v1" | "v2";
|
|
1929
1929
|
readonly reason: "NAME_NOT_REGISTERED" | "RESOLVER_NOT_FOUND" | "OPERATION_UNSUPPORTED";
|
|
1930
1930
|
} | {
|
|
1931
1931
|
readonly available: true;
|
|
1932
1932
|
readonly protocol: "v1" | "v2";
|
|
1933
|
-
readonly kind: "
|
|
1933
|
+
readonly kind: "registry" | "resolver" | "registrar" | "name-wrapper" | "wrapper-registry";
|
|
1934
1934
|
readonly address: `0x${string}`;
|
|
1935
1935
|
readonly operation: {
|
|
1936
1936
|
readonly type: "address";
|
|
@@ -1978,8 +1978,8 @@ declare const useWriteTargetSuspense: <Selected = {
|
|
|
1978
1978
|
readonly tokenId: bigint | null;
|
|
1979
1979
|
readonly resource: bigint | null;
|
|
1980
1980
|
readonly inheritedResolver: boolean;
|
|
1981
|
-
},
|
|
1982
|
-
declare const useHasRegistryRoles: <
|
|
1981
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
1982
|
+
declare const useHasRegistryRoles: <Mapped = {
|
|
1983
1983
|
readonly supported: false;
|
|
1984
1984
|
readonly protocol: "v1" | "v2";
|
|
1985
1985
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -1991,7 +1991,7 @@ declare const useHasRegistryRoles: <Selected = {
|
|
|
1991
1991
|
readonly account: `0x${string}`;
|
|
1992
1992
|
readonly roles: bigint;
|
|
1993
1993
|
readonly authorized: boolean;
|
|
1994
|
-
}>(input:
|
|
1994
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").HasRegistryRolesParameters, {
|
|
1995
1995
|
readonly supported: false;
|
|
1996
1996
|
readonly protocol: "v1" | "v2";
|
|
1997
1997
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2003,8 +2003,8 @@ declare const useHasRegistryRoles: <Selected = {
|
|
|
2003
2003
|
readonly account: `0x${string}`;
|
|
2004
2004
|
readonly roles: bigint;
|
|
2005
2005
|
readonly authorized: boolean;
|
|
2006
|
-
},
|
|
2007
|
-
declare const useHasRegistryRolesSuspense: <
|
|
2006
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
2007
|
+
declare const useHasRegistryRolesSuspense: <Mapped = {
|
|
2008
2008
|
readonly supported: false;
|
|
2009
2009
|
readonly protocol: "v1" | "v2";
|
|
2010
2010
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2016,7 +2016,7 @@ declare const useHasRegistryRolesSuspense: <Selected = {
|
|
|
2016
2016
|
readonly account: `0x${string}`;
|
|
2017
2017
|
readonly roles: bigint;
|
|
2018
2018
|
readonly authorized: boolean;
|
|
2019
|
-
}>(input:
|
|
2019
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").HasRegistryRolesParameters, {
|
|
2020
2020
|
readonly supported: false;
|
|
2021
2021
|
readonly protocol: "v1" | "v2";
|
|
2022
2022
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2028,8 +2028,8 @@ declare const useHasRegistryRolesSuspense: <Selected = {
|
|
|
2028
2028
|
readonly account: `0x${string}`;
|
|
2029
2029
|
readonly roles: bigint;
|
|
2030
2030
|
readonly authorized: boolean;
|
|
2031
|
-
},
|
|
2032
|
-
declare const useHasResolverRoles: <
|
|
2031
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
2032
|
+
declare const useHasResolverRoles: <Mapped = {
|
|
2033
2033
|
readonly supported: false;
|
|
2034
2034
|
readonly protocol: "v1" | "v2";
|
|
2035
2035
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2041,7 +2041,7 @@ declare const useHasResolverRoles: <Selected = {
|
|
|
2041
2041
|
readonly account: `0x${string}`;
|
|
2042
2042
|
readonly roles: bigint;
|
|
2043
2043
|
readonly authorized: boolean;
|
|
2044
|
-
}>(input:
|
|
2044
|
+
}>(input: UseEnsAtomParameters<import("@ensforge/core").HasResolverRolesParameters, {
|
|
2045
2045
|
readonly supported: false;
|
|
2046
2046
|
readonly protocol: "v1" | "v2";
|
|
2047
2047
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2053,8 +2053,8 @@ declare const useHasResolverRoles: <Selected = {
|
|
|
2053
2053
|
readonly account: `0x${string}`;
|
|
2054
2054
|
readonly roles: bigint;
|
|
2055
2055
|
readonly authorized: boolean;
|
|
2056
|
-
},
|
|
2057
|
-
declare const useHasResolverRolesSuspense: <
|
|
2056
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsAtomResult<Mapped, import("@ensforge/core").GetCanonicalResourceError>;
|
|
2057
|
+
declare const useHasResolverRolesSuspense: <Mapped = {
|
|
2058
2058
|
readonly supported: false;
|
|
2059
2059
|
readonly protocol: "v1" | "v2";
|
|
2060
2060
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2066,7 +2066,7 @@ declare const useHasResolverRolesSuspense: <Selected = {
|
|
|
2066
2066
|
readonly account: `0x${string}`;
|
|
2067
2067
|
readonly roles: bigint;
|
|
2068
2068
|
readonly authorized: boolean;
|
|
2069
|
-
}>(input:
|
|
2069
|
+
}>(input: UseEnsSuspenseAtomParameters<import("@ensforge/core").HasResolverRolesParameters, {
|
|
2070
2070
|
readonly supported: false;
|
|
2071
2071
|
readonly protocol: "v1" | "v2";
|
|
2072
2072
|
readonly reason: "RESOLVER_NOT_FOUND" | "ROLE_BASED_PERMISSIONS_UNSUPPORTED";
|
|
@@ -2078,7 +2078,7 @@ declare const useHasResolverRolesSuspense: <Selected = {
|
|
|
2078
2078
|
readonly account: `0x${string}`;
|
|
2079
2079
|
readonly roles: bigint;
|
|
2080
2080
|
readonly authorized: boolean;
|
|
2081
|
-
},
|
|
2081
|
+
}, import("@ensforge/core").GetCanonicalResourceError, Mapped>) => EnsSuspenseAtomResult<Mapped>;
|
|
2082
2082
|
//#endregion
|
|
2083
2083
|
export { useHasRegistryRoles, useHasRegistryRolesSuspense, useHasResolverRoles, useHasResolverRolesSuspense, useNameCapabilities, useNameCapabilitiesSuspense, useOperatorApproval, useOperatorApprovalSuspense, useRecordPermissions, useRecordPermissionsSuspense, useRegistryCapabilities, useRegistryCapabilitiesSuspense, useRegistryRoles, useRegistryRolesSuspense, useRequiredAuthorization, useRequiredAuthorizationSuspense, useResolverCapabilities, useResolverCapabilitiesSuspense, useResolverDelegateApproval, useResolverDelegateApprovalSuspense, useResolverRoles, useResolverRolesSuspense, useTokenApproval, useTokenApprovalSuspense, useWrapperPermissions, useWrapperPermissionsSuspense, useWriteTarget, useWriteTargetSuspense };
|
|
2084
2084
|
//# sourceMappingURL=capabilities.d.ts.map
|