@kismet.ts/core / Exports / KismetGroup
Class: KismetGroup
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new KismetGroup(schema
)
Parameters
Name | Type |
---|---|
schema | KismetGroupSchema |
Defined in
Properties
id
• Readonly
id: string
Defined in
name
• name: string
Defined in
schema
• Private
schema: KismetGroupSchema
Defined in
Accessors
connections
• Private
get
connections(): _KismetGroupConnections
Returns
_KismetGroupConnections
Defined in
Methods
resolveConnection
▸ Private
resolveConnection(schema
): undefined
| { id
: KismetGroupResolverIdType
; name
: string
; type
: KismetConnectionType
}
Parameters
Name | Type |
---|---|
schema | Object |
schema.id | KismetGroupResolverIdType |
schema.name | string |
Returns
undefined
| { id
: KismetGroupResolverIdType
; name
: string
; type
: KismetConnectionType
}
Defined in
resolveInputId
▸ resolveInputId(id
): undefined
| string
Parameters
Name | Type |
---|---|
id | KismetGroupResolverIdType |
Returns
undefined
| string
Defined in
resolveItem
▸ resolveItem(id
): undefined
| SequenceItemType
Parameters
Name | Type |
---|---|
id | KismetGroupResolverIdType |
Returns
undefined
| SequenceItemType
Defined in
serialize
▸ serialize(sequence
, options?
): Sequence
Convert the group to sequence items and add the items to the provided sequence
Parameters
Name | Type | Description |
---|---|---|
sequence | Sequence | The sequence to add the items to |
options? | KismetGroupSerializeOptions | The options to apply when adding the items to the sequence |
Returns
Defined in
setOutsideConnection
▸ setOutsideConnection(from
, to
): undefined
| KismetGroup
Parameters
Name | Type |
---|---|
from | Object |
from.id | KismetGroupResolverIdType |
from.name | string |
to | Object |
to.item | SequenceItemType |
to.name | string |
to.type | KismetConnectionType |
Returns
undefined
| KismetGroup
Defined in
updateItem
▸ updateItem(id
, newItem
): undefined
| KismetGroup
Parameters
Name | Type |
---|---|
id | KismetGroupResolverIdType |
newItem | SequenceItemType |
Returns
undefined
| KismetGroup