File

libs/core/src/lib/api-communication/connectors/sta-api-v1-connector/model/locations.ts

Extends

StaSelectParams

Index

Properties

Properties

description
description: boolean
Type : boolean
Optional
encodingType
encodingType: boolean
Type : boolean
Optional
HistoricalLocations
HistoricalLocations: boolean
Type : boolean
Optional
location
location: boolean
Type : boolean
Optional
name
name: boolean
Type : boolean
Optional
Things
Things: boolean
Type : boolean
Optional
import { HistoricalLocation } from './historical-locations';
import { StaExpandParams, StaObject, StaSelectParams, InsertId } from './sta-interface';
import { InsertThing, Thing } from './things';

export interface Location extends StaObject {
    name?: string;
    description?: string;
    encodingType?: string;
    location?: GeoJSON.GeometryObject;
    'Things@iot.navigationLink'?: string;
    Things?: Thing[];
    'HistoricalLocations@iot.navigationLink'?: string;
    HistoricalLocations?: HistoricalLocation[];
}

export interface InsertLocation extends Location {
    name: string;
    description: string;
    encodingType: string;
    location: GeoJSON.GeometryObject;
    Things?: (InsertThing | InsertId)[];
}

export interface LocationSelectParams extends StaSelectParams {
    name?: boolean;
    description?: boolean;
    encodingType?: boolean;
    location?: boolean;
    Things?: boolean;
    HistoricalLocations?: boolean;
}

export interface LocationExpandParams extends StaExpandParams {
    Things?: boolean;
    HistoricalLocations?: boolean;
}

result-matching ""

    No results matching ""