Preparing search index...
The search index is not available
@deep/nest-kit
@deep/nest-kit
modules/channels
IBaseChannelsResolverHost
Interface IBaseChannelsResolverHost<CH>
interface
IBaseChannelsResolverHost
<
CH
extends
BaseChannel
>
{
channel
(
id
:
string
,
ctx
:
IBaseActionContext
)
:
Promise
<
CH
>
;
channels
(
input
:
FetchChannelsInput
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
IOffsetPaginated
<
CH
>
>
;
createChannel
(
input
:
CreateChannelInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
CH
>
;
deleteChannel
(
input
:
DeleteChannelInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
DeleteChannelPayload
>
;
updateChannel
(
input
:
UpdateChannelInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
CH
>
;
}
Type Parameters
CH
extends
BaseChannel
Index
Methods
channel
channels
create
Channel
delete
Channel
update
Channel
Methods
channel
channel
(
id
:
string
,
ctx
:
IBaseActionContext
)
:
Promise
<
CH
>
Parameters
id
:
string
ctx
:
IBaseActionContext
Returns
Promise
<
CH
>
channels
channels
(
input
:
FetchChannelsInput
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
IOffsetPaginated
<
CH
>
>
Parameters
input
:
FetchChannelsInput
info
:
GraphQLResolveInfo
Returns
Promise
<
IOffsetPaginated
<
CH
>
>
create
Channel
createChannel
(
input
:
CreateChannelInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
CH
>
Parameters
input
:
CreateChannelInput
ctx
:
IBaseActionContext
Returns
Promise
<
CH
>
delete
Channel
deleteChannel
(
input
:
DeleteChannelInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
DeleteChannelPayload
>
Parameters
input
:
DeleteChannelInput
ctx
:
IBaseActionContext
Returns
Promise
<
DeleteChannelPayload
>
update
Channel
updateChannel
(
input
:
UpdateChannelInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
CH
>
Parameters
input
:
UpdateChannelInput
ctx
:
IBaseActionContext
Returns
Promise
<
CH
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
channel
channels
create
Channel
delete
Channel
update
Channel
@deep/nest-kit
Loading...