Skip to content

Commit

Permalink
General preparations for GNOME Shell 47
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Jul 19, 2024
1 parent 90f18e8 commit 1dd5b6a
Show file tree
Hide file tree
Showing 55 changed files with 173 additions and 173 deletions.
4 changes: 2 additions & 2 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gjsify/gnome-shell-hello-world-example",
"version": "46.0.1",
"version": "47.0.0-next.1",
"description": "Simple Gnome Shell Hello World Extension example",
"type": "module",
"main": "dist/extension.js",
Expand All @@ -23,6 +23,6 @@
"@girs/gjs": "^4.0.0-beta.7",
"@girs/gnome-shell": "workspace:^",
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.7",
"@girs/st-14": "^14.0.0-4.0.0-beta.7"
"@girs/st-15": "^15.0.0-4.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion examples/hello-world/src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@girs/gjs'; // For global types like `log()`
import St from '@girs/st-14';
import St from '@girs/st-15';

import '@girs/gnome-shell/extensions/global'; // For global shell types
import { Extension, gettext as _ } from '@girs/gnome-shell/extensions/extension';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gnome-shell",
"version": "46.0.1",
"version": "47.0.0-next.1",
"description": "GJS TypeScript type definitions for GNOME Shell Extensions",
"main": "src/index.js",
"type": "module",
Expand Down
14 changes: 7 additions & 7 deletions packages/gnome-shell/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@girs/gnome-shell",
"version": "46.0.1",
"version": "47.0.0-next.1",
"description": "GJS TypeScript type definitions for GNOME Shell Extensions",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -975,8 +975,8 @@
"@girs/accountsservice-1.0": "^1.0.0-4.0.0-beta.7",
"@girs/adw-1": "^1.6.0-4.0.0-beta.7",
"@girs/atk-1.0": "^2.52.0-4.0.0-beta.7",
"@girs/cally-14": "^14.0.0-4.0.0-beta.7",
"@girs/clutter-14": "^14.0.0-4.0.0-beta.7",
"@girs/cally-15": "^15.0.0-4.0.0-beta.7",
"@girs/clutter-15": "^15.0.0-4.0.0-beta.7",
"@girs/cogl-2.0": "^2.0.0-4.0.0-beta.7",
"@girs/gcr-4": "^4.2.1-4.0.0-beta.7",
"@girs/gdm-1.0": "^1.0.0-4.0.0-beta.7",
Expand All @@ -989,12 +989,12 @@
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.7",
"@girs/gtk-4.0": "^4.14.4-4.0.0-beta.7",
"@girs/gvc-1.0": "^1.0.0-4.0.0-beta.7",
"@girs/meta-14": "^14.0.0-4.0.0-beta.7",
"@girs/mtk-14": "^14.0.0-4.0.0-beta.7",
"@girs/meta-15": "^15.0.0-4.0.0-beta.7",
"@girs/mtk-15": "^15.0.0-4.0.0-beta.7",
"@girs/polkit-1.0": "^1.0.0-4.0.0-beta.7",
"@girs/shell-14": "^14.0.0-4.0.0-beta.7",
"@girs/shell-15": "^15.0.0-4.0.0-beta.7",
"@girs/shew-0": "^0.0.0-4.0.0-beta.7",
"@girs/st-14": "^14.0.0-4.0.0-beta.7",
"@girs/st-15": "^15.0.0-4.0.0-beta.7",
"@girs/upowerglib-1.0": "^0.99.1-4.0.0-beta.7"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/gnome-shell/src/extensions/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-14';
import type Shell from '@girs/shell-15';
import type Clutter from '@girs/clutter-15';
declare global {
/**
* Global shell object created by GNOME Shell on startup.
Expand Down Expand Up @@ -88,7 +88,7 @@ type AnimatableActorFields =

interface EasingParamsWithProperties extends EasingParams, Partial<Pick<Clutter.Actor, AnimatableActorFields>> {}

declare module '@girs/st-14' {
declare module '@girs/st-15' {
export namespace St {
interface Adjustment {
/**
Expand All @@ -103,7 +103,7 @@ declare module '@girs/st-14' {
}
}

declare module '@girs/clutter-14' {
declare module '@girs/clutter-15' {
export namespace Clutter {
interface Actor {
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/misc/animationUtils.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';

/**
* adjustAnimationTime:
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/misc/parentalControlsManager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type Shell from '@girs/shell-14';
import type Shell from '@girs/shell-15';

declare class ParentalControlsManager extends GObject.Object {
protected _initialized: boolean;
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/altTab.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/altTab.js

import type GLib from '@girs/glib-2.0';
import type Clutter from '@girs/clutter-14';
import type Meta from '@girs/meta-14';
import type Clutter from '@girs/clutter-15';
import type Meta from '@girs/meta-15';

import { SwitcherPopup } from './switcherPopup.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/animation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import type GLib from '@girs/glib-2.0';
import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type St from '@girs/st-15';

export class Animation extends St.Bin {
constructor(file: Gio.File, width: number, height: number, speed: number);
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/appDisplay.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appDisplay.js

import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';

import { GridSearchResult } from './search.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/appFavorites.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appFavorites.js

import type Shell from '@girs/shell-14';
import type Shell from '@girs/shell-15';

import { EventEmitter } from '../misc/signals.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/appMenu.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/appMenu.js

import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type Shell from '@girs/shell-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';
import type Shell from '@girs/shell-15';

import type { PopupMenu, PopupSeparatorMenuItem, PopupMenuSection } from './popupMenu.js';
import type { getAppFavorites } from './appFavorites.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/audioDeviceSelection.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/audioDeviceSelection.js

import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type St from '@girs/st-15';

import type { ModalDialog } from './modalDialog.js';

Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/background.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
*/

import type Gio from '@girs/gio-2.0';
import type Clutter from '@girs/clutter-14';
import type Meta from '@girs/meta-14';
import type Clutter from '@girs/clutter-15';
import type Meta from '@girs/meta-15';
import type GnomeDesktop from '@girs/gnomedesktop-4.0';
import type GnomeBG from '@girs/gnomebg-4.0';

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/backgroundMenu.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/backgroundMenu.js

import type Clutter from '@girs/clutter-14';
import type Clutter from '@girs/clutter-15';

import type { PopupMenu } from './popupMenu.js';
import type { LayoutManager } from './layout.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/barLevel.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/barLevel.js

import type St from '@girs/st-14';
import type St from '@girs/st-15';

export namespace BarLevel {
export interface ConstructorProps extends St.DrawingArea.ConstructorProps {}
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/boxpointer.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';

import type { LayoutManager } from './layout.js';

Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/calendar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';

import type { Message, MessageListSection } from './messageList.js';
import type { Notification, MessageTray, Source } from './messageTray.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/checkBox.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type St from '@girs/st-14';
import type St from '@girs/st-15';

export class CheckBox extends St.Button {
protected _box: St.Bin;
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/closeDialog.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type GObject from '@girs/gobject-2.0';
import type Meta from '@girs/meta-14';
import type Meta from '@girs/meta-15';

import { Dialog, MessageDialogContent } from './dialog.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/components/polkitAgent.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/components/polkitAgent.js

import type Shell from '@girs/shell-14';
import type Shell from '@girs/shell-15';

declare class AuthenticationAgent extends Shell.PolkitAuthenticationAgent {
constructor();
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/dialog.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dialog.js

import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-15';
import type St from '@girs/st-15';

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dialog.js#L113
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/dnd.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dnd.js

import type Clutter from '@girs/clutter-14';
import type Clutter from '@girs/clutter-15';

import { EventEmitter } from '../misc/signals.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/iconGrid.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/iconGrid.js

import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-15';
import type St from '@girs/st-15';
import type Shell from '@girs/shell-15';

export namespace BaseIcon {
export interface ConstructorProps {
Expand Down
10 changes: 5 additions & 5 deletions packages/gnome-shell/src/ui/layout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Meta from '@girs/meta-14';
import type Mtk from '@girs/mtk-14';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-15';
import type St from '@girs/st-15';
import type Meta from '@girs/meta-15';
import type Mtk from '@girs/mtk-15';
import type Shell from '@girs/shell-15';

import { EventEmitter } from '../misc/signals.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/lightbox.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/lightbox.js

import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-15';
import type St from '@girs/st-15';
import type Shell from '@girs/shell-15';

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/lightbox.js#L10
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/lookingGlass.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Clutter from '@girs/clutter-14';
import type Clutter from '@girs/clutter-15';

/**
* @version 46
Expand Down
8 changes: 4 additions & 4 deletions packages/gnome-shell/src/ui/main.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/main.js

import type Gio from '@girs/gio-2.0';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-14';
import type Meta from '@girs/meta-14';
import type Shell from '@girs/shell-15';
import type Clutter from '@girs/clutter-15';
import type St from '@girs/st-15';
import type Meta from '@girs/meta-15';

import { ComponentManager } from './components.js';
import { AccessDialogDBus } from './accessDialog.js';
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/messageList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import type GObject from '@girs/gobject-2.0';
import type Gio from '@girs/gio-2.0';
import type GLib from '@girs/glib-2.0';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';

/**
* @version 46
Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/messageTray.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import type GObject from '@girs/gobject-2.0';
import type GLib from '@girs/glib-2.0';
import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';
import type GnomeDesktop from '@girs/gnomedesktop-4.0';
import type Shell from '@girs/shell-14';
import type Shell from '@girs/shell-15';

import type { PresenceStatus } from '../misc/gnomeSession.js';
import type * as MessageList from './messageList.js';
Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/modalDialog.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/modalDialog.js

import type St from '@girs/st-14';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Shell from '@girs/shell-15';
import type Clutter from '@girs/clutter-15';

import type { MonitorConstraint } from './layout.js';
import type { ButtonInfo, Dialog } from './dialog.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/ui/mpris.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/mpris.js

import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type St from '@girs/st-15';

import type { EventEmitter } from '../misc/signals.js';
import type { Message, MessageListSection } from './messageList.js';
Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/panel.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/panel.js

import type St from '@girs/st-14';
import type Clutter from '@girs/clutter-14';
import type Meta from '@girs/meta-14';
import type St from '@girs/st-15';
import type Clutter from '@girs/clutter-15';
import type Meta from '@girs/meta-15';

import type { Button } from './panelMenu.js';
import type { DateMenuButton } from './dateMenu.js';
Expand Down
4 changes: 2 additions & 2 deletions packages/gnome-shell/src/ui/panelMenu.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/panelMenu.js

import type St from '@girs/st-14';
import Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import Clutter from '@girs/clutter-15';

import type { PopupMenu, PopupDummyMenu } from './popupMenu.js';

Expand Down
6 changes: 3 additions & 3 deletions packages/gnome-shell/src/ui/popupMenu.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/popupMenu.js

import type Gio from '@girs/gio-2.0';
import type St from '@girs/st-14';
import type Shell from '@girs/shell-14';
import type Clutter from '@girs/clutter-14';
import type St from '@girs/st-15';
import type Shell from '@girs/shell-15';
import type Clutter from '@girs/clutter-15';

import * as Signals from '../misc/signals.js';
import * as BoxPointer from './boxpointer.js';
Expand Down
Loading

0 comments on commit 1dd5b6a

Please sign in to comment.