From db2721f0272093a715b0d611070c1b0a91987596 Mon Sep 17 00:00:00 2001 From: PavelVlach Date: Thu, 13 Nov 2025 16:32:03 +0100 Subject: [PATCH] Add FullPantherEntityWithNeighbours model --- src/globals/panther/models.nodes.ts | 8 ++++++++ src/index.browser.ts | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) 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