@formant/data-sdk 0.0.62 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-sdk.es.js +2 -19354
- package/dist/data-sdk.umd.js +2 -44
- package/dist/types/data-sdk/src/App.d.ts +41 -0
- package/dist/types/data-sdk/src/DataChannel.d.ts +2 -3
- package/dist/types/data-sdk/src/Fleet.d.ts +6 -7
- package/dist/types/data-sdk/src/main.d.ts +95 -1
- package/dist/types/data-sdk/src/model/AccessLevel.d.ts +5 -0
- package/dist/types/data-sdk/src/model/AggregateLevel.d.ts +1 -0
- package/dist/types/data-sdk/src/model/AnnotationAreaType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/AnnotationType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/EventSortableColumn.d.ts +1 -0
- package/dist/types/data-sdk/src/model/EventType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/HealthStatus.d.ts +2 -0
- package/dist/types/data-sdk/src/model/HexRgbColor.d.ts +1 -0
- package/dist/types/data-sdk/src/model/IAnnotation.d.ts +13 -0
- package/dist/types/data-sdk/src/model/IAnnotationAreaTypeMap.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IBaseEntity.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IBaseEvent.d.ts +19 -0
- package/dist/types/data-sdk/src/model/IBattery.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IBitset.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IBoundingBox.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ICommandDeliveryEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ICommandEventBase.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ICommandParameter.d.ts +9 -0
- package/dist/types/data-sdk/src/model/ICommandRequest.d.ts +9 -0
- package/dist/types/data-sdk/src/model/ICommandRequestEvent.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ICommandResponse.d.ts +13 -0
- package/dist/types/data-sdk/src/model/ICommandResponseEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IComment.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IConfigurationMap.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ICustomEvent.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IDataPoint.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IEvent.d.ts +12 -0
- package/dist/types/data-sdk/src/model/IEventFilter.d.ts +19 -0
- package/dist/types/data-sdk/src/model/IEventQuery.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IEventSort.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IFieldParametersTypeMap.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IFile.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IFileInfo.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IFilter.d.ts +10 -0
- package/dist/types/data-sdk/src/model/IGoal.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IGoalID.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IHealth.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IImage.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IImageAnnotation.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IInterventionRequest.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IInterventionResponse.d.ts +10 -0
- package/dist/types/data-sdk/src/model/IInterventionTypeMap.d.ts +20 -0
- package/dist/types/data-sdk/src/model/ILabel.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ILabeledPolygon.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ILabelingRequestData.d.ts +8 -0
- package/dist/types/data-sdk/src/model/ILabelingResponseData.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ILocalization.d.ts +12 -0
- package/dist/types/data-sdk/src/model/ILocation.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IMap.d.ts +10 -0
- package/dist/types/data-sdk/src/model/INumericSetEntry.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IOdometry.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IPath.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IPointCloud.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IPortForwardingSessionRecord.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IQuaternion.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IQuery.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IRtcSessionRecord.d.ts +9 -0
- package/dist/types/data-sdk/src/model/ISelectionRequestData.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ISelectionResponseData.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ISheetParameters.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ISpreadsheetIdRange.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IStreamData.d.ts +11 -0
- package/dist/types/data-sdk/src/model/IStreamTypeMap.d.ts +27 -0
- package/dist/types/data-sdk/src/model/ISystemEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITagParameters.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITagSets.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITaggedUsers.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ITags.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITeleopRequestData.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITeleopResponseData.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ITeleopSessionRecord.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITransform.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ITransformNode.d.ts +7 -0
- package/dist/types/data-sdk/src/model/ITriggeredEvent.d.ts +10 -0
- package/dist/types/data-sdk/src/model/ITwist.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IUserParameters.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IVector3.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IVideo.d.ts +7 -0
- package/dist/types/data-sdk/src/model/InterventionType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/IsoDate.d.ts +1 -0
- package/dist/types/data-sdk/src/model/Severity.d.ts +2 -0
- package/dist/types/data-sdk/src/model/SortOrder.d.ts +1 -0
- package/dist/types/data-sdk/src/model/StreamType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/Timestamp.d.ts +1 -0
- package/dist/types/data-sdk/src/model/Uuid.d.ts +1 -0
- package/dist/types/data-sdk/src/model/VideoMimeType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/accessLevels.d.ts +1 -0
- package/dist/types/data-sdk/src/model/aggregateLevels.d.ts +2 -0
- package/dist/types/data-sdk/src/model/annotationTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/eventTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/healthStatuses.d.ts +1 -0
- package/dist/types/data-sdk/src/model/interventionTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/severities.d.ts +1 -0
- package/dist/types/data-sdk/src/model/videoMimeTypes.d.ts +1 -0
- package/package.json +4 -4
|
@@ -1,3 +1,44 @@
|
|
|
1
|
+
export declare type AppMessage = {
|
|
2
|
+
type: "go_to_time";
|
|
3
|
+
time: number;
|
|
4
|
+
} | {
|
|
5
|
+
type: "request_module_data";
|
|
6
|
+
module: string;
|
|
7
|
+
} | {
|
|
8
|
+
type: "show_message";
|
|
9
|
+
message: string;
|
|
10
|
+
} | {
|
|
11
|
+
type: "refresh_auth_token";
|
|
12
|
+
module: string;
|
|
13
|
+
} | {
|
|
14
|
+
type: "set_module_data_time_range";
|
|
15
|
+
module: string;
|
|
16
|
+
before: number;
|
|
17
|
+
after: number;
|
|
18
|
+
} | {
|
|
19
|
+
type: "setup_module_menus";
|
|
20
|
+
module: string;
|
|
21
|
+
menus: {
|
|
22
|
+
label: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
export declare type EmbeddedAppMessage = {
|
|
26
|
+
type: "module_menu_item_clicked";
|
|
27
|
+
menu: string;
|
|
28
|
+
} | {
|
|
29
|
+
type: "auth_token";
|
|
30
|
+
token: string;
|
|
31
|
+
} | {
|
|
32
|
+
type: "module_data";
|
|
33
|
+
streams: {
|
|
34
|
+
[x: string]: any;
|
|
35
|
+
};
|
|
36
|
+
time: number;
|
|
37
|
+
queryRange: {
|
|
38
|
+
start: number;
|
|
39
|
+
end: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
1
42
|
export interface ModuleData {
|
|
2
43
|
queryRange: QueryRange;
|
|
3
44
|
time: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare type DataChannelStringListener = (message: string) => void;
|
|
2
|
-
declare type DataChannelBinaryListener = (message: Uint8Array) => void;
|
|
1
|
+
export declare type DataChannelStringListener = (message: string) => void;
|
|
2
|
+
export declare type DataChannelBinaryListener = (message: Uint8Array) => void;
|
|
3
3
|
export declare class DataChannel {
|
|
4
4
|
private dataChannel;
|
|
5
5
|
ready: boolean;
|
|
@@ -16,4 +16,3 @@ export declare class DataChannel {
|
|
|
16
16
|
addBinaryListener(listener: DataChannelBinaryListener): void;
|
|
17
17
|
removeBinaryListener(listener: DataChannelBinaryListener): void;
|
|
18
18
|
}
|
|
19
|
-
export {};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Device } from "./Device";
|
|
2
2
|
import { IRtcPeer } from "@formant/realtime-sdk/dist/model/IRtcPeer";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
organizationId: string;
|
|
8
|
-
id: string;
|
|
9
|
-
}
|
|
3
|
+
import { IEventQuery } from "./model/IEventQuery";
|
|
4
|
+
import { IEvent } from "./model/IEvent";
|
|
5
|
+
import { IQuery } from "./model/IQuery";
|
|
6
|
+
import { IStreamData } from "./model/IStreamData";
|
|
10
7
|
export interface TelemetryResult {
|
|
11
8
|
deviceId: string;
|
|
12
9
|
name: string;
|
|
@@ -34,4 +31,6 @@ export declare class Fleet {
|
|
|
34
31
|
[key in string]: string[];
|
|
35
32
|
}): Promise<TelemetryResult[]>;
|
|
36
33
|
static getFileUrl(uuid: string): Promise<string>;
|
|
34
|
+
static queryTelemetry(query: IQuery): Promise<IStreamData<keyof import("./main").IStreamTypeMap>[]>;
|
|
35
|
+
static queryEvents(query: IEventQuery): Promise<IEvent[]>;
|
|
37
36
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./Fleet";
|
|
2
2
|
export * from "./Authentication";
|
|
3
3
|
export * from "./Device";
|
|
4
4
|
export * from "./DataChannel";
|
|
@@ -7,3 +7,97 @@ export * from "./Manipulator";
|
|
|
7
7
|
export * from "./RequestDataChannel";
|
|
8
8
|
export * from "./App";
|
|
9
9
|
export * from "./KeyValue";
|
|
10
|
+
export * from "./model/accessLevels";
|
|
11
|
+
export * from "./model/AccessLevel";
|
|
12
|
+
export * from "./model/aggregateLevels";
|
|
13
|
+
export * from "./model/AggregateLevel";
|
|
14
|
+
export * from "./model/AnnotationAreaType";
|
|
15
|
+
export * from "./model/annotationTypes";
|
|
16
|
+
export * from "./model/AnnotationType";
|
|
17
|
+
export * from "./model/EventSortableColumn";
|
|
18
|
+
export * from "./model/eventTypes";
|
|
19
|
+
export * from "./model/EventType";
|
|
20
|
+
export * from "./model/healthStatuses";
|
|
21
|
+
export * from "./model/HealthStatus";
|
|
22
|
+
export * from "./model/HexRgbColor";
|
|
23
|
+
export * from "./model/IAnnotationAreaTypeMap";
|
|
24
|
+
export * from "./model/IAnnotation";
|
|
25
|
+
export * from "./model/IBaseEntity";
|
|
26
|
+
export * from "./model/IBaseEvent";
|
|
27
|
+
export * from "./model/IBattery";
|
|
28
|
+
export * from "./model/IBitset";
|
|
29
|
+
export * from "./model/IBoundingBox";
|
|
30
|
+
export * from "./model/ICommandDeliveryEvent";
|
|
31
|
+
export * from "./model/ICommandEventBase";
|
|
32
|
+
export * from "./model/ICommandParameter";
|
|
33
|
+
export * from "./model/ICommandRequestEvent";
|
|
34
|
+
export * from "./model/ICommandRequest";
|
|
35
|
+
export * from "./model/ICommandResponseEvent";
|
|
36
|
+
export * from "./model/ICommandResponse";
|
|
37
|
+
export * from "./model/IComment";
|
|
38
|
+
export * from "./model/IConfigurationMap";
|
|
39
|
+
export * from "./model/ICustomEvent";
|
|
40
|
+
export * from "./model/IDataPoint";
|
|
41
|
+
export * from "./model/IEventFilter";
|
|
42
|
+
export * from "./model/IEventQuery";
|
|
43
|
+
export * from "./model/IEventSort";
|
|
44
|
+
export * from "./model/IEvent";
|
|
45
|
+
export * from "./model/IFieldParametersTypeMap";
|
|
46
|
+
export * from "./model/IFileInfo";
|
|
47
|
+
export * from "./model/IFile";
|
|
48
|
+
export * from "./model/IFilter";
|
|
49
|
+
export * from "./model/IGoalID";
|
|
50
|
+
export * from "./model/IGoal";
|
|
51
|
+
export * from "./model/IHealth";
|
|
52
|
+
export * from "./model/IImageAnnotation";
|
|
53
|
+
export * from "./model/IImage";
|
|
54
|
+
export * from "./model/IInterventionRequest";
|
|
55
|
+
export * from "./model/IInterventionResponse";
|
|
56
|
+
export * from "./model/IInterventionTypeMap";
|
|
57
|
+
export * from "./model/ILabeledPolygon";
|
|
58
|
+
export * from "./model/ILabelingRequestData";
|
|
59
|
+
export * from "./model/ILabelingResponseData";
|
|
60
|
+
export * from "./model/ILabel";
|
|
61
|
+
export * from "./model/ILocalization";
|
|
62
|
+
export * from "./model/ILocation";
|
|
63
|
+
export * from "./model/IMap";
|
|
64
|
+
export * from "./model/interventionTypes";
|
|
65
|
+
export * from "./model/InterventionType";
|
|
66
|
+
export * from "./model/INumericSetEntry";
|
|
67
|
+
export * from "./model/IOdometry";
|
|
68
|
+
export * from "./model/IPath";
|
|
69
|
+
export * from "./model/IPointCloud";
|
|
70
|
+
export * from "./model/IPortForwardingSessionRecord";
|
|
71
|
+
export * from "./model/IQuaternion";
|
|
72
|
+
export * from "./model/IQuery";
|
|
73
|
+
export * from "./model/IRtcSessionRecord";
|
|
74
|
+
export * from "./model/ISelectionRequestData";
|
|
75
|
+
export * from "./model/ISelectionResponseData";
|
|
76
|
+
export * from "./model/ISheetParameters";
|
|
77
|
+
export * from "./model/IsoDate";
|
|
78
|
+
export * from "./model/ISpreadsheetIdRange";
|
|
79
|
+
export * from "./model/IStreamData";
|
|
80
|
+
export * from "./model/IStreamTypeMap";
|
|
81
|
+
export * from "./model/ISystemEvent";
|
|
82
|
+
export * from "./model/ITaggedUsers";
|
|
83
|
+
export * from "./model/ITagParameters";
|
|
84
|
+
export * from "./model/ITagSets";
|
|
85
|
+
export * from "./model/ITags";
|
|
86
|
+
export * from "./model/ITeleopRequestData";
|
|
87
|
+
export * from "./model/ITeleopResponseData";
|
|
88
|
+
export * from "./model/ITeleopSessionRecord";
|
|
89
|
+
export * from "./model/ITransformNode";
|
|
90
|
+
export * from "./model/ITransform";
|
|
91
|
+
export * from "./model/ITriggeredEvent";
|
|
92
|
+
export * from "./model/ITwist";
|
|
93
|
+
export * from "./model/IUserParameters";
|
|
94
|
+
export * from "./model/IVector3";
|
|
95
|
+
export * from "./model/IVideo";
|
|
96
|
+
export * from "./model/severities";
|
|
97
|
+
export * from "./model/Severity";
|
|
98
|
+
export * from "./model/SortOrder";
|
|
99
|
+
export * from "./model/StreamType";
|
|
100
|
+
export * from "./model/Timestamp";
|
|
101
|
+
export * from "./model/Uuid";
|
|
102
|
+
export * from "./model/videoMimeTypes";
|
|
103
|
+
export * from "./model/VideoMimeType";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { accessLevels } from "./accessLevels";
|
|
2
|
+
export declare type AccessLevel = typeof accessLevels[number];
|
|
3
|
+
export declare const viewer: "viewer" | "operator" | "administrator";
|
|
4
|
+
export declare const operator: "viewer" | "operator" | "administrator";
|
|
5
|
+
export declare const administrator: "viewer" | "operator" | "administrator";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type AggregateLevel = "year" | "month" | "week" | "day" | "hour" | "minute" | "second";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type EventSortableColumn = "device.name" | "time";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type HexRgbColor = string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBaseEvent } from "./IBaseEvent";
|
|
2
|
+
import { IsoDate } from "./IsoDate";
|
|
3
|
+
import { ISpreadsheetIdRange } from "./ISpreadsheetIdRange";
|
|
4
|
+
import { ITaggedUsers } from "./ITaggedUsers";
|
|
5
|
+
import { Uuid } from "./Uuid";
|
|
6
|
+
export interface IAnnotation extends IBaseEvent<"annotation"> {
|
|
7
|
+
editedAt?: IsoDate;
|
|
8
|
+
userId: Uuid;
|
|
9
|
+
annotationTemplateId: Uuid;
|
|
10
|
+
taggedUsers?: ITaggedUsers | null;
|
|
11
|
+
publishedTo?: ISpreadsheetIdRange;
|
|
12
|
+
note?: string | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventType } from "./EventType";
|
|
2
|
+
import { IBaseEntity } from "./IBaseEntity";
|
|
3
|
+
import { IsoDate } from "./IsoDate";
|
|
4
|
+
import { ITags } from "./ITags";
|
|
5
|
+
import { StreamType } from "./StreamType";
|
|
6
|
+
import { Uuid } from "./Uuid";
|
|
7
|
+
export interface IBaseEvent<T extends EventType = EventType> extends IBaseEntity {
|
|
8
|
+
type?: T;
|
|
9
|
+
organizationId?: Uuid;
|
|
10
|
+
time: IsoDate;
|
|
11
|
+
endTime?: IsoDate | null;
|
|
12
|
+
message: string;
|
|
13
|
+
viewed?: boolean;
|
|
14
|
+
deviceId?: Uuid;
|
|
15
|
+
streamName?: string;
|
|
16
|
+
streamType?: StreamType;
|
|
17
|
+
tags?: ITags;
|
|
18
|
+
notificationEnabled?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IConfigurationMap } from "./IConfigurationMap";
|
|
2
|
+
import { IFileInfo } from "./IFileInfo";
|
|
3
|
+
import { IsoDate } from "./IsoDate";
|
|
4
|
+
export interface ICommandParameter {
|
|
5
|
+
value?: string;
|
|
6
|
+
meta?: IConfigurationMap;
|
|
7
|
+
scrubberTime: IsoDate;
|
|
8
|
+
files?: IFileInfo[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsoDate } from "./IsoDate";
|
|
2
|
+
import { ITags } from "./ITags";
|
|
3
|
+
import { StreamType } from "./StreamType";
|
|
4
|
+
import { Uuid } from "./Uuid";
|
|
5
|
+
export interface ICommandResponse {
|
|
6
|
+
time: IsoDate;
|
|
7
|
+
message: string;
|
|
8
|
+
success: boolean;
|
|
9
|
+
replyToCommandRequestId: Uuid;
|
|
10
|
+
streamName?: string;
|
|
11
|
+
streamType?: StreamType;
|
|
12
|
+
tags?: ITags;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IAnnotation } from "./IAnnotation";
|
|
2
|
+
import { ICommandDeliveryEvent } from "./ICommandDeliveryEvent";
|
|
3
|
+
import { ICommandRequestEvent } from "./ICommandRequestEvent";
|
|
4
|
+
import { ICommandResponseEvent } from "./ICommandResponseEvent";
|
|
5
|
+
import { IComment } from "./IComment";
|
|
6
|
+
import { ICustomEvent } from "./ICustomEvent";
|
|
7
|
+
import { IInterventionRequest } from "./IInterventionRequest";
|
|
8
|
+
import { IPortForwardingSessionRecord } from "./IPortForwardingSessionRecord";
|
|
9
|
+
import { ISystemEvent } from "./ISystemEvent";
|
|
10
|
+
import { ITeleopSessionRecord } from "./ITeleopSessionRecord";
|
|
11
|
+
import { ITriggeredEvent } from "./ITriggeredEvent";
|
|
12
|
+
export declare type IEvent = ITriggeredEvent | IInterventionRequest | ITeleopSessionRecord | IPortForwardingSessionRecord | ICommandRequestEvent | ICommandResponseEvent | ICommandDeliveryEvent | ICustomEvent | IComment | ISystemEvent | IAnnotation;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventType } from "./EventType";
|
|
2
|
+
import { IFilter } from "./IFilter";
|
|
3
|
+
import { IsoDate } from "./IsoDate";
|
|
4
|
+
import { Severity } from "./Severity";
|
|
5
|
+
import { Uuid } from "./Uuid";
|
|
6
|
+
export interface IEventFilter extends IFilter {
|
|
7
|
+
id?: Uuid;
|
|
8
|
+
viewed?: boolean;
|
|
9
|
+
keyword?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
start?: IsoDate;
|
|
12
|
+
end?: IsoDate;
|
|
13
|
+
eventTypes?: EventType[];
|
|
14
|
+
notificationEnabled?: boolean;
|
|
15
|
+
userIds?: Uuid[];
|
|
16
|
+
annotationTemplateIds?: Uuid[];
|
|
17
|
+
disableNullMatches?: boolean;
|
|
18
|
+
severities?: Severity[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ISheetParameters } from "./ISheetParameters";
|
|
2
|
+
import { ITagParameters } from "./ITagParameters";
|
|
3
|
+
import { IUserParameters } from "./IUserParameters";
|
|
4
|
+
export interface IFieldParametersTypeMap {
|
|
5
|
+
tag: ITagParameters;
|
|
6
|
+
sheet: ISheetParameters;
|
|
7
|
+
user: IUserParameters;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AnnotationAreaType } from "./AnnotationAreaType";
|
|
2
|
+
import { HexRgbColor } from "./HexRgbColor";
|
|
3
|
+
import { IAnnotationAreaTypeMap } from "./IAnnotationAreaTypeMap";
|
|
4
|
+
export interface IImageAnnotation<T extends AnnotationAreaType = AnnotationAreaType> {
|
|
5
|
+
label: string;
|
|
6
|
+
type: AnnotationAreaType;
|
|
7
|
+
area: IAnnotationAreaTypeMap[T];
|
|
8
|
+
color: HexRgbColor;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IBaseEvent } from "./IBaseEvent";
|
|
2
|
+
import { IInterventionResponse } from "./IInterventionResponse";
|
|
3
|
+
import { IInterventionTypeMap } from "./IInterventionTypeMap";
|
|
4
|
+
import { InterventionType } from "./InterventionType";
|
|
5
|
+
export interface IInterventionRequest<T extends InterventionType = InterventionType> extends IBaseEvent<"intervention-request"> {
|
|
6
|
+
interventionType: T;
|
|
7
|
+
data: IInterventionTypeMap[T]["request"];
|
|
8
|
+
responses?: IInterventionResponse<T>[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IBaseEntity } from "./IBaseEntity";
|
|
2
|
+
import { IInterventionTypeMap } from "./IInterventionTypeMap";
|
|
3
|
+
import { InterventionType } from "./InterventionType";
|
|
4
|
+
import { Uuid } from "./Uuid";
|
|
5
|
+
export interface IInterventionResponse<T extends InterventionType = InterventionType> extends IBaseEntity {
|
|
6
|
+
userId?: Uuid;
|
|
7
|
+
interventionId: Uuid;
|
|
8
|
+
interventionType: T;
|
|
9
|
+
data: IInterventionTypeMap[T]["response"];
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ILabelingRequestData } from "./ILabelingRequestData";
|
|
2
|
+
import { ILabelingResponseData } from "./ILabelingResponseData";
|
|
3
|
+
import { ISelectionRequestData } from "./ISelectionRequestData";
|
|
4
|
+
import { ISelectionResponseData } from "./ISelectionResponseData";
|
|
5
|
+
import { ITeleopRequestData } from "./ITeleopRequestData";
|
|
6
|
+
import { ITeleopResponseData } from "./ITeleopResponseData";
|
|
7
|
+
export interface IInterventionTypeMap {
|
|
8
|
+
selection: {
|
|
9
|
+
request: ISelectionRequestData;
|
|
10
|
+
response: ISelectionResponseData;
|
|
11
|
+
};
|
|
12
|
+
labeling: {
|
|
13
|
+
request: ILabelingRequestData;
|
|
14
|
+
response: ILabelingResponseData;
|
|
15
|
+
};
|
|
16
|
+
teleop: {
|
|
17
|
+
request: ITeleopRequestData;
|
|
18
|
+
response: ITeleopResponseData;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IGoal } from "./IGoal";
|
|
2
|
+
import { IMap } from "./IMap";
|
|
3
|
+
import { IOdometry } from "./IOdometry";
|
|
4
|
+
import { IPath } from "./IPath";
|
|
5
|
+
import { IPointCloud } from "./IPointCloud";
|
|
6
|
+
export interface ILocalization {
|
|
7
|
+
odometry: IOdometry;
|
|
8
|
+
map?: IMap;
|
|
9
|
+
pointClouds?: IPointCloud[];
|
|
10
|
+
path?: IPath;
|
|
11
|
+
goal?: IGoal;
|
|
12
|
+
}
|