/** * Compositor Proxy REST API * A set of REST API endpoints exposed by the Compositor Proxy. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * This type carefully matches the WebFD type as defined in the [Westfield Wayland protocol generator](https://github.com/udevbe/westfield). It narrows the 'handle' property of the original WebFD type -which has type 'unknown'- to an 'integer' as to mimic a native file descriptor. * @export * @interface WebFD */ export interface WebFD { /** * The native FD * @type {number} * @memberof WebFD */ readonly handle: number; /** * The file type of the native FD. 'unknown' type means that FD was created by an external application, in which case the 'type' should be manually updated to a more concrete type before doing any operations on the WebFD. * @type {string} * @memberof WebFD */ type: WebFDTypeEnum; /** * The url where this WebFD originated from and where it can be accessed e.g. for reading. * @type {string} * @memberof WebFD */ readonly host: string; } /** * @export * @enum {string} */ export declare enum WebFDTypeEnum { PipeRead = "pipe-read", PipeWrite = "pipe-write", Shm = "shm", Unknown = "unknown" } export declare function WebFDFromJSON(json: any): WebFD; export declare function WebFDFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebFD; export declare function WebFDToJSON(value?: WebFD | null): any;