Skip to content

Commit

Permalink
Regenerate types for latest gir files
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Sep 20, 2024
1 parent ba94470 commit 0096468
Show file tree
Hide file tree
Showing 837 changed files with 309,302 additions and 32,934 deletions.
2 changes: 1 addition & 1 deletion abi-3.0/abi-3.0.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import type Pango from '@girs/pango-1.0';
import type HarfBuzz from '@girs/harfbuzz-0.0';
import type freetype2 from '@girs/freetype2-2.0';
import type Gio from '@girs/gio-2.0';
import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
import type GModule from '@girs/gmodule-2.0';
import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
import type Atk from '@girs/atk-1.0';
import type Gsf from '@girs/gsf-1';
import type libxml2 from '@girs/libxml2-2.0';
Expand Down
36 changes: 31 additions & 5 deletions accounts-1.0/accounts-1.0.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import type Gio from '@girs/gio-2.0';
import type GObject from '@girs/gobject-2.0';
import type GLib from '@girs/glib-2.0';
import type GModule from '@girs/gmodule-2.0';

export namespace Accounts {
/**
Expand Down Expand Up @@ -103,7 +104,15 @@ export namespace Accounts {
const MANAGER_INTERFACE: string;
const MANAGER_OBJECT_PATH: string;
const MANAGER_SERVICE_NAME: string;
/**
* Return the libaccounts-glib error domain.
* @returns the libaccounts-glib error domain.
*/
function accounts_error_quark(): GLib.Quark;
/**
* Return the libaccounts-glib error domain.
* @returns the libaccounts-glib error domain.
*/
function errors_quark(): GLib.Quark;
/**
* Frees the list `list`.
Expand Down Expand Up @@ -1306,6 +1315,12 @@ export namespace Accounts {
* @returns a list of #AgService, which must be free'd with ag_service_list_free() when no longer required.
*/
list_services(): Service[];
/**
* Get the list of services that are supported by `application`.
* @param application a #AgApplication.
* @returns a #GList of #AgService items representing all the services which are supported. Must be free'd with ag_service_list_free().
*/
list_services_by_application(application: Application): Service[];
/**
* Gets a list of all the installed services where the service type name is
* `service_type`.
Expand Down Expand Up @@ -1897,7 +1912,7 @@ export namespace Accounts {
/**
* Opaque structure. Use related accessor functions.
*/
class Application {
abstract class Application {
static $gtype: GObject.GType<Application>;

// Constructors
Expand Down Expand Up @@ -1938,6 +1953,12 @@ export namespace Accounts {
* @returns @self.
*/
ref(): Application;
/**
* Check whether the application supports the given service.
* @param service an #AgService.
* @returns %TRUE if @service is supported, %FALSE otherwise.
*/
supports_service(service: Service): boolean;
/**
* Decrements the reference count of `self`. The item is destroyed when the
* count gets to 0.
Expand All @@ -1948,7 +1969,7 @@ export namespace Accounts {
/**
* Opaque structure. Use related accessor functions.
*/
class AuthData {
abstract class AuthData {
static $gtype: GObject.GType<AuthData>;

// Constructors
Expand Down Expand Up @@ -2014,7 +2035,7 @@ export namespace Accounts {
/**
* Opaque structure. Use related accessor functions.
*/
class Provider {
abstract class Provider {
static $gtype: GObject.GType<Provider>;

// Constructors
Expand Down Expand Up @@ -2086,6 +2107,11 @@ export namespace Accounts {
* @returns %FALSE if multiple accounts can be created from this provider, %TRUE otherwise.
*/
get_single_account(): boolean;
/**
* Get list of tags specified for the #AgProvider.
* @returns #GList of tags for @provider. The list must be freed with g_list_free(). Entries are owned by the #AgProvider type and must not be free'd.
*/
get_tags(): string[];
/**
* Check whether `domain` is supported by this provider, by matching it with the
* regex returned by ag_provider_get_domains_regex().
Expand All @@ -2109,7 +2135,7 @@ export namespace Accounts {
/**
* Opaque structure. Use related accessor functions.
*/
class Service {
abstract class Service {
static $gtype: GObject.GType<Service>;

// Constructors
Expand Down Expand Up @@ -2197,7 +2223,7 @@ export namespace Accounts {
/**
* Opaque structure. Use related accessor functions.
*/
class ServiceType {
abstract class ServiceType {
static $gtype: GObject.GType<ServiceType>;

// Constructors
Expand Down
1 change: 1 addition & 0 deletions accounts-1.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@girs/gio-2.0": "workspace:^",
"@girs/gjs": "workspace:^",
"@girs/glib-2.0": "workspace:^",
"@girs/gmodule-2.0": "workspace:^",
"@girs/gobject-2.0": "workspace:^"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions accountsservice-1.0/accountsservice-1.0.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import type Gio from '@girs/gio-2.0';
import type GObject from '@girs/gobject-2.0';
import type GLib from '@girs/glib-2.0';
import type GModule from '@girs/gmodule-2.0';

export namespace AccountsService {
/**
Expand Down
1 change: 1 addition & 0 deletions accountsservice-1.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@girs/gio-2.0": "workspace:^",
"@girs/gjs": "workspace:^",
"@girs/glib-2.0": "workspace:^",
"@girs/gmodule-2.0": "workspace:^",
"@girs/gobject-2.0": "workspace:^"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 0096468

Please sign in to comment.