2
0
mirror of https://github.com/frappe/books.git synced 2025-02-10 16:08:35 +00:00

incr: add platform field

This commit is contained in:
18alantom 2022-03-18 14:51:12 +05:30 committed by Alan
parent 591b02ef9e
commit 88f44692d6

View File

@ -19,11 +19,13 @@ export interface Locale {
export type Count = Partial<{ export type Count = Partial<{
[key in DoctypeName]: number; [key in DoctypeName]: number;
}>; }>;
export type Platform = 'Windows' | 'Mac' | 'Linux';
export interface Telemetry { export interface Telemetry {
deviceId: UniqueId; deviceId: UniqueId;
instanceId: UniqueId; instanceId: UniqueId;
openTime: Timestamp; openTime: Timestamp;
platform?: Platform;
closeTime: Timestamp; closeTime: Timestamp;
timeline?: InteractionEvent[]; timeline?: InteractionEvent[];
counts?: Count; counts?: Count;