FileMaker Data API Tools API - v1.8.0
Preparing search index...
services/schemaService
SchemaService
Class SchemaService
Index
Constructors
constructor
Methods
invalidate
All
invalidate
Profile
invalidate
Layout
is
Offline
Mode
Enabled
get
Fields
get
Layout
Schema
Constructors
constructor
new
SchemaService
(
fmClient
:
FMClient
,
logger
:
Pick
<
Logger
,
"debug"
|
"info"
|
"warn"
|
"error"
>
,
options
?:
{
getCacheTtlMs
?:
()
=>
number
;
isMetadataEnabled
?:
()
=>
boolean
;
offlineModeService
?:
OfflineModeService
;
}
,
)
:
SchemaService
Parameters
fmClient
:
FMClient
logger
:
Pick
<
Logger
,
"debug"
|
"info"
|
"warn"
|
"error"
>
Optional
options
:
{
getCacheTtlMs
?:
()
=>
number
;
isMetadataEnabled
?:
()
=>
boolean
;
offlineModeService
?:
OfflineModeService
;
}
Returns
SchemaService
Methods
invalidate
All
invalidateAll
()
:
void
Returns
void
invalidate
Profile
invalidateProfile
(
profileId
:
string
)
:
void
Parameters
profileId
:
string
Returns
void
invalidate
Layout
invalidateLayout
(
profile
:
ConnectionProfile
,
layout
:
string
)
:
void
Parameters
profile
:
ConnectionProfile
layout
:
string
Returns
void
is
Offline
Mode
Enabled
isOfflineModeEnabled
()
:
boolean
Whether layouts are answered from the offline cache only, with no call to the server.
Returns
boolean
get
Fields
getFields
(
profile
:
ConnectionProfile
,
layout
:
string
,
)
:
Promise
<
SchemaMetadataResult
>
Parameters
profile
:
ConnectionProfile
layout
:
string
Returns
Promise
<
SchemaMetadataResult
>
get
Layout
Schema
getLayoutSchema
(
profile
:
ConnectionProfile
,
layout
:
string
,
)
:
Promise
<
SchemaMetadataResult
>
Parameters
profile
:
ConnectionProfile
layout
:
string
Returns
Promise
<
SchemaMetadataResult
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
invalidate
All
invalidate
Profile
invalidate
Layout
is
Offline
Mode
Enabled
get
Fields
get
Layout
Schema
FileMaker Data API Tools API - v1.8.0
Loading...
Whether layouts are answered from the offline cache only, with no call to the server.