@ts-for-gir/lib 3.0.0-beta.11 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/conflict-resolver.d.ts +1 -0
- package/lib/conflict-resolver.js +20 -6
- package/lib/conflict-resolver.js.map +1 -1
- package/lib/constants.d.ts +7 -3
- package/lib/constants.js +14 -2
- package/lib/constants.js.map +1 -1
- package/lib/dependency-manager.d.ts +52 -3
- package/lib/dependency-manager.js +138 -18
- package/lib/dependency-manager.js.map +1 -1
- package/lib/gir-module.d.ts +12 -5
- package/lib/gir-module.js +52 -25
- package/lib/gir-module.js.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/injection/classes/gjs/gio-2.0.d.ts +5 -0
- package/lib/injection/classes/gjs/gio-2.0.js +218 -0
- package/lib/injection/classes/gjs/gio-2.0.js.map +1 -0
- package/lib/injection/classes/gjs/glib-2.0.d.ts +2 -0
- package/lib/injection/classes/gjs/glib-2.0.js +205 -0
- package/lib/injection/classes/gjs/glib-2.0.js.map +1 -0
- package/lib/injection/classes/gjs/gobject-2.0.d.ts +2 -0
- package/lib/injection/classes/gjs/gobject-2.0.js +634 -0
- package/lib/injection/classes/gjs/gobject-2.0.js.map +1 -0
- package/lib/injection/classes/gjs/index.js +3 -3
- package/lib/injection/classes/glib-2.0.d.ts +2 -0
- package/lib/injection/classes/glib-2.0.js +35 -0
- package/lib/injection/classes/glib-2.0.js.map +1 -0
- package/lib/injection/classes/index.js +1 -1
- package/lib/injection/classes/node-gtk/gdk-4.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/gdk-4.0.js +32 -0
- package/lib/injection/classes/node-gtk/gdk-4.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/gio-2.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/gio-2.0.js +14 -0
- package/lib/injection/classes/node-gtk/gio-2.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/glib-2.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/glib-2.0.js +19 -0
- package/lib/injection/classes/node-gtk/glib-2.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/gobject-2.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/gobject-2.0.js +66 -0
- package/lib/injection/classes/node-gtk/gobject-2.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/graphene-1.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/graphene-1.0.js +133 -0
- package/lib/injection/classes/node-gtk/graphene-1.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/gtk-3.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/gtk-3.0.js +31 -0
- package/lib/injection/classes/node-gtk/gtk-3.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/gtk-4.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/gtk-4.0.js +52 -0
- package/lib/injection/classes/node-gtk/gtk-4.0.js.map +1 -0
- package/lib/injection/classes/node-gtk/index.js +8 -8
- package/lib/injection/classes/node-gtk/pango-1.0.d.ts +2 -0
- package/lib/injection/classes/node-gtk/pango-1.0.js +31 -0
- package/lib/injection/classes/node-gtk/pango-1.0.js.map +1 -0
- package/lib/library-version.d.ts +8 -0
- package/lib/library-version.js +32 -0
- package/lib/library-version.js.map +1 -0
- package/lib/messages.d.ts +0 -2
- package/lib/messages.js +1 -3
- package/lib/messages.js.map +1 -1
- package/lib/package-data-parser.d.ts +13 -0
- package/lib/package-data-parser.js +67 -0
- package/lib/package-data-parser.js.map +1 -0
- package/lib/package-data.d.ts +9 -0
- package/lib/package-data.js +41 -0
- package/lib/package-data.js.map +1 -0
- package/lib/symtable.js +2 -1
- package/lib/symtable.js.map +1 -1
- package/lib/template-processor.d.ts +59 -19
- package/lib/template-processor.js +128 -41
- package/lib/template-processor.js.map +1 -1
- package/lib/transformation.d.ts +52 -29
- package/lib/transformation.js +101 -73
- package/lib/transformation.js.map +1 -1
- package/lib/types/construct-name.d.ts +1 -1
- package/lib/types/dependency.d.ts +17 -2
- package/lib/types/generate-config.d.ts +9 -2
- package/lib/types/gir-callable-param-element.d.ts +7 -5
- package/lib/types/gir-direction.d.ts +3 -1
- package/lib/types/gir-direction.js +2 -0
- package/lib/types/gir-direction.js.map +1 -1
- package/lib/types/gir-instance-parameter.d.ts +2 -0
- package/lib/types/gir-property-element.d.ts +2 -0
- package/lib/types/gir-transfer-ownership.d.ts +5 -1
- package/lib/types/index.d.ts +5 -0
- package/lib/types/index.js +5 -0
- package/lib/types/index.js.map +1 -1
- package/lib/types/module-type.d.ts +1 -1
- package/lib/types/package-data-parsed.d.ts +28 -0
- package/lib/types/package-data-parsed.js +2 -0
- package/lib/types/package-data-parsed.js.map +1 -0
- package/lib/types/package-data.d.ts +23 -0
- package/lib/types/package-data.js +2 -0
- package/lib/types/package-data.js.map +1 -0
- package/lib/types/package-section-parsed.d.ts +8 -0
- package/lib/types/package-section-parsed.js +2 -0
- package/lib/types/package-section-parsed.js.map +1 -0
- package/lib/types/package-section.d.ts +8 -0
- package/lib/types/package-section.js +2 -0
- package/lib/types/package-section.js.map +1 -0
- package/lib/types/parsed-package-data.d.ts +6 -0
- package/lib/types/parsed-package-data.js +2 -0
- package/lib/types/parsed-package-data.js.map +1 -0
- package/lib/types/template-data.d.ts +7 -0
- package/lib/types/template-data.js +2 -0
- package/lib/types/template-data.js.map +1 -0
- package/lib/types/transformation-case.d.ts +1 -1
- package/lib/types/transformations.d.ts +1 -1
- package/lib/types/user-config.d.ts +6 -2
- package/lib/utils.d.ts +38 -17
- package/lib/utils.js +85 -33
- package/lib/utils.js.map +1 -1
- package/package.json +20 -19
- package/templates/README.md +102 -0
- package/templates/gjs/README-GJS.md +109 -0
- package/templates/gjs/ambient.d.ts +59 -0
- package/templates/gjs/cairo-1.0.d.ts +9 -0
- package/templates/gjs/cairo.d.ts +8 -0
- package/templates/gjs/cairo.js +11 -0
- package/templates/gjs/gettext.d.ts +41 -0
- package/templates/gjs/gettext.js +11 -0
- package/templates/{Gjs/Gio-2.0.d.ts → gjs/gio-2.0.d.ts} +1 -1
- package/templates/{Gjs/index.d.ts → gjs/gjs.d.ts} +221 -58
- package/templates/gjs/gjs.js +10 -0
- package/templates/{Gjs/GObject-2.0.d.ts → gjs/gobject-2.0.d.ts} +1 -1
- package/templates/gjs/module-ambient.d.ts +31 -0
- package/templates/gjs/module-import.d.ts +33 -0
- package/templates/gjs/module.append.d.ts +1 -0
- package/templates/gjs/module.d.ts +12 -0
- package/templates/gjs/module.js +17 -0
- package/templates/gjs/system.d.ts +32 -0
- package/templates/gjs/system.js +11 -0
- package/templates/gjs/tsconfig.alias.json +12 -0
- package/templates/node-gtk/README-NODE-GTK.md +71 -0
- package/templates/node-gtk/ambient.d.ts +19 -0
- package/templates/node-gtk/module-import.d.ts +29 -0
- package/templates/node-gtk/module.append.d.ts +1 -0
- package/templates/node-gtk/module.d.ts +4 -0
- package/templates/node-gtk/module.js +2 -1
- package/templates/node-gtk/node-gtk.d.ts +25 -0
- package/templates/node-gtk/{index.js → node-gtk.js} +0 -2
- package/templates/package.json +173 -0
- package/templates/tsconfig.doc.json +30 -0
- package/templates/Gjs/Gjs.d.ts +0 -204
- package/templates/Gjs/Gjs.js +0 -21
- package/templates/Gjs/GnomeShell.d.ts +0 -154
- package/templates/Gjs/GnomeShell.js +0 -10
- package/templates/Gjs/index.js +0 -4
- package/templates/Gjs/misc/dbusUtils.d.ts +0 -15
- package/templates/Gjs/misc/dbusUtils.js +0 -6
- package/templates/Gjs/misc/extensionUtils.d.ts +0 -99
- package/templates/Gjs/misc/extensionUtils.js +0 -6
- package/templates/Gjs/misc/fileUtils.d.ts +0 -51
- package/templates/Gjs/misc/fileUtils.js +0 -6
- package/templates/Gjs/misc/gnomeSession.d.ts +0 -74
- package/templates/Gjs/misc/gnomeSession.js +0 -6
- package/templates/Gjs/misc/parentalControlsManager.d.ts +0 -42
- package/templates/Gjs/misc/parentalControlsManager.js +0 -6
- package/templates/Gjs/misc/signals.d.ts +0 -15
- package/templates/Gjs/misc/signals.js +0 -6
- package/templates/Gjs/module.d.ts +0 -6
- package/templates/Gjs/module.js +0 -16
- package/templates/Gjs/tsconfig.alias.json +0 -10
- package/templates/Gjs/ui/accessDialog.d.ts +0 -19
- package/templates/Gjs/ui/accessDialog.js +0 -6
- package/templates/Gjs/ui/altTab.d.ts +0 -124
- package/templates/Gjs/ui/altTab.js +0 -6
- package/templates/Gjs/ui/animation.d.ts +0 -58
- package/templates/Gjs/ui/animation.js +0 -6
- package/templates/Gjs/ui/appDisplay.d.ts +0 -204
- package/templates/Gjs/ui/appDisplay.js +0 -6
- package/templates/Gjs/ui/appFavorites.d.ts +0 -34
- package/templates/Gjs/ui/appFavorites.js +0 -6
- package/templates/Gjs/ui/appMenu.d.ts +0 -74
- package/templates/Gjs/ui/appMenu.js +0 -6
- package/templates/Gjs/ui/audioDeviceSelection.d.ts +0 -51
- package/templates/Gjs/ui/audioDeviceSelection.js +0 -6
- package/templates/Gjs/ui/background.d.ts +0 -255
- package/templates/Gjs/ui/background.js +0 -5
- package/templates/Gjs/ui/backgroundMenu.d.ts +0 -19
- package/templates/Gjs/ui/backgroundMenu.js +0 -5
- package/templates/Gjs/ui/barLevel.d.ts +0 -42
- package/templates/Gjs/ui/barLevel.js +0 -5
- package/templates/Gjs/ui/boxpointer.d.ts +0 -103
- package/templates/Gjs/ui/boxpointer.js +0 -5
- package/templates/Gjs/ui/calendar.d.ts +0 -261
- package/templates/Gjs/ui/calendar.js +0 -5
- package/templates/Gjs/ui/checkBox.d.ts +0 -22
- package/templates/Gjs/ui/checkBox.js +0 -5
- package/templates/Gjs/ui/closeDialog.d.ts +0 -40
- package/templates/Gjs/ui/closeDialog.js +0 -5
- package/templates/Gjs/ui/components/__init__.d.ts +0 -9
- package/templates/Gjs/ui/components/__init__.js +0 -6
- package/templates/Gjs/ui/components/automountManager.d.ts +0 -8
- package/templates/Gjs/ui/components/automountManager.js +0 -6
- package/templates/Gjs/ui/components/autorunManager.d.ts +0 -8
- package/templates/Gjs/ui/components/autorunManager.js +0 -6
- package/templates/Gjs/ui/components/index.d.ts +0 -6
- package/templates/Gjs/ui/components/index.js +0 -6
- package/templates/Gjs/ui/components/keyring.d.ts +0 -19
- package/templates/Gjs/ui/components/keyring.js +0 -6
- package/templates/Gjs/ui/components/networkAgent.d.ts +0 -10
- package/templates/Gjs/ui/components/networkAgent.js +0 -6
- package/templates/Gjs/ui/components/polkitAgent.d.ts +0 -19
- package/templates/Gjs/ui/components/polkitAgent.js +0 -6
- package/templates/Gjs/ui/components/telepathyClient.d.ts +0 -10
- package/templates/Gjs/ui/components/telepathyClient.js +0 -6
- package/templates/Gjs/ui/dialog.d.ts +0 -78
- package/templates/Gjs/ui/dialog.js +0 -6
- package/templates/Gjs/ui/dnd.d.ts +0 -127
- package/templates/Gjs/ui/dnd.js +0 -6
- package/templates/Gjs/ui/iconGrid.d.ts +0 -172
- package/templates/Gjs/ui/iconGrid.js +0 -6
- package/templates/Gjs/ui/layout.d.ts +0 -311
- package/templates/Gjs/ui/layout.js +0 -6
- package/templates/Gjs/ui/main.d.ts +0 -215
- package/templates/Gjs/ui/main.js +0 -6
- package/templates/Gjs/ui/messageList.d.ts +0 -113
- package/templates/Gjs/ui/messageList.js +0 -6
- package/templates/Gjs/ui/messageTray.d.ts +0 -423
- package/templates/Gjs/ui/messageTray.js +0 -6
- package/templates/Gjs/ui/modalDialog.d.ts +0 -96
- package/templates/Gjs/ui/modalDialog.js +0 -6
- package/templates/Gjs/ui/mpris.d.ts +0 -78
- package/templates/Gjs/ui/mpris.js +0 -6
- package/templates/Gjs/ui/notificationDaemon.d.ts +0 -5
- package/templates/Gjs/ui/notificationDaemon.js +0 -6
- package/templates/Gjs/ui/panel.d.ts +0 -65
- package/templates/Gjs/ui/panel.js +0 -6
- package/templates/Gjs/ui/panelMenu.d.ts +0 -51
- package/templates/Gjs/ui/panelMenu.js +0 -6
- package/templates/Gjs/ui/popupMenu.d.ts +0 -228
- package/templates/Gjs/ui/popupMenu.js +0 -6
- package/templates/Gjs/ui/ripples.d.ts +0 -44
- package/templates/Gjs/ui/ripples.js +0 -6
- package/templates/Gjs/ui/search.d.ts +0 -158
- package/templates/Gjs/ui/search.js +0 -6
- package/templates/Gjs/ui/switcherPopup.d.ts +0 -107
- package/templates/Gjs/ui/switcherPopup.js +0 -6
- package/templates/Gjs/ui/userWidget.d.ts +0 -13
- package/templates/Gjs/ui/userWidget.js +0 -6
- package/templates/node-gtk/index.d.ts +0 -40
- /package/templates/{Cogl-2.0.d.ts → cogl-2-0.d.ts} +0 -0
- /package/templates/{Granite-1.0.d.ts → granite-1.0.d.ts} +0 -0
- /package/templates/{Granite-7.0.d.ts → granite-7.0.d.ts} +0 -0
- /package/templates/{GstBase-0.10.d.ts → gstbase-0.10.d.ts} +0 -0
- /package/templates/node-gtk/{GObject-2.0.d.ts → gobject-2.0.d.ts} +0 -0
- /package/templates/{RygelServer-2.6.d.ts → rygelserver-2.6.d.ts} +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* Type Definitions for node-gtk (https://github.com/romgrk/node-gtk)
|
|
5
|
-
*
|
|
6
|
-
* These type definitions are automatically generated, do not edit them by hand.
|
|
7
|
-
* If you found a bug fix it in <%= APP_NAME %> itself or create a bug report on <%= APP_SOURCE %>
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
<%_ for (const girModule of girModules) { _%>
|
|
11
|
-
<%_ if (buildType === 'lib') { _%>
|
|
12
|
-
<% if(noNamespace){ %>
|
|
13
|
-
import type * as <%= girModule.importName %> from './<%= girModule.packageName %>.js';
|
|
14
|
-
<% } else { %>
|
|
15
|
-
import type <%= girModule.importName %> from "./<%= girModule.packageName %>.js";
|
|
16
|
-
<% } %>
|
|
17
|
-
<%_ } else if (buildType === 'types') { _%>
|
|
18
|
-
import type <%= girModule.importName %> from "./<%= girModule.packageName %>.js";
|
|
19
|
-
<%_ } _%>
|
|
20
|
-
<%_ } _%>
|
|
21
|
-
|
|
22
|
-
<%_ if (buildType === 'types') { _%>
|
|
23
|
-
declare module 'node-gtk' {
|
|
24
|
-
<%_ } _%>
|
|
25
|
-
export function require(ns: string, ver?: string): any;
|
|
26
|
-
<%_ for (const girModule of girModules) { _%>
|
|
27
|
-
export function require(ns: '<%= girModule.namespace %>', ver: '<%= girModule.version %>'): typeof <%= girModule.importName %>;
|
|
28
|
-
<%_ } _%>
|
|
29
|
-
export function startLoop(): void;
|
|
30
|
-
export function registerClass(object: any): void
|
|
31
|
-
|
|
32
|
-
declare const gi: {
|
|
33
|
-
require: typeof require,
|
|
34
|
-
startLoop: typeof startLoop,
|
|
35
|
-
registerClass: typeof registerClass,
|
|
36
|
-
}
|
|
37
|
-
export default gi
|
|
38
|
-
<%_ if (buildType === 'types') { _%>
|
|
39
|
-
}
|
|
40
|
-
<%_ } _%>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|