Membrane React - v0.29.2
Console
SDK
REST API
Preparing search index...
useAppDataSchema
Function useAppDataSchema
useAppDataSchema
(
selector
:
string
|
undefined
,
)
:
{
appDataSchema
:
|
{
id
:
string
;
uuid
?:
string
;
key
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
instanceKey
?:
string
;
appDataSchemaId
?:
string
;
schema
?:
any
;
code
?:
string
;
name
:
string
;
state
?:
|
BUILDING
|
CLIENT_ACTION_REQUIRED
|
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
|
DISCONNECTING
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
isDeactivated
?:
boolean
;
isReadOnly
?:
boolean
;
appDataSchemaRevision
?:
string
;
archivedAt
?:
string
;
isCustomized
?:
boolean
;
error
?:
ErrorDataSchema
;
userId
?:
string
;
tenantId
?:
string
;
user
?:
any
;
appDataSchema
?:
any
;
}
|
undefined
;
accessor
:
AppDataSchemaAccessor
|
undefined
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refresh
:
()
=>
Promise
<
{
id
:
string
;
uuid
?:
string
;
key
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
instanceKey
?:
string
;
appDataSchemaId
?:
string
;
schema
?:
any
;
code
?:
string
;
name
:
string
;
state
?:
|
BUILDING
|
CLIENT_ACTION_REQUIRED
|
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
|
DISCONNECTING
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
isDeactivated
?:
boolean
;
isReadOnly
?:
boolean
;
appDataSchemaRevision
?:
string
;
archivedAt
?:
string
;
isCustomized
?:
boolean
;
error
?:
ErrorDataSchema
;
userId
?:
string
;
tenantId
?:
string
;
user
?:
any
;
appDataSchema
?:
any
;
}
,
>
;
refreshing
:
boolean
;
create
:
(
data
:
CreateAppDataSchemaRequest
,
)
=>
Promise
<
|
{
id
:
string
;
uuid
?:
string
;
key
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
instanceKey
?:
string
;
appDataSchemaId
?:
string
;
schema
?:
any
;
code
?:
string
;
name
:
string
;
state
?:
|
BUILDING
|
CLIENT_ACTION_REQUIRED
|
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
|
DISCONNECTING
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
isDeactivated
?:
boolean
;
isReadOnly
?:
boolean
;
appDataSchemaRevision
?:
string
;
archivedAt
?:
string
;
isCustomized
?:
boolean
;
error
?:
ErrorDataSchema
;
userId
?:
string
;
tenantId
?:
string
;
user
?:
any
;
appDataSchema
?:
any
;
}
|
undefined
,
>
;
patch
:
(
data
:
Partial
<
UpdateRequest
>
,
options
?:
MutatorConfig
,
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateAppDataSchemaRequest
,
options
?:
MutatorConfig
,
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Parameters
selector
:
string
|
undefined
Returns
{
appDataSchema
:
|
{
id
:
string
;
uuid
?:
string
;
key
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
instanceKey
?:
string
;
appDataSchemaId
?:
string
;
schema
?:
any
;
code
?:
string
;
name
:
string
;
state
?:
|
BUILDING
|
CLIENT_ACTION_REQUIRED
|
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
|
DISCONNECTING
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
isDeactivated
?:
boolean
;
isReadOnly
?:
boolean
;
appDataSchemaRevision
?:
string
;
archivedAt
?:
string
;
isCustomized
?:
boolean
;
error
?:
ErrorDataSchema
;
userId
?:
string
;
tenantId
?:
string
;
user
?:
any
;
appDataSchema
?:
any
;
}
|
undefined
;
accessor
:
AppDataSchemaAccessor
|
undefined
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refresh
:
()
=>
Promise
<
{
id
:
string
;
uuid
?:
string
;
key
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
instanceKey
?:
string
;
appDataSchemaId
?:
string
;
schema
?:
any
;
code
?:
string
;
name
:
string
;
state
?:
|
BUILDING
|
CLIENT_ACTION_REQUIRED
|
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
|
DISCONNECTING
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
isDeactivated
?:
boolean
;
isReadOnly
?:
boolean
;
appDataSchemaRevision
?:
string
;
archivedAt
?:
string
;
isCustomized
?:
boolean
;
error
?:
ErrorDataSchema
;
userId
?:
string
;
tenantId
?:
string
;
user
?:
any
;
appDataSchema
?:
any
;
}
,
>
;
refreshing
:
boolean
;
create
:
(
data
:
CreateAppDataSchemaRequest
,
)
=>
Promise
<
|
{
id
:
string
;
uuid
?:
string
;
key
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
instanceKey
?:
string
;
appDataSchemaId
?:
string
;
schema
?:
any
;
code
?:
string
;
name
:
string
;
state
?:
|
BUILDING
|
CLIENT_ACTION_REQUIRED
|
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
|
DISCONNECTING
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
isDeactivated
?:
boolean
;
isReadOnly
?:
boolean
;
appDataSchemaRevision
?:
string
;
archivedAt
?:
string
;
isCustomized
?:
boolean
;
error
?:
ErrorDataSchema
;
userId
?:
string
;
tenantId
?:
string
;
user
?:
any
;
appDataSchema
?:
any
;
}
|
undefined
,
>
;
patch
:
(
data
:
Partial
<
UpdateRequest
>
,
options
?:
MutatorConfig
,
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateAppDataSchemaRequest
,
options
?:
MutatorConfig
,
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
SDK
REST API
Membrane React - v0.29.2
Loading...