@icomedias/hybridforms-js
Preparing search index...
controller/CatalogsController
CatalogsController
Class CatalogsController
Hierarchy (
View Summary
)
BaseController
CatalogsController
Index
Constructors
constructor
Properties
base
Path
config
request
Methods
create
Catalog
delete
Catalog
export
Catalog
get
Catalog
init
list
Catalogs
update
Catalog
Constructors
constructor
new
CatalogsController
(
config
:
HybridFormsClientConfig
,
request
:
RequestType
,
)
:
CatalogsController
Parameters
config
:
HybridFormsClientConfig
request
:
RequestType
Returns
CatalogsController
Properties
Protected
base
Path
basePath
:
string
= ''
Protected
Readonly
config
config
:
HybridFormsClientConfig
Protected
Readonly
request
request
:
RequestType
Methods
create
Catalog
createCatalog
(
catalogName
:
string
,
data
:
string
|
object
,
)
:
Promise
<
FetchResponse
<
string
[]
>
>
Parameters
catalogName
:
string
data
:
string
|
object
Returns
Promise
<
FetchResponse
<
string
[]
>
>
delete
Catalog
deleteCatalog
(
catalogName
:
string
,
)
:
Promise
<
FetchResponse
<
DeleteCatalogResponse
>
>
Parameters
catalogName
:
string
Returns
Promise
<
FetchResponse
<
DeleteCatalogResponse
>
>
export
Catalog
exportCatalog
<
T
extends
keyof
ExportCatalogMapping
=
never
>
(
catalogName
:
string
,
params
?:
ExportCatalogParams
<
T
>
,
)
:
Promise
<
FetchResponse
<
ExportCatalogMapping
[
T
]
extends
null
?
string
:
ExportCatalogMapping
[
T
]
,
>
,
>
Type Parameters
T
extends
keyof
ExportCatalogMapping
=
never
Parameters
catalogName
:
string
params
:
ExportCatalogParams
<
T
>
= {}
Returns
Promise
<
FetchResponse
<
ExportCatalogMapping
[
T
]
extends
null
?
string
:
ExportCatalogMapping
[
T
]
,
>
,
>
get
Catalog
getCatalog
(
catalogName
:
string
,
params
?:
GetCatalogParams
,
)
:
Promise
<
FetchResponse
<
GetCatalogResponse
>
>
Parameters
catalogName
:
string
params
:
GetCatalogParams
= {}
Returns
Promise
<
FetchResponse
<
GetCatalogResponse
>
>
Protected
init
init
()
:
void
Returns
void
list
Catalogs
listCatalogs
()
:
Promise
<
FetchResponse
<
CatalogListResponse
[]
>
>
Returns
Promise
<
FetchResponse
<
CatalogListResponse
[]
>
>
update
Catalog
updateCatalog
(
catalogName
:
string
,
data
:
string
|
object
,
)
:
Promise
<
FetchResponse
<
string
[]
>
>
Parameters
catalogName
:
string
data
:
string
|
object
Returns
Promise
<
FetchResponse
<
string
[]
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Path
config
request
Methods
create
Catalog
delete
Catalog
export
Catalog
get
Catalog
init
list
Catalogs
update
Catalog
@icomedias/hybridforms-js
Loading...