Hooks List
Hooks
AnalyticsProvider()
AnalyticsProvider(
__namedParameters
):Element
Parameters
Parameter | Type |
---|---|
__namedParameters | object |
__namedParameters.children ? | ReactNode |
__namedParameters.uiEvents | Subject <UIEventData > |
Returns
Element
Source
libs/hooks/src/use-analytics.tsx:24
RootComponentPropsProvider()
RootComponentPropsProvider(
__namedParameters
):Element
Parameters
Parameter | Type |
---|---|
__namedParameters | IRootComponentProps | IRootExtensionProps <Record <string , unknown >> |
Returns
Element
Source
libs/hooks/src/use-root-props.tsx:10
createReactiveVar()
createReactiveVar<
T
>(initialState
):ReactiveVar
<T
>
Type parameters
Type parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
initialState | T |
Returns
ReactiveVar
<T
>
Source
libs/hooks/src/utils/create-reactive-var.ts:3
decodeb64SlateContent()
decodeb64SlateContent(
base64Content
,logger
?):any
Utility to decode base64 slate content
Parameters
Parameter | Type |
---|---|
base64Content | string |
logger ? | Logger |
Returns
any
Source
libs/hooks/src/utils/entry-utils.ts:14
encodeSlateToBase64()
encodeSlateToBase64(
slateContent
):string
Utility to encode slate content to base64
Parameters
Parameter | Type |
---|---|
slateContent | Descendant [] |
Returns
string
Source
libs/hooks/src/utils/entry-utils.ts:30
filterEvent()
filterEvent(
eventType
):MonoTypeOperatorFunction
<Extract
<UIEventData
,object
>>
Parameters
Parameter | Type |
---|---|
eventType | AnalyticsEventTypes | EventTypes | RegisterContentBlock | RegisterExtension | RegisterWidget | RegisterApplication | RegisterRoutes | ThemeChange | NotificationEvents |
Returns
MonoTypeOperatorFunction
<Extract
<UIEventData
, object
>>
Source
libs/hooks/src/utils/event-utils.ts:5
filterEvents()
filterEvents(
eventTypes
):MonoTypeOperatorFunction
<UIEventData
>
Parameters
Parameter | Type |
---|---|
eventTypes | (AnalyticsEventTypes | EventTypes | RegisterContentBlock | RegisterExtension | RegisterWidget | RegisterApplication | RegisterRoutes | ThemeChange | NotificationEvents )[] |
Returns
MonoTypeOperatorFunction
<UIEventData
>
Source
libs/hooks/src/utils/event-utils.ts:18
getFollowList()
getFollowList(
followDocuments
):FollowList
Parameters
Parameter | Type |
---|---|
followDocuments | AkashaFollowDocument [] |
Returns
FollowList
Source
libs/hooks/src/utils/getFollowList.ts:3
getLinkPreview()
getLinkPreview():
Promise
<any
>
Utility to get preview of a specified url
Returns
Promise
<any
>
Source
libs/hooks/src/utils/media-utils.ts:49
getMediaUrl()
getMediaUrl(
hash
?):object
Utility to build gateway links to ipfs content
Parameters
Parameter | Type |
---|---|
hash ? | string |
Returns
object
Member | Type |
---|---|
fallbackLink | string |
originLink | string |
pathLink | string |
Source
libs/hooks/src/utils/media-utils.ts:19
hasOwn()
hasOwn<
T
,K
>(o
,v
): o is K extends KeyofUnion<T> ? ExtractByKey<T, K<K>> : T & { [P in string | number | symbol]: unknown }
Type parameters
Type parameter |
---|
T extends Record <string | number | symbol , any > |
K extends string | number | symbol |
Parameters
Parameter | Type |
---|---|
o | T |
v | K |
Returns
o is K extends KeyofUnion<T> ? ExtractByKey<T, K<K>> : T & { [P in string | number | symbol]: unknown }
Source
libs/hooks/src/utils/has-own.ts:10
mapBeamEntryData()
mapBeamEntryData(
beam
?):BeamData
Utility to map beam entry data
Parameters
Parameter | Type |
---|---|
beam ? | RawBeamData |
Returns
BeamData
Source
libs/hooks/src/utils/entry-utils.ts:77
mapReflectEntryData()
mapReflectEntryData(
reflection
?):ReflectionData
Utility to map reflect entry data
Parameters
Parameter | Type |
---|---|
reflection ? | RawReflectionData |
Returns
ReflectionData
Source
libs/hooks/src/utils/entry-utils.ts:60
saveMediaFile()
saveMediaFile(
__namedParameters
):Promise
<object
>
Utility to save media file
Parameters
Parameter | Type |
---|---|
__namedParameters | ISaveMediaFile |
Returns
Promise
<object
>
Member | Type | Value |
---|---|---|
CID | string | cid |
blob | Blob | resized.image |
size | object | resized.size |
size.height | number | - |
size.naturalHeight | number | - |
size.naturalWidth | number | - |
size.width | number | - |
Source
libs/hooks/src/utils/media-utils.ts:82
sortByKey()
sortByKey<
T
>(array
,key
):T
[]
Type parameters
Type parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
array | T [] |
key | string |
Returns
T
[]
Source
libs/hooks/src/utils/sort-by-key.ts:1
switchToRequiredNetwork()
switchToRequiredNetwork():
Promise
<void
>
A utility function to switch to required network for supported wallets
Returns
Promise
<void
>
Source
libs/hooks/src/use-network-state.ts:10
transformSource()
transformSource(
image
?):Image
Utility to transform source
Parameters
Parameter | Type |
---|---|
image ? | Image |
Returns
Image
Source
libs/hooks/src/utils/media-utils.ts:99
useAccordion()
useAccordion():
object
Hook to manipulate the state of the Accordion component.
Returns
object
- Object containing the active accordion ID, and methods for handling click events and setting an active ID.
Member | Type |
---|---|
activeAccordionId | string |
handleAccordionClick | (accordionId ) => void |
setActiveAccordionId | Dispatch <SetStateAction <string >> |
Example
const { activeAccordionId, setActiveAccordionId, handleAccordionClick } = useAccordion();
Source
libs/hooks/src/use-accordion.ts:12
useAkashaStore()
useAkashaStore():
object
Returns
object
Member | Type |
---|---|
data | IUserState <AkashaProfile > |
userStore | IUserStore <AkashaProfile > |
Source
libs/hooks/src/store/use-akasha-store.ts:5
useAnalytics()
useAnalytics(): [
UseAnalyticsActions
]
Hook to handle analytics
Returns
Example
const [analyticsActions] = useAnalytics();
analyticsActions.trackEvent({
category: 'some-category',
action: 'some-action',
});
Source
libs/hooks/src/use-analytics.tsx:54
useConnectWallet()
useConnectWallet():
object
Hook for connecting to a user's wallet (through Metamask or any other compatible applications)
Returns
object
Member | Type | Value |
---|---|---|
connect | () => void | - |
data | string | - |
error | Error | - |
isError | boolean | !!error |
isLoading | boolean | - |
isSuccess | boolean | !!data |
Example
const connectWalletCall = useConnectWallet();
// make the call to the connect function when appropriate:
connectWalletCall.connect();
Source
libs/hooks/src/use-connect-wallet.ts:15
useCreateAppMutation()
useCreateAppMutation(
baseOptions
?):MutationTuple
<CreateAppMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateAppMutation
To run a mutation, you first call useCreateAppMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateAppMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateAppMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateAppMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createAppMutation, { data, loading, error }] = useCreateAppMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:2801
useCreateBeamMutation()
useCreateBeamMutation(
baseOptions
?):MutationTuple
<CreateBeamMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateBeamMutation
To run a mutation, you first call useCreateBeamMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateBeamMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateBeamMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateBeamMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createBeamMutation, { data, loading, error }] = useCreateBeamMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:567
useCreateContentBlockMutation()
useCreateContentBlockMutation(
baseOptions
?):MutationTuple
<CreateContentBlockMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateContentBlockMutation
To run a mutation, you first call useCreateContentBlockMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateContentBlockMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateContentBlockMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateContentBlockMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createContentBlockMutation, { data, loading, error }] = useCreateContentBlockMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:639
useCreateFollowMutation()
useCreateFollowMutation(
baseOptions
?):MutationTuple
<CreateFollowMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateFollowMutation
To run a mutation, you first call useCreateFollowMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateFollowMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateFollowMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateFollowMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createFollowMutation, { data, loading, error }] = useCreateFollowMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:1865
useCreateInterestsMutation()
useCreateInterestsMutation(
baseOptions
?):MutationTuple
<CreateInterestsMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateInterestsMutation
To run a mutation, you first call useCreateInterestsMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateInterestsMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateInterestsMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateInterestsMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createInterestsMutation, { data, loading, error }] = useCreateInterestsMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:1780
useCreateProfileMutation()
useCreateProfileMutation(
baseOptions
?):MutationTuple
<CreateProfileMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateProfileMutation
To run a mutation, you first call useCreateProfileMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateProfileMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateProfileMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateProfileMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createProfileMutation, { data, loading, error }] = useCreateProfileMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:1701
useCreateReflectMutation()
useCreateReflectMutation(
baseOptions
?):MutationTuple
<CreateReflectMutation
,Exact
<object
>,DefaultContext
,ApolloCache
<any
>>
useCreateReflectMutation
To run a mutation, you first call useCreateReflectMutation
within a React component and pass it any options that fit your needs.
When your component renders, useCreateReflectMutation
returns a tuple that includes:
- A mutate function that you can call at any time to execute the mutation
- An object with fields that represent the current status of the mutation's execution
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | MutationHookOptions <CreateReflectMutation , Exact <object >, DefaultContext , ApolloCache <any >> | options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; |
Returns
MutationTuple
<CreateReflectMutation
, Exact
<object
>, DefaultContext
, ApolloCache
<any
>>
Example
const [createReflectMutation, { data, loading, error }] = useCreateReflectMutation({
variables: {
i: // value for 'i'
},
});
Source
libs/hooks/src/generated/apollo.ts:1274
useCurrentNetwork()
useCurrentNetwork(
enabler
?):object
Hook to check the user's current web3 network
Parameters
Parameter | Type |
---|---|
enabler ? | boolean |
Returns
object
network name
Member | Type |
---|---|
data | string |
error | Error |
isLoading | boolean |
Example
const currentNetworkQuery = useCurrentNetwork(true);
const network = currentNetworkQuery.data;
Source
libs/hooks/src/use-network-state.ts:86
useDismissedCard()
useDismissedCard(
id
,statusStorage
?): [boolean
, () =>void
]
Hook to manage the information cards displayed in the sidebar or inside the apps which users can dismiss by clicking the close button.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | string |
statusStorage ? | IStorage | IStorage (optional) to specify from which storage to retrieve the saved dismissed card IDs. |
Returns
[boolean
, () => void
]
Example
const [dismissed, dismissCard] = useDismissedCard('@akashaorg/ui-widget-sidebar_cta-card');
Source
libs/hooks/src/use-dismissed-card.ts:25
useEntryNavigation()
useEntryNavigation(
navigateFn
?,currentBeamId
?): (navigationDetails
,itemType
) =>void
Hook to navigation to entry's page
Parameters
Parameter | Type | Description |
---|---|---|
navigateFn ? | (args ) => void | function (optional) that can control the actual navigation. |
currentBeamId ? | string | string (optional) |
Returns
Function
Parameters
Parameter | Type |
---|---|
navigationDetails | IContentClickDetails |
itemType | EntityTypes |
Returns
void
Example
// navigateTo is a function extracted from the `useRootComponentProps` hook.
const handleEntryNavigate = useEntryNavigation(navigateTo, 'current-beam-id');
Source
libs/hooks/src/use-navigation.ts:14
useGetAppReleaseByIdLazyQuery()
useGetAppReleaseByIdLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppReleaseByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppReleaseByIdQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppReleaseByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3260
useGetAppReleaseByIdQuery()
useGetAppReleaseByIdQuery(
baseOptions
):QueryResult
<GetAppReleaseByIdQuery
,Exact
<object
>>
useGetAppReleaseByIdQuery
To run a query within a React component, call useGetAppReleaseByIdQuery
and pass it any options that fit your needs.
When your component renders, useGetAppReleaseByIdQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetAppReleaseByIdQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppReleaseByIdQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppReleaseByIdQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:3256
useGetAppReleaseByIdSuspenseQuery()
useGetAppReleaseByIdSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppReleaseByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppReleaseByIdQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppReleaseByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3264
useGetAppsByIdLazyQuery()
useGetAppsByIdLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppsByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppsByIdQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppsByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3012
useGetAppsByIdQuery()
useGetAppsByIdQuery(
baseOptions
):QueryResult
<GetAppsByIdQuery
,Exact
<object
>>
useGetAppsByIdQuery
To run a query within a React component, call useGetAppsByIdQuery
and pass it any options that fit your needs.
When your component renders, useGetAppsByIdQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetAppsByIdQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppsByIdQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppsByIdQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:3008
useGetAppsByIdSuspenseQuery()
useGetAppsByIdSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppsByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppsByIdQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppsByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3016
useGetAppsByPublisherDidLazyQuery()
useGetAppsByPublisherDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppsByPublisherDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppsByPublisherDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppsByPublisherDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3081
useGetAppsByPublisherDidQuery()
useGetAppsByPublisherDidQuery(
baseOptions
):QueryResult
<GetAppsByPublisherDidQuery
,Exact
<object
>>
useGetAppsByPublisherDidQuery
To run a query within a React component, call useGetAppsByPublisherDidQuery
and pass it any options that fit your needs.
When your component renders, useGetAppsByPublisherDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetAppsByPublisherDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppsByPublisherDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppsByPublisherDidQuery({
variables: {
id: // value for 'id'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:3077
useGetAppsByPublisherDidSuspenseQuery()
useGetAppsByPublisherDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppsByPublisherDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppsByPublisherDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppsByPublisherDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3085
useGetAppsLazyQuery()
useGetAppsLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppsQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppsQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppsQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2897
useGetAppsQuery()
useGetAppsQuery(
baseOptions
?):QueryResult
<GetAppsQuery
,Exact
<object
>>
useGetAppsQuery
To run a query within a React component, call useGetAppsQuery
and pass it any options that fit your needs.
When your component renders, useGetAppsQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | QueryHookOptions <GetAppsQuery , Exact <object >> | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppsQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppsQuery({
variables: {
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:2893
useGetAppsReleasesByPublisherDidLazyQuery()
useGetAppsReleasesByPublisherDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppsReleasesByPublisherDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppsReleasesByPublisherDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppsReleasesByPublisherDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3151
useGetAppsReleasesByPublisherDidQuery()
useGetAppsReleasesByPublisherDidQuery(
baseOptions
):QueryResult
<GetAppsReleasesByPublisherDidQuery
,Exact
<object
>>
useGetAppsReleasesByPublisherDidQuery
To run a query within a React component, call useGetAppsReleasesByPublisherDidQuery
and pass it any options that fit your needs.
When your component renders, useGetAppsReleasesByPublisherDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetAppsReleasesByPublisherDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppsReleasesByPublisherDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppsReleasesByPublisherDidQuery({
variables: {
id: // value for 'id'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:3147
useGetAppsReleasesByPublisherDidSuspenseQuery()
useGetAppsReleasesByPublisherDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppsReleasesByPublisherDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppsReleasesByPublisherDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppsReleasesByPublisherDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3155
useGetAppsReleasesLazyQuery()
useGetAppsReleasesLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppsReleasesQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppsReleasesQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppsReleasesQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3216
useGetAppsReleasesQuery()
useGetAppsReleasesQuery(
baseOptions
?):QueryResult
<GetAppsReleasesQuery
,Exact
<object
>>
useGetAppsReleasesQuery
To run a query within a React component, call useGetAppsReleasesQuery
and pass it any options that fit your needs.
When your component renders, useGetAppsReleasesQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | QueryHookOptions <GetAppsReleasesQuery , Exact <object >> | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppsReleasesQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppsReleasesQuery({
variables: {
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:3212
useGetAppsReleasesSuspenseQuery()
useGetAppsReleasesSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppsReleasesQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppsReleasesQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppsReleasesQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:3220
useGetAppsStreamLazyQuery()
useGetAppsStreamLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetAppsStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetAppsStreamQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetAppsStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2969
useGetAppsStreamQuery()
useGetAppsStreamQuery(
baseOptions
):QueryResult
<GetAppsStreamQuery
,Exact
<object
>>
useGetAppsStreamQuery
To run a query within a React component, call useGetAppsStreamQuery
and pass it any options that fit your needs.
When your component renders, useGetAppsStreamQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetAppsStreamQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetAppsStreamQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetAppsStreamQuery({
variables: {
indexer: // value for 'indexer'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:2965
useGetAppsStreamSuspenseQuery()
useGetAppsStreamSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppsStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppsStreamQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppsStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2973
useGetAppsSuspenseQuery()
useGetAppsSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetAppsQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetAppsQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetAppsQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2901
useGetBeamByIdLazyQuery()
useGetBeamByIdLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetBeamByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetBeamByIdQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetBeamByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:918
useGetBeamByIdQuery()
useGetBeamByIdQuery(
baseOptions
):QueryResult
<GetBeamByIdQuery
,Exact
<object
>>
useGetBeamByIdQuery
To run a query within a React component, call useGetBeamByIdQuery
and pass it any options that fit your needs.
When your component renders, useGetBeamByIdQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetBeamByIdQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetBeamByIdQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetBeamByIdQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:914
useGetBeamByIdSuspenseQuery()
useGetBeamByIdSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetBeamByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetBeamByIdQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetBeamByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:922
useGetBeamStreamLazyQuery()
useGetBeamStreamLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetBeamStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetBeamStreamQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetBeamStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:743
useGetBeamStreamQuery()
useGetBeamStreamQuery(
baseOptions
):QueryResult
<GetBeamStreamQuery
,Exact
<object
>>
useGetBeamStreamQuery
To run a query within a React component, call useGetBeamStreamQuery
and pass it any options that fit your needs.
When your component renders, useGetBeamStreamQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetBeamStreamQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetBeamStreamQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetBeamStreamQuery({
variables: {
indexer: // value for 'indexer'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:739
useGetBeamStreamSuspenseQuery()
useGetBeamStreamSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetBeamStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetBeamStreamQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetBeamStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:747
useGetBeamsByAuthorDidLazyQuery()
useGetBeamsByAuthorDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetBeamsByAuthorDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetBeamsByAuthorDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetBeamsByAuthorDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:876
useGetBeamsByAuthorDidQuery()
useGetBeamsByAuthorDidQuery(
baseOptions
):QueryResult
<GetBeamsByAuthorDidQuery
,Exact
<object
>>
useGetBeamsByAuthorDidQuery
To run a query within a React component, call useGetBeamsByAuthorDidQuery
and pass it any options that fit your needs.
When your component renders, useGetBeamsByAuthorDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetBeamsByAuthorDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetBeamsByAuthorDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetBeamsByAuthorDidQuery({
variables: {
id: // value for 'id'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:872
useGetBeamsByAuthorDidSuspenseQuery()
useGetBeamsByAuthorDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetBeamsByAuthorDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetBeamsByAuthorDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetBeamsByAuthorDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:880
useGetBeamsLazyQuery()
useGetBeamsLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetBeamsQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetBeamsQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetBeamsQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:806
useGetBeamsQuery()
useGetBeamsQuery(
baseOptions
?):QueryResult
<GetBeamsQuery
,Exact
<object
>>
useGetBeamsQuery
To run a query within a React component, call useGetBeamsQuery
and pass it any options that fit your needs.
When your component renders, useGetBeamsQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | QueryHookOptions <GetBeamsQuery , Exact <object >> | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetBeamsQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetBeamsQuery({
variables: {
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:802
useGetBeamsSuspenseQuery()
useGetBeamsSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetBeamsQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetBeamsQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetBeamsQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:810
useGetBlockStorageByIdLazyQuery()
useGetBlockStorageByIdLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetBlockStorageByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetBlockStorageByIdQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetBlockStorageByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1076
useGetBlockStorageByIdQuery()
useGetBlockStorageByIdQuery(
baseOptions
):QueryResult
<GetBlockStorageByIdQuery
,Exact
<object
>>
useGetBlockStorageByIdQuery
To run a query within a React component, call useGetBlockStorageByIdQuery
and pass it any options that fit your needs.
When your component renders, useGetBlockStorageByIdQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetBlockStorageByIdQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetBlockStorageByIdQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetBlockStorageByIdQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:1072
useGetBlockStorageByIdSuspenseQuery()
useGetBlockStorageByIdSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetBlockStorageByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetBlockStorageByIdQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetBlockStorageByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1080
useGetContentBlockByIdLazyQuery()
useGetContentBlockByIdLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetContentBlockByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetContentBlockByIdQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetContentBlockByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1034
useGetContentBlockByIdQuery()
useGetContentBlockByIdQuery(
baseOptions
):QueryResult
<GetContentBlockByIdQuery
,Exact
<object
>>
useGetContentBlockByIdQuery
To run a query within a React component, call useGetContentBlockByIdQuery
and pass it any options that fit your needs.
When your component renders, useGetContentBlockByIdQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetContentBlockByIdQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetContentBlockByIdQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetContentBlockByIdQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:1030
useGetContentBlockByIdSuspenseQuery()
useGetContentBlockByIdSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetContentBlockByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetContentBlockByIdQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetContentBlockByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1038
useGetContentBlockStreamLazyQuery()
useGetContentBlockStreamLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetContentBlockStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetContentBlockStreamQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetContentBlockStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:992
useGetContentBlockStreamQuery()
useGetContentBlockStreamQuery(
baseOptions
):QueryResult
<GetContentBlockStreamQuery
,Exact
<object
>>
useGetContentBlockStreamQuery
To run a query within a React component, call useGetContentBlockStreamQuery
and pass it any options that fit your needs.
When your component renders, useGetContentBlockStreamQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetContentBlockStreamQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetContentBlockStreamQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetContentBlockStreamQuery({
variables: {
indexer: // value for 'indexer'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:988
useGetContentBlockStreamSuspenseQuery()
useGetContentBlockStreamSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetContentBlockStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetContentBlockStreamQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetContentBlockStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:996
useGetFollowDocumentsByDidLazyQuery()
useGetFollowDocumentsByDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetFollowDocumentsByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetFollowDocumentsByDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetFollowDocumentsByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2017
useGetFollowDocumentsByDidQuery()
useGetFollowDocumentsByDidQuery(
baseOptions
):QueryResult
<GetFollowDocumentsByDidQuery
,Exact
<object
>>
useGetFollowDocumentsByDidQuery
To run a query within a React component, call useGetFollowDocumentsByDidQuery
and pass it any options that fit your needs.
When your component renders, useGetFollowDocumentsByDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetFollowDocumentsByDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetFollowDocumentsByDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetFollowDocumentsByDidQuery({
variables: {
id: // value for 'id'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
sorting: // value for 'sorting'
following: // value for 'following'
},
});
Source
libs/hooks/src/generated/apollo.ts:2013
useGetFollowDocumentsByDidSuspenseQuery()
useGetFollowDocumentsByDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetFollowDocumentsByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetFollowDocumentsByDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetFollowDocumentsByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2021
useGetFollowersListByDidLazyQuery()
useGetFollowersListByDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetFollowersListByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetFollowersListByDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetFollowersListByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2634
useGetFollowersListByDidQuery()
useGetFollowersListByDidQuery(
baseOptions
):QueryResult
<GetFollowersListByDidQuery
,Exact
<object
>>
useGetFollowersListByDidQuery
To run a query within a React component, call useGetFollowersListByDidQuery
and pass it any options that fit your needs.
When your component renders, useGetFollowersListByDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetFollowersListByDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetFollowersListByDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetFollowersListByDidQuery({
variables: {
id: // value for 'id'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:2630
useGetFollowersListByDidSuspenseQuery()
useGetFollowersListByDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetFollowersListByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetFollowersListByDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetFollowersListByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2638
useGetFollowingListByDidLazyQuery()
useGetFollowingListByDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetFollowingListByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetFollowingListByDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetFollowingListByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2554
useGetFollowingListByDidQuery()
useGetFollowingListByDidQuery(
baseOptions
):QueryResult
<GetFollowingListByDidQuery
,Exact
<object
>>
useGetFollowingListByDidQuery
To run a query within a React component, call useGetFollowingListByDidQuery
and pass it any options that fit your needs.
When your component renders, useGetFollowingListByDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetFollowingListByDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetFollowingListByDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetFollowingListByDidQuery({
variables: {
id: // value for 'id'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:2550
useGetFollowingListByDidSuspenseQuery()
useGetFollowingListByDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetFollowingListByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetFollowingListByDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetFollowingListByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2558
useGetIndexedStreamCountLazyQuery()
useGetIndexedStreamCountLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetIndexedStreamCountQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetIndexedStreamCountQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetIndexedStreamCountQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1197
useGetIndexedStreamCountQuery()
useGetIndexedStreamCountQuery(
baseOptions
):QueryResult
<GetIndexedStreamCountQuery
,Exact
<object
>>
useGetIndexedStreamCountQuery
To run a query within a React component, call useGetIndexedStreamCountQuery
and pass it any options that fit your needs.
When your component renders, useGetIndexedStreamCountQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetIndexedStreamCountQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetIndexedStreamCountQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetIndexedStreamCountQuery({
variables: {
indexer: // value for 'indexer'
filters: // value for 'filters'
},
});
Source
libs/hooks/src/generated/apollo.ts:1193
useGetIndexedStreamCountSuspenseQuery()
useGetIndexedStreamCountSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetIndexedStreamCountQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetIndexedStreamCountQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetIndexedStreamCountQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1201
useGetIndexedStreamLazyQuery()
useGetIndexedStreamLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetIndexedStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetIndexedStreamQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetIndexedStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1153
useGetIndexedStreamQuery()
useGetIndexedStreamQuery(
baseOptions
):QueryResult
<GetIndexedStreamQuery
,Exact
<object
>>
useGetIndexedStreamQuery
To run a query within a React component, call useGetIndexedStreamQuery
and pass it any options that fit your needs.
When your component renders, useGetIndexedStreamQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetIndexedStreamQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetIndexedStreamQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetIndexedStreamQuery({
variables: {
indexer: // value for 'indexer'
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
filters: // value for 'filters'
sorting: // value for 'sorting'
},
});
Source
libs/hooks/src/generated/apollo.ts:1149
useGetIndexedStreamSuspenseQuery()
useGetIndexedStreamSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetIndexedStreamQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetIndexedStreamQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetIndexedStreamQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:1157
useGetInterestsByDidLazyQuery()
useGetInterestsByDidLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetInterestsByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetInterestsByDidQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetInterestsByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2429
useGetInterestsByDidQuery()
useGetInterestsByDidQuery(
baseOptions
):QueryResult
<GetInterestsByDidQuery
,Exact
<object
>>
useGetInterestsByDidQuery
To run a query within a React component, call useGetInterestsByDidQuery
and pass it any options that fit your needs.
When your component renders, useGetInterestsByDidQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetInterestsByDidQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetInterestsByDidQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetInterestsByDidQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:2425
useGetInterestsByDidSuspenseQuery()
useGetInterestsByDidSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetInterestsByDidQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetInterestsByDidQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetInterestsByDidQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2433
useGetInterestsByIdLazyQuery()
useGetInterestsByIdLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetInterestsByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetInterestsByIdQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetInterestsByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2478
useGetInterestsByIdQuery()
useGetInterestsByIdQuery(
baseOptions
):QueryResult
<GetInterestsByIdQuery
,Exact
<object
>>
useGetInterestsByIdQuery
To run a query within a React component, call useGetInterestsByIdQuery
and pass it any options that fit your needs.
When your component renders, useGetInterestsByIdQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions | QueryHookOptions <GetInterestsByIdQuery , Exact <object >> & object | object | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetInterestsByIdQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetInterestsByIdQuery({
variables: {
id: // value for 'id'
},
});
Source
libs/hooks/src/generated/apollo.ts:2474
useGetInterestsByIdSuspenseQuery()
useGetInterestsByIdSuspenseQuery(
baseOptions
?):UseSuspenseQueryResult
<GetInterestsByIdQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | SuspenseQueryHookOptions <GetInterestsByIdQuery , Exact <object >> |
Returns
UseSuspenseQueryResult
<GetInterestsByIdQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2482
useGetInterestsLazyQuery()
useGetInterestsLazyQuery(
baseOptions
?):LazyQueryResultTuple
<GetInterestsQuery
,Exact
<object
>>
Parameters
Parameter | Type |
---|---|
baseOptions ? | LazyQueryHookOptions <GetInterestsQuery , Exact <object >> |
Returns
LazyQueryResultTuple
<GetInterestsQuery
, Exact
<object
>>
Source
libs/hooks/src/generated/apollo.ts:2305
useGetInterestsQuery()
useGetInterestsQuery(
baseOptions
?):QueryResult
<GetInterestsQuery
,Exact
<object
>>
useGetInterestsQuery
To run a query within a React component, call useGetInterestsQuery
and pass it any options that fit your needs.
When your component renders, useGetInterestsQuery
returns an object from Apollo Client that contains loading, error, and data properties
you can use to render your UI.
Parameters
Parameter | Type | Description |
---|---|---|
baseOptions ? | QueryHookOptions <GetInterestsQuery , Exact <object >> | options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; |
Returns
QueryResult
<GetInterestsQuery
, Exact
<object
>>
Example
const { data, loading, error } = useGetInterestsQuery({
variables: {
after: // value for 'after'
before: // value for 'before'
first: // value for 'first'
last: // value for 'last'
},
});
Source
libs/hooks/src/generated/apollo.ts:2301