RevGrid - v0.9.3
GitHub
NPM
Sponsors
Preparing search index...
sourced-field/record/table/server/data-source/referenceable-data-sources
RevReferenceableDataSources
Interface RevReferenceableDataSources<Badness, TableRecordSourceDefinitionTypeId, TableFieldSourceDefinitionTypeId, TextFormattableValueTypeId, TextFormattableValueAttributeTypeId>
interface
RevReferenceableDataSources
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
{
getOrNew
(
definition
:
RevReferenceableDataSourceDefinition
<
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
,
)
:
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
;
tryLockItemByKey
(
key
:
string
,
locker
:
NamedLocker
,
)
:
Promise
<
Result
<
|
undefined
|
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
,
RevDataSource
.
LockErrorIdPlusTryError
,
>
,
>
;
unlockItem
(
item
:
RevReferenceableDataSource
,
locker
:
NamedLocker
)
:
void
;
}
Type Parameters
Badness
TableRecordSourceDefinitionTypeId
TableFieldSourceDefinitionTypeId
TextFormattableValueTypeId
TextFormattableValueAttributeTypeId
Hierarchy
LockItemByKeyList
<
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
,
RevDataSource
.
LockErrorIdPlusTryError
,
>
RevReferenceableDataSources
Index
Methods
get
Or
New
try
Lock
Item
By
Key
unlock
Item
Methods
get
Or
New
getOrNew
(
definition
:
RevReferenceableDataSourceDefinition
<
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
,
)
:
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
Parameters
definition
:
RevReferenceableDataSourceDefinition
<
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
Returns
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
try
Lock
Item
By
Key
tryLockItemByKey
(
key
:
string
,
locker
:
NamedLocker
,
)
:
Promise
<
Result
<
|
undefined
|
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
,
RevDataSource
.
LockErrorIdPlusTryError
,
>
,
>
Parameters
key
:
string
locker
:
NamedLocker
Returns
Promise
<
Result
<
|
undefined
|
RevReferenceableDataSource
<
Badness
,
TableRecordSourceDefinitionTypeId
,
TableFieldSourceDefinitionTypeId
,
TextFormattableValueTypeId
,
TextFormattableValueAttributeTypeId
,
>
,
RevDataSource
.
LockErrorIdPlusTryError
,
>
,
>
unlock
Item
unlockItem
(
item
:
RevReferenceableDataSource
,
locker
:
NamedLocker
)
:
void
Parameters
item
:
RevReferenceableDataSource
locker
:
NamedLocker
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Or
New
try
Lock
Item
By
Key
unlock
Item
GitHub
NPM
Sponsors
RevGrid - v0.9.3
Loading...