Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/globals/panther/models.nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,11 @@ export interface Attribute extends PantherEntity, Partial<HasColor & HasUnits> {
* optional properties before accessing them.
*/
export interface FullPantherEntity extends PantherEntity, Partial<HasGeometry & HasInterval & HasLevels & HasConfiguration & HasUrl & HasBands & HasSpecificName & HasColor & HasUnits & HasDocumentId & HasTimeseries> { }

/**
* Represents a full panther entity with its neighbours.
*/
export interface FullPantherEntityWithNeighbours {
node: FullPantherEntity;
neighbours: FullPantherEntity[];
}
3 changes: 2 additions & 1 deletion src/index.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down