{"version":3,"sources":["../../../packages/core/rpc/report/rpc-report-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;GAEG;AACH,qBAAa,YAAY;IACrB,OAAc,OAAO,SAAY;IACjC,OAAc,OAAO,SAAW;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAElC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW,EAAE,aAAa;CAAI;AAE7E;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB,EAAE,mBAAmB;CAAI","file":"rpc-report-model.d.ts","sourcesContent":["import { RpcBaseData } from '../rpc-base';\r\nimport { RpcRemoteState } from '../rpc-manager';\r\n\r\n/**\r\n * RPC report request name and version.\r\n */\r\nexport class RpcReportKey {\r\n    public static command = 'Report';\r\n    public static version = '0.1.0';\r\n}\r\n\r\n/**\r\n * Rpc report command data.\r\n */\r\nexport interface RpcReportData {\r\n    /**\r\n     * The relative path to report in the browser url\r\n     */\r\n    path?: string;\r\n\r\n    /**\r\n     * The relative path originally requested to open.\r\n     */\r\n    beforeRedirectedPath?: string;\r\n\r\n    /**\r\n     * The data to reports to the shell\r\n     */\r\n    selectablePath?: SelectablePath[];\r\n\r\n    /**\r\n     * Whether to replace url, useful for absolute redirecting\r\n     */\r\n    replaceUrl?: boolean;\r\n}\r\n\r\n/**\r\n * The interface for the inbound report data with some extra information like remote name and other information\r\n */\r\nexport interface RpcReportDataInternal extends RpcBaseData, RpcReportData { }\r\n\r\n/**\r\n * Represents each of the items that could be used in a path selector to delve up\r\n */\r\nexport interface SelectablePath {\r\n    /**\r\n     * The string to display for each delve level bar\r\n     */\r\n    label: string;\r\n\r\n    /**\r\n     * The path to which this selectable path item will navigate to\r\n     */\r\n    path: string;\r\n}\r\n\r\n/**\r\n * Interface that indicates the status of the RPC remote endpoint\r\n */\r\nexport interface RpcRemoteStatusData {\r\n    /**\r\n     * The status of the remote RPC endpoint\r\n     */\r\n    status: RpcRemoteState;\r\n\r\n    /**\r\n     * The sub name of the opened iframe instance.\r\n     */\r\n    subName: string;\r\n\r\n    /**\r\n     * The entry point to load the iframe as src.\r\n     */\r\n    entryPoint: string;\r\n}\r\n\r\n/**\r\n * The RPC report Data object that includes the status of the remote RPC endpoint\r\n * that is the source of the message. This interface is used in the RPC endpoint that is receiving\r\n * the data. The PRC endpoint sending the data should use RpcReportData instead\r\n */\r\nexport interface RpcReportDataInbound extends RpcReportDataInternal, RpcRemoteStatusData { }\r\n"]}