@deep/nest-kit
Preparing search index...
modules/brands
IBaseBrandsResolverHost
Interface IBaseBrandsResolverHost<B>
interface
IBaseBrandsResolverHost
<
B
extends
BaseBrand
>
{
brand
(
input
:
FetchBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
;
brands
(
input
:
FetchBrandsInput
,
ctx
:
IBaseActionContext
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
IOffsetPaginated
<
B
>
>
;
createBrand
(
input
:
CreateBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
;
deleteBrand
(
input
:
DeleteBrandInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
DeleteBrandPayload
>
;
generateBrandCode
(
input
:
GenerateBrandCodeInput
,
)
:
Promise
<
GenerateBrandCodePayload
>
;
isUniqueBrandCode
(
input
:
IsUniqueBrandCodeInput
)
:
Promise
<
boolean
>
;
syncBrand
(
input
:
SyncBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
;
updateBrand
(
input
:
UpdateBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
;
}
Type Parameters
B
extends
BaseBrand
Index
Methods
brand
brands
create
Brand
delete
Brand
generate
Brand
Code
is
Unique
Brand
Code
sync
Brand
update
Brand
Methods
brand
brand
(
input
:
FetchBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
Parameters
input
:
FetchBrandInput
ctx
:
IBaseActionContext
Returns
Promise
<
B
>
brands
brands
(
input
:
FetchBrandsInput
,
ctx
:
IBaseActionContext
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
IOffsetPaginated
<
B
>
>
Parameters
input
:
FetchBrandsInput
ctx
:
IBaseActionContext
info
:
GraphQLResolveInfo
Returns
Promise
<
IOffsetPaginated
<
B
>
>
create
Brand
createBrand
(
input
:
CreateBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
Parameters
input
:
CreateBrandInput
ctx
:
IBaseActionContext
Returns
Promise
<
B
>
delete
Brand
deleteBrand
(
input
:
DeleteBrandInput
,
ctx
:
IBaseActionContext
,
)
:
Promise
<
DeleteBrandPayload
>
Parameters
input
:
DeleteBrandInput
ctx
:
IBaseActionContext
Returns
Promise
<
DeleteBrandPayload
>
generate
Brand
Code
generateBrandCode
(
input
:
GenerateBrandCodeInput
,
)
:
Promise
<
GenerateBrandCodePayload
>
Parameters
input
:
GenerateBrandCodeInput
Returns
Promise
<
GenerateBrandCodePayload
>
is
Unique
Brand
Code
isUniqueBrandCode
(
input
:
IsUniqueBrandCodeInput
)
:
Promise
<
boolean
>
Parameters
input
:
IsUniqueBrandCodeInput
Returns
Promise
<
boolean
>
sync
Brand
syncBrand
(
input
:
SyncBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
Parameters
input
:
SyncBrandInput
ctx
:
IBaseActionContext
Returns
Promise
<
B
>
update
Brand
updateBrand
(
input
:
UpdateBrandInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
B
>
Parameters
input
:
UpdateBrandInput
ctx
:
IBaseActionContext
Returns
Promise
<
B
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
brand
brands
create
Brand
delete
Brand
generate
Brand
Code
is
Unique
Brand
Code
sync
Brand
update
Brand
@deep/nest-kit
Loading...