@girs/gnome-shell
Version:
GJS TypeScript type definitions for GNOME Shell Extensions
25 lines (22 loc) • 772 B
text/typescript
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/extensions/sharedInternals.js
import type Gio from '@girs/gio-2.0';
/** The Metadata Object for Extensions
*
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/extensions/sharedInternals.js#L49
* @version 48
*/
export interface ExtensionMetadata {
readonly uuid: string;
readonly dir: Gio.File;
readonly path: string;
readonly name: string;
readonly description: string;
readonly version?: string;
readonly url?: string;
readonly 'shell-version': string[];
readonly 'settings-schema'?: string;
readonly 'gettext-domain'?: string;
readonly 'original-author'?: string[];
readonly 'extension-id'?: string;
readonly 'version-name'?: string;
}