Options
All
  • Public
  • Public/Protected
  • All
Menu

@openhps/core

Index

Classes Flow shape

Classes Graph

Classes Node

Classes Other

Classes Position

Classes Processing node

Classes Sink node

Classes Source node

Classes Unit

Classes data

Interfaces Graph

Interfaces Other

Interfaces Position

Interfaces Unit

Type aliases Other

Type aliases Unit

Functions

Other Type aliases

EulerOrder

EulerOrder: "XYZ" | "XZY" | "YXZ" | "YZX" | "ZXY" | "ZYX"

FilterQuery

FilterQuery<T>: { [ P in keyof T]?: QuerySelector<T[P]> | T[P] | RegExp | T | any } & RootQuerySelector<T>

Type parameters

  • T = any

GraphShapeNodeOptions

GraphShapeNodeOptions: NodeOptions

Sort

Sort: [string, SortDirection][]

SortDirection

SortDirection: 1 | -1

UnitPrefixType

UnitPrefixType: "decimal" | "none"

Unit Type aliases

UnitBasicDefinition

UnitBasicDefinition: { magnitude?: number; offset?: number; unit: string }

Type declaration

  • Optional magnitude?: number

    Conversion magnitude This is the magnitude to convert this unit to the target unit.

  • Optional offset?: number

    Conversion offset

  • unit: string

    Target unit

UnitDefinition

UnitDefinition: UnitBasicDefinition | UnitFunctionDefinition<any, any>

UnitFunctionDefinition

UnitFunctionDefinition<In, Out>: { unit: string; fromUnit: any; toUnit: any }

Type parameters

  • In

  • Out

Type declaration

Functions

SerializableArrayMember

  • SerializableArrayMember<T>(elementConstructor: Serializable<T>, options?: IJsonArrayMemberOptions): (target: unknown, propKey: string | symbol) => void
  • Type parameters

    • T

    Parameters

    • elementConstructor: Serializable<T>

      Element constructor

    • Optional options: IJsonArrayMemberOptions

    Returns (target: unknown, propKey: string | symbol) => void

    Property decorator

      • (target: unknown, propKey: string | symbol): void
      • Parameters

        • target: unknown
        • propKey: string | symbol

        Returns void

SerializableMapMember

  • SerializableMapMember(keyConstructor: Serializable<any>, valueConstructor: Serializable<any>, options?: IJsonMapMemberOptions): PropertyDecorator
  • Parameters

    • keyConstructor: Serializable<any>

      Map key constructor

    • valueConstructor: Serializable<any>

      Map value constructor

    • Optional options: IJsonMapMemberOptions

    Returns PropertyDecorator

    Property decorator

SerializableMember

SerializableObject

  • SerializableObject<T>(options?: IJsonObjectOptions<T>): ClassDecorator

SerializableSetMember

  • SerializableSetMember<T>(elementConstructor: Constructor<T>, options?: IJsonSetMemberOptions): PropertyDecorator
  • Type parameters

    • T

    Parameters

    • elementConstructor: Constructor<T>

      Element constructor

    • Optional options: IJsonSetMemberOptions

      Member options

    Returns PropertyDecorator

    Property decorator