@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
1 lines • 3.06 kB
Source Map (JSON)
{"version":3,"sources":["../../../packages/core/diagnostics/telemetry-record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC;IAEX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACvC;AAED;;GAEG;AACF,MAAM,WAAW,qBAAqB;IACnC;;OAEG;IACJ,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACpB","file":"telemetry-record.d.ts","sourcesContent":["import { TelemetryOptions } from './telemetry-options';\r\n\r\n/**\r\n * Telemetry record.\r\n */\r\nexport interface TelemetryRecord {\r\n /**\r\n * The view name.\r\n * ex) createVmForm, processList, eventRecordList, stopServiceConfirmationDialog...\r\n */\r\n view: string;\r\n\r\n /**\r\n * The instance name for the telemetry target object.\r\n */\r\n instance: string;\r\n\r\n /**\r\n * The name of part within the view.\r\n * ex) angular component name.\r\n */\r\n part?: string;\r\n\r\n /**\r\n * The action name.\r\n * ex) createVm, refresh, stopService\r\n */\r\n action: string;\r\n\r\n /**\r\n * A modifier for the action.\r\n */\r\n actionModifier?: string;\r\n\r\n /**\r\n * The additional data.\r\n */\r\n data?: any;\r\n\r\n /**\r\n * Whether or not this event should be considered optional. Default to false.\r\n */\r\n optional?: boolean;\r\n\r\n /**\r\n * The partner telemetry event provider name.\r\n */\r\n eventProvider?: string;\r\n /**\r\n * The partner telemetry event name.\r\n */\r\n eventName?: string;\r\n /**\r\n * The partner telemetry options.\r\n */\r\n telemetryOptions?: TelemetryOptions;\r\n}\r\n\r\n/**\r\n * Feedback specific fields for the feedback telemetry event. Most of these are populated by the feedback dialog itself.\r\n */\r\n export interface FeedbackTelemetryData {\r\n /**\r\n * Location of the feedback dialog\r\n */\r\n FeedbackDelivery: string;\r\n\r\n /**\r\n * The text of the feedback prompt\r\n */\r\n QuestionText: string;\r\n\r\n /**\r\n * The user score\r\n */\r\n RatingScore: number;\r\n\r\n /**\r\n * The region/language of the user\r\n */\r\n UserLocale: string;\r\n\r\n /**\r\n * Whether the feedback was declined or not.\r\n */\r\n FeedbackDeclined: boolean;\r\n\r\n /**\r\n * User comments, if specified\r\n */\r\n UserComments: string;\r\n\r\n /**\r\n * User email, if added\r\n */\r\n UserEmail: string;\r\n}\r\n"]}