{"version":3,"sources":["../../../packages/core/rpc/error-monitor/rpc-observable-error-monitor-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE;;GAEG;AACH,qBAAa,4BAA4B;IACrC,OAAc,OAAO,SAA4B;IACjD,OAAc,OAAO,SAAW;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,SAAS,EAAE;QACP;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,CAAC,EAAE,GAAG,CAAC;KACd,CAAC;CACL;AAED;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,EAAE,2BAA2B;CACxG;AAED;;GAEG;AACH,oBAAY,+BAA+B,GAAG,0BAA0B,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,0BAA0B;IAC9E,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B","file":"rpc-observable-error-monitor-model.d.ts","sourcesContent":["import { RpcObservableRequestContext } from '../rpc-observable-request';\r\nimport { RpcObservableResultContext } from '../rpc-observable-result';\r\n\r\n/**\r\n * RPC Monitor request name and version.\r\n */\r\nexport class RpcObservableErrorMonitorKey {\r\n    public static command = 'ErrorMonitorObservable';\r\n    public static version = '0.1.0';\r\n}\r\n\r\n/**\r\n * The monitor record.\r\n * - http error record.\r\n */\r\nexport interface ErrorMonitorRecord {\r\n    httpError: {\r\n        /**\r\n         * The request URL.\r\n         */\r\n        url: string;\r\n\r\n        /**\r\n         * The method name.\r\n         */\r\n        method: string;\r\n\r\n        /**\r\n         * The status code.\r\n         */\r\n        statusCode: number;\r\n\r\n        /**\r\n         * The error message.\r\n         */\r\n        message: string;\r\n\r\n        /**\r\n         * The error code.\r\n         */\r\n        code: string;\r\n\r\n        /**\r\n         * The forbidden type.\r\n         */\r\n        forbidden: string;\r\n\r\n        /**\r\n         * The error action.\r\n         */\r\n        action?: string;\r\n\r\n        /**\r\n         * The error data.\r\n         */\r\n        data?: any;\r\n    };\r\n}\r\n\r\n/**\r\n * Rpc observable error monitor request data.\r\n */\r\nexport interface RpcObservableErrorMonitorRequest extends ErrorMonitorRecord, RpcObservableRequestContext {\r\n}\r\n\r\n/**\r\n * Rpc observable error monitor result data.\r\n */\r\nexport type RpcObservableErrorMonitorResult = RpcObservableResultContext;\r\n\r\n/**\r\n * Rpc observable error monitor error data.\r\n */\r\nexport interface RpcObservableErrorMonitorError extends RpcObservableResultContext {\r\n    error: { message: string };\r\n}\r\n"]}