@isaac-platform/isaac-integration-sdk
Version:
A Typescript SDK for integrating with ISAAC
65 lines • 1.76 kB
TypeScript
export type IsaacVariablePrototype = {
type?: IsaacVariableInternalTypes;
description?: string;
lastValue?: string;
displayName?: string;
externalRef: string;
subsystemExternalId?: string;
tags?: string[];
log?: boolean;
storeHistory?: boolean;
healthEnabled?: boolean;
healthGracePeriod?: number;
healthRules?: string[][];
compositeDefinition?: string[];
composite?: boolean;
};
export type IsaacVariableType = {
_id: number;
_updatedAt: string;
_createdAt: string;
assetId?: number;
metricType: string;
metricKey1: string;
metricKey2: string;
healthState: number;
healthRules: string[][];
healthEnabled: boolean;
lastValue: string;
lastValueUpdatedAt: string;
tags: string[];
storeHistory: boolean;
alert: boolean;
log: boolean;
description: string;
displayName: string;
userDefinedDisplayName: boolean;
subsystemId?: number;
healthGracePeriod: number;
compositeDefinition: string[];
composite: boolean;
availableInSubsystem: boolean;
portNumber?: number;
ifDesc?: string;
healthGracePeriodRemaining?: number;
subsystemExternalId?: string;
externalRef: string;
subsystemDisplayName?: string;
subsystemType?: string;
assetDisplayName?: string;
assetType?: string;
compositeMetrics: number[];
compositeDefinitionText: string;
healthRulesMetrics: number[];
healthRulesText: string;
unit?: string;
valueMapping: Record<string, string>;
_links: {
self: string;
history: string;
subsystem?: string;
};
};
type IsaacVariableInternalTypes = "string" | "integer" | "date";
export {};
//# sourceMappingURL=types.d.ts.map