@icomedias/hybridforms-js
Preparing search index...
controller/FormsController
FormsController
Class FormsController
Hierarchy (
View Summary
)
BaseController
FormsController
Index
Constructors
constructor
Properties
base
Path
config
request
Methods
get
Form
get
Form
File
init
list
Form
Files
list
Forms
Constructors
constructor
new
FormsController
(
config
:
HybridFormsClientConfig
,
request
:
RequestType
,
)
:
FormsController
Parameters
config
:
HybridFormsClientConfig
request
:
RequestType
Returns
FormsController
Properties
Protected
base
Path
basePath
:
string
= ''
Protected
Readonly
config
config
:
HybridFormsClientConfig
Protected
Readonly
request
request
:
RequestType
Methods
get
Form
getForm
<
T
extends
keyof
FormFormatMapping
=
never
>
(
formID
:
string
,
itemID
:
string
,
params
?:
GetFormParams
<
T
>
,
)
:
Promise
<
FetchResponse
<
FormFormatMapping
[
T
]
extends
null
?
FormFullServerFormat
:
FormFormatMapping
[
T
]
,
>
,
>
Type Parameters
T
extends
keyof
FormFormatMapping
=
never
Parameters
formID
:
string
itemID
:
string
params
:
GetFormParams
<
T
>
= {}
Returns
Promise
<
FetchResponse
<
FormFormatMapping
[
T
]
extends
null
?
FormFullServerFormat
:
FormFormatMapping
[
T
]
,
>
,
>
get
Form
File
getFormFile
(
formID
:
string
,
itemID
:
string
,
filename
:
string
,
)
:
Promise
<
FetchResponse
<
Blob
>
>
Parameters
formID
:
string
itemID
:
string
filename
:
string
Returns
Promise
<
FetchResponse
<
Blob
>
>
Protected
init
init
()
:
void
Returns
void
list
Form
Files
listFormFiles
(
formID
:
string
,
itemID
:
string
,
)
:
Promise
<
FetchResponse
<
ListFormFilesResponse
>
>
Parameters
formID
:
string
itemID
:
string
Returns
Promise
<
FetchResponse
<
ListFormFilesResponse
>
>
list
Forms
listForms
<
T
extends
"minimal"
|
"brief"
|
"full"
=
never
>
(
formID
:
string
,
params
?:
ListFormsParams
<
T
>
,
)
:
Promise
<
FetchResponse
<
ListFormsResponse
<
FormFormatMapping
[
T
]
extends
null
?
FormMinimalServerFormat
:
FormFormatMapping
[
T
]
,
>
,
>
,
>
Type Parameters
T
extends
"minimal"
|
"brief"
|
"full"
=
never
Parameters
formID
:
string
params
:
ListFormsParams
<
T
>
= {}
Returns
Promise
<
FetchResponse
<
ListFormsResponse
<
FormFormatMapping
[
T
]
extends
null
?
FormMinimalServerFormat
:
FormFormatMapping
[
T
]
,
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Path
config
request
Methods
get
Form
get
Form
File
init
list
Form
Files
list
Forms
@icomedias/hybridforms-js
Loading...