@girs/tracker-1.0 1.0.0-3.2.5 → 1.0.0-3.2.7
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 +1 -1
- package/package.json +5 -5
- package/tracker-1.0.d.cts +48 -47
- package/tracker-1.0.d.ts +48 -47
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Tracker-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Tracker-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/tracker-1.0",
|
|
3
|
-
"version": "1.0.0-3.2.
|
|
3
|
+
"version": "1.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Tracker-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "tracker-1.0.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit tracker-1.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
28
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
29
|
+
"@girs/gjs": "^3.2.7",
|
|
30
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
31
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"typescript": "*"
|
package/tracker-1.0.d.cts
CHANGED
|
@@ -48,17 +48,17 @@ export enum SparqlBuilderState {
|
|
|
48
48
|
EMBEDDED_INSERT,
|
|
49
49
|
GRAPH,
|
|
50
50
|
}
|
|
51
|
-
export const DBUS_SERVICE: string
|
|
52
|
-
export const DBUS_INTERFACE_RESOURCES: string
|
|
53
|
-
export const DBUS_OBJECT_RESOURCES: string
|
|
54
|
-
export const DBUS_INTERFACE_STATISTICS: string
|
|
55
|
-
export const DBUS_OBJECT_STATISTICS: string
|
|
56
|
-
export const DBUS_INTERFACE_STATUS: string
|
|
57
|
-
export const DBUS_OBJECT_STATUS: string
|
|
58
|
-
export const DBUS_INTERFACE_STEROIDS: string
|
|
59
|
-
export const DBUS_OBJECT_STEROIDS: string
|
|
60
|
-
export function sparql_escape_uri(uri: string
|
|
61
|
-
export function sparql_escape_string(literal: string
|
|
51
|
+
export const DBUS_SERVICE: string
|
|
52
|
+
export const DBUS_INTERFACE_RESOURCES: string
|
|
53
|
+
export const DBUS_OBJECT_RESOURCES: string
|
|
54
|
+
export const DBUS_INTERFACE_STATISTICS: string
|
|
55
|
+
export const DBUS_OBJECT_STATISTICS: string
|
|
56
|
+
export const DBUS_INTERFACE_STATUS: string
|
|
57
|
+
export const DBUS_OBJECT_STATUS: string
|
|
58
|
+
export const DBUS_INTERFACE_STEROIDS: string
|
|
59
|
+
export const DBUS_OBJECT_STEROIDS: string
|
|
60
|
+
export function sparql_escape_uri(uri: string): string | null
|
|
61
|
+
export function sparql_escape_string(literal: string): string | null
|
|
62
62
|
export function sparql_get_uuid_urn(): string | null
|
|
63
63
|
export module SparqlBuilder {
|
|
64
64
|
|
|
@@ -93,29 +93,29 @@ export interface SparqlBuilder {
|
|
|
93
93
|
insert_close(): void
|
|
94
94
|
delete_open(graph?: string | null): void
|
|
95
95
|
delete_close(): void
|
|
96
|
-
graph_open(graph: string
|
|
96
|
+
graph_open(graph: string): void
|
|
97
97
|
graph_close(): void
|
|
98
98
|
where_open(): void
|
|
99
99
|
where_close(): void
|
|
100
|
-
subject_variable(var_name: string
|
|
101
|
-
object_variable(var_name: string
|
|
102
|
-
subject_iri(iri: string
|
|
103
|
-
subject(s: string
|
|
104
|
-
predicate_iri(iri: string
|
|
105
|
-
predicate(s: string
|
|
106
|
-
object_iri(iri: string
|
|
107
|
-
object(s: string
|
|
108
|
-
object_string(literal: string
|
|
109
|
-
object_unvalidated(value: string
|
|
100
|
+
subject_variable(var_name: string): void
|
|
101
|
+
object_variable(var_name: string): void
|
|
102
|
+
subject_iri(iri: string): void
|
|
103
|
+
subject(s: string): void
|
|
104
|
+
predicate_iri(iri: string): void
|
|
105
|
+
predicate(s: string): void
|
|
106
|
+
object_iri(iri: string): void
|
|
107
|
+
object(s: string): void
|
|
108
|
+
object_string(literal: string): void
|
|
109
|
+
object_unvalidated(value: string): void
|
|
110
110
|
object_boolean(literal: boolean): void
|
|
111
111
|
object_int64(literal: number): void
|
|
112
112
|
object_date(literal: number): /* literal */ number
|
|
113
113
|
object_double(literal: number): void
|
|
114
114
|
object_blank_open(): void
|
|
115
115
|
object_blank_close(): void
|
|
116
|
-
prepend(raw: string
|
|
117
|
-
append(raw: string
|
|
118
|
-
get_result(): string
|
|
116
|
+
prepend(raw: string): void
|
|
117
|
+
append(raw: string): void
|
|
118
|
+
get_result(): string
|
|
119
119
|
get_length(): number
|
|
120
120
|
get_state(): SparqlBuilderState
|
|
121
121
|
|
|
@@ -171,8 +171,8 @@ export interface SparqlConnection {
|
|
|
171
171
|
|
|
172
172
|
// Owm methods of Tracker-1.0.Tracker.SparqlConnection
|
|
173
173
|
|
|
174
|
-
query(sparql: string
|
|
175
|
-
query_async(sparql: string
|
|
174
|
+
query(sparql: string, cancellable?: Gio.Cancellable | null): SparqlCursor
|
|
175
|
+
query_async(sparql: string, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
176
176
|
|
|
177
177
|
// Overloads of query_async
|
|
178
178
|
|
|
@@ -185,10 +185,10 @@ export interface SparqlConnection {
|
|
|
185
185
|
* @param _callback_
|
|
186
186
|
* @returns A Promise of the result of {@link query_async}
|
|
187
187
|
*/
|
|
188
|
-
query_async(sparql: string
|
|
188
|
+
query_async(sparql: string, cancellable?: Gio.Cancellable | null): globalThis.Promise<SparqlCursor>
|
|
189
189
|
query_finish(_res_: Gio.AsyncResult): SparqlCursor
|
|
190
|
-
update(sparql: string
|
|
191
|
-
update_async(sparql: string
|
|
190
|
+
update(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): void
|
|
191
|
+
update_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
192
192
|
|
|
193
193
|
// Overloads of update_async
|
|
194
194
|
|
|
@@ -202,7 +202,7 @@ export interface SparqlConnection {
|
|
|
202
202
|
* @param _callback_
|
|
203
203
|
* @returns A Promise of the result of {@link update_async}
|
|
204
204
|
*/
|
|
205
|
-
update_async(sparql: string
|
|
205
|
+
update_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<void>
|
|
206
206
|
update_finish(_res_: Gio.AsyncResult): void
|
|
207
207
|
update_array_async(sparql: string[], priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
208
208
|
|
|
@@ -220,8 +220,8 @@ export interface SparqlConnection {
|
|
|
220
220
|
*/
|
|
221
221
|
update_array_async(sparql: string[], priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<any[] | null>
|
|
222
222
|
update_array_finish(_res_: Gio.AsyncResult): any[] | null
|
|
223
|
-
update_blank(sparql: string
|
|
224
|
-
update_blank_async(sparql: string
|
|
223
|
+
update_blank(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): GLib.Variant | null
|
|
224
|
+
update_blank_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
225
225
|
|
|
226
226
|
// Overloads of update_blank_async
|
|
227
227
|
|
|
@@ -235,7 +235,7 @@ export interface SparqlConnection {
|
|
|
235
235
|
* @param _callback_
|
|
236
236
|
* @returns A Promise of the result of {@link update_blank_async}
|
|
237
237
|
*/
|
|
238
|
-
update_blank_async(sparql: string
|
|
238
|
+
update_blank_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<GLib.Variant | null>
|
|
239
239
|
update_blank_finish(_res_: Gio.AsyncResult): GLib.Variant | null
|
|
240
240
|
load(file: Gio.File, cancellable?: Gio.Cancellable | null): void
|
|
241
241
|
load_async(file: Gio.File, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -271,16 +271,16 @@ export interface SparqlConnection {
|
|
|
271
271
|
|
|
272
272
|
// Own virtual methods of Tracker-1.0.Tracker.SparqlConnection
|
|
273
273
|
|
|
274
|
-
vfunc_query(sparql: string
|
|
275
|
-
vfunc_query_async(sparql: string
|
|
274
|
+
vfunc_query(sparql: string, cancellable?: Gio.Cancellable | null): SparqlCursor
|
|
275
|
+
vfunc_query_async(sparql: string, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
276
276
|
vfunc_query_finish(_res_: Gio.AsyncResult): SparqlCursor
|
|
277
|
-
vfunc_update(sparql: string
|
|
278
|
-
vfunc_update_async(sparql: string
|
|
277
|
+
vfunc_update(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): void
|
|
278
|
+
vfunc_update_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
279
279
|
vfunc_update_finish(_res_: Gio.AsyncResult): void
|
|
280
280
|
vfunc_update_array_async(sparql: string[], priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
281
281
|
vfunc_update_array_finish(_res_: Gio.AsyncResult): any[] | null
|
|
282
|
-
vfunc_update_blank(sparql: string
|
|
283
|
-
vfunc_update_blank_async(sparql: string
|
|
282
|
+
vfunc_update_blank(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): GLib.Variant | null
|
|
283
|
+
vfunc_update_blank_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
284
284
|
vfunc_update_blank_finish(_res_: Gio.AsyncResult): GLib.Variant | null
|
|
285
285
|
vfunc_load(file: Gio.File, cancellable?: Gio.Cancellable | null): void
|
|
286
286
|
vfunc_load_async(file: Gio.File, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -314,7 +314,7 @@ export class SparqlConnection extends GObject.Object {
|
|
|
314
314
|
static get_direct_async(cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<SparqlConnection> | null): void
|
|
315
315
|
static get_direct_finish(_res_: Gio.AsyncResult): SparqlConnection
|
|
316
316
|
static get_direct(cancellable?: Gio.Cancellable | null): SparqlConnection
|
|
317
|
-
static remote_new(uri_base: string
|
|
317
|
+
static remote_new(uri_base: string): SparqlConnection
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
export module SparqlCursor {
|
|
@@ -336,6 +336,7 @@ export interface SparqlCursor {
|
|
|
336
336
|
|
|
337
337
|
connection: SparqlConnection
|
|
338
338
|
readonly n_columns: number
|
|
339
|
+
readonly nColumns: number
|
|
339
340
|
|
|
340
341
|
// Own fields of Tracker-1.0.Tracker.SparqlCursor
|
|
341
342
|
|
|
@@ -444,16 +445,16 @@ export interface SparqlConnectionClass {
|
|
|
444
445
|
// Own fields of Tracker-1.0.Tracker.SparqlConnectionClass
|
|
445
446
|
|
|
446
447
|
parent_class: GObject.ObjectClass
|
|
447
|
-
query: (self: SparqlConnection, sparql: string
|
|
448
|
-
query_async: (self: SparqlConnection, sparql: string
|
|
448
|
+
query: (self: SparqlConnection, sparql: string, cancellable?: Gio.Cancellable | null) => SparqlCursor
|
|
449
|
+
query_async: (self: SparqlConnection, sparql: string, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
449
450
|
query_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => SparqlCursor
|
|
450
|
-
update: (self: SparqlConnection, sparql: string
|
|
451
|
-
update_async: (self: SparqlConnection, sparql: string
|
|
451
|
+
update: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null) => void
|
|
452
|
+
update_async: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
452
453
|
update_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => void
|
|
453
454
|
update_array_async: (self: SparqlConnection, sparql: string[], priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
454
455
|
update_array_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => any[] | null
|
|
455
|
-
update_blank: (self: SparqlConnection, sparql: string
|
|
456
|
-
update_blank_async: (self: SparqlConnection, sparql: string
|
|
456
|
+
update_blank: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null) => GLib.Variant | null
|
|
457
|
+
update_blank_async: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
457
458
|
update_blank_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => GLib.Variant | null
|
|
458
459
|
load: (self: SparqlConnection, file: Gio.File, cancellable?: Gio.Cancellable | null) => void
|
|
459
460
|
load_async: (self: SparqlConnection, file: Gio.File, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
package/tracker-1.0.d.ts
CHANGED
|
@@ -50,17 +50,17 @@ enum SparqlBuilderState {
|
|
|
50
50
|
EMBEDDED_INSERT,
|
|
51
51
|
GRAPH,
|
|
52
52
|
}
|
|
53
|
-
const DBUS_SERVICE: string
|
|
54
|
-
const DBUS_INTERFACE_RESOURCES: string
|
|
55
|
-
const DBUS_OBJECT_RESOURCES: string
|
|
56
|
-
const DBUS_INTERFACE_STATISTICS: string
|
|
57
|
-
const DBUS_OBJECT_STATISTICS: string
|
|
58
|
-
const DBUS_INTERFACE_STATUS: string
|
|
59
|
-
const DBUS_OBJECT_STATUS: string
|
|
60
|
-
const DBUS_INTERFACE_STEROIDS: string
|
|
61
|
-
const DBUS_OBJECT_STEROIDS: string
|
|
62
|
-
function sparql_escape_uri(uri: string
|
|
63
|
-
function sparql_escape_string(literal: string
|
|
53
|
+
const DBUS_SERVICE: string
|
|
54
|
+
const DBUS_INTERFACE_RESOURCES: string
|
|
55
|
+
const DBUS_OBJECT_RESOURCES: string
|
|
56
|
+
const DBUS_INTERFACE_STATISTICS: string
|
|
57
|
+
const DBUS_OBJECT_STATISTICS: string
|
|
58
|
+
const DBUS_INTERFACE_STATUS: string
|
|
59
|
+
const DBUS_OBJECT_STATUS: string
|
|
60
|
+
const DBUS_INTERFACE_STEROIDS: string
|
|
61
|
+
const DBUS_OBJECT_STEROIDS: string
|
|
62
|
+
function sparql_escape_uri(uri: string): string | null
|
|
63
|
+
function sparql_escape_string(literal: string): string | null
|
|
64
64
|
function sparql_get_uuid_urn(): string | null
|
|
65
65
|
module SparqlBuilder {
|
|
66
66
|
|
|
@@ -95,29 +95,29 @@ interface SparqlBuilder {
|
|
|
95
95
|
insert_close(): void
|
|
96
96
|
delete_open(graph?: string | null): void
|
|
97
97
|
delete_close(): void
|
|
98
|
-
graph_open(graph: string
|
|
98
|
+
graph_open(graph: string): void
|
|
99
99
|
graph_close(): void
|
|
100
100
|
where_open(): void
|
|
101
101
|
where_close(): void
|
|
102
|
-
subject_variable(var_name: string
|
|
103
|
-
object_variable(var_name: string
|
|
104
|
-
subject_iri(iri: string
|
|
105
|
-
subject(s: string
|
|
106
|
-
predicate_iri(iri: string
|
|
107
|
-
predicate(s: string
|
|
108
|
-
object_iri(iri: string
|
|
109
|
-
object(s: string
|
|
110
|
-
object_string(literal: string
|
|
111
|
-
object_unvalidated(value: string
|
|
102
|
+
subject_variable(var_name: string): void
|
|
103
|
+
object_variable(var_name: string): void
|
|
104
|
+
subject_iri(iri: string): void
|
|
105
|
+
subject(s: string): void
|
|
106
|
+
predicate_iri(iri: string): void
|
|
107
|
+
predicate(s: string): void
|
|
108
|
+
object_iri(iri: string): void
|
|
109
|
+
object(s: string): void
|
|
110
|
+
object_string(literal: string): void
|
|
111
|
+
object_unvalidated(value: string): void
|
|
112
112
|
object_boolean(literal: boolean): void
|
|
113
113
|
object_int64(literal: number): void
|
|
114
114
|
object_date(literal: number): /* literal */ number
|
|
115
115
|
object_double(literal: number): void
|
|
116
116
|
object_blank_open(): void
|
|
117
117
|
object_blank_close(): void
|
|
118
|
-
prepend(raw: string
|
|
119
|
-
append(raw: string
|
|
120
|
-
get_result(): string
|
|
118
|
+
prepend(raw: string): void
|
|
119
|
+
append(raw: string): void
|
|
120
|
+
get_result(): string
|
|
121
121
|
get_length(): number
|
|
122
122
|
get_state(): SparqlBuilderState
|
|
123
123
|
|
|
@@ -173,8 +173,8 @@ interface SparqlConnection {
|
|
|
173
173
|
|
|
174
174
|
// Owm methods of Tracker-1.0.Tracker.SparqlConnection
|
|
175
175
|
|
|
176
|
-
query(sparql: string
|
|
177
|
-
query_async(sparql: string
|
|
176
|
+
query(sparql: string, cancellable?: Gio.Cancellable | null): SparqlCursor
|
|
177
|
+
query_async(sparql: string, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
178
178
|
|
|
179
179
|
// Overloads of query_async
|
|
180
180
|
|
|
@@ -187,10 +187,10 @@ interface SparqlConnection {
|
|
|
187
187
|
* @param _callback_
|
|
188
188
|
* @returns A Promise of the result of {@link query_async}
|
|
189
189
|
*/
|
|
190
|
-
query_async(sparql: string
|
|
190
|
+
query_async(sparql: string, cancellable?: Gio.Cancellable | null): globalThis.Promise<SparqlCursor>
|
|
191
191
|
query_finish(_res_: Gio.AsyncResult): SparqlCursor
|
|
192
|
-
update(sparql: string
|
|
193
|
-
update_async(sparql: string
|
|
192
|
+
update(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): void
|
|
193
|
+
update_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
194
194
|
|
|
195
195
|
// Overloads of update_async
|
|
196
196
|
|
|
@@ -204,7 +204,7 @@ interface SparqlConnection {
|
|
|
204
204
|
* @param _callback_
|
|
205
205
|
* @returns A Promise of the result of {@link update_async}
|
|
206
206
|
*/
|
|
207
|
-
update_async(sparql: string
|
|
207
|
+
update_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<void>
|
|
208
208
|
update_finish(_res_: Gio.AsyncResult): void
|
|
209
209
|
update_array_async(sparql: string[], priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
210
210
|
|
|
@@ -222,8 +222,8 @@ interface SparqlConnection {
|
|
|
222
222
|
*/
|
|
223
223
|
update_array_async(sparql: string[], priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<any[] | null>
|
|
224
224
|
update_array_finish(_res_: Gio.AsyncResult): any[] | null
|
|
225
|
-
update_blank(sparql: string
|
|
226
|
-
update_blank_async(sparql: string
|
|
225
|
+
update_blank(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): GLib.Variant | null
|
|
226
|
+
update_blank_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
227
227
|
|
|
228
228
|
// Overloads of update_blank_async
|
|
229
229
|
|
|
@@ -237,7 +237,7 @@ interface SparqlConnection {
|
|
|
237
237
|
* @param _callback_
|
|
238
238
|
* @returns A Promise of the result of {@link update_blank_async}
|
|
239
239
|
*/
|
|
240
|
-
update_blank_async(sparql: string
|
|
240
|
+
update_blank_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): globalThis.Promise<GLib.Variant | null>
|
|
241
241
|
update_blank_finish(_res_: Gio.AsyncResult): GLib.Variant | null
|
|
242
242
|
load(file: Gio.File, cancellable?: Gio.Cancellable | null): void
|
|
243
243
|
load_async(file: Gio.File, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -273,16 +273,16 @@ interface SparqlConnection {
|
|
|
273
273
|
|
|
274
274
|
// Own virtual methods of Tracker-1.0.Tracker.SparqlConnection
|
|
275
275
|
|
|
276
|
-
vfunc_query(sparql: string
|
|
277
|
-
vfunc_query_async(sparql: string
|
|
276
|
+
vfunc_query(sparql: string, cancellable?: Gio.Cancellable | null): SparqlCursor
|
|
277
|
+
vfunc_query_async(sparql: string, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
278
278
|
vfunc_query_finish(_res_: Gio.AsyncResult): SparqlCursor
|
|
279
|
-
vfunc_update(sparql: string
|
|
280
|
-
vfunc_update_async(sparql: string
|
|
279
|
+
vfunc_update(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): void
|
|
280
|
+
vfunc_update_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
281
281
|
vfunc_update_finish(_res_: Gio.AsyncResult): void
|
|
282
282
|
vfunc_update_array_async(sparql: string[], priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
283
283
|
vfunc_update_array_finish(_res_: Gio.AsyncResult): any[] | null
|
|
284
|
-
vfunc_update_blank(sparql: string
|
|
285
|
-
vfunc_update_blank_async(sparql: string
|
|
284
|
+
vfunc_update_blank(sparql: string, priority: number, cancellable?: Gio.Cancellable | null): GLib.Variant | null
|
|
285
|
+
vfunc_update_blank_async(sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
286
286
|
vfunc_update_blank_finish(_res_: Gio.AsyncResult): GLib.Variant | null
|
|
287
287
|
vfunc_load(file: Gio.File, cancellable?: Gio.Cancellable | null): void
|
|
288
288
|
vfunc_load_async(file: Gio.File, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -316,7 +316,7 @@ class SparqlConnection extends GObject.Object {
|
|
|
316
316
|
static get_direct_async(cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback<SparqlConnection> | null): void
|
|
317
317
|
static get_direct_finish(_res_: Gio.AsyncResult): SparqlConnection
|
|
318
318
|
static get_direct(cancellable?: Gio.Cancellable | null): SparqlConnection
|
|
319
|
-
static remote_new(uri_base: string
|
|
319
|
+
static remote_new(uri_base: string): SparqlConnection
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
module SparqlCursor {
|
|
@@ -338,6 +338,7 @@ interface SparqlCursor {
|
|
|
338
338
|
|
|
339
339
|
connection: SparqlConnection
|
|
340
340
|
readonly n_columns: number
|
|
341
|
+
readonly nColumns: number
|
|
341
342
|
|
|
342
343
|
// Own fields of Tracker-1.0.Tracker.SparqlCursor
|
|
343
344
|
|
|
@@ -446,16 +447,16 @@ interface SparqlConnectionClass {
|
|
|
446
447
|
// Own fields of Tracker-1.0.Tracker.SparqlConnectionClass
|
|
447
448
|
|
|
448
449
|
parent_class: GObject.ObjectClass
|
|
449
|
-
query: (self: SparqlConnection, sparql: string
|
|
450
|
-
query_async: (self: SparqlConnection, sparql: string
|
|
450
|
+
query: (self: SparqlConnection, sparql: string, cancellable?: Gio.Cancellable | null) => SparqlCursor
|
|
451
|
+
query_async: (self: SparqlConnection, sparql: string, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
451
452
|
query_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => SparqlCursor
|
|
452
|
-
update: (self: SparqlConnection, sparql: string
|
|
453
|
-
update_async: (self: SparqlConnection, sparql: string
|
|
453
|
+
update: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null) => void
|
|
454
|
+
update_async: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
454
455
|
update_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => void
|
|
455
456
|
update_array_async: (self: SparqlConnection, sparql: string[], priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
456
457
|
update_array_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => any[] | null
|
|
457
|
-
update_blank: (self: SparqlConnection, sparql: string
|
|
458
|
-
update_blank_async: (self: SparqlConnection, sparql: string
|
|
458
|
+
update_blank: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null) => GLib.Variant | null
|
|
459
|
+
update_blank_async: (self: SparqlConnection, sparql: string, priority: number, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
459
460
|
update_blank_finish: (self: SparqlConnection, _res_: Gio.AsyncResult) => GLib.Variant | null
|
|
460
461
|
load: (self: SparqlConnection, file: Gio.File, cancellable?: Gio.Cancellable | null) => void
|
|
461
462
|
load_async: (self: SparqlConnection, file: Gio.File, cancellable?: Gio.Cancellable | null, _callback_?: Gio.AsyncReadyCallback | null) => void
|