diff --git a/src/globals/panther/models.nodes.ts b/src/globals/panther/models.nodes.ts index 5163cb8..6ca38d5 100644 --- a/src/globals/panther/models.nodes.ts +++ b/src/globals/panther/models.nodes.ts @@ -71,3 +71,11 @@ export interface Attribute extends PantherEntity, Partial { * optional properties before accessing them. */ export interface FullPantherEntity extends PantherEntity, Partial { } + +/** + * Represents a full panther entity with its neighbours. + */ +export interface FullPantherEntityWithNeighbours { + node: FullPantherEntity; + neighbours: FullPantherEntity[]; +} diff --git a/src/index.browser.ts b/src/index.browser.ts index e4e628e..869988f 100644 --- a/src/index.browser.ts +++ b/src/index.browser.ts @@ -83,7 +83,8 @@ export { type ApplicationNode, type Attribute, type PantherEntity, - type FullPantherEntity + type FullPantherEntity, + type FullPantherEntityWithNeighbours } from "./globals/panther/models.nodes.js"; // Arrows.app models for import / export