@girs/soupgnome-2.4 2.4.0-3.0.0-beta.12
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 +31 -0
- package/package.json +55 -0
- package/soupgnome-2.4.cjs +9 -0
- package/soupgnome-2.4.d.cts +182 -0
- package/soupgnome-2.4.d.ts +187 -0
- package/soupgnome-2.4.js +8 -0
- package/tsconfig.doc.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
# SoupGNOME-2.4
|
|
3
|
+
|
|
4
|
+
GJS TypeScript type definitions for SoupGNOME-2.4, generated from library version 2.4.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
To use this type definitions, install them with NPM like this:
|
|
9
|
+
```bash
|
|
10
|
+
npm install @girs/soupgnome-2.4
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
You can import this package into your project like this:
|
|
16
|
+
```ts
|
|
17
|
+
import SoupGNOME from '@girs/soupgnome-2.4';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or if you prefer CommonJS, you can also use this:
|
|
21
|
+
```ts
|
|
22
|
+
const SoupGNOME = require('@girs/soupgnome-2.4');
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import SoupGNOME from 'gi://SoupGNOME?version=2.4';
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@girs/soupgnome-2.4",
|
|
3
|
+
"version": "2.4.0-3.0.0-beta.12",
|
|
4
|
+
"description": "GJS TypeScript type definitions for SoupGNOME-2.4, generated from library version 2.4.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "soupgnome-2.4.js",
|
|
7
|
+
"main": "soupgnome-2.4.js",
|
|
8
|
+
"typedoc": {
|
|
9
|
+
"entryPoint": "./soupgnome-2.4.d.ts",
|
|
10
|
+
"readmeFile": "./README.md",
|
|
11
|
+
"displayName": "SoupGNOME-2.4",
|
|
12
|
+
"tsconfig": "./tsconfig.doc.json"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./soupgnome-2.4.d.ts",
|
|
18
|
+
"default": "./soupgnome-2.4.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./soupgnome-2.4.d.cts",
|
|
22
|
+
"default": "./soupgnome-2.4.cjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "yarn test:esm && yarn test:cjs",
|
|
28
|
+
"test:esm": "tsc --noEmit soupgnome-2.4.d.ts",
|
|
29
|
+
"test:cjs": "tsc --noEmit soupgnome-2.4.d.cts"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
|
|
33
|
+
"@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
|
|
34
|
+
"@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
|
|
35
|
+
"@girs/soup-2.4": "^2.74.3-3.0.0-beta.12"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"typescript": "^*"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"Gir",
|
|
42
|
+
"TypeScript",
|
|
43
|
+
"SoupGNOME-2.4"
|
|
44
|
+
],
|
|
45
|
+
"author": "ts-for-gir",
|
|
46
|
+
"license": "Apache-2.0",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
50
|
+
},
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/gjsify/ts-for-gir#readme"
|
|
55
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
|
+
*
|
|
5
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* SoupGNOME-2.4
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type Soup from '@girs/soup-2.4';
|
|
13
|
+
import type Gio from '@girs/gio-2.0';
|
|
14
|
+
import type GObject from '@girs/gobject-2.0';
|
|
15
|
+
import type GLib from '@girs/glib-2.0';
|
|
16
|
+
|
|
17
|
+
export const COOKIE_JAR_SQLITE_FILENAME: string | null
|
|
18
|
+
export function gnome_features_2_26_get_type(): GObject.GType
|
|
19
|
+
export module CookieJarSqlite {
|
|
20
|
+
|
|
21
|
+
// Constructor properties interface
|
|
22
|
+
|
|
23
|
+
export interface ConstructorProperties extends Soup.SessionFeature.ConstructorProperties, Soup.CookieJarDB.ConstructorProperties {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface CookieJarSqlite extends Soup.SessionFeature {
|
|
29
|
+
|
|
30
|
+
// Own fields of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
31
|
+
|
|
32
|
+
parent: Soup.CookieJarDB & Soup.CookieJar & GObject.Object & GObject.Object
|
|
33
|
+
|
|
34
|
+
// Class property signals of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
35
|
+
|
|
36
|
+
connect(sigName: "notify::filename", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
37
|
+
connect_after(sigName: "notify::filename", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
38
|
+
emit(sigName: "notify::filename", ...args: any[]): void
|
|
39
|
+
connect(sigName: "notify::accept-policy", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
40
|
+
connect_after(sigName: "notify::accept-policy", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
41
|
+
emit(sigName: "notify::accept-policy", ...args: any[]): void
|
|
42
|
+
connect(sigName: "notify::read-only", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
43
|
+
connect_after(sigName: "notify::read-only", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
44
|
+
emit(sigName: "notify::read-only", ...args: any[]): void
|
|
45
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
46
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
47
|
+
emit(sigName: string, ...args: any[]): void
|
|
48
|
+
disconnect(id: number): void
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export class CookieJarSqlite extends Soup.CookieJarDB {
|
|
52
|
+
|
|
53
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
54
|
+
|
|
55
|
+
static name: string
|
|
56
|
+
static $gtype: GObject.GType<CookieJarSqlite>
|
|
57
|
+
|
|
58
|
+
// Constructors of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
59
|
+
|
|
60
|
+
constructor(config?: CookieJarSqlite.ConstructorProperties)
|
|
61
|
+
constructor(filename: string | null, read_only: boolean)
|
|
62
|
+
static new(filename: string | null, read_only: boolean): CookieJarSqlite
|
|
63
|
+
|
|
64
|
+
// Overloads of new
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Creates a #SoupCookieJarDB.
|
|
68
|
+
*
|
|
69
|
+
* `filename` will be read in at startup to create an initial set of
|
|
70
|
+
* cookies. If `read_only` is %FALSE, then the non-session cookies will
|
|
71
|
+
* be written to `filename` when the 'changed' signal is emitted from
|
|
72
|
+
* the jar. (If `read_only` is %TRUE, then the cookie jar will only be
|
|
73
|
+
* used for this session, and changes made to it will be lost when the
|
|
74
|
+
* jar is destroyed.)
|
|
75
|
+
* @constructor
|
|
76
|
+
* @param filename the filename to read to/write from, or %NULL
|
|
77
|
+
* @param read_only %TRUE if `filename` is read-only
|
|
78
|
+
* @returns the new #SoupCookieJar
|
|
79
|
+
*/
|
|
80
|
+
static new(filename: string | null, read_only: boolean): Soup.CookieJarDB
|
|
81
|
+
/**
|
|
82
|
+
* Creates a new #SoupCookieJar. The base #SoupCookieJar class does
|
|
83
|
+
* not support persistent storage of cookies; use a subclass for that.
|
|
84
|
+
* @constructor
|
|
85
|
+
* @returns a new #SoupCookieJar
|
|
86
|
+
*/
|
|
87
|
+
static new(): Soup.CookieJar
|
|
88
|
+
_init(config?: CookieJarSqlite.ConstructorProperties): void
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export module PasswordManagerGNOME {
|
|
92
|
+
|
|
93
|
+
// Constructor properties interface
|
|
94
|
+
|
|
95
|
+
export interface ConstructorProperties extends Soup.SessionFeature.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface PasswordManagerGNOME extends Soup.SessionFeature {
|
|
101
|
+
|
|
102
|
+
// Class property signals of SoupGNOME-2.4.SoupGNOME.PasswordManagerGNOME
|
|
103
|
+
|
|
104
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
105
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
106
|
+
emit(sigName: string, ...args: any[]): void
|
|
107
|
+
disconnect(id: number): void
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export class PasswordManagerGNOME extends GObject.Object {
|
|
111
|
+
|
|
112
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.PasswordManagerGNOME
|
|
113
|
+
|
|
114
|
+
static name: string
|
|
115
|
+
static $gtype: GObject.GType<PasswordManagerGNOME>
|
|
116
|
+
|
|
117
|
+
// Constructors of SoupGNOME-2.4.SoupGNOME.PasswordManagerGNOME
|
|
118
|
+
|
|
119
|
+
constructor(config?: PasswordManagerGNOME.ConstructorProperties)
|
|
120
|
+
_init(config?: PasswordManagerGNOME.ConstructorProperties): void
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export module ProxyResolverGNOME {
|
|
124
|
+
|
|
125
|
+
// Constructor properties interface
|
|
126
|
+
|
|
127
|
+
export interface ConstructorProperties extends Soup.ProxyURIResolver.ConstructorProperties, Soup.SessionFeature.ConstructorProperties, Soup.ProxyResolverDefault.ConstructorProperties {
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface ProxyResolverGNOME extends Soup.ProxyURIResolver, Soup.SessionFeature {
|
|
133
|
+
|
|
134
|
+
// Class property signals of SoupGNOME-2.4.SoupGNOME.ProxyResolverGNOME
|
|
135
|
+
|
|
136
|
+
connect(sigName: "notify::gproxy-resolver", callback: (($obj: ProxyResolverGNOME, pspec: GObject.ParamSpec) => void)): number
|
|
137
|
+
connect_after(sigName: "notify::gproxy-resolver", callback: (($obj: ProxyResolverGNOME, pspec: GObject.ParamSpec) => void)): number
|
|
138
|
+
emit(sigName: "notify::gproxy-resolver", ...args: any[]): void
|
|
139
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
140
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
141
|
+
emit(sigName: string, ...args: any[]): void
|
|
142
|
+
disconnect(id: number): void
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export class ProxyResolverGNOME extends Soup.ProxyResolverDefault {
|
|
146
|
+
|
|
147
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.ProxyResolverGNOME
|
|
148
|
+
|
|
149
|
+
static name: string
|
|
150
|
+
static $gtype: GObject.GType<ProxyResolverGNOME>
|
|
151
|
+
|
|
152
|
+
// Constructors of SoupGNOME-2.4.SoupGNOME.ProxyResolverGNOME
|
|
153
|
+
|
|
154
|
+
constructor(config?: ProxyResolverGNOME.ConstructorProperties)
|
|
155
|
+
_init(config?: ProxyResolverGNOME.ConstructorProperties): void
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface CookieJarSqliteClass {
|
|
159
|
+
|
|
160
|
+
// Own fields of SoupGNOME-2.4.SoupGNOME.CookieJarSqliteClass
|
|
161
|
+
|
|
162
|
+
parent_class: Soup.CookieJarDBClass
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export abstract class CookieJarSqliteClass {
|
|
166
|
+
|
|
167
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.CookieJarSqliteClass
|
|
168
|
+
|
|
169
|
+
static name: string
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Name of the imported GIR library
|
|
174
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
175
|
+
*/
|
|
176
|
+
export const __name__: string
|
|
177
|
+
/**
|
|
178
|
+
* Version of the imported GIR library
|
|
179
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
180
|
+
*/
|
|
181
|
+
export const __version__: string
|
|
182
|
+
// END
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
|
+
*
|
|
5
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* SoupGNOME-2.4
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type Soup from '@girs/soup-2.4';
|
|
13
|
+
import type Gio from '@girs/gio-2.0';
|
|
14
|
+
import type GObject from '@girs/gobject-2.0';
|
|
15
|
+
import type GLib from '@girs/glib-2.0';
|
|
16
|
+
|
|
17
|
+
export namespace SoupGNOME {
|
|
18
|
+
|
|
19
|
+
const COOKIE_JAR_SQLITE_FILENAME: string | null
|
|
20
|
+
function gnome_features_2_26_get_type(): GObject.GType
|
|
21
|
+
module CookieJarSqlite {
|
|
22
|
+
|
|
23
|
+
// Constructor properties interface
|
|
24
|
+
|
|
25
|
+
interface ConstructorProperties extends Soup.SessionFeature.ConstructorProperties, Soup.CookieJarDB.ConstructorProperties {
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface CookieJarSqlite extends Soup.SessionFeature {
|
|
31
|
+
|
|
32
|
+
// Own fields of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
33
|
+
|
|
34
|
+
parent: Soup.CookieJarDB & Soup.CookieJar & GObject.Object & GObject.Object
|
|
35
|
+
|
|
36
|
+
// Class property signals of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
37
|
+
|
|
38
|
+
connect(sigName: "notify::filename", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
39
|
+
connect_after(sigName: "notify::filename", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
40
|
+
emit(sigName: "notify::filename", ...args: any[]): void
|
|
41
|
+
connect(sigName: "notify::accept-policy", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
42
|
+
connect_after(sigName: "notify::accept-policy", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
43
|
+
emit(sigName: "notify::accept-policy", ...args: any[]): void
|
|
44
|
+
connect(sigName: "notify::read-only", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
45
|
+
connect_after(sigName: "notify::read-only", callback: (($obj: CookieJarSqlite, pspec: GObject.ParamSpec) => void)): number
|
|
46
|
+
emit(sigName: "notify::read-only", ...args: any[]): void
|
|
47
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
48
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
49
|
+
emit(sigName: string, ...args: any[]): void
|
|
50
|
+
disconnect(id: number): void
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
class CookieJarSqlite extends Soup.CookieJarDB {
|
|
54
|
+
|
|
55
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
56
|
+
|
|
57
|
+
static name: string
|
|
58
|
+
static $gtype: GObject.GType<CookieJarSqlite>
|
|
59
|
+
|
|
60
|
+
// Constructors of SoupGNOME-2.4.SoupGNOME.CookieJarSqlite
|
|
61
|
+
|
|
62
|
+
constructor(config?: CookieJarSqlite.ConstructorProperties)
|
|
63
|
+
constructor(filename: string | null, read_only: boolean)
|
|
64
|
+
static new(filename: string | null, read_only: boolean): CookieJarSqlite
|
|
65
|
+
|
|
66
|
+
// Overloads of new
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Creates a #SoupCookieJarDB.
|
|
70
|
+
*
|
|
71
|
+
* `filename` will be read in at startup to create an initial set of
|
|
72
|
+
* cookies. If `read_only` is %FALSE, then the non-session cookies will
|
|
73
|
+
* be written to `filename` when the 'changed' signal is emitted from
|
|
74
|
+
* the jar. (If `read_only` is %TRUE, then the cookie jar will only be
|
|
75
|
+
* used for this session, and changes made to it will be lost when the
|
|
76
|
+
* jar is destroyed.)
|
|
77
|
+
* @constructor
|
|
78
|
+
* @param filename the filename to read to/write from, or %NULL
|
|
79
|
+
* @param read_only %TRUE if `filename` is read-only
|
|
80
|
+
* @returns the new #SoupCookieJar
|
|
81
|
+
*/
|
|
82
|
+
static new(filename: string | null, read_only: boolean): Soup.CookieJarDB
|
|
83
|
+
/**
|
|
84
|
+
* Creates a new #SoupCookieJar. The base #SoupCookieJar class does
|
|
85
|
+
* not support persistent storage of cookies; use a subclass for that.
|
|
86
|
+
* @constructor
|
|
87
|
+
* @returns a new #SoupCookieJar
|
|
88
|
+
*/
|
|
89
|
+
static new(): Soup.CookieJar
|
|
90
|
+
_init(config?: CookieJarSqlite.ConstructorProperties): void
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
module PasswordManagerGNOME {
|
|
94
|
+
|
|
95
|
+
// Constructor properties interface
|
|
96
|
+
|
|
97
|
+
interface ConstructorProperties extends Soup.SessionFeature.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface PasswordManagerGNOME extends Soup.SessionFeature {
|
|
103
|
+
|
|
104
|
+
// Class property signals of SoupGNOME-2.4.SoupGNOME.PasswordManagerGNOME
|
|
105
|
+
|
|
106
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
107
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
108
|
+
emit(sigName: string, ...args: any[]): void
|
|
109
|
+
disconnect(id: number): void
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
class PasswordManagerGNOME extends GObject.Object {
|
|
113
|
+
|
|
114
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.PasswordManagerGNOME
|
|
115
|
+
|
|
116
|
+
static name: string
|
|
117
|
+
static $gtype: GObject.GType<PasswordManagerGNOME>
|
|
118
|
+
|
|
119
|
+
// Constructors of SoupGNOME-2.4.SoupGNOME.PasswordManagerGNOME
|
|
120
|
+
|
|
121
|
+
constructor(config?: PasswordManagerGNOME.ConstructorProperties)
|
|
122
|
+
_init(config?: PasswordManagerGNOME.ConstructorProperties): void
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
module ProxyResolverGNOME {
|
|
126
|
+
|
|
127
|
+
// Constructor properties interface
|
|
128
|
+
|
|
129
|
+
interface ConstructorProperties extends Soup.ProxyURIResolver.ConstructorProperties, Soup.SessionFeature.ConstructorProperties, Soup.ProxyResolverDefault.ConstructorProperties {
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
interface ProxyResolverGNOME extends Soup.ProxyURIResolver, Soup.SessionFeature {
|
|
135
|
+
|
|
136
|
+
// Class property signals of SoupGNOME-2.4.SoupGNOME.ProxyResolverGNOME
|
|
137
|
+
|
|
138
|
+
connect(sigName: "notify::gproxy-resolver", callback: (($obj: ProxyResolverGNOME, pspec: GObject.ParamSpec) => void)): number
|
|
139
|
+
connect_after(sigName: "notify::gproxy-resolver", callback: (($obj: ProxyResolverGNOME, pspec: GObject.ParamSpec) => void)): number
|
|
140
|
+
emit(sigName: "notify::gproxy-resolver", ...args: any[]): void
|
|
141
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
142
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
143
|
+
emit(sigName: string, ...args: any[]): void
|
|
144
|
+
disconnect(id: number): void
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
class ProxyResolverGNOME extends Soup.ProxyResolverDefault {
|
|
148
|
+
|
|
149
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.ProxyResolverGNOME
|
|
150
|
+
|
|
151
|
+
static name: string
|
|
152
|
+
static $gtype: GObject.GType<ProxyResolverGNOME>
|
|
153
|
+
|
|
154
|
+
// Constructors of SoupGNOME-2.4.SoupGNOME.ProxyResolverGNOME
|
|
155
|
+
|
|
156
|
+
constructor(config?: ProxyResolverGNOME.ConstructorProperties)
|
|
157
|
+
_init(config?: ProxyResolverGNOME.ConstructorProperties): void
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
interface CookieJarSqliteClass {
|
|
161
|
+
|
|
162
|
+
// Own fields of SoupGNOME-2.4.SoupGNOME.CookieJarSqliteClass
|
|
163
|
+
|
|
164
|
+
parent_class: Soup.CookieJarDBClass
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
abstract class CookieJarSqliteClass {
|
|
168
|
+
|
|
169
|
+
// Own properties of SoupGNOME-2.4.SoupGNOME.CookieJarSqliteClass
|
|
170
|
+
|
|
171
|
+
static name: string
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Name of the imported GIR library
|
|
176
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
177
|
+
*/
|
|
178
|
+
const __name__: string
|
|
179
|
+
/**
|
|
180
|
+
* Version of the imported GIR library
|
|
181
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
182
|
+
*/
|
|
183
|
+
const __version__: string
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export default SoupGNOME;
|
|
187
|
+
// END
|
package/soupgnome-2.4.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
// General settings for code interpretation
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"noEmitOnError": false,
|
|
10
|
+
"baseUrl": "./",
|
|
11
|
+
"rootDir": ".",
|
|
12
|
+
// General settings for code generation
|
|
13
|
+
"removeComments": false,
|
|
14
|
+
"inlineSourceMap": false,
|
|
15
|
+
"inlineSources": false,
|
|
16
|
+
"newLine": "LF"
|
|
17
|
+
},
|
|
18
|
+
"include": ["./soupgnome-2.4.d.ts"]
|
|
19
|
+
}
|