{"version":3,"sources":["../../../packages/core/rpc/settings/rpc-settings-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;GAEG;AACH,qBAAa,cAAc;IACvB,OAAc,OAAO,SAAc;IACnC,OAAc,OAAO,SAAW;CACnC;AAED;;GAEG;AACH,oBAAY,gBAAgB;IACxB;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,WAAW,IAAI;IACf;;OAEG;IACH,KAAK,IAAI;CACZ;AAED;;GAEG;AACH,oBAAY,uBAAuB;IAC/B;;OAEG;IACH,MAAM,IAAI;IACV;;OAEG;IACH,SAAS,IAAI;CAChB;AAED;;GAEG;AACH,oBAAY,wBAAwB;IAChC;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;CACV;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC5C;;OAEG;IACH,SAAS,EAAE,wBAAwB,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,uBAAuB,CAAC;IAElC;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC/B","file":"rpc-settings-model.d.ts","sourcesContent":["import { PlainVersionedObject } from '../../base/versioned-object';\r\nimport { RpcBaseData } from '../rpc-base';\r\n\r\n/**\r\n * RPC settings request name and version.\r\n */\r\nexport class RpcSettingsKey {\r\n    public static command = 'Settings';\r\n    public static version = '0.1.0';\r\n}\r\n\r\n/**\r\n * Identifies the scope that these settings have\r\n */\r\nexport enum RpcSettingsScope {\r\n    /**\r\n     * User Settings Scope\r\n     */\r\n    User = 0,\r\n    /**\r\n     * Application Settings Scope (All Users)\r\n     */\r\n    Application = 1,\r\n    /**\r\n     * Admin Settings Scope (All Users Read/Admin Write)\r\n     */\r\n    Admin = 2\r\n}\r\n\r\n/**\r\n * Identifies the type of provider that owns these settings\r\n */\r\nexport enum RpcSettingsProviderType {\r\n    /**\r\n     * Common provider type, indicates that these settings are owned by the common provider (shell)\r\n     */\r\n    Common = 0,\r\n    /**\r\n     * Extension access type, indicates that these settings are owned by the current extension\r\n     */\r\n    Extension = 1\r\n}\r\n\r\n/**\r\n * Identifies the user profile operation type to preform\r\n */\r\nexport enum RpcSettingsOperationType {\r\n    /**\r\n     * Get Operation Type\r\n     */\r\n    Get = 0,\r\n\r\n    /**\r\n     * Set Operation Type\r\n     */\r\n    Set = 1\r\n}\r\n\r\n/**\r\n * Rpc Settings data.\r\n */\r\nexport interface RpcSettings extends RpcBaseData {\r\n    /**\r\n     * Type of user profile operation to perform\r\n     */\r\n    operation: RpcSettingsOperationType;\r\n    /**\r\n     * The scope of this operation\r\n     */\r\n    scope: RpcSettingsScope;\r\n\r\n    /**\r\n     * Type of access that this operation will have\r\n     */\r\n    provider: RpcSettingsProviderType;\r\n\r\n    /**\r\n     * The value for set operations\r\n     */\r\n    value?: PlainVersionedObject;\r\n}\r\n\r\n/**\r\n * Rpc Settings operation result.\r\n */\r\nexport interface RpcSettingsResult {\r\n    /**\r\n     * Data response of the operation if data was requested\r\n     */\r\n    data?: PlainVersionedObject;\r\n}\r\n"]}