From eee24b2a2a8795bb703edc141ee4e5d4f7dfb733 Mon Sep 17 00:00:00 2001 From: b3hr4d Date: Fri, 23 Feb 2024 09:58:03 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20B3Pay/ic?= =?UTF-8?q?-reactor@55186271400056b4ea251067e0fec87104385da9=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/core.classes.ActorManager.html | 6 +++--- classes/core.classes.AgentManager.html | 6 +++--- classes/core.classes.CandidAdapter.html | 6 +++--- classes/core.types.AuthClient.html | 2 +- classes/core.types.HttpAgent.html | 2 +- classes/core.types.IDL.BoolClass.html | 2 +- classes/core.types.IDL.ConstructType.html | 2 +- classes/core.types.IDL.EmptyClass.html | 2 +- classes/core.types.IDL.FixedIntClass.html | 2 +- classes/core.types.IDL.FixedNatClass.html | 2 +- classes/core.types.IDL.FloatClass.html | 2 +- classes/core.types.IDL.FuncClass.html | 2 +- classes/core.types.IDL.IntClass.html | 2 +- classes/core.types.IDL.NatClass.html | 2 +- classes/core.types.IDL.NullClass.html | 2 +- classes/core.types.IDL.OptClass.html | 2 +- classes/core.types.IDL.PrimitiveType.html | 2 +- classes/core.types.IDL.PrincipalClass.html | 2 +- classes/core.types.IDL.RecClass.html | 2 +- classes/core.types.IDL.RecordClass.html | 2 +- classes/core.types.IDL.ReservedClass.html | 2 +- classes/core.types.IDL.ServiceClass.html | 2 +- classes/core.types.IDL.TextClass.html | 2 +- classes/core.types.IDL.TupleClass.html | 2 +- classes/core.types.IDL.Type.html | 2 +- classes/core.types.IDL.UnknownClass.html | 2 +- classes/core.types.IDL.VariantClass.html | 2 +- classes/core.types.IDL.VecClass.html | 2 +- classes/core.types.IDL.Visitor.html | 2 +- classes/core.types.Principal.html | 2 +- classes/react.types.ActorManager.html | 2 +- classes/react.types.AgentManager.html | 2 +- classes/react.types.AuthClient.html | 2 +- classes/react.types.HttpAgent.html | 2 +- classes/react.types.IDL.BoolClass.html | 2 +- classes/react.types.IDL.ConstructType.html | 2 +- classes/react.types.IDL.EmptyClass.html | 2 +- classes/react.types.IDL.FixedIntClass.html | 2 +- classes/react.types.IDL.FixedNatClass.html | 2 +- classes/react.types.IDL.FloatClass.html | 2 +- classes/react.types.IDL.FuncClass.html | 2 +- classes/react.types.IDL.IntClass.html | 2 +- classes/react.types.IDL.NatClass.html | 2 +- classes/react.types.IDL.NullClass.html | 2 +- classes/react.types.IDL.OptClass.html | 2 +- classes/react.types.IDL.PrimitiveType.html | 2 +- classes/react.types.IDL.PrincipalClass.html | 2 +- classes/react.types.IDL.RecClass.html | 2 +- classes/react.types.IDL.RecordClass.html | 2 +- classes/react.types.IDL.ReservedClass.html | 2 +- classes/react.types.IDL.ServiceClass.html | 2 +- classes/react.types.IDL.TextClass.html | 2 +- classes/react.types.IDL.TupleClass.html | 2 +- classes/react.types.IDL.Type.html | 2 +- classes/react.types.IDL.UnknownClass.html | 2 +- classes/react.types.IDL.VariantClass.html | 2 +- classes/react.types.IDL.VecClass.html | 2 +- classes/react.types.IDL.Visitor.html | 2 +- classes/react.types.Principal.html | 2 +- classes/visitor.VisitDetails.html | 6 +++--- classes/visitor.VisitFields.html | 6 +++--- classes/visitor.VisitRandomArgs.html | 6 +++--- classes/visitor.VisitRandomResponse.html | 6 +++--- classes/visitor.VisitTransform.html | 6 +++--- classes/visitor.VisitTransformTable.html | 6 +++--- functions/core.createActorManager.html | 4 ++-- functions/core.createAgentManager.html | 4 ++-- functions/core.createCandidAdapter.html | 4 ++-- functions/core.createReactorCore.html | 4 ++-- functions/core.createReactorStore.html | 4 ++-- functions/core.tools.createStoreWithOptionalDevtools.html | 4 ++-- functions/core.tools.generateActorHash.html | 4 ++-- functions/core.tools.generateHash.html | 4 ++-- functions/core.tools.generateRequestHash.html | 4 ++-- functions/core.tools.isInLocalOrDevelopment.html | 4 ++-- functions/core.tools.jsonToString.html | 4 ++-- functions/core.tools.stringToHash.html | 4 ++-- functions/core.types.IDL.Func.html | 2 +- functions/core.types.IDL.Opt.html | 2 +- functions/core.types.IDL.Rec.html | 2 +- functions/core.types.IDL.Record.html | 2 +- functions/core.types.IDL.Service.html | 2 +- functions/core.types.IDL.Tuple.html | 2 +- functions/core.types.IDL.Variant.html | 2 +- functions/core.types.IDL.Vec.html | 2 +- functions/core.types.IDL.decode.html | 2 +- functions/core.types.IDL.encode.html | 2 +- functions/react.ActorProvider.html | 4 ++-- functions/react.AgentProvider.html | 4 ++-- functions/react.core.createActorManager.html | 2 +- functions/react.core.createAgentManager.html | 2 +- functions/react.core.createCandidAdapter.html | 2 +- functions/react.core.createReactorStore.html | 2 +- functions/react.createActorContext.html | 4 ++-- functions/react.createAgentContext.html | 4 ++-- functions/react.createReactor.html | 4 ++-- functions/react.helpers.actorHooks.html | 4 ++-- functions/react.helpers.agentHooks.html | 4 ++-- functions/react.helpers.authHooks.html | 4 ++-- functions/react.helpers.extractActorContext.html | 4 ++-- functions/react.helpers.extractAgentContext.html | 4 ++-- functions/react.types.IDL.Func.html | 2 +- functions/react.types.IDL.Opt.html | 2 +- functions/react.types.IDL.Rec.html | 2 +- functions/react.types.IDL.Record.html | 2 +- functions/react.types.IDL.Service.html | 2 +- functions/react.types.IDL.Tuple.html | 2 +- functions/react.types.IDL.Variant.html | 2 +- functions/react.types.IDL.Vec.html | 2 +- functions/react.types.IDL.decode.html | 2 +- functions/react.types.IDL.encode.html | 2 +- functions/react.useActor.html | 4 ++-- functions/react.useActorState.html | 4 ++-- functions/react.useAgent.html | 4 ++-- functions/react.useAgentManager.html | 4 ++-- functions/react.useAgentState.html | 4 ++-- functions/react.useAuth.html | 4 ++-- functions/react.useAuthState.html | 4 ++-- functions/react.useQueryCall.html | 4 ++-- functions/react.useUpdateCall.html | 4 ++-- functions/react.useUserPrincipal.html | 4 ++-- functions/react.useVisitMethod.html | 4 ++-- functions/visitor.helper.convertStringToNumber.html | 4 ++-- functions/visitor.helper.extractAndSortArgs.html | 4 ++-- functions/visitor.helper.isImage.html | 4 ++-- functions/visitor.helper.isQuery.html | 4 ++-- functions/visitor.helper.isUrl.html | 4 ++-- functions/visitor.helper.validateError.html | 4 ++-- functions/visitor.helper.validateNumberError.html | 4 ++-- hierarchy.html | 2 +- index.html | 2 +- interfaces/core.types.ActorManagerParameters.html | 6 +++--- interfaces/core.types.ActorMethod.html | 2 +- interfaces/core.types.ActorMethodState.html | 4 ++-- interfaces/core.types.AgentManagerParameters.html | 6 +++--- interfaces/core.types.AgentState.html | 6 +++--- interfaces/core.types.AuthClientLoginOptions.html | 2 +- interfaces/core.types.AuthState.html | 6 +++--- interfaces/core.types.CandidAdapterParameters.html | 6 +++--- interfaces/core.types.CandidDefenition.html | 6 +++--- interfaces/core.types.CreateReactorCoreParameters.html | 6 +++--- interfaces/core.types.CreateReactorCoreReturnType.html | 6 +++--- interfaces/core.types.CreateReactorStoreParameters.html | 6 +++--- interfaces/core.types.DefaultActorType.html | 4 ++-- interfaces/core.types.HttpAgentOptions.html | 2 +- interfaces/core.types.Identity.html | 2 +- interfaces/core.types.UpdateAgentParameters.html | 6 +++--- interfaces/react.types.ActorHooksReturnType.html | 6 +++--- interfaces/react.types.ActorManagerParameters.html | 2 +- interfaces/react.types.ActorMethod.html | 2 +- interfaces/react.types.ActorMethodState.html | 2 +- interfaces/react.types.ActorProviderProps.html | 6 +++--- interfaces/react.types.AgentContext.html | 6 +++--- interfaces/react.types.AgentHooksReturnType.html | 6 +++--- interfaces/react.types.AgentManagerParameters.html | 2 +- interfaces/react.types.AgentProviderProps.html | 6 +++--- interfaces/react.types.AgentState.html | 2 +- interfaces/react.types.AuthClientLoginOptions.html | 2 +- interfaces/react.types.AuthHooksReturnType.html | 6 +++--- interfaces/react.types.AuthState.html | 2 +- interfaces/react.types.CandidAdapterParameters.html | 2 +- interfaces/react.types.CandidDefenition.html | 2 +- interfaces/react.types.CreateActorContextParameters.html | 6 +++--- interfaces/react.types.CreateActorContextReturnType.html | 6 +++--- interfaces/react.types.CreateAgentContextReturnType.html | 6 +++--- interfaces/react.types.CreateReactorCoreParameters.html | 2 +- interfaces/react.types.CreateReactorCoreReturnType.html | 2 +- interfaces/react.types.CreateReactorParameters.html | 4 ++-- interfaces/react.types.CreateReactorReturnType.html | 6 +++--- interfaces/react.types.CreateReactorStoreParameters.html | 2 +- interfaces/react.types.DefaultActorType.html | 2 +- interfaces/react.types.HttpAgentOptions.html | 2 +- interfaces/react.types.Identity.html | 2 +- interfaces/react.types.UpdateAgentParameters.html | 2 +- interfaces/react.types.UseActorParameters.html | 6 +++--- interfaces/react.types.UseActorReturn.html | 6 +++--- interfaces/react.types.UseActorState.html | 6 +++--- interfaces/react.types.UseAuthParameters.html | 6 +++--- interfaces/react.types.UseAuthReturnType.html | 6 +++--- interfaces/react.types.UseMethodCallReturnType.html | 6 +++--- interfaces/react.types.UseQueryCallParameters.html | 6 +++--- interfaces/react.types.UseUpdateCallParameters.html | 6 +++--- interfaces/visitor.types.DefaultField.html | 6 +++--- interfaces/visitor.types.DynamicDataArgs.html | 6 +++--- interfaces/visitor.types.ExtractedServiceDetails.html | 6 +++--- interfaces/visitor.types.ExtractedServiceFields.html | 6 +++--- interfaces/visitor.types.ExtractedServiceResults.html | 6 +++--- interfaces/visitor.types.FieldDetails.html | 6 +++--- interfaces/visitor.types.FieldDetailsWithChild.html | 6 +++--- interfaces/visitor.types.InputDetails.html | 6 +++--- interfaces/visitor.types.InputField.html | 6 +++--- interfaces/visitor.types.MethodFields.html | 6 +++--- interfaces/visitor.types.NumberField.html | 6 +++--- interfaces/visitor.types.OptionalFields.html | 6 +++--- interfaces/visitor.types.PrincipalField.html | 6 +++--- interfaces/visitor.types.RecordFields.html | 6 +++--- interfaces/visitor.types.RecursiveFields.html | 6 +++--- interfaces/visitor.types.ResultArrayData.html | 6 +++--- interfaces/visitor.types.ResultRecordData.html | 6 +++--- interfaces/visitor.types.TupleFields.html | 6 +++--- interfaces/visitor.types.VariantFields.html | 6 +++--- interfaces/visitor.types.VectorFields.html | 6 +++--- modules/core.classes.html | 4 ++-- modules/core.html | 2 +- modules/core.tools.html | 4 ++-- modules/core.types.IDL.html | 2 +- modules/core.types.html | 4 ++-- modules/react.core.html | 4 ++-- modules/react.helpers.html | 4 ++-- modules/react.html | 2 +- modules/react.types.IDL.html | 2 +- modules/react.types.html | 4 ++-- modules/visitor.helper.html | 4 ++-- modules/visitor.html | 2 +- modules/visitor.types.html | 4 ++-- types/core.types.ActorCallFunction.html | 4 ++-- types/core.types.ActorGetStateFunction.html | 4 ++-- types/core.types.ActorMethodCall.html | 4 ++-- types/core.types.ActorMethodParameters.html | 4 ++-- types/core.types.ActorMethodReturnType.html | 4 ++-- types/core.types.ActorMethodStates.html | 4 ++-- types/core.types.ActorQuery.html | 4 ++-- types/core.types.ActorQueryParameters.html | 4 ++-- types/core.types.ActorQueryReturnType.html | 4 ++-- types/core.types.ActorState.html | 4 ++-- types/core.types.ActorStore.html | 4 ++-- types/core.types.ActorSubclass.html | 2 +- types/core.types.ActorSubscribeFunction.html | 4 ++-- types/core.types.ActorUpdate.html | 4 ++-- types/core.types.ActorUpdateParameters.html | 4 ++-- types/core.types.ActorUpdateReturnType.html | 4 ++-- types/core.types.AgentStore.html | 4 ++-- types/core.types.AuthStore.html | 4 ++-- types/core.types.BaseActor.html | 4 ++-- types/core.types.CallActorMethod.html | 4 ++-- types/core.types.CanisterId.html | 4 ++-- types/core.types.FunctionName.html | 4 ++-- types/core.types.FunctionType.html | 4 ++-- types/core.types.IDL.InterfaceFactory.html | 2 +- types/core.types.VisitService.html | 4 ++-- types/core.types.VisitorType.html | 4 ++-- types/react.types.ActorCallFunction.html | 2 +- types/react.types.ActorCallState.html | 4 ++-- types/react.types.ActorGetStateFunction.html | 2 +- types/react.types.ActorMethodCall.html | 2 +- types/react.types.ActorMethodParameters.html | 2 +- types/react.types.ActorMethodReturnType.html | 2 +- types/react.types.ActorMethodStates.html | 2 +- types/react.types.ActorQuery.html | 2 +- types/react.types.ActorQueryParameters.html | 2 +- types/react.types.ActorQueryReturnType.html | 2 +- types/react.types.ActorState.html | 2 +- types/react.types.ActorStore.html | 2 +- types/react.types.ActorSubclass.html | 2 +- types/react.types.ActorSubscribeFunction.html | 2 +- types/react.types.ActorUpdate.html | 2 +- types/react.types.ActorUpdateParameters.html | 2 +- types/react.types.ActorUpdateReturnType.html | 2 +- types/react.types.AgentStore.html | 2 +- types/react.types.AuthStore.html | 2 +- types/react.types.BaseActor.html | 2 +- types/react.types.CallActorMethod.html | 2 +- types/react.types.CanisterId.html | 2 +- types/react.types.FunctionName.html | 2 +- types/react.types.FunctionType.html | 2 +- types/react.types.IDL.InterfaceFactory.html | 2 +- types/react.types.LoginParameters.html | 4 ++-- types/react.types.LoginState.html | 4 ++-- types/react.types.LogoutParameters.html | 4 ++-- types/react.types.UseMethodCall.html | 4 ++-- types/react.types.UseMethodCallParameters.html | 4 ++-- types/react.types.UseQueryCall.html | 4 ++-- types/react.types.UseUpdateCall.html | 4 ++-- types/react.types.UseVisitMethod.html | 4 ++-- types/react.types.VisitService.html | 2 +- types/react.types.VisitorType.html | 2 +- types/visitor.types.AllFieldTypes.html | 4 ++-- types/visitor.types.AllNumberTypes.html | 4 ++-- types/visitor.types.DynamicFieldType.html | 4 ++-- types/visitor.types.DynamicFieldTypeByClass.html | 4 ++-- types/visitor.types.ExtraInputFormFields.html | 4 ++-- types/visitor.types.FieldType.html | 4 ++-- types/visitor.types.FieldTypeFromIDLType.html | 4 ++-- types/visitor.types.FunctionCategory.html | 4 ++-- types/visitor.types.MethodDefaultValues.html | 4 ++-- types/visitor.types.MethodDetails.html | 4 ++-- types/visitor.types.MethodResult.html | 4 ++-- types/visitor.types.MethodResultValue.html | 4 ++-- types/visitor.types.OtherDetails.html | 4 ++-- types/visitor.types.ReturnDataType.html | 4 ++-- types/visitor.types.ServiceDefaultValues.html | 4 ++-- types/visitor.types.ServiceDetails.html | 4 ++-- types/visitor.types.ServiceFields.html | 4 ++-- types/visitor.types.ServiceResult.html | 4 ++-- variables/core.tools.DEFAULT_IC_DIDJS_ID.html | 4 ++-- variables/core.tools.DEFAULT_LOCAL_DIDJS_ID.html | 4 ++-- variables/core.tools.IC_HOST_NETWORK_URI.html | 4 ++-- variables/core.tools.IC_INTERNET_IDENTITY_PROVIDER.html | 4 ++-- variables/core.tools.LOCAL_HOST_NETWORK_URI.html | 4 ++-- variables/core.tools.LOCAL_INTERNET_IDENTITY_PROVIDER.html | 4 ++-- variables/core.types.IDL.Bool.html | 2 +- variables/core.types.IDL.Empty.html | 2 +- variables/core.types.IDL.Float32.html | 2 +- variables/core.types.IDL.Float64.html | 2 +- variables/core.types.IDL.Int.html | 2 +- variables/core.types.IDL.Int16.html | 2 +- variables/core.types.IDL.Int32.html | 2 +- variables/core.types.IDL.Int64.html | 2 +- variables/core.types.IDL.Int8.html | 2 +- variables/core.types.IDL.Nat.html | 2 +- variables/core.types.IDL.Nat16.html | 2 +- variables/core.types.IDL.Nat32.html | 2 +- variables/core.types.IDL.Nat64.html | 2 +- variables/core.types.IDL.Nat8.html | 2 +- variables/core.types.IDL.Null.html | 2 +- variables/core.types.IDL.Principal.html | 2 +- variables/core.types.IDL.Reserved.html | 2 +- variables/core.types.IDL.Text.html | 2 +- variables/core.types.IDL.Unknown.html | 2 +- variables/react.types.IDL.Bool.html | 2 +- variables/react.types.IDL.Empty.html | 2 +- variables/react.types.IDL.Float32.html | 2 +- variables/react.types.IDL.Float64.html | 2 +- variables/react.types.IDL.Int.html | 2 +- variables/react.types.IDL.Int16.html | 2 +- variables/react.types.IDL.Int32.html | 2 +- variables/react.types.IDL.Int64.html | 2 +- variables/react.types.IDL.Int8.html | 2 +- variables/react.types.IDL.Nat.html | 2 +- variables/react.types.IDL.Nat16.html | 2 +- variables/react.types.IDL.Nat32.html | 2 +- variables/react.types.IDL.Nat64.html | 2 +- variables/react.types.IDL.Nat8.html | 2 +- variables/react.types.IDL.Null.html | 2 +- variables/react.types.IDL.Principal.html | 2 +- variables/react.types.IDL.Reserved.html | 2 +- variables/react.types.IDL.Text.html | 2 +- variables/react.types.IDL.Unknown.html | 2 +- 338 files changed, 560 insertions(+), 560 deletions(-) diff --git a/classes/core.classes.ActorManager.html b/classes/core.classes.ActorManager.html index a4458a3a93..4064573945 100644 --- a/classes/core.classes.ActorManager.html +++ b/classes/core.classes.ActorManager.html @@ -1,5 +1,5 @@ ActorManager | ic-reactor -

Type Parameters

Constructors

constructor +

Type Parameters

Constructors

Properties

Constructors

Properties

_actor: null | A = null
_agentManager: classes.AgentManager
canisterId: types.CanisterId
actorStore: types.ActorStore<A>
visitFunction: types.VisitService<A>
initialState: types.ActorState<A> = ...
getState: (() => types.ActorState<A>) = ...

Type declaration

subscribeActorState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

setState: ((partial, replace?) => void) = ...

Type declaration

Accessors

Methods

Generated using TypeDoc
+

Constructors

Properties

_actor: null | A = null
_agentManager: classes.AgentManager
canisterId: types.CanisterId
actorStore: types.ActorStore<A>
visitFunction: types.VisitService<A>
initialState: types.ActorState<A> = ...
getState: (() => types.ActorState<A>) = ...

Type declaration

subscribeActorState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

setState: ((partial, replace?) => void) = ...

Type declaration

Accessors

Methods

Generated using TypeDoc
-

Hierarchy (view full)

Constructors

constructor +

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

_auth: null | types.AuthClient = null
_subscribers: ((agent) => void)[] = []

Type declaration

agentStore: types.AgentStore
authStore: types.AuthStore
isLocalEnv: boolean
initialAgentState: types.AgentState = ...
initialAuthState: types.AuthState = ...
getAgentState: (() => types.AgentState) = ...

Type declaration

subscribeAgentState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

getAuthState: (() => types.AuthState) = ...

Type declaration

subscribeAuthState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

Methods

Generated using TypeDoc
+

Constructors

Properties

_auth: null | types.AuthClient = null
_subscribers: ((agent) => void)[] = []

Type declaration

agentStore: types.AgentStore
authStore: types.AuthStore
isLocalEnv: boolean
initialAgentState: types.AgentState = ...
initialAuthState: types.AuthState = ...
getAgentState: (() => types.AgentState) = ...

Type declaration

subscribeAgentState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

getAuthState: (() => types.AuthState) = ...

Type declaration

subscribeAuthState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

Methods

Generated using TypeDoc
-

Constructors

constructor +

Constructors

Properties

didjsCanisterId: string

Methods

Generated using TypeDoc
+

Constructors

Properties

didjsCanisterId: string

Methods

Generated using TypeDoc

Class VisitDetails<A>

Visit the candid file and extract the details. It returns the extracted service details.

-

Type Parameters

Hierarchy (view full)

Constructors

Type Parameters

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

counter: number = 0
visitedRecursive: Record<string, true> = {}
visitInt: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitNat: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitFloat: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitFixedInt: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitFixedNat: (<T>(t, __label) => InputDetails) = ...

Type declaration

Methods

Generated using TypeDoc
+

Constructors

Properties

counter: number = 0
visitedRecursive: Record<string, true> = {}
visitInt: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitNat: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitFloat: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitFixedInt: (<T>(t, __label) => InputDetails) = ...

Type declaration

visitFixedNat: (<T>(t, __label) => InputDetails) = ...

Type declaration

Methods

Generated using TypeDoc

Class VisitFields<A, M>

Visit the candid file and extract the fields. It returns the extracted service fields.

-

Type Parameters

Hierarchy (view full)

Constructors

Type Parameters

Hierarchy (view full)

Constructors

Methods

Generated using TypeDoc
+

Constructors

Methods

Generated using TypeDoc

Class VisitRandomArgs<A>

Visit the candid file and extract the fields. It returns the extracted service fields.

-

Type Parameters

Hierarchy (view full)

Constructors

Type Parameters

Hierarchy (view full)

Constructors

Properties

savedRec: Record<string, unknown> = {}

Methods

  • Type Parameters

    • T

    Parameters

    Returns unknown

  • Parameters

    Returns unknown

  • Type Parameters

    • T

    Parameters

    Returns unknown

Generated using TypeDoc
+

Constructors

Properties

savedRec: Record<string, unknown> = {}

Methods

  • Type Parameters

    • T

    Parameters

    Returns unknown

  • Parameters

    Returns unknown

  • Type Parameters

    • T

    Parameters

    Returns unknown

Generated using TypeDoc

Class VisitRandomResponse<A>

Visit the candid file and extract the fields. It returns the extracted service fields.

-

Type Parameters

Hierarchy (view full)

Constructors

Type Parameters

Hierarchy (view full)

Constructors

Properties

savedRec: Record<string, unknown> = {}

Methods

  • Parameters

    Returns unknown

  • Type Parameters

    • T

    Parameters

    Returns unknown

Generated using TypeDoc
+

Constructors

Properties

savedRec: Record<string, unknown> = {}

Methods

  • Parameters

    Returns unknown

  • Type Parameters

    • T

    Parameters

    Returns unknown

Generated using TypeDoc

Class VisitTransform<A, M>

Visit the candid file and extract the fields. It returns the extracted service fields.

-

Type Parameters

Hierarchy (view full)

Constructors

Type Parameters

Hierarchy (view full)

Constructors

Methods

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

Generated using TypeDoc
+

Constructors

Methods

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

Generated using TypeDoc

Class VisitTransformTable<A, M>

Visit the candid file and extract the fields. It returns the extracted service fields.

-

Type Parameters

Hierarchy (view full)

Constructors

Type Parameters

Hierarchy (view full)

Constructors

Methods

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

Generated using TypeDoc
+

Constructors

Methods

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

  • Type Parameters

    • T

    Parameters

    Returns MethodResult<A, M>

  • Parameters

    Returns MethodResult<A, M>

Generated using TypeDoc
-

Function createStoreWithOptionalDevtools

  • Type Parameters

    • T

    Parameters

    • initialState: T
    • config: StoreParameters

    Returns WithDevtools<StoreApi<T>>

Generated using TypeDoc
+

Function createStoreWithOptionalDevtools

  • Type Parameters

    • T

    Parameters

    • initialState: T
    • config: StoreParameters

    Returns WithDevtools<StoreApi<T>>

Generated using TypeDoc
-

Function generateActorHash

Generated using TypeDoc
+

Function generateActorHash

Generated using TypeDoc
-

Function generateHash

Generated using TypeDoc
+

Function generateHash

Generated using TypeDoc
-

Function generateRequestHash

Generated using TypeDoc
+

Function generateRequestHash

Generated using TypeDoc
-

Function isInLocalOrDevelopment

Generated using TypeDoc
+

Function isInLocalOrDevelopment

Generated using TypeDoc
-

Function jsonToString

Generated using TypeDoc
+

Function jsonToString

Generated using TypeDoc
-

Function stringToHash

Generated using TypeDoc
+

Function stringToHash

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Function extractActorContext

Generated using TypeDoc
+

Function extractActorContext

Generated using TypeDoc

Function useAgent

Generated using TypeDoc
+

Generated using TypeDoc

Function useAgentManager

Generated using TypeDoc
+

Generated using TypeDoc

Function useAgentState

Generated using TypeDoc
+

Generated using TypeDoc

Function useAuthState

  • Accesses the current authentication state.

    Returns types.AuthState

    Example

    function AuthStateComponent() {
    const { isAuthenticated, authenticating, identity, error } = useAuthState();

    return (
    <div>
    {authenticating ? 'Authenticating...' : ''}
    {error ? `Error: ${error.message}` : ''}
    {isAuthenticated ? `User ${identity?.getPrincipal()} is authenticated.` : 'User is not authenticated.'}
    </div>
    );
    }
    -

Generated using TypeDoc
+

Generated using TypeDoc

Function useUserPrincipal

Generated using TypeDoc
+

Generated using TypeDoc

Function useVisitMethod

Generated using TypeDoc
+

Generated using TypeDoc
-

Function convertStringToNumber

Generated using TypeDoc
+

Function convertStringToNumber

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Function validateNumberError

  • Parameters

    Returns ((value) => string | true)

      • (value): string | true
      • Parameters

        • value: string

        Returns string | true

Generated using TypeDoc
+

Function validateNumberError

  • Parameters

    Returns ((value) => string | true)

      • (value): string | true
      • Parameters

        • value: string

        Returns string | true

Generated using TypeDoc

Generated using TypeDoc
-

Interface ActorManagerParameters

interface ActorManagerParameters {
    agentManager: classes.AgentManager;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
}

Properties

agentManager +

Interface ActorManagerParameters

interface ActorManagerParameters {
    agentManager: classes.AgentManager;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
}

Properties

agentManager: classes.AgentManager
canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean

Generated using TypeDoc
+

Properties

agentManager: classes.AgentManager
canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean

Generated using TypeDoc
-

Interface ActorMethodState<A, M>

interface ActorMethodState<A, M> {
    [key: string]: {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Indexable

[key: string]: {
    data: types.ActorMethodReturnType<A[M]> | undefined;
    loading: boolean;
    error: Error | undefined;
}

Generated using TypeDoc
+

Interface ActorMethodState<A, M>

interface ActorMethodState<A, M> {
    [key: string]: {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Indexable

[key: string]: {
    data: types.ActorMethodReturnType<A[M]> | undefined;
    loading: boolean;
    error: Error | undefined;
}

Generated using TypeDoc
-

Interface AgentManagerParameters

interface AgentManagerParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    port?: number;
    isLocalEnv?: boolean;
    withDevtools?: boolean;
}

Hierarchy (view full)

Properties

source? +

Interface AgentManagerParameters

interface AgentManagerParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    port?: number;
    isLocalEnv?: boolean;
    withDevtools?: boolean;
}

Hierarchy (view full)

Properties

source? fetch? fetchOptions? callOptions? @@ -27,10 +27,10 @@

Default

false
 

Default

true
 
logToConsole?: boolean

Whether to log to the console. Defaults to false.

-
port?: number
isLocalEnv?: boolean
withDevtools?: boolean

Generated using TypeDoc
+

port?: number
isLocalEnv?: boolean
withDevtools?: boolean

Generated using TypeDoc
-

Interface AgentState

interface AgentState {
    initialized: boolean;
    initializing: boolean;
    error: undefined | Error;
}

Properties

initialized +

Interface AgentState

interface AgentState {
    initialized: boolean;
    initializing: boolean;
    error: undefined | Error;
}

Properties

initialized: boolean
initializing: boolean
error: undefined | Error

Generated using TypeDoc
+

Properties

initialized: boolean
initializing: boolean
error: undefined | Error

Generated using TypeDoc
-

Interface AuthState

interface AuthState {
    identity: null | types.Identity;
    authenticating: boolean;
    authenticated: boolean;
    error: undefined | Error;
}

Properties

identity +

Interface AuthState

interface AuthState {
    identity: null | types.Identity;
    authenticating: boolean;
    authenticated: boolean;
    error: undefined | Error;
}

Properties

identity: null | types.Identity
authenticating: boolean
authenticated: boolean
error: undefined | Error

Generated using TypeDoc
+

Properties

identity: null | types.Identity
authenticating: boolean
authenticated: boolean
error: undefined | Error

Generated using TypeDoc
-

Interface CandidAdapterParameters

interface CandidAdapterParameters {
    agentManager?: classes.AgentManager;
    agent?: types.HttpAgent;
    didjsCanisterId?: string;
}

Properties

agentManager? +

Interface CandidAdapterParameters

interface CandidAdapterParameters {
    agentManager?: classes.AgentManager;
    agent?: types.HttpAgent;
    didjsCanisterId?: string;
}

Properties

agentManager?: classes.AgentManager
didjsCanisterId?: string

Generated using TypeDoc
+

Properties

agentManager?: classes.AgentManager
didjsCanisterId?: string

Generated using TypeDoc
-

Interface CandidDefenition

interface CandidDefenition {
    idlFactory: types.IDL.InterfaceFactory;
    init: ((__namedParameters) => never[]);
}

Properties

idlFactory +

Interface CandidDefenition

interface CandidDefenition {
    idlFactory: types.IDL.InterfaceFactory;
    init: ((__namedParameters) => never[]);
}

Properties

Properties

init: ((__namedParameters) => never[])

Type declaration

    • (__namedParameters): never[]
    • Parameters

      • __namedParameters: {
            idl: IDL;
        }

      Returns never[]

Generated using TypeDoc
+

Properties

init: ((__namedParameters) => never[])

Type declaration

    • (__namedParameters): never[]
    • Parameters

      • __namedParameters: {
            idl: IDL;
        }

      Returns never[]

Generated using TypeDoc
-

Interface CreateReactorCoreParameters

interface CreateReactorCoreParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    agentManager?: classes.AgentManager;
    isLocalEnv?: boolean;
    port?: number;
    withProcessEnv?: boolean;
}

Hierarchy (view full)

Properties

source? +

Interface CreateReactorCoreParameters

interface CreateReactorCoreParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    agentManager?: classes.AgentManager;
    isLocalEnv?: boolean;
    port?: number;
    withProcessEnv?: boolean;
}

Hierarchy (view full)

Properties

source? fetch? fetchOptions? callOptions? @@ -33,10 +33,10 @@

Default

false
 

Default

true
 
logToConsole?: boolean

Whether to log to the console. Defaults to false.

-
canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
agentManager?: classes.AgentManager
isLocalEnv?: boolean
port?: number
withProcessEnv?: boolean

Generated using TypeDoc
+

canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
agentManager?: classes.AgentManager
isLocalEnv?: boolean
port?: number
withProcessEnv?: boolean

Generated using TypeDoc
-

Interface CreateReactorCoreReturnType<A>

interface CreateReactorCoreReturnType<A> {
    canisterId: types.CanisterId;
    actorStore: types.ActorStore<A>;
    visitFunction: types.VisitService<A>;
    agentManager: classes.AgentManager;
    getState: (() => types.ActorState<A>);
    subscribeActorState: ((listener) => (() => void));
    setState: ((partial, replace?) => void);
    agentStore: types.AgentStore;
    authStore: types.AuthStore;
    isLocalEnv: boolean;
    getAgentState: (() => types.AgentState);
    subscribeAgentState: ((listener) => (() => void));
    getAuthState: (() => types.AuthState);
    subscribeAuthState: ((listener) => (() => void));
    login: ((config?) => Promise<void>);
    logout: ((config?) => Promise<void>);
    queryCall: types.ActorQuery<A>;
    updateCall: types.ActorUpdate<A>;
    initialize(options?): Promise<void>;
    extractService(): types.VisitService<A>;
    callMethod<M>(functionName, ...args): Promise<types.ActorMethodReturnType<A[M]>>;
    getActor(): null | A;
    subscribeAgent(callback): (() => void);
    unsubscribeAgent(callback): void;
    updateAgent(options?): Promise<void>;
    authenticate(): Promise<types.Identity>;
    getAgent(): types.HttpAgent;
    getAuth(): null | types.AuthClient;
    getIdentity(): null | types.Identity;
    getPrincipal(): null | types.Principal;
}

Type Parameters

Hierarchy (view full)

Properties

canisterId +

Interface CreateReactorCoreReturnType<A>

interface CreateReactorCoreReturnType<A> {
    canisterId: types.CanisterId;
    actorStore: types.ActorStore<A>;
    visitFunction: types.VisitService<A>;
    agentManager: classes.AgentManager;
    getState: (() => types.ActorState<A>);
    subscribeActorState: ((listener) => (() => void));
    setState: ((partial, replace?) => void);
    agentStore: types.AgentStore;
    authStore: types.AuthStore;
    isLocalEnv: boolean;
    getAgentState: (() => types.AgentState);
    subscribeAgentState: ((listener) => (() => void));
    getAuthState: (() => types.AuthState);
    subscribeAuthState: ((listener) => (() => void));
    login: ((config?) => Promise<void>);
    logout: ((config?) => Promise<void>);
    queryCall: types.ActorQuery<A>;
    updateCall: types.ActorUpdate<A>;
    initialize(options?): Promise<void>;
    extractService(): types.VisitService<A>;
    callMethod<M>(functionName, ...args): Promise<types.ActorMethodReturnType<A[M]>>;
    getActor(): null | A;
    subscribeAgent(callback): (() => void);
    unsubscribeAgent(callback): void;
    updateAgent(options?): Promise<void>;
    authenticate(): Promise<types.Identity>;
    getAgent(): types.HttpAgent;
    getAuth(): null | types.AuthClient;
    getIdentity(): null | types.Identity;
    getPrincipal(): null | types.Principal;
}

Type Parameters

Hierarchy (view full)

Properties

canisterId: types.CanisterId
actorStore: types.ActorStore<A>
visitFunction: types.VisitService<A>
agentManager: classes.AgentManager
getState: (() => types.ActorState<A>) = ...

Type declaration

subscribeActorState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

setState: ((partial, replace?) => void) = ...

Type declaration

agentStore: types.AgentStore
authStore: types.AuthStore
isLocalEnv: boolean
getAgentState: (() => types.AgentState) = ...

Type declaration

subscribeAgentState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

getAuthState: (() => types.AuthState) = ...

Type declaration

subscribeAuthState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

login: ((config?) => Promise<void>)

Type declaration

logout: ((config?) => Promise<void>)

Type declaration

    • (config?): Promise<void>
    • Parameters

      • Optional config: {
            returnTo?: string;
        }
        • Optional returnTo?: string

      Returns Promise<void>

queryCall: types.ActorQuery<A>
updateCall: types.ActorUpdate<A>

Methods

Generated using TypeDoc
+

Properties

canisterId: types.CanisterId
actorStore: types.ActorStore<A>
visitFunction: types.VisitService<A>
agentManager: classes.AgentManager
getState: (() => types.ActorState<A>) = ...

Type declaration

subscribeActorState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

setState: ((partial, replace?) => void) = ...

Type declaration

agentStore: types.AgentStore
authStore: types.AuthStore
isLocalEnv: boolean
getAgentState: (() => types.AgentState) = ...

Type declaration

subscribeAgentState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

getAuthState: (() => types.AuthState) = ...

Type declaration

subscribeAuthState: ((listener) => (() => void)) = ...

Type declaration

    • (listener): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

login: ((config?) => Promise<void>)

Type declaration

logout: ((config?) => Promise<void>)

Type declaration

    • (config?): Promise<void>
    • Parameters

      • Optional config: {
            returnTo?: string;
        }
        • Optional returnTo?: string

      Returns Promise<void>

queryCall: types.ActorQuery<A>
updateCall: types.ActorUpdate<A>

Methods

Generated using TypeDoc
-

Interface CreateReactorStoreParameters

interface CreateReactorStoreParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    agentManager?: classes.AgentManager;
    withProcessEnv?: boolean;
    isLocalEnv?: boolean;
    port?: number;
}

Hierarchy (view full)

Properties

source? +

Interface CreateReactorStoreParameters

interface CreateReactorStoreParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    agentManager?: classes.AgentManager;
    withProcessEnv?: boolean;
    isLocalEnv?: boolean;
    port?: number;
}

Hierarchy (view full)

Properties

source? fetch? fetchOptions? callOptions? @@ -33,10 +33,10 @@

Default

false
 

Default

true
 
logToConsole?: boolean

Whether to log to the console. Defaults to false.

-
canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
agentManager?: classes.AgentManager
withProcessEnv?: boolean
isLocalEnv?: boolean
port?: number

Generated using TypeDoc
+

canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
agentManager?: classes.AgentManager
withProcessEnv?: boolean
isLocalEnv?: boolean
port?: number

Generated using TypeDoc
-

Interface DefaultActorType

interface DefaultActorType {
    [key: string]: types.ActorMethod;
}

Indexable

[key: string]: types.ActorMethod

Generated using TypeDoc
+

Interface DefaultActorType

interface DefaultActorType {
    [key: string]: types.ActorMethod;
}

Indexable

[key: string]: types.ActorMethod

Generated using TypeDoc
-

Interface UpdateAgentParameters

interface UpdateAgentParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    agent?: types.HttpAgent;
}

Hierarchy (view full)

Properties

source? +

Interface UpdateAgentParameters

interface UpdateAgentParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    agent?: types.HttpAgent;
}

Hierarchy (view full)

Properties

source? fetch? fetchOptions? callOptions? @@ -25,10 +25,10 @@

Default

false
 

Default

true
 
logToConsole?: boolean

Whether to log to the console. Defaults to false.

-

Generated using TypeDoc
+

Generated using TypeDoc
-

Interface ActorHooksReturnType<A>

interface ActorHooksReturnType<A> {
    initialize: (() => Promise<void>);
    useActorState: (() => UseActorState);
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
}

Type Parameters

Hierarchy (view full)

Properties

initialize +

Interface ActorHooksReturnType<A>

interface ActorHooksReturnType<A> {
    initialize: (() => Promise<void>);
    useActorState: (() => UseActorState);
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
}

Type Parameters

Hierarchy (view full)

Properties

initialize: (() => Promise<void>)

Type declaration

useActorState: (() => UseActorState)

Type declaration

useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>

Generated using TypeDoc
+

Properties

initialize: (() => Promise<void>)

Type declaration

useActorState: (() => UseActorState)

Type declaration

useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>

Generated using TypeDoc

Interface ActorMethodState<A, M>

interface ActorMethodState<A, M> {
    [key: string]: {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Indexable

[key: string]: {
    data: types.ActorMethodReturnType<A[M]> | undefined;
    loading: boolean;
    error: Error | undefined;
}

Generated using TypeDoc
-

Interface ActorProviderProps

interface ActorProviderProps {
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    children?: ReactNode;
    loadingComponent?: ReactNode;
    didjsId?: string;
    canisterId?: string;
    agentContext?: Context<null | AgentContext>;
    idlFactory?: types.IDL.InterfaceFactory;
}

Hierarchy (view full)

Properties

withVisitor? +

Interface ActorProviderProps

interface ActorProviderProps {
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    children?: ReactNode;
    loadingComponent?: ReactNode;
    didjsId?: string;
    canisterId?: string;
    agentContext?: Context<null | AgentContext>;
    idlFactory?: types.IDL.InterfaceFactory;
}

Hierarchy (view full)

Properties

withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
children?: ReactNode
loadingComponent?: ReactNode
didjsId?: string
canisterId?: string
agentContext?: Context<null | AgentContext>

Generated using TypeDoc
+

Properties

withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
children?: ReactNode
loadingComponent?: ReactNode
didjsId?: string
canisterId?: string
agentContext?: Context<null | AgentContext>

Generated using TypeDoc
-

Interface AgentContext

interface AgentContext {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
    agentManager: types.AgentManager;
}

Hierarchy (view full)

Properties

useAgent +

Interface AgentContext

interface AgentContext {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
    agentManager: types.AgentManager;
}

Hierarchy (view full)

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

agentManager: types.AgentManager

Generated using TypeDoc
+

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

agentManager: types.AgentManager

Generated using TypeDoc
-

Interface AgentHooksReturnType

interface AgentHooksReturnType {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
}

Hierarchy (view full)

Properties

useAgent +

Interface AgentHooksReturnType

interface AgentHooksReturnType {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
}

Hierarchy (view full)

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

Generated using TypeDoc
+

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

Generated using TypeDoc
-

Interface AgentProviderProps

interface AgentProviderProps {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    children?: ReactNode;
    port?: number;
    isLocalEnv?: boolean;
    withDevtools?: boolean;
    agentManager?: types.AgentManager;
}

Hierarchy (view full)

Properties

source? +

Interface AgentProviderProps

interface AgentProviderProps {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    children?: ReactNode;
    port?: number;
    isLocalEnv?: boolean;
    withDevtools?: boolean;
    agentManager?: types.AgentManager;
}

Hierarchy (view full)

Properties

source? fetch? fetchOptions? callOptions? @@ -29,10 +29,10 @@

Default

false
 

Default

true
 
logToConsole?: boolean

Whether to log to the console. Defaults to false.

-
children?: ReactNode
port?: number
isLocalEnv?: boolean
withDevtools?: boolean
agentManager?: types.AgentManager

Generated using TypeDoc
+

children?: ReactNode
port?: number
isLocalEnv?: boolean
withDevtools?: boolean
agentManager?: types.AgentManager

Generated using TypeDoc
-

Interface AuthHooksReturnType

interface AuthHooksReturnType {
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
}

Hierarchy (view full)

Properties

useAuth +

Interface AuthHooksReturnType

interface AuthHooksReturnType {
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
}

Hierarchy (view full)

Properties

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

Generated using TypeDoc
+

Properties

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

Generated using TypeDoc
-

Interface CreateActorContextParameters

interface CreateActorContextParameters {
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    didjsId?: string;
    canisterId?: string;
    agentContext?: Context<null | AgentContext>;
    idlFactory?: types.IDL.InterfaceFactory;
    loadingComponent?: ReactNode;
}

Hierarchy (view full)

Properties

withVisitor? +

Interface CreateActorContextParameters

interface CreateActorContextParameters {
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    didjsId?: string;
    canisterId?: string;
    agentContext?: Context<null | AgentContext>;
    idlFactory?: types.IDL.InterfaceFactory;
    loadingComponent?: ReactNode;
}

Hierarchy (view full)

Properties

withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
didjsId?: string
canisterId?: string
agentContext?: Context<null | AgentContext>
loadingComponent?: ReactNode

Generated using TypeDoc
+

Properties

withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
didjsId?: string
canisterId?: string
agentContext?: Context<null | AgentContext>
loadingComponent?: ReactNode

Generated using TypeDoc
-

Interface CreateActorContextReturnType<A>

interface CreateActorContextReturnType<A> {
    initialize: (() => Promise<void>);
    useActorState: (() => UseActorState);
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
    ActorProvider: FC<ActorProviderProps>;
}

Type Parameters

Hierarchy (view full)

Properties

initialize +

Interface CreateActorContextReturnType<A>

interface CreateActorContextReturnType<A> {
    initialize: (() => Promise<void>);
    useActorState: (() => UseActorState);
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
    ActorProvider: FC<ActorProviderProps>;
}

Type Parameters

Hierarchy (view full)

Properties

initialize: (() => Promise<void>)

Type declaration

useActorState: (() => UseActorState)

Type declaration

useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>
ActorProvider: FC<ActorProviderProps>

Generated using TypeDoc
+

Properties

initialize: (() => Promise<void>)

Type declaration

useActorState: (() => UseActorState)

Type declaration

useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>
ActorProvider: FC<ActorProviderProps>

Generated using TypeDoc
-

Interface CreateAgentContextReturnType

interface CreateAgentContextReturnType {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
    useAgentManager: ((agentContext?) => types.AgentManager);
    AgentProvider: FC<AgentProviderProps>;
}

Hierarchy (view full)

Properties

useAgent +

Interface CreateAgentContextReturnType

interface CreateAgentContextReturnType {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
    useAgentManager: ((agentContext?) => types.AgentManager);
    AgentProvider: FC<AgentProviderProps>;
}

Hierarchy (view full)

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

useAgentManager: ((agentContext?) => types.AgentManager)

Type declaration

AgentProvider: FC<AgentProviderProps>

Generated using TypeDoc
+

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

useAgentManager: ((agentContext?) => types.AgentManager)

Type declaration

AgentProvider: FC<AgentProviderProps>

Generated using TypeDoc
-

Interface CreateReactorParameters

interface CreateReactorParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    agentManager?: types.AgentManager;
    isLocalEnv?: boolean;
    port?: number;
    withProcessEnv?: boolean;
}

Hierarchy (view full)

Properties

source? +

Interface CreateReactorParameters

interface CreateReactorParameters {
    source?: types.HttpAgent;
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    };
    fetchOptions?: Record<string, unknown>;
    callOptions?: Record<string, unknown>;
    host?: string;
    identity?: types.Identity | Promise<types.Identity>;
    credentials?: {
        name: string;
        password?: string;
    };
    useQueryNonces?: boolean;
    retryTimes?: number;
    verifyQuerySignatures?: boolean;
    logToConsole?: boolean;
    idlFactory: types.IDL.InterfaceFactory;
    canisterId: types.CanisterId;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    agentManager?: types.AgentManager;
    isLocalEnv?: boolean;
    port?: number;
    withProcessEnv?: boolean;
}

Hierarchy (view full)

Properties

source? fetch? fetchOptions? callOptions? @@ -36,7 +36,7 @@

Default

false
 
canisterId: types.CanisterId
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
agentManager?: types.AgentManager
isLocalEnv?: boolean
port?: number
withProcessEnv?: boolean

Generated using TypeDoc
-

Interface CreateReactorReturnType<A>

interface CreateReactorReturnType<A> {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
    initialize: (() => Promise<void>);
    useActorState: (() => UseActorState);
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
    getAgent: (() => types.HttpAgent);
    getVisitFunction: (() => types.VisitService<A>);
}

Type Parameters

  • A

Hierarchy (view full)

Properties

useAgent +

Interface CreateReactorReturnType<A>

interface CreateReactorReturnType<A> {
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
    initialize: (() => Promise<void>);
    useActorState: (() => UseActorState);
    useQueryCall: UseQueryCall<A>;
    useUpdateCall: UseUpdateCall<A>;
    useVisitMethod: UseVisitMethod<A>;
    getAgent: (() => types.HttpAgent);
    getVisitFunction: (() => types.VisitService<A>);
}

Type Parameters

  • A

Hierarchy (view full)

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

initialize: (() => Promise<void>)

Type declaration

useActorState: (() => UseActorState)

Type declaration

useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>
getAgent: (() => types.HttpAgent)

Type declaration

getVisitFunction: (() => types.VisitService<A>)

Type declaration

Generated using TypeDoc
+

Properties

useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration

initialize: (() => Promise<void>)

Type declaration

useActorState: (() => UseActorState)

Type declaration

useQueryCall: UseQueryCall<A>
useUpdateCall: UseUpdateCall<A>
useVisitMethod: UseVisitMethod<A>
getAgent: (() => types.HttpAgent)

Type declaration

getVisitFunction: (() => types.VisitService<A>)

Type declaration

Generated using TypeDoc

Interface DefaultActorType

interface DefaultActorType {
    [key: string]: types.ActorMethod;
}

Indexable

[key: string]: types.ActorMethod

Generated using TypeDoc
-

Interface UseActorParameters

interface UseActorParameters {
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    canisterId: string;
    idlFactory?: types.IDL.InterfaceFactory;
    agentContext?: Context<null | AgentContext>;
    didjsCanisterId?: string;
}

Hierarchy

Properties

withVisitor? +

Interface UseActorParameters

interface UseActorParameters {
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    canisterId: string;
    idlFactory?: types.IDL.InterfaceFactory;
    agentContext?: Context<null | AgentContext>;
    didjsCanisterId?: string;
}

Hierarchy

Properties

withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
canisterId: string
agentContext?: Context<null | AgentContext>
didjsCanisterId?: string

Generated using TypeDoc
+

Properties

withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
canisterId: string
agentContext?: Context<null | AgentContext>
didjsCanisterId?: string

Generated using TypeDoc
-

Interface UseActorReturn<A>

interface UseActorReturn<A> {
    hooks: null | ActorHooksReturnType<A>;
    fetching: boolean;
    fetchError: null | string;
}

Type Parameters

Properties

hooks +

Interface UseActorReturn<A>

interface UseActorReturn<A> {
    hooks: null | ActorHooksReturnType<A>;
    fetching: boolean;
    fetchError: null | string;
}

Type Parameters

Properties

hooks: null | ActorHooksReturnType<A>
fetching: boolean
fetchError: null | string

Generated using TypeDoc
+

Properties

hooks: null | ActorHooksReturnType<A>
fetching: boolean
fetchError: null | string

Generated using TypeDoc
-

Interface UseActorState

interface UseActorState {
    initialized: boolean;
    initializing: boolean;
    error: undefined | Error;
    canisterId: types.CanisterId;
}

Hierarchy

Properties

initialized +

Interface UseActorState

interface UseActorState {
    initialized: boolean;
    initializing: boolean;
    error: undefined | Error;
    canisterId: types.CanisterId;
}

Hierarchy

Properties

initialized: boolean
initializing: boolean
error: undefined | Error
canisterId: types.CanisterId

Generated using TypeDoc
+

Properties

initialized: boolean
initializing: boolean
error: undefined | Error
canisterId: types.CanisterId

Generated using TypeDoc
-

Interface UseAuthParameters

interface UseAuthParameters {
    onAuthentication?: ((promise) => void);
    onAuthenticationSuccess?: ((identity) => void);
    onAuthenticationFailure?: ((error) => void);
    onLoginSuccess?: ((principal) => void);
    onLoginError?: ((error) => void);
    onLogin?: ((promise) => void);
    onLoggedOut?: (() => void);
}

Properties

onAuthentication? +

Interface UseAuthParameters

interface UseAuthParameters {
    onAuthentication?: ((promise) => void);
    onAuthenticationSuccess?: ((identity) => void);
    onAuthenticationFailure?: ((error) => void);
    onLoginSuccess?: ((principal) => void);
    onLoginError?: ((error) => void);
    onLogin?: ((promise) => void);
    onLoggedOut?: (() => void);
}

Properties

onAuthentication?: ((promise) => void)

Type declaration

onAuthenticationSuccess?: ((identity) => void)

Type declaration

onAuthenticationFailure?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onLoginSuccess?: ((principal) => void)

Type declaration

onLoginError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onLogin?: ((promise) => void)

Type declaration

onLoggedOut?: (() => void)

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc
+

Properties

onAuthentication?: ((promise) => void)

Type declaration

onAuthenticationSuccess?: ((identity) => void)

Type declaration

onAuthenticationFailure?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onLoginSuccess?: ((principal) => void)

Type declaration

onLoginError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onLogin?: ((promise) => void)

Type declaration

onLoggedOut?: (() => void)

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc
-

Interface UseAuthReturnType

interface UseAuthReturnType {
    error: undefined | Error;
    authenticated: boolean;
    authenticating: boolean;
    identity: null | types.Identity;
    login: ((options?) => Promise<void>);
    logout: ((options?) => Promise<void>);
    authenticate: (() => Promise<types.Identity>);
    loginLoading: boolean;
    loginError: null | Error;
}

Properties

error +

Interface UseAuthReturnType

interface UseAuthReturnType {
    error: undefined | Error;
    authenticated: boolean;
    authenticating: boolean;
    identity: null | types.Identity;
    login: ((options?) => Promise<void>);
    logout: ((options?) => Promise<void>);
    authenticate: (() => Promise<types.Identity>);
    loginLoading: boolean;
    loginError: null | Error;
}

Properties

error: undefined | Error
authenticated: boolean
authenticating: boolean
identity: null | types.Identity
login: ((options?) => Promise<void>)

Type declaration

logout: ((options?) => Promise<void>)

Type declaration

authenticate: (() => Promise<types.Identity>)

Type declaration

loginLoading: boolean
loginError: null | Error

Generated using TypeDoc
+

Properties

error: undefined | Error
authenticated: boolean
authenticating: boolean
identity: null | types.Identity
login: ((options?) => Promise<void>)

Type declaration

logout: ((options?) => Promise<void>)

Type declaration

authenticate: (() => Promise<types.Identity>)

Type declaration

loginLoading: boolean
loginError: null | Error

Generated using TypeDoc
-

Interface UseMethodCallReturnType<A, M>

interface UseMethodCallReturnType<A, M> {
    data: undefined | types.ActorMethodReturnType<A[M]>;
    error: undefined | Error;
    loading: boolean;
    reset: (() => void);
    call: ((eventOrReplaceArgs?) => Promise<undefined | types.ActorMethodReturnType<A[M]>>);
}

Type Parameters

Hierarchy (view full)

Properties

data +

Interface UseMethodCallReturnType<A, M>

interface UseMethodCallReturnType<A, M> {
    data: undefined | types.ActorMethodReturnType<A[M]>;
    error: undefined | Error;
    loading: boolean;
    reset: (() => void);
    call: ((eventOrReplaceArgs?) => Promise<undefined | types.ActorMethodReturnType<A[M]>>);
}

Type Parameters

Hierarchy (view full)

Properties

data: undefined | types.ActorMethodReturnType<A[M]>
error: undefined | Error
loading: boolean
reset: (() => void)

Type declaration

    • (): void
    • Returns void

call: ((eventOrReplaceArgs?) => Promise<undefined | types.ActorMethodReturnType<A[M]>>)

Type declaration

Generated using TypeDoc
+

Properties

data: undefined | types.ActorMethodReturnType<A[M]>
error: undefined | Error
loading: boolean
reset: (() => void)

Type declaration

    • (): void
    • Returns void

call: ((eventOrReplaceArgs?) => Promise<undefined | types.ActorMethodReturnType<A[M]>>)

Type declaration

Generated using TypeDoc
-

Interface UseQueryCallParameters<A, M>

interface UseQueryCallParameters<A, M> {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    onLoading?: ((loading) => void);
    onError?: ((error) => void);
    onSuccess?: ((data) => void);
    throwOnError?: boolean;
    refetchOnMount?: boolean;
    refetchInterval?: number | false;
}

Type Parameters

Hierarchy (view full)

Properties

functionName +

Interface UseQueryCallParameters<A, M>

interface UseQueryCallParameters<A, M> {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    onLoading?: ((loading) => void);
    onError?: ((error) => void);
    onSuccess?: ((data) => void);
    throwOnError?: boolean;
    refetchOnMount?: boolean;
    refetchInterval?: number | false;
}

Type Parameters

Hierarchy (view full)

Properties

functionName: M
onLoading?: ((loading) => void)

Type declaration

    • (loading): void
    • Parameters

      • loading: boolean

      Returns void

onError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onSuccess?: ((data) => void)

Type declaration

throwOnError?: boolean
refetchOnMount?: boolean
refetchInterval?: number | false

Generated using TypeDoc
+

Properties

functionName: M
onLoading?: ((loading) => void)

Type declaration

    • (loading): void
    • Parameters

      • loading: boolean

      Returns void

onError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onSuccess?: ((data) => void)

Type declaration

throwOnError?: boolean
refetchOnMount?: boolean
refetchInterval?: number | false

Generated using TypeDoc
-

Interface UseUpdateCallParameters<A, M>

interface UseUpdateCallParameters<A, M> {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    onLoading?: ((loading) => void);
    onError?: ((error) => void);
    onSuccess?: ((data) => void);
    throwOnError?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

functionName +

Interface UseUpdateCallParameters<A, M>

interface UseUpdateCallParameters<A, M> {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    onLoading?: ((loading) => void);
    onError?: ((error) => void);
    onSuccess?: ((data) => void);
    throwOnError?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

functionName: M
onLoading?: ((loading) => void)

Type declaration

    • (loading): void
    • Parameters

      • loading: boolean

      Returns void

onError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onSuccess?: ((data) => void)

Type declaration

throwOnError?: boolean

Generated using TypeDoc
+

Properties

functionName: M
onLoading?: ((loading) => void)

Type declaration

    • (loading): void
    • Parameters

      • loading: boolean

      Returns void

onError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

onSuccess?: ((data) => void)

Type declaration

throwOnError?: boolean

Generated using TypeDoc
-

interface DefaultField {
    maxLength?: number;
    minLength?: number;
    type: FieldType;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

maxLength? +
interface DefaultField {
    maxLength?: number;
    minLength?: number;
    type: FieldType;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

maxLength?: number
minLength?: number
type: FieldType
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any
defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

maxLength?: number
minLength?: number
type: FieldType
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any
defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Interface DynamicDataArgs<V>

interface DynamicDataArgs<V> {
    label: string;
    value: V;
}

Type Parameters

  • V = unknown

Properties

label +

Interface DynamicDataArgs<V>

interface DynamicDataArgs<V> {
    label: string;
    value: V;
}

Type Parameters

  • V = unknown

Properties

Properties

label: string
value: V

Generated using TypeDoc
+

Properties

label: string
value: V

Generated using TypeDoc
-

Interface ExtractedServiceDetails<A>

interface ExtractedServiceDetails<A> {
    canisterId: string;
    description: string;
    methodDetails: ServiceDetails<A>;
}

Type Parameters

Properties

canisterId +

Interface ExtractedServiceDetails<A>

interface ExtractedServiceDetails<A> {
    canisterId: string;
    description: string;
    methodDetails: ServiceDetails<A>;
}

Type Parameters

Properties

canisterId: string
description: string
methodDetails: ServiceDetails<A>

Generated using TypeDoc
+

Properties

canisterId: string
description: string
methodDetails: ServiceDetails<A>

Generated using TypeDoc
-

Interface ExtractedServiceFields<A>

interface ExtractedServiceFields<A> {
    canisterId: string;
    methodFields: ServiceFields<A, Extract<keyof A, string>>;
}

Type Parameters

Properties

canisterId +

Interface ExtractedServiceFields<A>

interface ExtractedServiceFields<A> {
    canisterId: string;
    methodFields: ServiceFields<A, Extract<keyof A, string>>;
}

Type Parameters

Properties

canisterId: string
methodFields: ServiceFields<A, Extract<keyof A, string>>

Generated using TypeDoc
+

Properties

canisterId: string
methodFields: ServiceFields<A, Extract<keyof A, string>>

Generated using TypeDoc
-

Interface ExtractedServiceResults<A>

interface ExtractedServiceResults<A> {
    canisterId: string;
    methodResult: ServiceResult<A>;
}

Type Parameters

Properties

canisterId +

Interface ExtractedServiceResults<A>

interface ExtractedServiceResults<A> {
    canisterId: string;
    methodResult: ServiceResult<A>;
}

Type Parameters

Properties

canisterId: string
methodResult: ServiceResult<A>

Generated using TypeDoc
+

Properties

canisterId: string
methodResult: ServiceResult<A>

Generated using TypeDoc
-

interface FieldDetails {
    __label: string;
    __type: FieldType;
    __description: string;
    [key: string]: string | boolean | undefined;
}

Hierarchy (view full)

Indexable

[key: string]: string | boolean | undefined

Properties

__label +
interface FieldDetails {
    __label: string;
    __type: FieldType;
    __description: string;
    [key: string]: string | boolean | undefined;
}

Hierarchy (view full)

Indexable

[key: string]: string | boolean | undefined

Properties

__label: string
__type: FieldType
__description: string

Generated using TypeDoc
+

Properties

__label: string
__type: FieldType
__description: string

Generated using TypeDoc
-

Interface FieldDetailsWithChild

interface FieldDetailsWithChild {
    __hidden?: boolean;
    __checked?: boolean;
    __label: string;
    __type: FieldType;
    __description: string;
    optional?: OtherDetails;
    vector?: OtherDetails;
    [key: string]: string | boolean | undefined | OtherDetails;
}

Indexable

[key: string]: string | boolean | undefined | OtherDetails

Properties

__hidden? +

Interface FieldDetailsWithChild

interface FieldDetailsWithChild {
    __hidden?: boolean;
    __checked?: boolean;
    __label: string;
    __type: FieldType;
    __description: string;
    optional?: OtherDetails;
    vector?: OtherDetails;
    [key: string]: string | boolean | undefined | OtherDetails;
}

Indexable

[key: string]: string | boolean | undefined | OtherDetails

Properties

__hidden?: boolean
__checked?: boolean
__label: string
__type: FieldType
__description: string
optional?: OtherDetails
vector?: OtherDetails

Generated using TypeDoc
+

Properties

__hidden?: boolean
__checked?: boolean
__label: string
__type: FieldType
__description: string
optional?: OtherDetails
vector?: OtherDetails

Generated using TypeDoc
-

interface InputDetails {
    __label: string;
    __type: FieldType;
    __description: string;
    __checked?: boolean;
    [key: string]: string | boolean | undefined;
}

Hierarchy (view full)

Indexable

[key: string]: string | boolean | undefined

Properties

__label +
interface InputDetails {
    __label: string;
    __type: FieldType;
    __description: string;
    __checked?: boolean;
    [key: string]: string | boolean | undefined;
}

Hierarchy (view full)

Indexable

[key: string]: string | boolean | undefined

Properties

__label: string
__type: FieldType
__description: string
__checked?: boolean

Generated using TypeDoc
+

Properties

__label: string
__type: FieldType
__description: string
__checked?: boolean

Generated using TypeDoc
-

Interface InputField<T>

interface InputField<T> {
    required: true;
    defaultValue: FieldTypeFromIDLType<T>;
    maxLength?: number;
    minLength?: number;
    type: FieldType;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Type Parameters

Hierarchy (view full)

Properties

required +

Interface InputField<T>

interface InputField<T> {
    required: true;
    defaultValue: FieldTypeFromIDLType<T>;
    maxLength?: number;
    minLength?: number;
    type: FieldType;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Type Parameters

Hierarchy (view full)

Properties

required: true
defaultValue: FieldTypeFromIDLType<T>
maxLength?: number
minLength?: number
type: FieldType
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

required: true
defaultValue: FieldTypeFromIDLType<T>
maxLength?: number
minLength?: number
type: FieldType
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Interface MethodFields<A, M>

interface MethodFields<A, M> {
    functionName: M;
    functionType: types.FunctionType;
    fields: [] | AllFieldTypes<types.IDL.Type<any>>[];
    validate: ((value) => string | boolean);
    defaultValues: ServiceDefaultValues<A, M>;
}

Type Parameters

Properties

functionName +

Interface MethodFields<A, M>

interface MethodFields<A, M> {
    functionName: M;
    functionType: types.FunctionType;
    fields: [] | AllFieldTypes<types.IDL.Type<any>>[];
    validate: ((value) => string | boolean);
    defaultValues: ServiceDefaultValues<A, M>;
}

Type Parameters

Properties

functionName: M
functionType: types.FunctionType
fields: [] | AllFieldTypes<types.IDL.Type<any>>[]
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues: ServiceDefaultValues<A, M>

Generated using TypeDoc
+

Properties

functionName: M
functionType: types.FunctionType
fields: [] | AllFieldTypes<types.IDL.Type<any>>[]
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues: ServiceDefaultValues<A, M>

Generated using TypeDoc
-

interface NumberField {
    type: "number";
    min?: string | number;
    max?: string | number;
    required: true;
    defaultValue: string;
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type +
interface NumberField {
    type: "number";
    min?: string | number;
    max?: string | number;
    required: true;
    defaultValue: string;
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

Properties

type: "number"
min?: string | number
max?: string | number
required: true
defaultValue: string
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

type: "number"
min?: string | number
max?: string | number
required: true
defaultValue: string
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Interface OptionalFields

interface OptionalFields {
    type: "optional";
    field: AllFieldTypes<types.IDL.Type<any>>;
    defaultValue: [];
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type +

Interface OptionalFields

interface OptionalFields {
    type: "optional";
    field: AllFieldTypes<types.IDL.Type<any>>;
    defaultValue: [];
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type: "optional"
defaultValue: []
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

type: "optional"
defaultValue: []
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Interface PrincipalField

interface PrincipalField {
    type: "principal";
    required: true;
    maxLength: number;
    minLength: number;
    defaultValue: string;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type +

Interface PrincipalField

interface PrincipalField {
    type: "principal";
    required: true;
    maxLength: number;
    minLength: number;
    defaultValue: string;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type: "principal"
required: true
maxLength: number
minLength: number
defaultValue: string
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

type: "principal"
required: true
maxLength: number
minLength: number
defaultValue: string
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Interface RecordFields<T>

interface RecordFields<T> {
    type: "record";
    fields: AllFieldTypes<T>[];
    defaultValues: Record<string, FieldTypeFromIDLType<T>>;
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
}

Type Parameters

Hierarchy (view full)

Properties

type +

Interface RecordFields<T>

interface RecordFields<T> {
    type: "record";
    fields: AllFieldTypes<T>[];
    defaultValues: Record<string, FieldTypeFromIDLType<T>>;
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
}

Type Parameters

Hierarchy (view full)

Properties

type: "record"
fields: AllFieldTypes<T>[]
defaultValues: Record<string, FieldTypeFromIDLType<T>>
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any

Generated using TypeDoc
+

Properties

type: "record"
fields: AllFieldTypes<T>[]
defaultValues: Record<string, FieldTypeFromIDLType<T>>
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any

Generated using TypeDoc
-

Interface RecursiveFields

interface RecursiveFields {
    type: "recursive";
    name: string;
    extract: (() => VariantFields<types.IDL.Type<any>>);
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type +

Interface RecursiveFields

interface RecursiveFields {
    type: "recursive";
    name: string;
    extract: (() => VariantFields<types.IDL.Type<any>>);
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type: "recursive"
name: string
extract: (() => VariantFields<types.IDL.Type<any>>)

Type declaration

maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any
defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

type: "recursive"
name: string
extract: (() => VariantFields<types.IDL.Type<any>>)

Type declaration

maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any
defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Interface ResultArrayData<A, M>

interface ResultArrayData<A, M> {
    label: string;
    value: types.ActorMethodReturnType<A[M]>[];
}

Type Parameters

Properties

label +

Interface ResultArrayData<A, M>

interface ResultArrayData<A, M> {
    label: string;
    value: types.ActorMethodReturnType<A[M]>[];
}

Type Parameters

Properties

Properties

label: string

Generated using TypeDoc
+

Properties

label: string

Generated using TypeDoc
-

Interface ResultRecordData<A, M>

interface ResultRecordData<A, M> {
    label: string;
    value: Record<string, types.ActorMethodReturnType<A[M]>>;
}

Type Parameters

Properties

label +

Interface ResultRecordData<A, M>

interface ResultRecordData<A, M> {
    label: string;
    value: Record<string, types.ActorMethodReturnType<A[M]>>;
}

Type Parameters

Properties

Properties

label: string

Generated using TypeDoc
+

Properties

label: string

Generated using TypeDoc
-

Interface TupleFields<T>

interface TupleFields<T> {
    type: "tuple";
    fields: AllFieldTypes<T>[];
    defaultValues: FieldTypeFromIDLType<T>[];
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
}

Type Parameters

Hierarchy (view full)

Properties

type +

Interface TupleFields<T>

interface TupleFields<T> {
    type: "tuple";
    fields: AllFieldTypes<T>[];
    defaultValues: FieldTypeFromIDLType<T>[];
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
}

Type Parameters

Hierarchy (view full)

Properties

type: "tuple"
fields: AllFieldTypes<T>[]
defaultValues: FieldTypeFromIDLType<T>[]
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any

Generated using TypeDoc
+

Properties

type: "tuple"
fields: AllFieldTypes<T>[]
defaultValues: FieldTypeFromIDLType<T>[]
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any

Generated using TypeDoc
-

Interface VariantFields<T>

interface VariantFields<T> {
    type: "variant";
    options: string[];
    defaultValue: string;
    fields: AllFieldTypes<T>[];
    defaultValues: FieldTypeFromIDLType<T>;
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
}

Type Parameters

Hierarchy (view full)

Properties

type +

Interface VariantFields<T>

interface VariantFields<T> {
    type: "variant";
    options: string[];
    defaultValue: string;
    fields: AllFieldTypes<T>[];
    defaultValues: FieldTypeFromIDLType<T>;
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
}

Type Parameters

Hierarchy (view full)

Properties

Properties

type: "variant"
options: string[]
defaultValue: string
fields: AllFieldTypes<T>[]
defaultValues: FieldTypeFromIDLType<T>
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

Generated using TypeDoc
+

Properties

type: "variant"
options: string[]
defaultValue: string
fields: AllFieldTypes<T>[]
defaultValues: FieldTypeFromIDLType<T>
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

Generated using TypeDoc
-

interface VectorFields {
    type: "vector";
    field: AllFieldTypes<types.IDL.Type<any>>;
    defaultValue: [];
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type +
interface VectorFields {
    type: "vector";
    field: AllFieldTypes<types.IDL.Type<any>>;
    defaultValue: [];
    maxLength?: number;
    minLength?: number;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

type: "vector"
defaultValue: []
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
+

Properties

type: "vector"
defaultValue: []
maxLength?: number
minLength?: number
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>

Generated using TypeDoc
-

Namespace classes

Index

Classes

ActorManager +

Generated using TypeDoc
-

Namespace tools

Index

Variables

IC_HOST_NETWORK_URI +

Generated using TypeDoc
-

Namespace types

References

ActorManager +

Namespace types

References

Namespaces

Classes

HttpAgent @@ -49,7 +49,7 @@

References

Re-exports ActorManager
Re-exports AgentManager

Generated using TypeDoc
-

Namespace core

Index

Main

createCandidAdapter +

Generated using TypeDoc
-

Namespace helpers

Index

Functions

actorHooks +

Generated using TypeDoc
-

Namespace types

Index

Namespaces

IDL +

Namespace types

Index

Namespaces

Classes

HttpAgent AuthClient Principal @@ -77,7 +77,7 @@

Generated using TypeDoc
-

Namespace helper

Index

Functions

extractAndSortArgs +

Generated using TypeDoc
-

Namespace types

Index

Interfaces

ExtractedServiceDetails +

Generated using TypeDoc
-

Type alias ActorCallFunction<A, M>

ActorCallFunction<A, M>: ((replaceArgs?) => Promise<types.ActorMethodReturnType<A[M]>>)

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorCallFunction<A, M>

ActorCallFunction<A, M>: ((replaceArgs?) => Promise<types.ActorMethodReturnType<A[M]>>)

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorGetStateFunction<A, M>

ActorGetStateFunction<A, M>: {
    (key): types.ActorMethodReturnType<A[M]>;
    (key): boolean;
    (key): undefined | Error;
    (): {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorGetStateFunction<A, M>

ActorGetStateFunction<A, M>: {
    (key): types.ActorMethodReturnType<A[M]>;
    (key): boolean;
    (key): undefined | Error;
    (): {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorMethodCall<A>

ActorMethodCall<A>: (<M>(functionName, ...args) => types.ActorUpdateReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorMethodCall<A>

ActorMethodCall<A>: (<M>(functionName, ...args) => types.ActorUpdateReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorMethodParameters<T>

ActorMethodParameters<T>: T extends types.ActorMethod<infer Args, any>
    ? Args
    : never

Type Parameters

  • T

Generated using TypeDoc
+

Type alias ActorMethodParameters<T>

ActorMethodParameters<T>: T extends types.ActorMethod<infer Args, any>
    ? Args
    : never

Type Parameters

  • T

Generated using TypeDoc
-

Type alias ActorMethodReturnType<T>

ActorMethodReturnType<T>: T extends types.ActorMethod<any, infer Ret>
    ? Ret
    : never

Type Parameters

  • T

Generated using TypeDoc
+

Type alias ActorMethodReturnType<T>

ActorMethodReturnType<T>: T extends types.ActorMethod<any, infer Ret>
    ? Ret
    : never

Type Parameters

  • T

Generated using TypeDoc
-

Type alias ActorMethodStates<A>

ActorMethodStates<A>: {
    [M in types.FunctionName<A>]: types.ActorMethodState<A, M>
}

Type Parameters

Generated using TypeDoc
+

Type alias ActorMethodStates<A>

ActorMethodStates<A>: {
    [M in types.FunctionName<A>]: types.ActorMethodState<A, M>
}

Type Parameters

Generated using TypeDoc
-

Type alias ActorQuery<A>

ActorQuery<A>: (<M>(config) => types.ActorQueryReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorQuery<A>

ActorQuery<A>: (<M>(config) => types.ActorQueryReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorQueryParameters<A, M>

ActorQueryParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    refetchOnMount?: boolean;
    refetchInterval?: number | false;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorQueryParameters<A, M>

ActorQueryParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    refetchOnMount?: boolean;
    refetchInterval?: number | false;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorQueryReturnType<A, M>

ActorQueryReturnType<A, M>: {
    intervalId: NodeJS.Timeout | null;
    requestHash: string;
    getState: types.ActorGetStateFunction<A, M>;
    subscribe: types.ActorSubscribeFunction<A, M>;
    call: types.ActorCallFunction<A, M>;
    dataPromise: Promise<types.ActorMethodReturnType<A[M]>>;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorQueryReturnType<A, M>

ActorQueryReturnType<A, M>: {
    intervalId: NodeJS.Timeout | null;
    requestHash: string;
    getState: types.ActorGetStateFunction<A, M>;
    subscribe: types.ActorSubscribeFunction<A, M>;
    call: types.ActorCallFunction<A, M>;
    dataPromise: Promise<types.ActorMethodReturnType<A[M]>>;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorState<A>

ActorState<A>: {
    initialized: boolean;
    initializing: boolean;
    error: Error | undefined;
    methodState: types.ActorMethodStates<A>;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorState<A>

ActorState<A>: {
    initialized: boolean;
    initializing: boolean;
    error: Error | undefined;
    methodState: types.ActorMethodStates<A>;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorStore<A>

ActorStore<A>: StoreApi<types.ActorState<A>>

Type Parameters

Generated using TypeDoc
+

Type alias ActorStore<A>

ActorStore<A>: StoreApi<types.ActorState<A>>

Type Parameters

Generated using TypeDoc
-

Type alias ActorSubscribeFunction<A, M>

ActorSubscribeFunction<A, M>: ((callback) => (() => void))

Type Parameters

Type declaration

    • (callback): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

Generated using TypeDoc
+

Type alias ActorSubscribeFunction<A, M>

ActorSubscribeFunction<A, M>: ((callback) => (() => void))

Type Parameters

Type declaration

    • (callback): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

Generated using TypeDoc
-

Type alias ActorUpdate<A>

ActorUpdate<A>: (<M>(config) => types.ActorUpdateReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorUpdate<A>

ActorUpdate<A>: (<M>(config) => types.ActorUpdateReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorUpdateParameters<A, M>

ActorUpdateParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorUpdateParameters<A, M>

ActorUpdateParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorUpdateReturnType<A, M>

ActorUpdateReturnType<A, M>: {
    requestHash: string;
    getState: types.ActorGetStateFunction<A, M>;
    subscribe: types.ActorSubscribeFunction<A, M>;
    call: types.ActorCallFunction<A, M>;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorUpdateReturnType<A, M>

ActorUpdateReturnType<A, M>: {
    requestHash: string;
    getState: types.ActorGetStateFunction<A, M>;
    subscribe: types.ActorSubscribeFunction<A, M>;
    call: types.ActorCallFunction<A, M>;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Type alias CallActorMethod<A>

CallActorMethod<A>: (<M>(functionName, ...args) => Promise<types.ActorMethodReturnType<A[M]>>)

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias CallActorMethod<A>

CallActorMethod<A>: (<M>(functionName, ...args) => Promise<types.ActorMethodReturnType<A[M]>>)

Type Parameters

Type declaration

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Type alias FunctionName<A>

FunctionName<A>: Extract<keyof A, string>

Type Parameters

Generated using TypeDoc
+

Type alias FunctionName<A>

FunctionName<A>: Extract<keyof A, string>

Type Parameters

Generated using TypeDoc
-

Type alias FunctionType

FunctionType: "query" | "update"

Generated using TypeDoc
+

Type alias FunctionType

FunctionType: "query" | "update"

Generated using TypeDoc
-

Type alias VisitService<A, M>

VisitService<A, M>: {
    [K in M]: (<V>(extractorClass, data?) => ReturnType<V["visitFunc"]>)
}

Type Parameters

Generated using TypeDoc
+

Type alias VisitService<A, M>

VisitService<A, M>: {
    [K in M]: (<V>(extractorClass, data?) => ReturnType<V["visitFunc"]>)
}

Type Parameters

Generated using TypeDoc
-

Type alias VisitorType<V>

VisitorType<V>: V extends types.IDL.Visitor<infer D, infer R>
    ? {
        data: D;
        returnType: R;
    }
    : never

Type Parameters

  • V

Generated using TypeDoc
+

Type alias VisitorType<V>

VisitorType<V>: V extends types.IDL.Visitor<infer D, infer R>
    ? {
        data: D;
        returnType: R;
    }
    : never

Type Parameters

  • V

Generated using TypeDoc

Type alias ActorCallFunction<A, M>

ActorCallFunction<A, M>: ((replaceArgs?) => Promise<types.ActorMethodReturnType<A[M]>>)

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias ActorCallState<A, M>

ActorCallState<A, M>: {
    data: types.ActorMethodReturnType<A[M]> | undefined;
    error: Error | undefined;
    loading: boolean;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias ActorCallState<A, M>

ActorCallState<A, M>: {
    data: types.ActorMethodReturnType<A[M]> | undefined;
    error: Error | undefined;
    loading: boolean;
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorGetStateFunction<A, M>

ActorGetStateFunction<A, M>: {
    (key): types.ActorMethodReturnType<A[M]>;
    (key): boolean;
    (key): undefined | Error;
    (): {
        data: types.ActorMethodReturnType<A[M]> | undefined;
        loading: boolean;
        error: Error | undefined;
    };
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorMethodCall<A>

ActorMethodCall<A>: (<M>(functionName, ...args) => types.ActorUpdateReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorMethodParameters<T>

ActorMethodParameters<T>: T extends types.ActorMethod<infer Args, any>
    ? Args
    : never

Type Parameters

  • T

Generated using TypeDoc

Type alias ActorMethodReturnType<T>

ActorMethodReturnType<T>: T extends types.ActorMethod<any, infer Ret>
    ? Ret
    : never

Type Parameters

  • T

Generated using TypeDoc

Type alias ActorMethodStates<A>

ActorMethodStates<A>: {
    [M in types.FunctionName<A>]: types.ActorMethodState<A, M>
}

Type Parameters

Generated using TypeDoc

Type alias ActorQuery<A>

ActorQuery<A>: (<M>(config) => types.ActorQueryReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorQueryParameters<A, M>

ActorQueryParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    refetchOnMount?: boolean;
    refetchInterval?: number | false;
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorQueryReturnType<A, M>

ActorQueryReturnType<A, M>: {
    intervalId: NodeJS.Timeout | null;
    requestHash: string;
    getState: types.ActorGetStateFunction<A, M>;
    subscribe: types.ActorSubscribeFunction<A, M>;
    call: types.ActorCallFunction<A, M>;
    dataPromise: Promise<types.ActorMethodReturnType<A[M]>>;
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorState<A>

ActorState<A>: {
    initialized: boolean;
    initializing: boolean;
    error: Error | undefined;
    methodState: types.ActorMethodStates<A>;
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorStore<A>

ActorStore<A>: StoreApi<types.ActorState<A>>

Type Parameters

Generated using TypeDoc

Type alias ActorSubscribeFunction<A, M>

ActorSubscribeFunction<A, M>: ((callback) => (() => void))

Type Parameters

Type declaration

    • (callback): (() => void)
    • Parameters

      Returns (() => void)

        • (): void
        • Returns void

Generated using TypeDoc

Type alias ActorUpdate<A>

ActorUpdate<A>: (<M>(config) => types.ActorUpdateReturnType<A, M>)

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorUpdateParameters<A, M>

ActorUpdateParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias ActorUpdateReturnType<A, M>

ActorUpdateReturnType<A, M>: {
    requestHash: string;
    getState: types.ActorGetStateFunction<A, M>;
    subscribe: types.ActorSubscribeFunction<A, M>;
    call: types.ActorCallFunction<A, M>;
}

Type Parameters

Type declaration

Generated using TypeDoc

Type alias AgentStore

AgentStore: StoreApi<types.AgentState>

Generated using TypeDoc

Type alias AuthStore

AuthStore: StoreApi<types.AuthState>

Generated using TypeDoc

Type alias BaseActor<T>

BaseActor<T>: types.ActorSubclass<T>

Type Parameters

Generated using TypeDoc

Type alias CallActorMethod<A>

CallActorMethod<A>: (<M>(functionName, ...args) => Promise<types.ActorMethodReturnType<A[M]>>)

Type Parameters

Type declaration

Generated using TypeDoc

Type alias CanisterId

CanisterId: string | types.Principal

Generated using TypeDoc

Type alias FunctionName<A>

FunctionName<A>: Extract<keyof A, string>

Type Parameters

Generated using TypeDoc

Type alias FunctionType

FunctionType: "query" | "update"

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Type alias LoginState

LoginState: {
    loading: boolean;
    error: Error | null;
}

Type declaration

  • loading: boolean
  • error: Error | null

Generated using TypeDoc
+

Type alias LoginState

LoginState: {
    loading: boolean;
    error: Error | null;
}

Type declaration

  • loading: boolean
  • error: Error | null

Generated using TypeDoc
-

Type alias LogoutParameters

LogoutParameters: {
    returnTo?: string;
}

Type declaration

  • Optional returnTo?: string

Generated using TypeDoc
+

Type alias LogoutParameters

LogoutParameters: {
    returnTo?: string;
}

Type declaration

  • Optional returnTo?: string

Generated using TypeDoc
-

Type alias UseMethodCall<A>

UseMethodCall<A>: (<M>(args) => UseMethodCallReturnType<A, M>)

Type Parameters

  • A

Type declaration

Generated using TypeDoc
+

Type alias UseMethodCall<A>

UseMethodCall<A>: (<M>(args) => UseMethodCallReturnType<A, M>)

Type Parameters

  • A

Type declaration

Generated using TypeDoc
-

Type alias UseMethodCallParameters<A, M>

UseMethodCallParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    onLoading?: ((loading) => void);
    onError?: ((error) => void);
    onSuccess?: ((data) => void);
    throwOnError?: boolean;
}

Type Parameters

Type declaration

  • functionName: M
  • Optional args?: types.ActorMethodParameters<A[M]>
  • Optional onLoading?: ((loading) => void)
      • (loading): void
      • Parameters

        • loading: boolean

        Returns void

  • Optional onError?: ((error) => void)
      • (error): void
      • Parameters

        Returns void

  • Optional onSuccess?: ((data) => void)
  • Optional throwOnError?: boolean

Generated using TypeDoc
+

Type alias UseMethodCallParameters<A, M>

UseMethodCallParameters<A, M>: {
    functionName: M;
    args?: types.ActorMethodParameters<A[M]>;
    onLoading?: ((loading) => void);
    onError?: ((error) => void);
    onSuccess?: ((data) => void);
    throwOnError?: boolean;
}

Type Parameters

Type declaration

  • functionName: M
  • Optional args?: types.ActorMethodParameters<A[M]>
  • Optional onLoading?: ((loading) => void)
      • (loading): void
      • Parameters

        • loading: boolean

        Returns void

  • Optional onError?: ((error) => void)
      • (error): void
      • Parameters

        Returns void

  • Optional onSuccess?: ((data) => void)
  • Optional throwOnError?: boolean

Generated using TypeDoc
-

Type alias UseQueryCall<A>

UseQueryCall<A>: (<M>(args) => UseMethodCallReturnType<A, M>)

Type Parameters

  • A

Type declaration

Generated using TypeDoc
+

Type alias UseQueryCall<A>

UseQueryCall<A>: (<M>(args) => UseMethodCallReturnType<A, M>)

Type Parameters

  • A

Type declaration

Generated using TypeDoc
-

Type alias UseUpdateCall<A>

UseUpdateCall<A>: (<M>(args) => UseMethodCallReturnType<A, M>)

Type Parameters

  • A

Type declaration

Generated using TypeDoc
+

Type alias UseUpdateCall<A>

UseUpdateCall<A>: (<M>(args) => UseMethodCallReturnType<A, M>)

Type Parameters

  • A

Type declaration

Generated using TypeDoc
-

Type alias UseVisitMethod<A>

UseVisitMethod<A>: (<M>(functionName) => types.VisitService<A>[M])

Type Parameters

  • A

Type declaration

Generated using TypeDoc
+

Type alias UseVisitMethod<A>

UseVisitMethod<A>: (<M>(functionName) => types.VisitService<A>[M])

Type Parameters

  • A

Type declaration

Generated using TypeDoc

Type alias VisitService<A, M>

VisitService<A, M>: {
    [K in M]: (<V>(extractorClass, data?) => ReturnType<V["visitFunc"]>)
}

Type Parameters

Generated using TypeDoc

Type alias VisitorType<V>

VisitorType<V>: V extends types.IDL.Visitor<infer D, infer R>
    ? {
        data: D;
        returnType: R;
    }
    : never

Type Parameters

  • V

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Type alias DynamicFieldType<T>

DynamicFieldType<T>: T extends "record"
    ? RecordFields<types.IDL.Type>
    : T extends "variant"
        ? VariantFields<types.IDL.Type>
        : T extends "tuple"
            ? TupleFields<types.IDL.Type>
            : T extends "optional"
                ? OptionalFields
                : T extends "vector"
                    ? VectorFields
                    : T extends "recursive"
                        ? RecursiveFields
                        : T extends "unknown"
                            ? InputField<types.IDL.Type>
                            : T extends "text"
                                ? InputField<types.IDL.TextClass>
                                : T extends "number"
                                    ? NumberField
                                    : T extends "principal"
                                        ? PrincipalField
                                        : T extends "boolean"
                                            ? InputField<types.IDL.BoolClass>
                                            : T extends "null"
                                                ? InputField<types.IDL.NullClass>
                                                : never

Type Parameters

Generated using TypeDoc
+

Type alias DynamicFieldType<T>

DynamicFieldType<T>: T extends "record"
    ? RecordFields<types.IDL.Type>
    : T extends "variant"
        ? VariantFields<types.IDL.Type>
        : T extends "tuple"
            ? TupleFields<types.IDL.Type>
            : T extends "optional"
                ? OptionalFields
                : T extends "vector"
                    ? VectorFields
                    : T extends "recursive"
                        ? RecursiveFields
                        : T extends "unknown"
                            ? InputField<types.IDL.Type>
                            : T extends "text"
                                ? InputField<types.IDL.TextClass>
                                : T extends "number"
                                    ? NumberField
                                    : T extends "principal"
                                        ? PrincipalField
                                        : T extends "boolean"
                                            ? InputField<types.IDL.BoolClass>
                                            : T extends "null"
                                                ? InputField<types.IDL.NullClass>
                                                : never

Type Parameters

Generated using TypeDoc
-

Type alias DynamicFieldTypeByClass<T>

DynamicFieldTypeByClass<T>: T extends types.IDL.RecordClass
    ? RecordFields<T>
    : T extends types.IDL.TupleClass<types.IDL.Type[]>
        ? TupleFields<T>
        : T extends types.IDL.VariantClass
            ? VariantFields<T>
            : T extends types.IDL.VecClass<types.IDL.Type>
                ? VectorFields
                : T extends types.IDL.OptClass<types.IDL.Type>
                    ? OptionalFields
                    : T extends types.IDL.RecClass<types.IDL.Type>
                        ? RecursiveFields
                        : T extends types.IDL.PrincipalClass
                            ? PrincipalField
                            : T extends AllNumberTypes
                                ? NumberField
                                : InputField<T>

Type Parameters

Generated using TypeDoc
+

Type alias DynamicFieldTypeByClass<T>

DynamicFieldTypeByClass<T>: T extends types.IDL.RecordClass
    ? RecordFields<T>
    : T extends types.IDL.TupleClass<types.IDL.Type[]>
        ? TupleFields<T>
        : T extends types.IDL.VariantClass
            ? VariantFields<T>
            : T extends types.IDL.VecClass<types.IDL.Type>
                ? VectorFields
                : T extends types.IDL.OptClass<types.IDL.Type>
                    ? OptionalFields
                    : T extends types.IDL.RecClass<types.IDL.Type>
                        ? RecursiveFields
                        : T extends types.IDL.PrincipalClass
                            ? PrincipalField
                            : T extends AllNumberTypes
                                ? NumberField
                                : InputField<T>

Type Parameters

Generated using TypeDoc
-

Type alias ExtraInputFormFields

ExtraInputFormFields: Partial<{
    maxLength: number;
    minLength: number;
}>

Type declaration

  • maxLength: number
  • minLength: number

Generated using TypeDoc
+

Type alias ExtraInputFormFields

ExtraInputFormFields: Partial<{
    maxLength: number;
    minLength: number;
}>

Type declaration

  • maxLength: number
  • minLength: number

Generated using TypeDoc
-

FieldType: "record" | "variant" | "tuple" | "optional" | "vector" | "recursive" | "unknown" | "text" | "number" | "principal" | "boolean" | "null"

Generated using TypeDoc
+

FieldType: "record" | "variant" | "tuple" | "optional" | "vector" | "recursive" | "unknown" | "text" | "number" | "principal" | "boolean" | "null"

Generated using TypeDoc
-

Type alias FieldTypeFromIDLType<T>

FieldTypeFromIDLType<T>: T extends types.IDL.Type
    ? ReturnType<T["decodeValue"]>
    : types.IDL.Type

Type Parameters

  • T

Generated using TypeDoc
+

Type alias FieldTypeFromIDLType<T>

FieldTypeFromIDLType<T>: T extends types.IDL.Type
    ? ReturnType<T["decodeValue"]>
    : types.IDL.Type

Type Parameters

  • T

Generated using TypeDoc
-

Type alias FunctionCategory

FunctionCategory: "home" | "wallet" | "governance" | "setting"

Generated using TypeDoc
+

Type alias FunctionCategory

FunctionCategory: "home" | "wallet" | "governance" | "setting"

Generated using TypeDoc
-

Type alias MethodDefaultValues<T>

MethodDefaultValues<T>: {
    [key: `arg${number}`]: FieldTypeFromIDLType<T>;
}

Type Parameters

  • T = string

Type declaration

Generated using TypeDoc
+

Type alias MethodDefaultValues<T>

MethodDefaultValues<T>: {
    [key: `arg${number}`]: FieldTypeFromIDLType<T>;
}

Type Parameters

  • T = string

Type declaration

Generated using TypeDoc
-

Type alias MethodDetails<A>

MethodDetails<A>: {
    functionType: types.FunctionType;
    functionName: types.FunctionName<A>;
    category: FunctionCategory;
    order: number;
    __label: string;
    __description: string;
    [key: `arg${number}`]: FieldDetailsWithChild;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias MethodDetails<A>

MethodDetails<A>: {
    functionType: types.FunctionType;
    functionName: types.FunctionName<A>;
    category: FunctionCategory;
    order: number;
    __label: string;
    __description: string;
    [key: `arg${number}`]: FieldDetailsWithChild;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias MethodResult<A, M>

MethodResult<A, M>: {
    type: ReturnDataType;
    label: string;
    value?: MethodResultValue<A, M>;
    values?: MethodResult<A, M>[];
    description: string[] | string;
}

Type Parameters

Type declaration

Generated using TypeDoc
+

Type alias MethodResult<A, M>

MethodResult<A, M>: {
    type: ReturnDataType;
    label: string;
    value?: MethodResultValue<A, M>;
    values?: MethodResult<A, M>[];
    description: string[] | string;
}

Type Parameters

Type declaration

Generated using TypeDoc
-

Type alias MethodResultValue<A, M>

MethodResultValue<A, M>: types.ActorMethodReturnType<A[M]> | MethodResult<A, M> | number | string | boolean | types.Principal | Uint8Array | null

Type Parameters

Generated using TypeDoc
+

Type alias MethodResultValue<A, M>

MethodResultValue<A, M>: types.ActorMethodReturnType<A[M]> | MethodResult<A, M> | number | string | boolean | types.Principal | Uint8Array | null

Type Parameters

Generated using TypeDoc
-

Generated using TypeDoc
+

Generated using TypeDoc
-

Type alias ReturnDataType

ReturnDataType: "record" | "variant" | "tuple" | "optional" | "vector" | "recursive" | "unknown" | "text" | "number" | "principal" | "boolean" | "null" | "blob" | "url" | "image" | "normal" | "table"

Generated using TypeDoc
+

Type alias ReturnDataType

ReturnDataType: "record" | "variant" | "tuple" | "optional" | "vector" | "recursive" | "unknown" | "text" | "number" | "principal" | "boolean" | "null" | "blob" | "url" | "image" | "normal" | "table"

Generated using TypeDoc
-

Type alias ServiceDefaultValues<A, M>

ServiceDefaultValues<A, M>: {
    [key in M]: MethodDefaultValues<M>
}

Type Parameters

Generated using TypeDoc
+

Type alias ServiceDefaultValues<A, M>

ServiceDefaultValues<A, M>: {
    [key in M]: MethodDefaultValues<M>
}

Type Parameters

Generated using TypeDoc
-

Type alias ServiceDetails<A>

ServiceDetails<A>: {
    [K in types.FunctionName<A>]: (<ExtractorClass>(extractorClass?) => MethodDetails<A>)
}

Type Parameters

Generated using TypeDoc
+

Type alias ServiceDetails<A>

ServiceDetails<A>: {
    [K in types.FunctionName<A>]: (<ExtractorClass>(extractorClass?) => MethodDetails<A>)
}

Type Parameters

Generated using TypeDoc
-

Type alias ServiceFields<A, M>

ServiceFields<A, M>: {
    [key in M]: (<ExtractorClass>(extractorClass?) => MethodFields<A, M>)
}

Type Parameters

Generated using TypeDoc
+

Type alias ServiceFields<A, M>

ServiceFields<A, M>: {
    [key in M]: (<ExtractorClass>(extractorClass?) => MethodFields<A, M>)
}

Type Parameters

Generated using TypeDoc
-

Type alias ServiceResult<A>

ServiceResult<A>: {
    [K in types.FunctionName<A>]: (<ExtractorClass>(data, extractorClass?) => MethodResult<A>)
}

Type Parameters

Generated using TypeDoc
+

Type alias ServiceResult<A>

ServiceResult<A>: {
    [K in types.FunctionName<A>]: (<ExtractorClass>(data, extractorClass?) => MethodResult<A>)
}

Type Parameters

Generated using TypeDoc
-

Variable DEFAULT_IC_DIDJS_IDConst

DEFAULT_IC_DIDJS_ID: "a4gq6-oaaaa-aaaab-qaa4q-cai" = "a4gq6-oaaaa-aaaab-qaa4q-cai"

Generated using TypeDoc
+

Variable DEFAULT_IC_DIDJS_IDConst

DEFAULT_IC_DIDJS_ID: "a4gq6-oaaaa-aaaab-qaa4q-cai" = "a4gq6-oaaaa-aaaab-qaa4q-cai"

Generated using TypeDoc
-

Variable DEFAULT_LOCAL_DIDJS_IDConst

DEFAULT_LOCAL_DIDJS_ID: "bd3sg-teaaa-aaaaa-qaaba-cai" = "bd3sg-teaaa-aaaaa-qaaba-cai"

Generated using TypeDoc
+

Variable DEFAULT_LOCAL_DIDJS_IDConst

DEFAULT_LOCAL_DIDJS_ID: "bd3sg-teaaa-aaaaa-qaaba-cai" = "bd3sg-teaaa-aaaaa-qaaba-cai"

Generated using TypeDoc
-

Variable IC_HOST_NETWORK_URIConst

IC_HOST_NETWORK_URI: "https://ic0.app" = "https://ic0.app"

Generated using TypeDoc
+

Variable IC_HOST_NETWORK_URIConst

IC_HOST_NETWORK_URI: "https://ic0.app" = "https://ic0.app"

Generated using TypeDoc
-

Variable IC_INTERNET_IDENTITY_PROVIDERConst

IC_INTERNET_IDENTITY_PROVIDER: "https://identity.ic0.app/#authorize" = "https://identity.ic0.app/#authorize"

Generated using TypeDoc
+

Variable IC_INTERNET_IDENTITY_PROVIDERConst

IC_INTERNET_IDENTITY_PROVIDER: "https://identity.ic0.app/#authorize" = "https://identity.ic0.app/#authorize"

Generated using TypeDoc
-

Variable LOCAL_HOST_NETWORK_URIConst

LOCAL_HOST_NETWORK_URI: "http://127.0.0.1:4943" = "http://127.0.0.1:4943"

Generated using TypeDoc
+

Variable LOCAL_HOST_NETWORK_URIConst

LOCAL_HOST_NETWORK_URI: "http://127.0.0.1:4943" = "http://127.0.0.1:4943"

Generated using TypeDoc
-

Variable LOCAL_INTERNET_IDENTITY_PROVIDERConst

LOCAL_INTERNET_IDENTITY_PROVIDER: "http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/#authorize" = "http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/#authorize"

Generated using TypeDoc
+

Variable LOCAL_INTERNET_IDENTITY_PROVIDERConst

LOCAL_INTERNET_IDENTITY_PROVIDER: "http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/#authorize" = "http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/#authorize"

Generated using TypeDoc

Variable BoolConst

Generated using TypeDoc

Variable EmptyConst

Generated using TypeDoc

Variable Float32Const

Generated using TypeDoc

Variable Float64Const

Generated using TypeDoc

Variable IntConst

Generated using TypeDoc

Variable Int16Const

Generated using TypeDoc

Variable Int32Const

Generated using TypeDoc

Variable Int64Const

Generated using TypeDoc

Variable Int8Const

Generated using TypeDoc

Variable NatConst

Generated using TypeDoc

Variable Nat16Const

Generated using TypeDoc

Variable Nat32Const

Generated using TypeDoc

Variable Nat64Const

Generated using TypeDoc

Variable Nat8Const

Generated using TypeDoc

Variable NullConst

Generated using TypeDoc

Variable PrincipalConst

Generated using TypeDoc

Variable ReservedConst

Generated using TypeDoc

Variable TextConst

Generated using TypeDoc

Variable BoolConst

Generated using TypeDoc

Variable EmptyConst

Generated using TypeDoc

Variable Float32Const

Generated using TypeDoc

Variable Float64Const

Generated using TypeDoc

Variable IntConst

Generated using TypeDoc

Variable Int16Const

Generated using TypeDoc

Variable Int32Const

Generated using TypeDoc

Variable Int64Const

Generated using TypeDoc

Variable Int8Const

Generated using TypeDoc

Variable NatConst

Generated using TypeDoc

Variable Nat16Const

Generated using TypeDoc

Variable Nat32Const

Generated using TypeDoc

Variable Nat64Const

Generated using TypeDoc

Variable Nat8Const

Generated using TypeDoc

Variable NullConst

Generated using TypeDoc

Variable PrincipalConst

Generated using TypeDoc

Variable ReservedConst

Generated using TypeDoc

Variable TextConst

Generated using TypeDoc