WriteUnionInstance
Defined in: runtime/union.ts:28
Extends
Section titled “Extends”ReadUnionInstance<TWriteItem>
Type Parameters
Section titled “Type Parameters”TWriteItem
Section titled “TWriteItem”TWriteItem extends WriteItem = WriteItem
Properties
Section titled “Properties”
readonlyprn:string
Defined in: runtime/index.ts:43
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”getItem()
Section titled “getItem()”getItem(
id):Promise<TWriteItem|undefined>
Defined in: runtime/union.ts:44
Returns the item of the given identifier if it is of the type of this union. If the item does not exist, there are insufficient permissions, or the union does not match; will result in undefined.
Parameters
Section titled “Parameters”Identifier
Returns
Section titled “Returns”Promise<TWriteItem | undefined>
Overrides
Section titled “Overrides”isMember()
Section titled “isMember()”isMember(
template):boolean
Defined in: runtime/union.ts:6
Parameters
Section titled “Parameters”template
Section titled “template”Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”isType()
Section titled “isType()”isType(
value):value is TWriteItem
Defined in: runtime/union.ts:32
Returns true if the supplied item is of the type of this union.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”value is TWriteItem
Overrides
Section titled “Overrides”memberPrns()
Section titled “memberPrns()”memberPrns():
string[]
Defined in: runtime/union.ts:37
Returns the member template prns of this union
Returns
Section titled “Returns”string[]
Overrides
Section titled “Overrides”selectItems()
Section titled “selectItems()”selectItems():
UnionCursorSelector<WriteItem<ItemInstanceTypes>>
Defined in: runtime/union.ts:46
Returns
Section titled “Returns”UnionCursorSelector<WriteItem<ItemInstanceTypes>>