@kismet.ts/core / Exports / KismetGroup

Class: KismetGroup

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

• new KismetGroup(schema)

Parameters

NameType
schemaKismetGroupSchema

Defined in

util/Group.ts:88open in new window

Properties

id

• Readonly id: string

Defined in

util/Group.ts:86open in new window


name

• name: string

Defined in

util/Group.ts:85open in new window


schema

• Private schema: KismetGroupSchema

Defined in

util/Group.ts:83open in new window

Accessors

connections

• Private get connections(): _KismetGroupConnections

Returns

_KismetGroupConnections

Defined in

util/Group.ts:96open in new window

Methods

resolveConnection

▸ Private resolveConnection(schema): undefined | { id: KismetGroupResolverIdType ; name: string ; type: KismetConnectionType }

Parameters

NameType
schemaObject
schema.idKismetGroupResolverIdType
schema.namestring

Returns

undefined | { id: KismetGroupResolverIdType ; name: string ; type: KismetConnectionType }

Defined in

util/Group.ts:100open in new window


resolveInputId

▸ resolveInputId(id): undefined | string

Parameters

NameType
idKismetGroupResolverIdType

Returns

undefined | string

Defined in

util/Group.ts:122open in new window


resolveItem

▸ resolveItem(id): undefined | SequenceItemType

Parameters

NameType
idKismetGroupResolverIdType

Returns

undefined | SequenceItemType

Defined in

util/Group.ts:131open in new window


serialize

▸ serialize(sequence, options?): Sequence

Convert the group to sequence items and add the items to the provided sequence

Parameters

NameTypeDescription
sequenceSequenceThe sequence to add the items to
options?KismetGroupSerializeOptionsThe options to apply when adding the items to the sequence

Returns

Sequence

Defined in

util/Group.ts:165open in new window


setOutsideConnection

▸ setOutsideConnection(from, to): undefined | KismetGroup

Parameters

NameType
fromObject
from.idKismetGroupResolverIdType
from.namestring
toObject
to.itemSequenceItemType
to.namestring
to.typeKismetConnectionType

Returns

undefined | KismetGroup

Defined in

util/Group.ts:141open in new window


updateItem

▸ updateItem(id, newItem): undefined | KismetGroup

Parameters

NameType
idKismetGroupResolverIdType
newItemSequenceItemType

Returns

undefined | KismetGroup

Defined in

util/Group.ts:185open in new window