Interface SessionExtension
interface SessionExtension { session: { params: (() => Promise<undefined | Params>); session: ((id) => Promise<undefined | Session>); sessions: ((pagination?) => Promise<QuerySessionsResponse>); sessionsForAccount: ((address,
pagination?) => Promise<QuerySessionsForAccountResponse>); sessionsForAllocation: ((id,
address,
pagination?) => Promise<QuerySessionsForAllocationResponse>); sessionsForNode: ((address,
pagination?) => Promise<QuerySessionsForNodeResponse>); sessionsForSubscription: ((id,
pagination?) => Promise<QuerySessionsForSubscriptionResponse>); }; } Properties
Readonly
session
session: { params: (() => Promise<undefined | Params>); session: ((id) => Promise<undefined | Session>); sessions: ((pagination?) => Promise<QuerySessionsResponse>); sessionsForAccount: ((address,
pagination?) => Promise<QuerySessionsForAccountResponse>); sessionsForAllocation: ((id,
address,
pagination?) => Promise<QuerySessionsForAllocationResponse>); sessionsForNode: ((address,
pagination?) => Promise<QuerySessionsForNodeResponse>); sessionsForSubscription: ((id,
pagination?) => Promise<QuerySessionsForSubscriptionResponse>); } Type declaration
params: (() => Promise<undefined | Params>)
- (): Promise<undefined | Params>
Returns Promise<undefined | Params>
session: ((id) => Promise<undefined | Session>)
- (id): Promise<undefined | Session>
Returns Promise<undefined | Session>
sessions: ((pagination?) => Promise<QuerySessionsResponse>)
- (pagination?): Promise<QuerySessionsResponse>
Returns Promise<QuerySessionsResponse>
sessionsForAccount: ((address, pagination?) => Promise<QuerySessionsForAccountResponse>)
- (address, pagination?): Promise<QuerySessionsForAccountResponse>
Returns Promise<QuerySessionsForAccountResponse>
sessionsForAllocation: ((id, address, pagination?) => Promise<QuerySessionsForAllocationResponse>)
- (id, address, pagination?): Promise<QuerySessionsForAllocationResponse>
Returns Promise<QuerySessionsForAllocationResponse>
sessionsForNode: ((address, pagination?) => Promise<QuerySessionsForNodeResponse>)
- (address, pagination?): Promise<QuerySessionsForNodeResponse>
Returns Promise<QuerySessionsForNodeResponse>
sessionsForSubscription: ((id, pagination?) => Promise<QuerySessionsForSubscriptionResponse>)
- (id, pagination?): Promise<QuerySessionsForSubscriptionResponse>
Returns Promise<QuerySessionsForSubscriptionResponse>