@ts-for-gir/lib 3.0.0-beta.11
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/README.md +22 -0
- package/lib/conflict-resolver.d.ts +155 -0
- package/lib/conflict-resolver.js +1103 -0
- package/lib/conflict-resolver.js.map +1 -0
- package/lib/constants.d.ts +18 -0
- package/lib/constants.js +23 -0
- package/lib/constants.js.map +1 -0
- package/lib/dependency-manager.d.ts +34 -0
- package/lib/dependency-manager.js +78 -0
- package/lib/dependency-manager.js.map +1 -0
- package/lib/gir-factory.d.ts +52 -0
- package/lib/gir-factory.js +376 -0
- package/lib/gir-factory.js.map +1 -0
- package/lib/gir-module.d.ts +259 -0
- package/lib/gir-module.js +2181 -0
- package/lib/gir-module.js.map +1 -0
- package/lib/index.d.ts +14 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/lib/injection/callbacks/gjs/Gio-2.0.d.ts +2 -0
- package/lib/injection/callbacks/gjs/Gio-2.0.js +36 -0
- package/lib/injection/callbacks/gjs/Gio-2.0.js.map +1 -0
- package/lib/injection/callbacks/gjs/index.d.ts +2 -0
- package/lib/injection/callbacks/gjs/index.js +3 -0
- package/lib/injection/callbacks/gjs/index.js.map +1 -0
- package/lib/injection/callbacks/index.d.ts +4 -0
- package/lib/injection/callbacks/index.js +4 -0
- package/lib/injection/callbacks/index.js.map +1 -0
- package/lib/injection/callbacks/node-gtk/index.d.ts +2 -0
- package/lib/injection/callbacks/node-gtk/index.js +2 -0
- package/lib/injection/callbacks/node-gtk/index.js.map +1 -0
- 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/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/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/index.d.ts +2 -0
- package/lib/injection/classes/gjs/index.js +5 -0
- package/lib/injection/classes/gjs/index.js.map +1 -0
- package/lib/injection/classes/index.d.ts +4 -0
- package/lib/injection/classes/index.js +5 -0
- package/lib/injection/classes/index.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/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/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/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/injection/classes/node-gtk/index.d.ts +2 -0
- package/lib/injection/classes/node-gtk/index.js +19 -0
- package/lib/injection/classes/node-gtk/index.js.map +1 -0
- package/lib/injection/index.d.ts +3 -0
- package/lib/injection/index.js +4 -0
- package/lib/injection/index.js.map +1 -0
- package/lib/injection/injector.d.ts +17 -0
- package/lib/injection/injector.js +139 -0
- package/lib/injection/injector.js.map +1 -0
- package/lib/logger.d.ts +36 -0
- package/lib/logger.js +137 -0
- package/lib/logger.js.map +1 -0
- package/lib/messages.d.ts +31 -0
- package/lib/messages.js +46 -0
- package/lib/messages.js.map +1 -0
- package/lib/symtable.d.ts +24 -0
- package/lib/symtable.js +63 -0
- package/lib/symtable.js.map +1 -0
- package/lib/template-processor.d.ts +74 -0
- package/lib/template-processor.js +165 -0
- package/lib/template-processor.js.map +1 -0
- package/lib/transformation.d.ts +156 -0
- package/lib/transformation.js +524 -0
- package/lib/transformation.js.map +1 -0
- package/lib/types/answer-version.d.ts +4 -0
- package/lib/types/answer-version.js +2 -0
- package/lib/types/answer-version.js.map +1 -0
- package/lib/types/build-type.d.ts +1 -0
- package/lib/types/build-type.js +2 -0
- package/lib/types/build-type.js.map +1 -0
- package/lib/types/class-parent.d.ts +13 -0
- package/lib/types/class-parent.js +2 -0
- package/lib/types/class-parent.js.map +1 -0
- package/lib/types/config-flags.d.ts +4 -0
- package/lib/types/config-flags.js +2 -0
- package/lib/types/config-flags.js.map +1 -0
- package/lib/types/conflict-child-element.d.ts +10 -0
- package/lib/types/conflict-child-element.js +2 -0
- package/lib/types/conflict-child-element.js.map +1 -0
- package/lib/types/conflict-grouped-element.d.ts +6 -0
- package/lib/types/conflict-grouped-element.js +2 -0
- package/lib/types/conflict-grouped-element.js.map +1 -0
- package/lib/types/conflict-grouped-elements.d.ts +4 -0
- package/lib/types/conflict-grouped-elements.js +2 -0
- package/lib/types/conflict-grouped-elements.js.map +1 -0
- package/lib/types/construct-name.d.ts +1 -0
- package/lib/types/construct-name.js +2 -0
- package/lib/types/construct-name.js.map +1 -0
- package/lib/types/dependency-map.d.ts +4 -0
- package/lib/types/dependency-map.js +2 -0
- package/lib/types/dependency-map.js.map +1 -0
- package/lib/types/dependency.d.ts +15 -0
- package/lib/types/dependency.js +2 -0
- package/lib/types/dependency.js.map +1 -0
- package/lib/types/environment.d.ts +1 -0
- package/lib/types/environment.js +2 -0
- package/lib/types/environment.js.map +1 -0
- package/lib/types/file-info.d.ts +14 -0
- package/lib/types/file-info.js +2 -0
- package/lib/types/file-info.js.map +1 -0
- package/lib/types/generate-config.d.ts +34 -0
- package/lib/types/generate-config.js +2 -0
- package/lib/types/generate-config.js.map +1 -0
- package/lib/types/gir-alias-element.d.ts +13 -0
- package/lib/types/gir-alias-element.js +2 -0
- package/lib/types/gir-alias-element.js.map +1 -0
- package/lib/types/gir-annotation.d.ts +9 -0
- package/lib/types/gir-annotation.js +2 -0
- package/lib/types/gir-annotation.js.map +1 -0
- package/lib/types/gir-any-element.d.ts +2 -0
- package/lib/types/gir-any-element.js +2 -0
- package/lib/types/gir-any-element.js.map +1 -0
- package/lib/types/gir-any-type.d.ts +5 -0
- package/lib/types/gir-any-type.js +2 -0
- package/lib/types/gir-any-type.js.map +1 -0
- package/lib/types/gir-array-type.d.ts +20 -0
- package/lib/types/gir-array-type.js +3 -0
- package/lib/types/gir-array-type.js.map +1 -0
- package/lib/types/gir-bitfield-element.d.ts +17 -0
- package/lib/types/gir-bitfield-element.js +2 -0
- package/lib/types/gir-bitfield-element.js.map +1 -0
- package/lib/types/gir-boolean.d.ts +1 -0
- package/lib/types/gir-boolean.js +2 -0
- package/lib/types/gir-boolean.js.map +1 -0
- package/lib/types/gir-boxed-element.d.ts +15 -0
- package/lib/types/gir-boxed-element.js +2 -0
- package/lib/types/gir-boxed-element.js.map +1 -0
- package/lib/types/gir-c-include.d.ts +7 -0
- package/lib/types/gir-c-include.js +2 -0
- package/lib/types/gir-c-include.js.map +1 -0
- package/lib/types/gir-callable-attrs.d.ts +15 -0
- package/lib/types/gir-callable-attrs.js +3 -0
- package/lib/types/gir-callable-attrs.js.map +1 -0
- package/lib/types/gir-callable-param-element.d.ts +30 -0
- package/lib/types/gir-callable-param-element.js +2 -0
- package/lib/types/gir-callable-param-element.js.map +1 -0
- package/lib/types/gir-callable-param.d.ts +7 -0
- package/lib/types/gir-callable-param.js +2 -0
- package/lib/types/gir-callable-param.js.map +1 -0
- package/lib/types/gir-callable-return.d.ts +22 -0
- package/lib/types/gir-callable-return.js +2 -0
- package/lib/types/gir-callable-return.js.map +1 -0
- package/lib/types/gir-callback-element.d.ts +15 -0
- package/lib/types/gir-callback-element.js +2 -0
- package/lib/types/gir-callback-element.js.map +1 -0
- package/lib/types/gir-class-element.d.ts +48 -0
- package/lib/types/gir-class-element.js +2 -0
- package/lib/types/gir-class-element.js.map +1 -0
- package/lib/types/gir-constant-element.d.ts +15 -0
- package/lib/types/gir-constant-element.js +2 -0
- package/lib/types/gir-constant-element.js.map +1 -0
- package/lib/types/gir-constructor-element.d.ts +8 -0
- package/lib/types/gir-constructor-element.js +2 -0
- package/lib/types/gir-constructor-element.js.map +1 -0
- package/lib/types/gir-direction.d.ts +5 -0
- package/lib/types/gir-direction.js +7 -0
- package/lib/types/gir-direction.js.map +1 -0
- package/lib/types/gir-doc-element.d.ts +68 -0
- package/lib/types/gir-doc-element.js +2 -0
- package/lib/types/gir-doc-element.js.map +1 -0
- package/lib/types/gir-enum-element.d.ts +19 -0
- package/lib/types/gir-enum-element.js +2 -0
- package/lib/types/gir-enum-element.js.map +1 -0
- package/lib/types/gir-field-element.d.ts +18 -0
- package/lib/types/gir-field-element.js +2 -0
- package/lib/types/gir-field-element.js.map +1 -0
- package/lib/types/gir-function-element.d.ts +8 -0
- package/lib/types/gir-function-element.js +2 -0
- package/lib/types/gir-function-element.js.map +1 -0
- package/lib/types/gir-implements.d.ts +8 -0
- package/lib/types/gir-implements.js +2 -0
- package/lib/types/gir-implements.js.map +1 -0
- package/lib/types/gir-include.d.ts +9 -0
- package/lib/types/gir-include.js +2 -0
- package/lib/types/gir-include.js.map +1 -0
- package/lib/types/gir-info-attrs.d.ts +13 -0
- package/lib/types/gir-info-attrs.js +2 -0
- package/lib/types/gir-info-attrs.js.map +1 -0
- package/lib/types/gir-info-elements.d.ts +5 -0
- package/lib/types/gir-info-elements.js +2 -0
- package/lib/types/gir-info-elements.js.map +1 -0
- package/lib/types/gir-instance-parameter.d.ts +21 -0
- package/lib/types/gir-instance-parameter.js +2 -0
- package/lib/types/gir-instance-parameter.js.map +1 -0
- package/lib/types/gir-interface-element.d.ts +31 -0
- package/lib/types/gir-interface-element.js +2 -0
- package/lib/types/gir-interface-element.js.map +1 -0
- package/lib/types/gir-member-element.d.ts +17 -0
- package/lib/types/gir-member-element.js +2 -0
- package/lib/types/gir-member-element.js.map +1 -0
- package/lib/types/gir-method-element.d.ts +13 -0
- package/lib/types/gir-method-element.js +2 -0
- package/lib/types/gir-method-element.js.map +1 -0
- package/lib/types/gir-module-resolved-by.d.ts +10 -0
- package/lib/types/gir-module-resolved-by.js +2 -0
- package/lib/types/gir-module-resolved-by.js.map +1 -0
- package/lib/types/gir-modules-grouped-map.d.ts +4 -0
- package/lib/types/gir-modules-grouped-map.js +2 -0
- package/lib/types/gir-modules-grouped-map.js.map +1 -0
- package/lib/types/gir-modules-grouped.d.ts +12 -0
- package/lib/types/gir-modules-grouped.js +2 -0
- package/lib/types/gir-modules-grouped.js.map +1 -0
- package/lib/types/gir-namespace.d.ts +30 -0
- package/lib/types/gir-namespace.js +2 -0
- package/lib/types/gir-namespace.js.map +1 -0
- package/lib/types/gir-package.d.ts +7 -0
- package/lib/types/gir-package.js +2 -0
- package/lib/types/gir-package.js.map +1 -0
- package/lib/types/gir-prerequisite.d.ts +5 -0
- package/lib/types/gir-prerequisite.js +2 -0
- package/lib/types/gir-prerequisite.js.map +1 -0
- package/lib/types/gir-property-element.d.ts +21 -0
- package/lib/types/gir-property-element.js +2 -0
- package/lib/types/gir-property-element.js.map +1 -0
- package/lib/types/gir-record-element.d.ts +30 -0
- package/lib/types/gir-record-element.js +2 -0
- package/lib/types/gir-record-element.js.map +1 -0
- package/lib/types/gir-repository.d.ts +16 -0
- package/lib/types/gir-repository.js +2 -0
- package/lib/types/gir-repository.js.map +1 -0
- package/lib/types/gir-signal.d.ts +25 -0
- package/lib/types/gir-signal.js +2 -0
- package/lib/types/gir-signal.js.map +1 -0
- package/lib/types/gir-transfer-ownership-type.d.ts +5 -0
- package/lib/types/gir-transfer-ownership-type.js +7 -0
- package/lib/types/gir-transfer-ownership-type.js.map +1 -0
- package/lib/types/gir-transfer-ownership.d.ts +5 -0
- package/lib/types/gir-transfer-ownership.js +2 -0
- package/lib/types/gir-transfer-ownership.js.map +1 -0
- package/lib/types/gir-type.d.ts +14 -0
- package/lib/types/gir-type.js +2 -0
- package/lib/types/gir-type.js.map +1 -0
- package/lib/types/gir-union-element.d.ts +22 -0
- package/lib/types/gir-union-element.js +2 -0
- package/lib/types/gir-union-element.js.map +1 -0
- package/lib/types/gir-unparsed-number.d.ts +2 -0
- package/lib/types/gir-unparsed-number.js +2 -0
- package/lib/types/gir-unparsed-number.js.map +1 -0
- package/lib/types/gir-var-args.d.ts +5 -0
- package/lib/types/gir-var-args.js +2 -0
- package/lib/types/gir-var-args.js.map +1 -0
- package/lib/types/gir-virtual-method.d.ts +10 -0
- package/lib/types/gir-virtual-method.js +2 -0
- package/lib/types/gir-virtual-method.js.map +1 -0
- package/lib/types/index.d.ts +119 -0
- package/lib/types/index.js +120 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/inheritance-table.d.ts +3 -0
- package/lib/types/inheritance-table.js +2 -0
- package/lib/types/inheritance-table.js.map +1 -0
- package/lib/types/injection-callback.d.ts +16 -0
- package/lib/types/injection-callback.js +2 -0
- package/lib/types/injection-callback.js.map +1 -0
- package/lib/types/injection-class.d.ts +25 -0
- package/lib/types/injection-class.js +2 -0
- package/lib/types/injection-class.js.map +1 -0
- package/lib/types/injection-function.d.ts +7 -0
- package/lib/types/injection-function.js +2 -0
- package/lib/types/injection-function.js.map +1 -0
- package/lib/types/injection-generic-parameter.d.ts +2 -0
- package/lib/types/injection-generic-parameter.js +2 -0
- package/lib/types/injection-generic-parameter.js.map +1 -0
- package/lib/types/injection-instance-parameter.d.ts +2 -0
- package/lib/types/injection-instance-parameter.js +2 -0
- package/lib/types/injection-instance-parameter.js.map +1 -0
- package/lib/types/injection-parameter.d.ts +8 -0
- package/lib/types/injection-parameter.js +2 -0
- package/lib/types/injection-parameter.js.map +1 -0
- package/lib/types/injection-property.d.ts +4 -0
- package/lib/types/injection-property.js +2 -0
- package/lib/types/injection-property.js.map +1 -0
- package/lib/types/injection-type.d.ts +2 -0
- package/lib/types/injection-type.js +2 -0
- package/lib/types/injection-type.js.map +1 -0
- package/lib/types/injection.d.ts +5 -0
- package/lib/types/injection.js +2 -0
- package/lib/types/injection.js.map +1 -0
- package/lib/types/local-name-check.d.ts +4 -0
- package/lib/types/local-name-check.js +2 -0
- package/lib/types/local-name-check.js.map +1 -0
- package/lib/types/local-name-type.d.ts +1 -0
- package/lib/types/local-name-type.js +2 -0
- package/lib/types/local-name-type.js.map +1 -0
- package/lib/types/local-name.d.ts +7 -0
- package/lib/types/local-name.js +2 -0
- package/lib/types/local-name.js.map +1 -0
- package/lib/types/local-names.d.ts +4 -0
- package/lib/types/local-names.js +2 -0
- package/lib/types/local-names.js.map +1 -0
- package/lib/types/module-type.d.ts +1 -0
- package/lib/types/module-type.js +2 -0
- package/lib/types/module-type.js.map +1 -0
- package/lib/types/parsed-gir.d.ts +4 -0
- package/lib/types/parsed-gir.js +2 -0
- package/lib/types/parsed-gir.js.map +1 -0
- package/lib/types/part-of-class.d.ts +7 -0
- package/lib/types/part-of-class.js +2 -0
- package/lib/types/part-of-class.js.map +1 -0
- package/lib/types/part-of-module.d.ts +6 -0
- package/lib/types/part-of-module.js +2 -0
- package/lib/types/part-of-module.js.map +1 -0
- package/lib/types/promisify-func.d.ts +7 -0
- package/lib/types/promisify-func.js +2 -0
- package/lib/types/promisify-func.js.map +1 -0
- package/lib/types/resolve-type.d.ts +4 -0
- package/lib/types/resolve-type.js +6 -0
- package/lib/types/resolve-type.js.map +1 -0
- package/lib/types/sym-table-items.d.ts +4 -0
- package/lib/types/sym-table-items.js +2 -0
- package/lib/types/sym-table-items.js.map +1 -0
- package/lib/types/transformation-case.d.ts +1 -0
- package/lib/types/transformation-case.js +2 -0
- package/lib/types/transformation-case.js.map +1 -0
- package/lib/types/transformations.d.ts +11 -0
- package/lib/types/transformations.js +2 -0
- package/lib/types/transformations.js.map +1 -0
- package/lib/types/ts-alias.d.ts +10 -0
- package/lib/types/ts-alias.js +2 -0
- package/lib/types/ts-alias.js.map +1 -0
- package/lib/types/ts-callback-interface.d.ts +10 -0
- package/lib/types/ts-callback-interface.js +2 -0
- package/lib/types/ts-callback-interface.js.map +1 -0
- package/lib/types/ts-callback.d.ts +17 -0
- package/lib/types/ts-callback.js +2 -0
- package/lib/types/ts-callback.js.map +1 -0
- package/lib/types/ts-class.d.ts +85 -0
- package/lib/types/ts-class.js +2 -0
- package/lib/types/ts-class.js.map +1 -0
- package/lib/types/ts-doc-tag.d.ts +21 -0
- package/lib/types/ts-doc-tag.js +2 -0
- package/lib/types/ts-doc-tag.js.map +1 -0
- package/lib/types/ts-doc.d.ts +16 -0
- package/lib/types/ts-doc.js +2 -0
- package/lib/types/ts-doc.js.map +1 -0
- package/lib/types/ts-enum.d.ts +12 -0
- package/lib/types/ts-enum.js +2 -0
- package/lib/types/ts-enum.js.map +1 -0
- package/lib/types/ts-function.d.ts +55 -0
- package/lib/types/ts-function.js +2 -0
- package/lib/types/ts-function.js.map +1 -0
- package/lib/types/ts-generic-parameter.d.ts +8 -0
- package/lib/types/ts-generic-parameter.js +2 -0
- package/lib/types/ts-generic-parameter.js.map +1 -0
- package/lib/types/ts-instance-parameter.d.ts +4 -0
- package/lib/types/ts-instance-parameter.js +2 -0
- package/lib/types/ts-instance-parameter.js.map +1 -0
- package/lib/types/ts-member.d.ts +10 -0
- package/lib/types/ts-member.js +2 -0
- package/lib/types/ts-member.js.map +1 -0
- package/lib/types/ts-method.d.ts +5 -0
- package/lib/types/ts-method.js +2 -0
- package/lib/types/ts-method.js.map +1 -0
- package/lib/types/ts-parameter.d.ts +15 -0
- package/lib/types/ts-parameter.js +2 -0
- package/lib/types/ts-parameter.js.map +1 -0
- package/lib/types/ts-property.d.ts +17 -0
- package/lib/types/ts-property.js +2 -0
- package/lib/types/ts-property.js.map +1 -0
- package/lib/types/ts-signal.d.ts +17 -0
- package/lib/types/ts-signal.js +2 -0
- package/lib/types/ts-signal.js.map +1 -0
- package/lib/types/ts-type-name.d.ts +1 -0
- package/lib/types/ts-type-name.js +2 -0
- package/lib/types/ts-type-name.js.map +1 -0
- package/lib/types/ts-type-separator.d.ts +1 -0
- package/lib/types/ts-type-separator.js +2 -0
- package/lib/types/ts-type-separator.js.map +1 -0
- package/lib/types/ts-type.d.ts +26 -0
- package/lib/types/ts-type.js +2 -0
- package/lib/types/ts-type.js.map +1 -0
- package/lib/types/ts-var.d.ts +17 -0
- package/lib/types/ts-var.js +2 -0
- package/lib/types/ts-var.js.map +1 -0
- package/lib/types/type-gir-alias.d.ts +2 -0
- package/lib/types/type-gir-alias.js +2 -0
- package/lib/types/type-gir-alias.js.map +1 -0
- package/lib/types/type-gir-class.d.ts +2 -0
- package/lib/types/type-gir-class.js +2 -0
- package/lib/types/type-gir-class.js.map +1 -0
- package/lib/types/type-gir-element.d.ts +3 -0
- package/lib/types/type-gir-element.js +2 -0
- package/lib/types/type-gir-element.js.map +1 -0
- package/lib/types/type-gir-enumeration-member.d.ts +2 -0
- package/lib/types/type-gir-enumeration-member.js +2 -0
- package/lib/types/type-gir-enumeration-member.js.map +1 -0
- package/lib/types/type-gir-enumeration.d.ts +2 -0
- package/lib/types/type-gir-enumeration.js +2 -0
- package/lib/types/type-gir-enumeration.js.map +1 -0
- package/lib/types/type-gir-function.d.ts +1 -0
- package/lib/types/type-gir-function.js +2 -0
- package/lib/types/type-gir-function.js.map +1 -0
- package/lib/types/type-gir-interface.d.ts +2 -0
- package/lib/types/type-gir-interface.js +2 -0
- package/lib/types/type-gir-interface.js.map +1 -0
- package/lib/types/type-gir-method.d.ts +2 -0
- package/lib/types/type-gir-method.js +2 -0
- package/lib/types/type-gir-method.js.map +1 -0
- package/lib/types/type-gir-parameter.d.ts +1 -0
- package/lib/types/type-gir-parameter.js +2 -0
- package/lib/types/type-gir-parameter.js.map +1 -0
- package/lib/types/type-gir-property.d.ts +2 -0
- package/lib/types/type-gir-property.js +2 -0
- package/lib/types/type-gir-property.js.map +1 -0
- package/lib/types/type-gir-variable.d.ts +1 -0
- package/lib/types/type-gir-variable.js +2 -0
- package/lib/types/type-gir-variable.js.map +1 -0
- package/lib/types/type-ts-element.d.ts +3 -0
- package/lib/types/type-ts-element.js +2 -0
- package/lib/types/type-ts-element.js.map +1 -0
- package/lib/types/type-ts-enumeration-member.d.ts +2 -0
- package/lib/types/type-ts-enumeration-member.js +2 -0
- package/lib/types/type-ts-enumeration-member.js.map +1 -0
- package/lib/types/type-ts-function.d.ts +1 -0
- package/lib/types/type-ts-function.js +2 -0
- package/lib/types/type-ts-function.js.map +1 -0
- package/lib/types/type-ts-property.d.ts +1 -0
- package/lib/types/type-ts-property.js +2 -0
- package/lib/types/type-ts-property.js.map +1 -0
- package/lib/types/user-config-load-result.d.ts +6 -0
- package/lib/types/user-config-load-result.js +2 -0
- package/lib/types/user-config-load-result.js.map +1 -0
- package/lib/types/user-config.d.ts +42 -0
- package/lib/types/user-config.js +2 -0
- package/lib/types/user-config.js.map +1 -0
- package/lib/utils.d.ts +262 -0
- package/lib/utils.js +366 -0
- package/lib/utils.js.map +1 -0
- package/package.json +68 -0
- package/templates/Cogl-2.0.d.ts +0 -0
- package/templates/Gjs/GObject-2.0.d.ts +238 -0
- package/templates/Gjs/Gio-2.0.d.ts +101 -0
- package/templates/Gjs/Gjs.d.ts +204 -0
- package/templates/Gjs/Gjs.js +21 -0
- package/templates/Gjs/GnomeShell.d.ts +154 -0
- package/templates/Gjs/GnomeShell.js +10 -0
- package/templates/Gjs/index.d.ts +594 -0
- package/templates/Gjs/index.js +4 -0
- package/templates/Gjs/misc/dbusUtils.d.ts +15 -0
- package/templates/Gjs/misc/dbusUtils.js +6 -0
- package/templates/Gjs/misc/extensionUtils.d.ts +99 -0
- package/templates/Gjs/misc/extensionUtils.js +6 -0
- package/templates/Gjs/misc/fileUtils.d.ts +51 -0
- package/templates/Gjs/misc/fileUtils.js +6 -0
- package/templates/Gjs/misc/gnomeSession.d.ts +74 -0
- package/templates/Gjs/misc/gnomeSession.js +6 -0
- package/templates/Gjs/misc/parentalControlsManager.d.ts +42 -0
- package/templates/Gjs/misc/parentalControlsManager.js +6 -0
- package/templates/Gjs/misc/signals.d.ts +15 -0
- package/templates/Gjs/misc/signals.js +6 -0
- package/templates/Gjs/module.d.ts +6 -0
- package/templates/Gjs/module.js +16 -0
- package/templates/Gjs/tsconfig.alias.json +10 -0
- package/templates/Gjs/ui/accessDialog.d.ts +19 -0
- package/templates/Gjs/ui/accessDialog.js +6 -0
- package/templates/Gjs/ui/altTab.d.ts +124 -0
- package/templates/Gjs/ui/altTab.js +6 -0
- package/templates/Gjs/ui/animation.d.ts +58 -0
- package/templates/Gjs/ui/animation.js +6 -0
- package/templates/Gjs/ui/appDisplay.d.ts +204 -0
- package/templates/Gjs/ui/appDisplay.js +6 -0
- package/templates/Gjs/ui/appFavorites.d.ts +34 -0
- package/templates/Gjs/ui/appFavorites.js +6 -0
- package/templates/Gjs/ui/appMenu.d.ts +74 -0
- package/templates/Gjs/ui/appMenu.js +6 -0
- package/templates/Gjs/ui/audioDeviceSelection.d.ts +51 -0
- package/templates/Gjs/ui/audioDeviceSelection.js +6 -0
- package/templates/Gjs/ui/background.d.ts +255 -0
- package/templates/Gjs/ui/background.js +5 -0
- package/templates/Gjs/ui/backgroundMenu.d.ts +19 -0
- package/templates/Gjs/ui/backgroundMenu.js +5 -0
- package/templates/Gjs/ui/barLevel.d.ts +42 -0
- package/templates/Gjs/ui/barLevel.js +5 -0
- package/templates/Gjs/ui/boxpointer.d.ts +103 -0
- package/templates/Gjs/ui/boxpointer.js +5 -0
- package/templates/Gjs/ui/calendar.d.ts +261 -0
- package/templates/Gjs/ui/calendar.js +5 -0
- package/templates/Gjs/ui/checkBox.d.ts +22 -0
- package/templates/Gjs/ui/checkBox.js +5 -0
- package/templates/Gjs/ui/closeDialog.d.ts +40 -0
- package/templates/Gjs/ui/closeDialog.js +5 -0
- package/templates/Gjs/ui/components/__init__.d.ts +9 -0
- package/templates/Gjs/ui/components/__init__.js +6 -0
- package/templates/Gjs/ui/components/automountManager.d.ts +8 -0
- package/templates/Gjs/ui/components/automountManager.js +6 -0
- package/templates/Gjs/ui/components/autorunManager.d.ts +8 -0
- package/templates/Gjs/ui/components/autorunManager.js +6 -0
- package/templates/Gjs/ui/components/index.d.ts +6 -0
- package/templates/Gjs/ui/components/index.js +6 -0
- package/templates/Gjs/ui/components/keyring.d.ts +19 -0
- package/templates/Gjs/ui/components/keyring.js +6 -0
- package/templates/Gjs/ui/components/networkAgent.d.ts +10 -0
- package/templates/Gjs/ui/components/networkAgent.js +6 -0
- package/templates/Gjs/ui/components/polkitAgent.d.ts +19 -0
- package/templates/Gjs/ui/components/polkitAgent.js +6 -0
- package/templates/Gjs/ui/components/telepathyClient.d.ts +10 -0
- package/templates/Gjs/ui/components/telepathyClient.js +6 -0
- package/templates/Gjs/ui/dialog.d.ts +78 -0
- package/templates/Gjs/ui/dialog.js +6 -0
- package/templates/Gjs/ui/dnd.d.ts +127 -0
- package/templates/Gjs/ui/dnd.js +6 -0
- package/templates/Gjs/ui/iconGrid.d.ts +172 -0
- package/templates/Gjs/ui/iconGrid.js +6 -0
- package/templates/Gjs/ui/layout.d.ts +311 -0
- package/templates/Gjs/ui/layout.js +6 -0
- package/templates/Gjs/ui/main.d.ts +215 -0
- package/templates/Gjs/ui/main.js +6 -0
- package/templates/Gjs/ui/messageList.d.ts +113 -0
- package/templates/Gjs/ui/messageList.js +6 -0
- package/templates/Gjs/ui/messageTray.d.ts +423 -0
- package/templates/Gjs/ui/messageTray.js +6 -0
- package/templates/Gjs/ui/modalDialog.d.ts +96 -0
- package/templates/Gjs/ui/modalDialog.js +6 -0
- package/templates/Gjs/ui/mpris.d.ts +78 -0
- package/templates/Gjs/ui/mpris.js +6 -0
- package/templates/Gjs/ui/notificationDaemon.d.ts +5 -0
- package/templates/Gjs/ui/notificationDaemon.js +6 -0
- package/templates/Gjs/ui/panel.d.ts +65 -0
- package/templates/Gjs/ui/panel.js +6 -0
- package/templates/Gjs/ui/panelMenu.d.ts +51 -0
- package/templates/Gjs/ui/panelMenu.js +6 -0
- package/templates/Gjs/ui/popupMenu.d.ts +228 -0
- package/templates/Gjs/ui/popupMenu.js +6 -0
- package/templates/Gjs/ui/ripples.d.ts +44 -0
- package/templates/Gjs/ui/ripples.js +6 -0
- package/templates/Gjs/ui/search.d.ts +158 -0
- package/templates/Gjs/ui/search.js +6 -0
- package/templates/Gjs/ui/switcherPopup.d.ts +107 -0
- package/templates/Gjs/ui/switcherPopup.js +6 -0
- package/templates/Gjs/ui/userWidget.d.ts +13 -0
- package/templates/Gjs/ui/userWidget.js +6 -0
- package/templates/Granite-1.0.d.ts +7 -0
- package/templates/Granite-7.0.d.ts +7 -0
- package/templates/GstBase-0.10.d.ts +5 -0
- package/templates/RygelServer-2.6.d.ts +3 -0
- package/templates/node-gtk/GObject-2.0.d.ts +57 -0
- package/templates/node-gtk/index.d.ts +40 -0
- package/templates/node-gtk/index.js +9 -0
- package/templates/node-gtk/module.d.ts +6 -0
- package/templates/node-gtk/module.js +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-doc-element.js","sourceRoot":"","sources":["../../src/types/gir-doc-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { GirFunctionElement, GirMemberElement, GirInfoAttrs, GirInfoElements, PartOfModule, TsEnum } from './index.js';
|
|
2
|
+
export interface GirEnumElement extends PartOfModule, GirInfoElements {
|
|
3
|
+
/** element defining a enumeration type similar to enum in C/C++ */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the enumeration */
|
|
6
|
+
name: string;
|
|
7
|
+
/** corresponding C type of the enumeration type */
|
|
8
|
+
'c:type': string;
|
|
9
|
+
/** GObject compatible type name */
|
|
10
|
+
'glib:type-name'?: string;
|
|
11
|
+
/** function to retrieve the GObject compatible type of the element */
|
|
12
|
+
'glib:get-type'?: string;
|
|
13
|
+
/** Error domain of this enumeration in a stringified form */
|
|
14
|
+
'glib:error-domain'?: string;
|
|
15
|
+
};
|
|
16
|
+
member?: GirMemberElement[];
|
|
17
|
+
function?: GirFunctionElement[];
|
|
18
|
+
_tsData?: TsEnum;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-enum-element.js","sourceRoot":"","sources":["../../src/types/gir-enum-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GirInfoElements, GirAnyType, GirInfoAttrs, GirBoolean, GirUnparsedNumber, GirCallbackElement, PartOfClass, TsVar } from './index.js';
|
|
2
|
+
export interface GirFieldElement extends PartOfClass, GirInfoElements, GirAnyType {
|
|
3
|
+
/** A field of struct of union structure, that is a C bit field, that is a fixed length in bits variable */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the field */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Binary attribute, true if the field is writeable */
|
|
8
|
+
writable?: GirBoolean;
|
|
9
|
+
/** Binary attribute, true if the field is readable */
|
|
10
|
+
readable?: GirBoolean;
|
|
11
|
+
/** Binary attribute, true if the field is private to the structure or has public ("0") visibility */
|
|
12
|
+
private?: GirBoolean;
|
|
13
|
+
/** number of bits of the field */
|
|
14
|
+
bits?: GirUnparsedNumber; /** integer */
|
|
15
|
+
};
|
|
16
|
+
callback?: GirCallbackElement[];
|
|
17
|
+
_tsData?: TsVar;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-field-element.js","sourceRoot":"","sources":["../../src/types/gir-field-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { GirCallableAttrs, GirInfoAttrs, GirDocElement, PartOfClass, GirCallableParams, GirCallableReturn, TsMethod } from './index.js';
|
|
2
|
+
export interface GirFunctionElement extends PartOfClass, GirDocElement {
|
|
3
|
+
/** element defining a standalone function (as usual in most programming languages) */
|
|
4
|
+
$: GirInfoAttrs & GirCallableAttrs;
|
|
5
|
+
parameters?: [GirCallableParams];
|
|
6
|
+
'return-value'?: GirCallableReturn[];
|
|
7
|
+
_tsData?: TsMethod;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-function-element.js","sourceRoot":"","sources":["../../src/types/gir-function-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GirInfoAttrs } from './index.js';
|
|
2
|
+
export interface GirImplements {
|
|
3
|
+
/** Give the name of the interface it implements. This element is generally used within a class element */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the interface implemented by a class */
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-implements.js","sourceRoot":"","sources":["../../src/types/gir-implements.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface GirInclude {
|
|
2
|
+
/** Dependant namespace to include with the current namespace. For example, Gtk will need the namespace GLib */
|
|
3
|
+
$: {
|
|
4
|
+
/** name of the dependant namespace to include */
|
|
5
|
+
name: string;
|
|
6
|
+
/** version of the dependant namespace to use */
|
|
7
|
+
version?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-include.js","sourceRoot":"","sources":["../../src/types/gir-include.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GirBoolean } from './gir-boolean';
|
|
2
|
+
export interface GirInfoAttrs {
|
|
3
|
+
/** Binary attribute which is GirBoolean(false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code */
|
|
4
|
+
introspectable?: GirBoolean;
|
|
5
|
+
/** Binary attribute which isBinaryOption (true) if the element has been deprecated */
|
|
6
|
+
deprecated?: string;
|
|
7
|
+
/** Version number from which this element is deprecated */
|
|
8
|
+
'deprecated-version'?: string;
|
|
9
|
+
/** version number of an element */
|
|
10
|
+
version?: string;
|
|
11
|
+
/** give the statibility status of the element. Can take the values "Stable", "Unstable" or "Private" */
|
|
12
|
+
stability?: string[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-info-attrs.js","sourceRoot":"","sources":["../../src/types/gir-info-attrs.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-info-elements.js","sourceRoot":"","sources":["../../src/types/gir-info-elements.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GirBoolean, GirAnyType, GirTransferOwnership, GirDirection, GirType, TsInstanceParameter } from './index.js';
|
|
2
|
+
/**
|
|
3
|
+
* instance-parameter is a parameter of a C function which is an instance of an existing object.
|
|
4
|
+
* So the callable is surely a method of a class, and this parameter points to the instance of the object.
|
|
5
|
+
* In C++, this would be equivalent to the pointer this which is not passed to the method, in Python it's equivalent to self.
|
|
6
|
+
**/
|
|
7
|
+
export interface GirInstanceParameter extends GirAnyType {
|
|
8
|
+
$: Partial<{
|
|
9
|
+
/** name of the instance-parameter */ name: string;
|
|
10
|
+
/** Binary attribute, true if the parameter can have a null value */
|
|
11
|
+
nullable?: GirBoolean;
|
|
12
|
+
/** @deprecated Replaced by nullable and optional */
|
|
13
|
+
'allow-none'?: GirBoolean;
|
|
14
|
+
/** direction of the parameter. "in" goes into the callable, "out" for output parameters from the callable (reference in C++, var in Pascal, etc...), "inout" for both (like a pre-allocated structure which will be filled-in by the callable) */
|
|
15
|
+
direction?: GirDirection;
|
|
16
|
+
/** Binary attribute, true if the caller should allocate the parameter before calling the callable */
|
|
17
|
+
'caller-allocates'?: GirBoolean;
|
|
18
|
+
}> & Partial<GirTransferOwnership>;
|
|
19
|
+
type?: GirType[];
|
|
20
|
+
_tsData?: TsInstanceParameter;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-instance-parameter.js","sourceRoot":"","sources":["../../src/types/gir-instance-parameter.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { GirInfoElements, GirPrerequisite, GirImplements, GirConstructorElement, GirMethodElement, GirVirtualMethodElement, GirFunctionElement, GirFieldElement, GirPropertyElement, GirCallbackElement, GirConstantElement, GirSignalElement, PartOfModule, TsClass } from './index.js';
|
|
2
|
+
export interface GirInterfaceElement extends PartOfModule, GirInfoElements {
|
|
3
|
+
/** Abstract interface to other classes */
|
|
4
|
+
$: {
|
|
5
|
+
/** name of the interface */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Type name compatible with the GObject type system */
|
|
8
|
+
'glib:type-name': string;
|
|
9
|
+
/** Function to get the GObject compatible type of the interface */
|
|
10
|
+
'glib:get-type': string;
|
|
11
|
+
/** prefix to filter out from C functions. For example, gtk_window_new will lose gtk_ */
|
|
12
|
+
'c:symbol-prefix'?: string;
|
|
13
|
+
/** Corresponding C type */
|
|
14
|
+
'c:type'?: string;
|
|
15
|
+
/** GObject compatible C structure defining the Interface */
|
|
16
|
+
'glib:type-struct'?: string;
|
|
17
|
+
};
|
|
18
|
+
prerequisite?: GirPrerequisite[];
|
|
19
|
+
implements?: GirImplements[];
|
|
20
|
+
function?: GirFunctionElement[];
|
|
21
|
+
constructors?: GirConstructorElement[];
|
|
22
|
+
method?: GirMethodElement[];
|
|
23
|
+
'virtual-method'?: GirVirtualMethodElement[];
|
|
24
|
+
field?: GirFieldElement[];
|
|
25
|
+
property?: GirPropertyElement[];
|
|
26
|
+
signal?: GirSignalElement[];
|
|
27
|
+
'glib:signal'?: GirSignalElement[];
|
|
28
|
+
callback?: GirCallbackElement[];
|
|
29
|
+
constant?: GirConstantElement[];
|
|
30
|
+
_tsData?: TsClass;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-interface-element.js","sourceRoot":"","sources":["../../src/types/gir-interface-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GirInfoElements, GirInfoAttrs, TsMember } from './index.js';
|
|
2
|
+
export interface GirMemberElement extends GirInfoElements {
|
|
3
|
+
/** element defining a member of a bit field or an enumeration */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the member */
|
|
6
|
+
name: string;
|
|
7
|
+
/** value of the member */
|
|
8
|
+
value: string;
|
|
9
|
+
/** corresponding C type of the member */
|
|
10
|
+
'c:identifier': string;
|
|
11
|
+
/** short nickname of the member (from GEnumValue/GFlagsValue) */
|
|
12
|
+
'glib:nick'?: string;
|
|
13
|
+
/** name of the member (from GEnumValue/GFlagsValue) */
|
|
14
|
+
'glib:name'?: string;
|
|
15
|
+
};
|
|
16
|
+
_tsData?: TsMember;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-member-element.js","sourceRoot":"","sources":["../../src/types/gir-member-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GirDocElement, GirInfoAttrs, GirCallableAttrs, GirCallableParams, GirCallableReturn, TsMethod, PartOfClass } from './index.js';
|
|
2
|
+
export interface GirMethodElement extends PartOfClass, GirDocElement {
|
|
3
|
+
/** element defining a method from a class */
|
|
4
|
+
$: GirInfoAttrs & GirCallableAttrs & {
|
|
5
|
+
/** The GObject property that is set by this method */
|
|
6
|
+
'glib:set-property': string;
|
|
7
|
+
/** The GObject property that is retrieved by this method */
|
|
8
|
+
'glib:get-property': string;
|
|
9
|
+
};
|
|
10
|
+
parameters?: [GirCallableParams];
|
|
11
|
+
'return-value'?: GirCallableReturn[];
|
|
12
|
+
_tsData?: TsMethod;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-method-element.js","sourceRoot":"","sources":["../../src/types/gir-method-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-module-resolved-by.js","sourceRoot":"","sources":["../../src/types/gir-module-resolved-by.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-modules-grouped-map.js","sourceRoot":"","sources":["../../src/types/gir-modules-grouped-map.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GirModuleResolvedBy } from './gir-module-resolved-by';
|
|
2
|
+
/**
|
|
3
|
+
* Grouped gir modules by basename like Gtk for Gtk-2.0, Gtk-3.0 and Gtk-4.0
|
|
4
|
+
*/
|
|
5
|
+
export interface GirModulesGrouped {
|
|
6
|
+
modules: GirModuleResolvedBy[];
|
|
7
|
+
hasConflict: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* E.g. Gtk
|
|
10
|
+
*/
|
|
11
|
+
namespace: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-modules-grouped.js","sourceRoot":"","sources":["../../src/types/gir-modules-grouped.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GirInfoAttrs, GirInterfaceElement, GirRecordElement, GirUnionElement, GirEnumElement, GirAliasElement, GirFunctionElement, GirClassElement, GirBitfieldElement, GirCallbackElement, GirConstantElement, GirAnnotation, GirBoxedElement } from './index.js';
|
|
2
|
+
/** Namespace which maps metadata entries to C functionality. This a similar concept to namespace in C++, but for GObject-based C libraries */
|
|
3
|
+
export interface GirNamespace {
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the namespace. For example, 'Gtk' (technically optional) */
|
|
6
|
+
name: string;
|
|
7
|
+
/** version number of the namespace (technically optional) */
|
|
8
|
+
version: string;
|
|
9
|
+
/** prefixes to filter out from C identifiers for data structures and types. For example, GtkWindow will be Window. If c:symbol-prefixes is not used, then this element is used for both */
|
|
10
|
+
'c:identifier-prefixes'?: string;
|
|
11
|
+
/** prefixes to filter out from C functions. For example, gtk_window_new will lose gtk_ */
|
|
12
|
+
'c:symbol-prefixes'?: string;
|
|
13
|
+
/** @deprecated the same as c:identifier-prefixes. Only used for backward compatibility */
|
|
14
|
+
'c:prefix'?: string;
|
|
15
|
+
/** Path to the shared library implementing the namespace. It can be a comma-separated list, with relative path only */
|
|
16
|
+
'shared-library'?: string;
|
|
17
|
+
};
|
|
18
|
+
alias?: GirAliasElement[];
|
|
19
|
+
class?: GirClassElement[];
|
|
20
|
+
interface?: GirInterfaceElement[];
|
|
21
|
+
record?: GirRecordElement[];
|
|
22
|
+
enumeration?: GirEnumElement[];
|
|
23
|
+
function?: GirFunctionElement[];
|
|
24
|
+
union?: GirUnionElement[];
|
|
25
|
+
bitfield?: GirBitfieldElement[];
|
|
26
|
+
callback?: GirCallbackElement[];
|
|
27
|
+
constant?: GirConstantElement[];
|
|
28
|
+
annotation?: GirAnnotation[];
|
|
29
|
+
['glib:boxed']?: GirBoxedElement[];
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-namespace.js","sourceRoot":"","sources":["../../src/types/gir-namespace.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-package.js","sourceRoot":"","sources":["../../src/types/gir-package.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-prerequisite.js","sourceRoot":"","sources":["../../src/types/gir-prerequisite.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GirBoolean, GirInfoAttrs, GirInfoElements, GirAnyType, GirTransferOwnership, PartOfClass, TsProperty } from './index.js';
|
|
2
|
+
export interface GirPropertyElement extends PartOfClass, GirInfoElements, GirAnyType {
|
|
3
|
+
/** Property, that is a variable or members with getter and setter functions */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the property */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Binary attribute, true if the property is writeable, that is it has a setter function */
|
|
8
|
+
writable?: GirBoolean;
|
|
9
|
+
/** Binary attribute, true if the property is readable, that is it has a getter function */
|
|
10
|
+
readable?: GirBoolean;
|
|
11
|
+
/** Binary attribute, true if the property will be set upon construction */
|
|
12
|
+
construct?: GirBoolean;
|
|
13
|
+
/** Binary attribute, true if the property can only be set upon construction */
|
|
14
|
+
'construct-only'?: GirBoolean;
|
|
15
|
+
/** The setter function for this property */
|
|
16
|
+
setter?: string;
|
|
17
|
+
/** The getter function for this property */
|
|
18
|
+
getter?: string;
|
|
19
|
+
} & Partial<GirTransferOwnership>;
|
|
20
|
+
_tsData?: TsProperty;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-property-element.js","sourceRoot":"","sources":["../../src/types/gir-property-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GirBoolean, GirInfoElements, GirInfoAttrs, GirFieldElement, GirFunctionElement, GirUnionElement, GirMethodElement, GirConstructorElement, GirPropertyElement, PartOfModule, TsClass } from './index.js';
|
|
2
|
+
export interface GirRecordElement extends PartOfModule, GirInfoElements {
|
|
3
|
+
/** Record definition, equivalent to a C struct, that is a simple structure, not a class */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the record */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Corresponding C type of the record */
|
|
8
|
+
'c:type'?: string;
|
|
9
|
+
/** Binary attribute to tell if the record is disguised, i.e. whether the c:type is a typedef that doesn't look like a pointer, but is one internally */
|
|
10
|
+
/** Its second meaning is "private" and is set when any typedef struct is parsed which doesn't also include a full struct with fields (https://gitlab.gnome.org/GNOME/gobject-introspection/issues/101) */
|
|
11
|
+
disguised?: GirBoolean;
|
|
12
|
+
/** GObject compatible C type of the record */
|
|
13
|
+
'glib:type-name'?: string;
|
|
14
|
+
/** Function to get the GObject compatible type of the record */
|
|
15
|
+
'glib:get-type'?: string;
|
|
16
|
+
/** prefix to filter out from C functions. For example, gtk_window_new will lose gtk_ */
|
|
17
|
+
'c:symbol-prefix'?: string;
|
|
18
|
+
/** Binary attribute to tell if the record is foreign, that is it is not available in a g-i supported library */
|
|
19
|
+
foreign?: GirBoolean;
|
|
20
|
+
/** Name of the GObject compatible gtype this record represents. If }, this record will be hidden from generated public APIs. */
|
|
21
|
+
'glib:is-gtype-struct-for'?: string;
|
|
22
|
+
};
|
|
23
|
+
field?: GirFieldElement[];
|
|
24
|
+
function?: GirFunctionElement[];
|
|
25
|
+
union?: GirUnionElement[];
|
|
26
|
+
method?: GirMethodElement[];
|
|
27
|
+
constructor?: GirConstructorElement[];
|
|
28
|
+
property?: GirPropertyElement[];
|
|
29
|
+
_tsData?: TsClass;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-record-element.js","sourceRoot":"","sources":["../../src/types/gir-record-element.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GirInclude, GirNamespace, GirCInclude, GirPackage } from './index.js';
|
|
2
|
+
/** Root node of a GIR repository. It contains namespaces, which can in turn be implemented in several libraries */
|
|
3
|
+
export interface GirRepository {
|
|
4
|
+
$: {
|
|
5
|
+
/** version number of the repository */
|
|
6
|
+
version?: string;
|
|
7
|
+
/** prefixes to filter out from C identifiers for data structures and types. For example, GtkWindow will be Window. If c:symbol-prefixes is not used, then this element is used for both */
|
|
8
|
+
'c:identifier-prefixes'?: string;
|
|
9
|
+
/** prefixes to filter out from C functions. For example, gtk_window_new will lose gtk_ */
|
|
10
|
+
'c:symbol-prefixes'?: string;
|
|
11
|
+
};
|
|
12
|
+
include?: GirInclude[];
|
|
13
|
+
'c:include': GirCInclude[];
|
|
14
|
+
package: GirPackage[];
|
|
15
|
+
namespace?: GirNamespace[];
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-repository.js","sourceRoot":"","sources":["../../src/types/gir-repository.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GirCallableReturn, GirBoolean, GirInfoAttrs, GirInfoElements, GirCallableParams, PartOfModule, GirClassElement, GirRecordElement, GirInterfaceElement, TsSignal } from './index.js';
|
|
2
|
+
export interface GirSignalElement extends PartOfModule, GirInfoElements {
|
|
3
|
+
/** A signal as defined in the GObject system (https://docs.gtk.org/gobject/concepts.html#signals) */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the signal */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Binary attribute, true if the signal has a detailed parameter (https://docs.gtk.org/gobject/concepts.html#the-detail-argument and https://docs.gtk.org/gobject/flags.SignalFlags.html) */
|
|
8
|
+
detailed?: GirBoolean;
|
|
9
|
+
/** When to run the signal during the 5 steps of signal emission (https://docs.gtk.org/gobject/concepts.html#signal-emission and https://docs.gtk.org/gobject/flags.SignalFlags.html) */
|
|
10
|
+
when?: 'first' | 'last' | 'cleanup';
|
|
11
|
+
/** Binary attribute, true if the signal can be freely emitted on alive objects from user code (https://docs.gtk.org/gobject/flags.SignalFlags.html) */
|
|
12
|
+
action?: GirBoolean;
|
|
13
|
+
/** Binary attribute, true if no emission hooks are supported for this signal (https://docs.gtk.org/gobject/flags.SignalFlags.html) */
|
|
14
|
+
'no-hooks'?: GirBoolean;
|
|
15
|
+
/** Binary attribute, true if signals emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted (https://docs.gtk.org/gobject/flags.SignalFlags.html) */
|
|
16
|
+
'no-recurse'?: GirBoolean;
|
|
17
|
+
};
|
|
18
|
+
parameters?: [GirCallableParams];
|
|
19
|
+
'return-value'?: GirCallableReturn[];
|
|
20
|
+
/**
|
|
21
|
+
* The class this function is defined in
|
|
22
|
+
*/
|
|
23
|
+
_class?: GirClassElement | GirRecordElement | GirInterfaceElement;
|
|
24
|
+
_tsData?: TsSignal;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-signal.js","sourceRoot":"","sources":["../../src/types/gir-signal.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var GirTransferOwnershipType;
|
|
2
|
+
(function (GirTransferOwnershipType) {
|
|
3
|
+
GirTransferOwnershipType["Container"] = "container";
|
|
4
|
+
GirTransferOwnershipType["Full"] = "full";
|
|
5
|
+
GirTransferOwnershipType["None"] = "none";
|
|
6
|
+
})(GirTransferOwnershipType || (GirTransferOwnershipType = {}));
|
|
7
|
+
//# sourceMappingURL=gir-transfer-ownership-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-transfer-ownership-type.js","sourceRoot":"","sources":["../../src/types/gir-transfer-ownership-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,yCAAa,CAAA;IACb,yCAAa,CAAA;AACjB,CAAC,EAJW,wBAAwB,KAAxB,wBAAwB,QAInC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GirTransferOwnershipType } from './gir-transfer-ownership-type';
|
|
2
|
+
export interface GirTransferOwnership {
|
|
3
|
+
/** attributes used by many elements for the transfer of ownership, with for example, a returned value. "none" if the recipient does not own the value, "container" if the recipient owns the container but not the value (for arrays or lists for example) , "full" the recipient owns the entire value. For details, see https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations#Memory_and_lifecycle_management */
|
|
4
|
+
'transfer-ownership': GirTransferOwnershipType;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-transfer-ownership.js","sourceRoot":"","sources":["../../src/types/gir-transfer-ownership.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GirArrayType, GirBoolean, GirInfoAttrs, GirDocElement } from './index.js';
|
|
2
|
+
export interface GirType extends GirDocElement {
|
|
3
|
+
/** A simple type of data (as opposed to an array) */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the type */
|
|
6
|
+
name?: string;
|
|
7
|
+
/** the C representation of the type */
|
|
8
|
+
'c:type'?: string;
|
|
9
|
+
/** Binary attribute which is BinaryOption(false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code */
|
|
10
|
+
introspectable?: GirBoolean;
|
|
11
|
+
};
|
|
12
|
+
array?: GirArrayType[];
|
|
13
|
+
type: GirType[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gir-type.js","sourceRoot":"","sources":["../../src/types/gir-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GirInfoElements, GirInfoAttrs, GirConstructorElement, GirMethodElement, GirFunctionElement, GirFieldElement, GirRecordElement, PartOfModule, TsClass } from './index.js';
|
|
2
|
+
export interface GirUnionElement extends PartOfModule, GirInfoElements {
|
|
3
|
+
/** element defining a type of data being a union of type, similar to union in C/C++ but extended with fields and methods */
|
|
4
|
+
$: GirInfoAttrs & {
|
|
5
|
+
/** name of the union */
|
|
6
|
+
name?: string;
|
|
7
|
+
/** C type defining the union */
|
|
8
|
+
'c:type'?: string;
|
|
9
|
+
/** prefix to filter out from C functions. For example, gtk_window_new will lose gtk_ */
|
|
10
|
+
'c:symbol-prefix'?: string;
|
|
11
|
+
/** GObject compatible type name */
|
|
12
|
+
'glib:type-name'?: string;
|
|
13
|
+
/** function to retrieve the GObject compatible type of the element */
|
|
14
|
+
'glib:get-type'?: string;
|
|
15
|
+
};
|
|
16
|
+
field?: GirFieldElement[];
|
|
17
|
+
constructor?: GirConstructorElement[];
|
|
18
|
+
method?: GirMethodElement[];
|
|
19
|
+
function?: GirFunctionElement[];
|
|
20
|
+
record?: GirRecordElement[];
|
|
21
|
+
_tsData?: TsClass;
|
|
22
|
+
}
|