@girs/gfbgraph-0.2 0.2.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/gfbgraph-0.2.cjs +9 -0
- package/gfbgraph-0.2.d.cts +1300 -0
- package/gfbgraph-0.2.d.ts +1305 -0
- package/gfbgraph-0.2.js +8 -0
- package/package.json +57 -0
- package/tsconfig.doc.json +19 -0
|
@@ -0,0 +1,1300 @@
|
|
|
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
|
+
* GFBGraph-0.2
|
|
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
|
+
import type Rest from '@girs/rest-0.7';
|
|
17
|
+
import type Json from '@girs/json-1.0';
|
|
18
|
+
|
|
19
|
+
export enum NodeError {
|
|
20
|
+
CONNECTIONABLE,
|
|
21
|
+
CONNECTABLE,
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Create a new #RestProxyCall pointing to the Facebook Graph API url (https://graph.facebook.com)
|
|
25
|
+
* and processed by the authorizer to allow queries.
|
|
26
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
27
|
+
* @returns a new #RestProxyCall or %NULL in case of error.
|
|
28
|
+
*/
|
|
29
|
+
export function new_rest_call(authorizer: Authorizer): Rest.ProxyCall
|
|
30
|
+
export module Authorizer {
|
|
31
|
+
|
|
32
|
+
// Constructor properties interface
|
|
33
|
+
|
|
34
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface Authorizer {
|
|
40
|
+
|
|
41
|
+
// Owm methods of GFBGraph-0.2.GFBGraph.Authorizer
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Adds the necessary authorization to `call`.
|
|
45
|
+
*
|
|
46
|
+
* This method modifies `call` in place and is thread safe.
|
|
47
|
+
* @param call A #RestProxyCall.
|
|
48
|
+
*/
|
|
49
|
+
process_call(call: Rest.ProxyCall): void
|
|
50
|
+
/**
|
|
51
|
+
* Adds the necessary authorization to `message`. The type of `message`
|
|
52
|
+
* can be DELETE, GET and POST.
|
|
53
|
+
*
|
|
54
|
+
* This method modifies `message` in place and is thread safe.
|
|
55
|
+
* @param message A #SoupMessage.
|
|
56
|
+
*/
|
|
57
|
+
process_message(message: Soup.Message): void
|
|
58
|
+
/**
|
|
59
|
+
* Synchronously forces `iface` to refresh any authorization tokens
|
|
60
|
+
* held by it.
|
|
61
|
+
*
|
|
62
|
+
* This method is thread safe.
|
|
63
|
+
* @param cancellable An optional #GCancellable object, or %NULL.
|
|
64
|
+
* @returns %TRUE if the authorizer now has a valid token.
|
|
65
|
+
*/
|
|
66
|
+
refresh_authorization(cancellable: Gio.Cancellable | null): boolean
|
|
67
|
+
|
|
68
|
+
// Own virtual methods of GFBGraph-0.2.GFBGraph.Authorizer
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Adds the necessary authorization to `call`.
|
|
72
|
+
*
|
|
73
|
+
* This method modifies `call` in place and is thread safe.
|
|
74
|
+
* @virtual
|
|
75
|
+
* @param call A #RestProxyCall.
|
|
76
|
+
*/
|
|
77
|
+
vfunc_process_call(call: Rest.ProxyCall): void
|
|
78
|
+
/**
|
|
79
|
+
* Adds the necessary authorization to `message`. The type of `message`
|
|
80
|
+
* can be DELETE, GET and POST.
|
|
81
|
+
*
|
|
82
|
+
* This method modifies `message` in place and is thread safe.
|
|
83
|
+
* @virtual
|
|
84
|
+
* @param message A #SoupMessage.
|
|
85
|
+
*/
|
|
86
|
+
vfunc_process_message(message: Soup.Message): void
|
|
87
|
+
/**
|
|
88
|
+
* Synchronously forces `iface` to refresh any authorization tokens
|
|
89
|
+
* held by it.
|
|
90
|
+
*
|
|
91
|
+
* This method is thread safe.
|
|
92
|
+
* @virtual
|
|
93
|
+
* @param cancellable An optional #GCancellable object, or %NULL.
|
|
94
|
+
* @returns %TRUE if the authorizer now has a valid token.
|
|
95
|
+
*/
|
|
96
|
+
vfunc_refresh_authorization(cancellable: Gio.Cancellable | null): boolean
|
|
97
|
+
|
|
98
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.Authorizer
|
|
99
|
+
|
|
100
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
101
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
102
|
+
emit(sigName: string, ...args: any[]): void
|
|
103
|
+
disconnect(id: number): void
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export class Authorizer extends GObject.Object {
|
|
107
|
+
|
|
108
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Authorizer
|
|
109
|
+
|
|
110
|
+
static name: string
|
|
111
|
+
static $gtype: GObject.GType<Authorizer>
|
|
112
|
+
|
|
113
|
+
// Constructors of GFBGraph-0.2.GFBGraph.Authorizer
|
|
114
|
+
|
|
115
|
+
constructor(config?: Authorizer.ConstructorProperties)
|
|
116
|
+
_init(config?: Authorizer.ConstructorProperties): void
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export module Connectable {
|
|
120
|
+
|
|
121
|
+
// Constructor properties interface
|
|
122
|
+
|
|
123
|
+
export interface ConstructorProperties extends Node.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface Connectable extends Node {
|
|
129
|
+
|
|
130
|
+
// Owm methods of GFBGraph-0.2.GFBGraph.Connectable
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* In most cases, #GFBGraphConnectable implementers can use this function in order to parse
|
|
134
|
+
* the response when a gfbgraph_node_get_connection_nodes() is executed and the
|
|
135
|
+
* gfbgraph_connectable_parse_connected_data() was called.
|
|
136
|
+
*
|
|
137
|
+
* Normally, Facebook Graph API returns the connections in the same way, using JSON objects,
|
|
138
|
+
* with a root object called "data".
|
|
139
|
+
* @param payload a const #gchar with the response string from the Facebook Graph API.
|
|
140
|
+
* @returns a newly-allocated #GList of #GFBGraphNode with the same #GType as @self.
|
|
141
|
+
*/
|
|
142
|
+
default_parse_connected_data(payload: string | null): Node[]
|
|
143
|
+
/**
|
|
144
|
+
* Get the Facebook Graph API function path to retrieve the nodes connected with `node_type`
|
|
145
|
+
* managed by the #GFBGraphConnectable object.
|
|
146
|
+
* @param node_type a #GType, required a #GFBGRAPH_TYPE_NODE or children.
|
|
147
|
+
* @returns a const #gchar with the function path or %NULL.
|
|
148
|
+
*/
|
|
149
|
+
get_connection_path(node_type: GObject.GType): string | null
|
|
150
|
+
/**
|
|
151
|
+
* Get the params to be inserted in a request to the Facebook Graph API
|
|
152
|
+
* in order to append the node `self` to a node of type `node_type`.
|
|
153
|
+
* @param node_type a #GType, required a #GFBGRAPH_TYPE_NODE or children.
|
|
154
|
+
* @returns A string based #GHashTable with the params and his values or %NULL.
|
|
155
|
+
*/
|
|
156
|
+
get_connection_post_params(node_type: GObject.GType): GLib.HashTable
|
|
157
|
+
/**
|
|
158
|
+
* Check if `self` object, normally a #GFBGraphNode implementing the #GFBGraphConnectable interface,
|
|
159
|
+
* has the possibility to be connected to another node of type `node_type`.
|
|
160
|
+
* @param node_type a #GType, required a #GFBGRAPH_TYPE_NODE or children.
|
|
161
|
+
* @returns %TRUE in case that the @self object can be connected to a node of type @node_type, %FALSE otherwise.
|
|
162
|
+
*/
|
|
163
|
+
is_connectable_to(node_type: GObject.GType): boolean
|
|
164
|
+
/**
|
|
165
|
+
* Parse the response contained in `payload` when a gfbgraph_node_get_connection_nodes() was
|
|
166
|
+
* executed.
|
|
167
|
+
* @param payload a const #gchar with the response string from the Facebook Graph API.
|
|
168
|
+
* @returns a newly-allocated #GList of #GFBGraphNode created from the @payload or %NULL.
|
|
169
|
+
*/
|
|
170
|
+
parse_connected_data(payload: string | null): Node[]
|
|
171
|
+
|
|
172
|
+
// Own virtual methods of GFBGraph-0.2.GFBGraph.Connectable
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Get the params to be inserted in a request to the Facebook Graph API
|
|
176
|
+
* in order to append the node `self` to a node of type `node_type`.
|
|
177
|
+
* @virtual
|
|
178
|
+
* @param node_type a #GType, required a #GFBGRAPH_TYPE_NODE or children.
|
|
179
|
+
* @returns A string based #GHashTable with the params and his values or %NULL.
|
|
180
|
+
*/
|
|
181
|
+
vfunc_get_connection_post_params(node_type: GObject.GType): GLib.HashTable
|
|
182
|
+
/**
|
|
183
|
+
* Parse the response contained in `payload` when a gfbgraph_node_get_connection_nodes() was
|
|
184
|
+
* executed.
|
|
185
|
+
* @virtual
|
|
186
|
+
* @param payload a const #gchar with the response string from the Facebook Graph API.
|
|
187
|
+
* @returns a newly-allocated #GList of #GFBGraphNode created from the @payload or %NULL.
|
|
188
|
+
*/
|
|
189
|
+
vfunc_parse_connected_data(payload: string | null): Node[]
|
|
190
|
+
|
|
191
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.Connectable
|
|
192
|
+
|
|
193
|
+
connect(sigName: "notify::created-time", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
194
|
+
connect_after(sigName: "notify::created-time", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
195
|
+
emit(sigName: "notify::created-time", ...args: any[]): void
|
|
196
|
+
connect(sigName: "notify::id", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
197
|
+
connect_after(sigName: "notify::id", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
198
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
199
|
+
connect(sigName: "notify::link", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
200
|
+
connect_after(sigName: "notify::link", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
201
|
+
emit(sigName: "notify::link", ...args: any[]): void
|
|
202
|
+
connect(sigName: "notify::updated-time", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
203
|
+
connect_after(sigName: "notify::updated-time", callback: (($obj: Connectable, pspec: GObject.ParamSpec) => void)): number
|
|
204
|
+
emit(sigName: "notify::updated-time", ...args: any[]): void
|
|
205
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
206
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
207
|
+
emit(sigName: string, ...args: any[]): void
|
|
208
|
+
disconnect(id: number): void
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export class Connectable extends GObject.Object {
|
|
212
|
+
|
|
213
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Connectable
|
|
214
|
+
|
|
215
|
+
static name: string
|
|
216
|
+
static $gtype: GObject.GType<Connectable>
|
|
217
|
+
|
|
218
|
+
// Constructors of GFBGraph-0.2.GFBGraph.Connectable
|
|
219
|
+
|
|
220
|
+
constructor(config?: Connectable.ConstructorProperties)
|
|
221
|
+
_init(config?: Connectable.ConstructorProperties): void
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export module Album {
|
|
225
|
+
|
|
226
|
+
// Constructor properties interface
|
|
227
|
+
|
|
228
|
+
export interface ConstructorProperties extends Connectable.ConstructorProperties, Node.ConstructorProperties {
|
|
229
|
+
|
|
230
|
+
// Own constructor properties of GFBGraph-0.2.GFBGraph.Album
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The number of photos in the album.
|
|
234
|
+
*/
|
|
235
|
+
count?: number | null
|
|
236
|
+
cover_photo?: string | null
|
|
237
|
+
/**
|
|
238
|
+
* The album description given by the owner.
|
|
239
|
+
*/
|
|
240
|
+
description?: string | null
|
|
241
|
+
/**
|
|
242
|
+
* The album name.
|
|
243
|
+
*/
|
|
244
|
+
name?: string | null
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export interface Album extends Connectable {
|
|
250
|
+
|
|
251
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Album
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The number of photos in the album.
|
|
255
|
+
*/
|
|
256
|
+
count: number
|
|
257
|
+
cover_photo: string | null
|
|
258
|
+
/**
|
|
259
|
+
* The album description given by the owner.
|
|
260
|
+
*/
|
|
261
|
+
description: string | null
|
|
262
|
+
/**
|
|
263
|
+
* The album name.
|
|
264
|
+
*/
|
|
265
|
+
name: string | null
|
|
266
|
+
|
|
267
|
+
// Own fields of GFBGraph-0.2.GFBGraph.Album
|
|
268
|
+
|
|
269
|
+
parent: Node & GObject.Object
|
|
270
|
+
|
|
271
|
+
// Owm methods of GFBGraph-0.2.GFBGraph.Album
|
|
272
|
+
|
|
273
|
+
get_count(): number
|
|
274
|
+
get_cover_photo_id(): string | null
|
|
275
|
+
get_description(): string | null
|
|
276
|
+
get_name(): string | null
|
|
277
|
+
/**
|
|
278
|
+
* Sets the description for the `album`.
|
|
279
|
+
* @param description a const pointer to a #gchar.
|
|
280
|
+
*/
|
|
281
|
+
set_description(description: string | null): void
|
|
282
|
+
/**
|
|
283
|
+
* Sets the name for the `album`.
|
|
284
|
+
* @param name a const pointer to a #gchar.
|
|
285
|
+
*/
|
|
286
|
+
set_name(name: string | null): void
|
|
287
|
+
|
|
288
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.Album
|
|
289
|
+
|
|
290
|
+
connect(sigName: "notify::count", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
291
|
+
connect_after(sigName: "notify::count", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
292
|
+
emit(sigName: "notify::count", ...args: any[]): void
|
|
293
|
+
connect(sigName: "notify::cover-photo", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
294
|
+
connect_after(sigName: "notify::cover-photo", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
295
|
+
emit(sigName: "notify::cover-photo", ...args: any[]): void
|
|
296
|
+
connect(sigName: "notify::description", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
297
|
+
connect_after(sigName: "notify::description", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
298
|
+
emit(sigName: "notify::description", ...args: any[]): void
|
|
299
|
+
connect(sigName: "notify::name", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
300
|
+
connect_after(sigName: "notify::name", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
301
|
+
emit(sigName: "notify::name", ...args: any[]): void
|
|
302
|
+
connect(sigName: "notify::created-time", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
303
|
+
connect_after(sigName: "notify::created-time", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
304
|
+
emit(sigName: "notify::created-time", ...args: any[]): void
|
|
305
|
+
connect(sigName: "notify::id", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
306
|
+
connect_after(sigName: "notify::id", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
307
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
308
|
+
connect(sigName: "notify::link", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
309
|
+
connect_after(sigName: "notify::link", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
310
|
+
emit(sigName: "notify::link", ...args: any[]): void
|
|
311
|
+
connect(sigName: "notify::updated-time", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
312
|
+
connect_after(sigName: "notify::updated-time", callback: (($obj: Album, pspec: GObject.ParamSpec) => void)): number
|
|
313
|
+
emit(sigName: "notify::updated-time", ...args: any[]): void
|
|
314
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
315
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
316
|
+
emit(sigName: string, ...args: any[]): void
|
|
317
|
+
disconnect(id: number): void
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export class Album extends Node {
|
|
321
|
+
|
|
322
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Album
|
|
323
|
+
|
|
324
|
+
static name: string
|
|
325
|
+
static $gtype: GObject.GType<Album>
|
|
326
|
+
|
|
327
|
+
// Constructors of GFBGraph-0.2.GFBGraph.Album
|
|
328
|
+
|
|
329
|
+
constructor(config?: Album.ConstructorProperties)
|
|
330
|
+
/**
|
|
331
|
+
* Creates a new #GFBGraphAlbum.
|
|
332
|
+
* @constructor
|
|
333
|
+
* @returns a new #GFBGraphAlbum; unref with g_object_unref()
|
|
334
|
+
*/
|
|
335
|
+
constructor()
|
|
336
|
+
/**
|
|
337
|
+
* Creates a new #GFBGraphAlbum.
|
|
338
|
+
* @constructor
|
|
339
|
+
* @returns a new #GFBGraphAlbum; unref with g_object_unref()
|
|
340
|
+
*/
|
|
341
|
+
static new(): Album
|
|
342
|
+
|
|
343
|
+
// Overloads of new
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Creates a new #GFBGraphNode.
|
|
347
|
+
* @constructor
|
|
348
|
+
* @returns a new #GFBGraphNode; unref with g_object_unref()
|
|
349
|
+
*/
|
|
350
|
+
static new(): Node
|
|
351
|
+
/**
|
|
352
|
+
* Retrieves an album node from the Facebook Graph with the give ID.
|
|
353
|
+
* @constructor
|
|
354
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
355
|
+
* @param id a const #gchar with the album ID.
|
|
356
|
+
* @returns a new #GFBGraphAlbum; unref with g_object_unref()
|
|
357
|
+
*/
|
|
358
|
+
static new_from_id(authorizer: Authorizer, id: string | null): Album
|
|
359
|
+
|
|
360
|
+
// Overloads of new_from_id
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Retrieve a node object as a #GFBgraphNode of #node_type type, with the given `id` from the Facebook Graph.
|
|
364
|
+
* @constructor
|
|
365
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
366
|
+
* @param id a const #gchar with the node ID.
|
|
367
|
+
* @param node_type a #GFBGraphNode type #GType.
|
|
368
|
+
* @returns a #GFBGraphNode or %NULL.
|
|
369
|
+
*/
|
|
370
|
+
static new_from_id(authorizer: Authorizer, id: string | null, node_type: GObject.GType): Node
|
|
371
|
+
_init(config?: Album.ConstructorProperties): void
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export module GoaAuthorizer {
|
|
375
|
+
|
|
376
|
+
// Constructor properties interface
|
|
377
|
+
|
|
378
|
+
export interface ConstructorProperties extends Authorizer.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export interface GoaAuthorizer extends Authorizer {
|
|
384
|
+
|
|
385
|
+
// Own fields of GFBGraph-0.2.GFBGraph.GoaAuthorizer
|
|
386
|
+
|
|
387
|
+
parent: GObject.Object
|
|
388
|
+
|
|
389
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.GoaAuthorizer
|
|
390
|
+
|
|
391
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
392
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
393
|
+
emit(sigName: string, ...args: any[]): void
|
|
394
|
+
disconnect(id: number): void
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export class GoaAuthorizer extends GObject.Object {
|
|
398
|
+
|
|
399
|
+
// Own properties of GFBGraph-0.2.GFBGraph.GoaAuthorizer
|
|
400
|
+
|
|
401
|
+
static name: string
|
|
402
|
+
static $gtype: GObject.GType<GoaAuthorizer>
|
|
403
|
+
|
|
404
|
+
// Constructors of GFBGraph-0.2.GFBGraph.GoaAuthorizer
|
|
405
|
+
|
|
406
|
+
constructor(config?: GoaAuthorizer.ConstructorProperties)
|
|
407
|
+
_init(config?: GoaAuthorizer.ConstructorProperties): void
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export module Node {
|
|
411
|
+
|
|
412
|
+
// Constructor properties interface
|
|
413
|
+
|
|
414
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
415
|
+
|
|
416
|
+
// Own constructor properties of GFBGraph-0.2.GFBGraph.Node
|
|
417
|
+
|
|
418
|
+
created_time?: string | null
|
|
419
|
+
/**
|
|
420
|
+
* The node ID. All nodes have one of this.
|
|
421
|
+
*/
|
|
422
|
+
id?: string | null
|
|
423
|
+
/**
|
|
424
|
+
* The node link. An URL to the node on Facebook.
|
|
425
|
+
*/
|
|
426
|
+
link?: string | null
|
|
427
|
+
updated_time?: string | null
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export interface Node {
|
|
433
|
+
|
|
434
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Node
|
|
435
|
+
|
|
436
|
+
created_time: string | null
|
|
437
|
+
/**
|
|
438
|
+
* The node ID. All nodes have one of this.
|
|
439
|
+
*/
|
|
440
|
+
id: string | null
|
|
441
|
+
/**
|
|
442
|
+
* The node link. An URL to the node on Facebook.
|
|
443
|
+
*/
|
|
444
|
+
link: string | null
|
|
445
|
+
updated_time: string | null
|
|
446
|
+
|
|
447
|
+
// Own fields of GFBGraph-0.2.GFBGraph.Node
|
|
448
|
+
|
|
449
|
+
parent: GObject.Object
|
|
450
|
+
|
|
451
|
+
// Owm methods of GFBGraph-0.2.GFBGraph.Node
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Appends `connect_node` to `node`. `connect_node` must implement the #GFBGraphConnectable interface
|
|
455
|
+
* and be connectable to `node` GType.
|
|
456
|
+
* @param connect_node A #GFBGraphNode.
|
|
457
|
+
* @param authorizer A #GFBGraphAuthorizer.
|
|
458
|
+
* @returns TRUE on sucess, FALSE if an error ocurred.
|
|
459
|
+
*/
|
|
460
|
+
append_connection(connect_node: Node, authorizer: Authorizer): boolean
|
|
461
|
+
/**
|
|
462
|
+
* Retrieve the nodes of type `node_type` connected to the `node` object. The `node_type` object must
|
|
463
|
+
* implement the #GFBGraphConnectionable interface and be connectable to `node` type object.
|
|
464
|
+
* See gfbgraph_node_get_connection_nodes_async() for the asynchronous version of this call.
|
|
465
|
+
* @param node_type a #GFBGraphNode type #GType that determines the kind of nodes to retrieve.
|
|
466
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
467
|
+
* @returns a newly-allocated #GList of type @node_type objects with the found nodes.
|
|
468
|
+
*/
|
|
469
|
+
get_connection_nodes(node_type: GObject.GType, authorizer: Authorizer): Node[]
|
|
470
|
+
/**
|
|
471
|
+
* Asynchronously retrieve the list of nodes of type `node_type` connected to the `node` object. See
|
|
472
|
+
* gfbgraph_node_get_connection_nodes() for the synchronous version of this call.
|
|
473
|
+
*
|
|
474
|
+
* When the operation is finished, `callback` will be called. You can then call gfbgraph_node_get_connection_nodes_finish()
|
|
475
|
+
* to get the list of connected nodes.
|
|
476
|
+
* @param node_type a #GFBGraphNode type #GType that must implement the #GFBGraphConnectionable interface.
|
|
477
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
478
|
+
* @param cancellable An optional #GCancellable object, or %NULL.
|
|
479
|
+
* @param callback A #GAsyncReadyCallback to call when the request is completed.
|
|
480
|
+
*/
|
|
481
|
+
get_connection_nodes_async(node_type: GObject.GType, authorizer: Authorizer, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
482
|
+
/**
|
|
483
|
+
* Finishes an asynchronous operation started with
|
|
484
|
+
* gfbgraph_node_get_connection_nodes_async().
|
|
485
|
+
* @param result A #GAsyncResult.
|
|
486
|
+
* @returns a newly-allocated #GList of type #node_type objects with the found nodes.
|
|
487
|
+
*/
|
|
488
|
+
get_connection_nodes_async_finish(result: Gio.AsyncResult): Node[]
|
|
489
|
+
/**
|
|
490
|
+
* Gets a node created time.
|
|
491
|
+
* @returns an ISO 8601 encoded date when the node was initially published.
|
|
492
|
+
*/
|
|
493
|
+
get_created_time(): string | null
|
|
494
|
+
/**
|
|
495
|
+
* Gets the Facebook Graph unique node ID.
|
|
496
|
+
* @returns the node ID.
|
|
497
|
+
*/
|
|
498
|
+
get_id(): string | null
|
|
499
|
+
get_link(): string | null
|
|
500
|
+
/**
|
|
501
|
+
* Gets a node updated time.
|
|
502
|
+
* @returns an ISO 8601 encoded date when the node was updated.
|
|
503
|
+
*/
|
|
504
|
+
get_updated_time(): string | null
|
|
505
|
+
/**
|
|
506
|
+
* Sets the ID for a node. Just useful when a new node is created
|
|
507
|
+
* and the Graph API returns the ID of the new created node.
|
|
508
|
+
* @param id a const pointer to a #gchar.
|
|
509
|
+
*/
|
|
510
|
+
set_id(id: string | null): void
|
|
511
|
+
|
|
512
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.Node
|
|
513
|
+
|
|
514
|
+
connect(sigName: "notify::created-time", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
515
|
+
connect_after(sigName: "notify::created-time", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
516
|
+
emit(sigName: "notify::created-time", ...args: any[]): void
|
|
517
|
+
connect(sigName: "notify::id", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
518
|
+
connect_after(sigName: "notify::id", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
519
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
520
|
+
connect(sigName: "notify::link", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
521
|
+
connect_after(sigName: "notify::link", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
522
|
+
emit(sigName: "notify::link", ...args: any[]): void
|
|
523
|
+
connect(sigName: "notify::updated-time", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
524
|
+
connect_after(sigName: "notify::updated-time", callback: (($obj: Node, pspec: GObject.ParamSpec) => void)): number
|
|
525
|
+
emit(sigName: "notify::updated-time", ...args: any[]): void
|
|
526
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
527
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
528
|
+
emit(sigName: string, ...args: any[]): void
|
|
529
|
+
disconnect(id: number): void
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export class Node extends GObject.Object {
|
|
533
|
+
|
|
534
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Node
|
|
535
|
+
|
|
536
|
+
static name: string
|
|
537
|
+
static $gtype: GObject.GType<Node>
|
|
538
|
+
|
|
539
|
+
// Constructors of GFBGraph-0.2.GFBGraph.Node
|
|
540
|
+
|
|
541
|
+
constructor(config?: Node.ConstructorProperties)
|
|
542
|
+
/**
|
|
543
|
+
* Creates a new #GFBGraphNode.
|
|
544
|
+
* @constructor
|
|
545
|
+
* @returns a new #GFBGraphNode; unref with g_object_unref()
|
|
546
|
+
*/
|
|
547
|
+
constructor()
|
|
548
|
+
/**
|
|
549
|
+
* Creates a new #GFBGraphNode.
|
|
550
|
+
* @constructor
|
|
551
|
+
* @returns a new #GFBGraphNode; unref with g_object_unref()
|
|
552
|
+
*/
|
|
553
|
+
static new(): Node
|
|
554
|
+
/**
|
|
555
|
+
* Retrieve a node object as a #GFBgraphNode of #node_type type, with the given `id` from the Facebook Graph.
|
|
556
|
+
* @constructor
|
|
557
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
558
|
+
* @param id a const #gchar with the node ID.
|
|
559
|
+
* @param node_type a #GFBGraphNode type #GType.
|
|
560
|
+
* @returns a #GFBGraphNode or %NULL.
|
|
561
|
+
*/
|
|
562
|
+
static new_from_id(authorizer: Authorizer, id: string | null, node_type: GObject.GType): Node
|
|
563
|
+
_init(config?: Node.ConstructorProperties): void
|
|
564
|
+
static error_quark(): GLib.Quark
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
export module Photo {
|
|
568
|
+
|
|
569
|
+
// Constructor properties interface
|
|
570
|
+
|
|
571
|
+
export interface ConstructorProperties extends Connectable.ConstructorProperties, Json.Serializable.ConstructorProperties, Node.ConstructorProperties {
|
|
572
|
+
|
|
573
|
+
// Own constructor properties of GFBGraph-0.2.GFBGraph.Photo
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* The default photo height, up to 720px.
|
|
577
|
+
*/
|
|
578
|
+
height?: number | null
|
|
579
|
+
/**
|
|
580
|
+
* A list with the available representations of the photo, in differents sizes
|
|
581
|
+
*/
|
|
582
|
+
images?: any | null
|
|
583
|
+
/**
|
|
584
|
+
* The name of the photo given by his owner.
|
|
585
|
+
*/
|
|
586
|
+
name?: string | null
|
|
587
|
+
/**
|
|
588
|
+
* An URI for the photo, with a maximum width or height of 720px.
|
|
589
|
+
*/
|
|
590
|
+
source?: string | null
|
|
591
|
+
/**
|
|
592
|
+
* The default photo width, up to 720px.
|
|
593
|
+
*/
|
|
594
|
+
width?: number | null
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export interface Photo extends Connectable, Json.Serializable {
|
|
600
|
+
|
|
601
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Photo
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* The default photo height, up to 720px.
|
|
605
|
+
*/
|
|
606
|
+
height: number
|
|
607
|
+
/**
|
|
608
|
+
* A list with the available representations of the photo, in differents sizes
|
|
609
|
+
*/
|
|
610
|
+
images: any
|
|
611
|
+
/**
|
|
612
|
+
* The name of the photo given by his owner.
|
|
613
|
+
*/
|
|
614
|
+
name: string | null
|
|
615
|
+
/**
|
|
616
|
+
* An URI for the photo, with a maximum width or height of 720px.
|
|
617
|
+
*/
|
|
618
|
+
source: string | null
|
|
619
|
+
/**
|
|
620
|
+
* The default photo width, up to 720px.
|
|
621
|
+
*/
|
|
622
|
+
width: number
|
|
623
|
+
|
|
624
|
+
// Own fields of GFBGraph-0.2.GFBGraph.Photo
|
|
625
|
+
|
|
626
|
+
parent: Node & GObject.Object
|
|
627
|
+
|
|
628
|
+
// Owm methods of GFBGraph-0.2.GFBGraph.Photo
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Download the default sized photo pointed by `photo,` with a maximum width or height of 720px.
|
|
632
|
+
* The photo always is a JPEG.
|
|
633
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
634
|
+
* @returns a #GInputStream with the photo content or %NULL in case of error.
|
|
635
|
+
*/
|
|
636
|
+
download_default_size(authorizer: Authorizer): Gio.InputStream
|
|
637
|
+
get_default_height(): number
|
|
638
|
+
get_default_source_uri(): string | null
|
|
639
|
+
get_default_width(): number
|
|
640
|
+
get_image_hires(): PhotoImage
|
|
641
|
+
get_image_near_height(height: number): PhotoImage
|
|
642
|
+
get_image_near_width(width: number): PhotoImage
|
|
643
|
+
get_images(): PhotoImage[]
|
|
644
|
+
get_name(): string | null
|
|
645
|
+
|
|
646
|
+
// Conflicting methods
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Calls the [vfunc`Json`.Serializable.get_property] implementation
|
|
650
|
+
* on the `JsonSerializable` instance, which will get the value of
|
|
651
|
+
* the given property.
|
|
652
|
+
* @param pspec a property description
|
|
653
|
+
*/
|
|
654
|
+
get_property(pspec: GObject.ParamSpec): /* value */ any
|
|
655
|
+
|
|
656
|
+
// Overloads of get_property
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Gets a property of an object.
|
|
660
|
+
*
|
|
661
|
+
* The `value` can be:
|
|
662
|
+
*
|
|
663
|
+
* - an empty #GValue initialized by %G_VALUE_INIT, which will be
|
|
664
|
+
* automatically initialized with the expected type of the property
|
|
665
|
+
* (since GLib 2.60)
|
|
666
|
+
* - a #GValue initialized with the expected type of the property
|
|
667
|
+
* - a #GValue initialized with a type to which the expected type
|
|
668
|
+
* of the property can be transformed
|
|
669
|
+
*
|
|
670
|
+
* In general, a copy is made of the property contents and the caller is
|
|
671
|
+
* responsible for freeing the memory by calling g_value_unset().
|
|
672
|
+
*
|
|
673
|
+
* Note that g_object_get_property() is really intended for language
|
|
674
|
+
* bindings, g_object_get() is much more convenient for C programming.
|
|
675
|
+
* @param property_name the name of the property to get
|
|
676
|
+
* @param value return location for the property value
|
|
677
|
+
*/
|
|
678
|
+
get_property(property_name: string | null, value: any): void
|
|
679
|
+
/**
|
|
680
|
+
* Gets a property of an object.
|
|
681
|
+
*
|
|
682
|
+
* The `value` can be:
|
|
683
|
+
*
|
|
684
|
+
* - an empty #GValue initialized by %G_VALUE_INIT, which will be
|
|
685
|
+
* automatically initialized with the expected type of the property
|
|
686
|
+
* (since GLib 2.60)
|
|
687
|
+
* - a #GValue initialized with the expected type of the property
|
|
688
|
+
* - a #GValue initialized with a type to which the expected type
|
|
689
|
+
* of the property can be transformed
|
|
690
|
+
*
|
|
691
|
+
* In general, a copy is made of the property contents and the caller is
|
|
692
|
+
* responsible for freeing the memory by calling g_value_unset().
|
|
693
|
+
*
|
|
694
|
+
* Note that g_object_get_property() is really intended for language
|
|
695
|
+
* bindings, g_object_get() is much more convenient for C programming.
|
|
696
|
+
* @param property_name the name of the property to get
|
|
697
|
+
* @param value return location for the property value
|
|
698
|
+
*/
|
|
699
|
+
get_property(property_name: string | null, value: any): void
|
|
700
|
+
/**
|
|
701
|
+
* Calls the [vfunc`Json`.Serializable.set_property] implementation
|
|
702
|
+
* on the `JsonSerializable` instance, which will set the property
|
|
703
|
+
* with the given value.
|
|
704
|
+
* @param pspec a property description
|
|
705
|
+
* @param value the property value to set
|
|
706
|
+
*/
|
|
707
|
+
set_property(pspec: GObject.ParamSpec, value: any): void
|
|
708
|
+
|
|
709
|
+
// Overloads of set_property
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Sets a property on an object.
|
|
713
|
+
* @param property_name the name of the property to set
|
|
714
|
+
* @param value the value
|
|
715
|
+
*/
|
|
716
|
+
set_property(property_name: string | null, value: any): void
|
|
717
|
+
/**
|
|
718
|
+
* Sets a property on an object.
|
|
719
|
+
* @param property_name the name of the property to set
|
|
720
|
+
* @param value the value
|
|
721
|
+
*/
|
|
722
|
+
set_property(property_name: string | null, value: any): void
|
|
723
|
+
/**
|
|
724
|
+
* Calls the [vfunc`Json`.Serializable.get_property] implementation
|
|
725
|
+
* on the `JsonSerializable` instance, which will get the value of
|
|
726
|
+
* the given property.
|
|
727
|
+
* @virtual
|
|
728
|
+
* @param pspec a property description
|
|
729
|
+
*/
|
|
730
|
+
vfunc_get_property(pspec: GObject.ParamSpec): /* value */ any
|
|
731
|
+
|
|
732
|
+
// Overloads of vfunc_get_property
|
|
733
|
+
|
|
734
|
+
vfunc_get_property(property_id: number, value: any, pspec: GObject.ParamSpec): void
|
|
735
|
+
vfunc_get_property(property_id: number, value: any, pspec: GObject.ParamSpec): void
|
|
736
|
+
/**
|
|
737
|
+
* Calls the [vfunc`Json`.Serializable.set_property] implementation
|
|
738
|
+
* on the `JsonSerializable` instance, which will set the property
|
|
739
|
+
* with the given value.
|
|
740
|
+
* @virtual
|
|
741
|
+
* @param pspec a property description
|
|
742
|
+
* @param value the property value to set
|
|
743
|
+
*/
|
|
744
|
+
vfunc_set_property(pspec: GObject.ParamSpec, value: any): void
|
|
745
|
+
|
|
746
|
+
// Overloads of vfunc_set_property
|
|
747
|
+
|
|
748
|
+
vfunc_set_property(property_id: number, value: any, pspec: GObject.ParamSpec): void
|
|
749
|
+
vfunc_set_property(property_id: number, value: any, pspec: GObject.ParamSpec): void
|
|
750
|
+
|
|
751
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.Photo
|
|
752
|
+
|
|
753
|
+
connect(sigName: "notify::height", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
754
|
+
connect_after(sigName: "notify::height", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
755
|
+
emit(sigName: "notify::height", ...args: any[]): void
|
|
756
|
+
connect(sigName: "notify::images", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
757
|
+
connect_after(sigName: "notify::images", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
758
|
+
emit(sigName: "notify::images", ...args: any[]): void
|
|
759
|
+
connect(sigName: "notify::name", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
760
|
+
connect_after(sigName: "notify::name", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
761
|
+
emit(sigName: "notify::name", ...args: any[]): void
|
|
762
|
+
connect(sigName: "notify::source", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
763
|
+
connect_after(sigName: "notify::source", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
764
|
+
emit(sigName: "notify::source", ...args: any[]): void
|
|
765
|
+
connect(sigName: "notify::width", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
766
|
+
connect_after(sigName: "notify::width", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
767
|
+
emit(sigName: "notify::width", ...args: any[]): void
|
|
768
|
+
connect(sigName: "notify::created-time", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
769
|
+
connect_after(sigName: "notify::created-time", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
770
|
+
emit(sigName: "notify::created-time", ...args: any[]): void
|
|
771
|
+
connect(sigName: "notify::id", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
772
|
+
connect_after(sigName: "notify::id", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
773
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
774
|
+
connect(sigName: "notify::link", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
775
|
+
connect_after(sigName: "notify::link", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
776
|
+
emit(sigName: "notify::link", ...args: any[]): void
|
|
777
|
+
connect(sigName: "notify::updated-time", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
778
|
+
connect_after(sigName: "notify::updated-time", callback: (($obj: Photo, pspec: GObject.ParamSpec) => void)): number
|
|
779
|
+
emit(sigName: "notify::updated-time", ...args: any[]): void
|
|
780
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
781
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
782
|
+
emit(sigName: string, ...args: any[]): void
|
|
783
|
+
disconnect(id: number): void
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export class Photo extends Node {
|
|
787
|
+
|
|
788
|
+
// Own properties of GFBGraph-0.2.GFBGraph.Photo
|
|
789
|
+
|
|
790
|
+
static name: string
|
|
791
|
+
static $gtype: GObject.GType<Photo>
|
|
792
|
+
|
|
793
|
+
// Constructors of GFBGraph-0.2.GFBGraph.Photo
|
|
794
|
+
|
|
795
|
+
constructor(config?: Photo.ConstructorProperties)
|
|
796
|
+
/**
|
|
797
|
+
* Creates a new #GFBGraphPhoto.
|
|
798
|
+
* @constructor
|
|
799
|
+
* @returns a new #GFBGraphPhoto; unref with g_object_unref()
|
|
800
|
+
*/
|
|
801
|
+
constructor()
|
|
802
|
+
/**
|
|
803
|
+
* Creates a new #GFBGraphPhoto.
|
|
804
|
+
* @constructor
|
|
805
|
+
* @returns a new #GFBGraphPhoto; unref with g_object_unref()
|
|
806
|
+
*/
|
|
807
|
+
static new(): Photo
|
|
808
|
+
|
|
809
|
+
// Overloads of new
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Creates a new #GFBGraphNode.
|
|
813
|
+
* @constructor
|
|
814
|
+
* @returns a new #GFBGraphNode; unref with g_object_unref()
|
|
815
|
+
*/
|
|
816
|
+
static new(): Node
|
|
817
|
+
/**
|
|
818
|
+
* Retrieves an photo node from the Facebook Graph with the give ID.
|
|
819
|
+
* @constructor
|
|
820
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
821
|
+
* @param id a const #gchar with the photo ID.
|
|
822
|
+
* @returns a new #GFBGraphPhoto; unref with g_object_unref()
|
|
823
|
+
*/
|
|
824
|
+
static new_from_id(authorizer: Authorizer, id: string | null): Photo
|
|
825
|
+
|
|
826
|
+
// Overloads of new_from_id
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Retrieve a node object as a #GFBgraphNode of #node_type type, with the given `id` from the Facebook Graph.
|
|
830
|
+
* @constructor
|
|
831
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
832
|
+
* @param id a const #gchar with the node ID.
|
|
833
|
+
* @param node_type a #GFBGraphNode type #GType.
|
|
834
|
+
* @returns a #GFBGraphNode or %NULL.
|
|
835
|
+
*/
|
|
836
|
+
static new_from_id(authorizer: Authorizer, id: string | null, node_type: GObject.GType): Node
|
|
837
|
+
_init(config?: Photo.ConstructorProperties): void
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export module SimpleAuthorizer {
|
|
841
|
+
|
|
842
|
+
// Constructor properties interface
|
|
843
|
+
|
|
844
|
+
export interface ConstructorProperties extends Authorizer.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
845
|
+
|
|
846
|
+
// Own constructor properties of GFBGraph-0.2.GFBGraph.SimpleAuthorizer
|
|
847
|
+
|
|
848
|
+
access_token?: string | null
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export interface SimpleAuthorizer extends Authorizer {
|
|
854
|
+
|
|
855
|
+
// Own properties of GFBGraph-0.2.GFBGraph.SimpleAuthorizer
|
|
856
|
+
|
|
857
|
+
access_token: string | null
|
|
858
|
+
|
|
859
|
+
// Own fields of GFBGraph-0.2.GFBGraph.SimpleAuthorizer
|
|
860
|
+
|
|
861
|
+
parent: GObject.Object
|
|
862
|
+
|
|
863
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.SimpleAuthorizer
|
|
864
|
+
|
|
865
|
+
connect(sigName: "notify::access-token", callback: (($obj: SimpleAuthorizer, pspec: GObject.ParamSpec) => void)): number
|
|
866
|
+
connect_after(sigName: "notify::access-token", callback: (($obj: SimpleAuthorizer, pspec: GObject.ParamSpec) => void)): number
|
|
867
|
+
emit(sigName: "notify::access-token", ...args: any[]): void
|
|
868
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
869
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
870
|
+
emit(sigName: string, ...args: any[]): void
|
|
871
|
+
disconnect(id: number): void
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
export class SimpleAuthorizer extends GObject.Object {
|
|
875
|
+
|
|
876
|
+
// Own properties of GFBGraph-0.2.GFBGraph.SimpleAuthorizer
|
|
877
|
+
|
|
878
|
+
static name: string
|
|
879
|
+
static $gtype: GObject.GType<SimpleAuthorizer>
|
|
880
|
+
|
|
881
|
+
// Constructors of GFBGraph-0.2.GFBGraph.SimpleAuthorizer
|
|
882
|
+
|
|
883
|
+
constructor(config?: SimpleAuthorizer.ConstructorProperties)
|
|
884
|
+
/**
|
|
885
|
+
* Creates a new #GFBGraphAuthorizer to use with the GFBGraph library using the `access_token` as access token.
|
|
886
|
+
* It's only a test authorizer, don't use in final code.
|
|
887
|
+
* @constructor
|
|
888
|
+
* @param access_token a const `gchar`.
|
|
889
|
+
* @returns a #GFBGraphSimpleAuthorizer.
|
|
890
|
+
*/
|
|
891
|
+
constructor(access_token: string | null)
|
|
892
|
+
/**
|
|
893
|
+
* Creates a new #GFBGraphAuthorizer to use with the GFBGraph library using the `access_token` as access token.
|
|
894
|
+
* It's only a test authorizer, don't use in final code.
|
|
895
|
+
* @constructor
|
|
896
|
+
* @param access_token a const `gchar`.
|
|
897
|
+
* @returns a #GFBGraphSimpleAuthorizer.
|
|
898
|
+
*/
|
|
899
|
+
static new(access_token: string | null): SimpleAuthorizer
|
|
900
|
+
_init(config?: SimpleAuthorizer.ConstructorProperties): void
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export module User {
|
|
904
|
+
|
|
905
|
+
// Constructor properties interface
|
|
906
|
+
|
|
907
|
+
export interface ConstructorProperties extends Node.ConstructorProperties {
|
|
908
|
+
|
|
909
|
+
// Own constructor properties of GFBGraph-0.2.GFBGraph.User
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* The email of the user if available
|
|
913
|
+
*/
|
|
914
|
+
email?: string | null
|
|
915
|
+
/**
|
|
916
|
+
* The full name of the user
|
|
917
|
+
*/
|
|
918
|
+
name?: string | null
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export interface User {
|
|
924
|
+
|
|
925
|
+
// Own properties of GFBGraph-0.2.GFBGraph.User
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* The email of the user if available
|
|
929
|
+
*/
|
|
930
|
+
email: string | null
|
|
931
|
+
/**
|
|
932
|
+
* The full name of the user
|
|
933
|
+
*/
|
|
934
|
+
name: string | null
|
|
935
|
+
|
|
936
|
+
// Own fields of GFBGraph-0.2.GFBGraph.User
|
|
937
|
+
|
|
938
|
+
parent: Node & GObject.Object
|
|
939
|
+
|
|
940
|
+
// Owm methods of GFBGraph-0.2.GFBGraph.User
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Retrieve the albums nodes owned by the `user`. This functions call the function ID/albums.
|
|
944
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
945
|
+
* @returns a newly-allocated #GList with the albums nodes owned by the given user.
|
|
946
|
+
*/
|
|
947
|
+
get_albums(authorizer: Authorizer): Album[]
|
|
948
|
+
/**
|
|
949
|
+
* Asynchronously retrieve the albums nodes owned by the `user`. See gfbgraph_user_get_albums() for the
|
|
950
|
+
* synchronous version of this call.
|
|
951
|
+
*
|
|
952
|
+
* When the operation is finished, `callback` will be called. You can then call gfbgraph_user_get_albums_async_finish()
|
|
953
|
+
* to get the #GList of #GFBGraphAlbum owned by the `user`.
|
|
954
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
955
|
+
* @param cancellable An optional #GCancellable object, or %NULL.
|
|
956
|
+
* @param callback A #GAsyncReadyCallback to call when the request is completed.
|
|
957
|
+
*/
|
|
958
|
+
get_albums_async(authorizer: Authorizer, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
959
|
+
/**
|
|
960
|
+
* Finishes an asynchronous operation started with
|
|
961
|
+
* gfbgraph_user_get_albums_async().
|
|
962
|
+
* @param result A #GAsyncResult.
|
|
963
|
+
* @returns a newly-allocated #GList of albums owned by the @user.
|
|
964
|
+
*/
|
|
965
|
+
get_albums_async_finish(result: Gio.AsyncResult): Album[]
|
|
966
|
+
/**
|
|
967
|
+
* Get the user email. To retrieve this propertie, you need 'email' extended
|
|
968
|
+
* permission.
|
|
969
|
+
* @returns a const #gchar with the user email, or %NULL.
|
|
970
|
+
*/
|
|
971
|
+
get_email(): string | null
|
|
972
|
+
/**
|
|
973
|
+
* Get the user full name.
|
|
974
|
+
* @returns a const #gchar with the user full name, or %NULL.
|
|
975
|
+
*/
|
|
976
|
+
get_name(): string | null
|
|
977
|
+
|
|
978
|
+
// Class property signals of GFBGraph-0.2.GFBGraph.User
|
|
979
|
+
|
|
980
|
+
connect(sigName: "notify::email", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
981
|
+
connect_after(sigName: "notify::email", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
982
|
+
emit(sigName: "notify::email", ...args: any[]): void
|
|
983
|
+
connect(sigName: "notify::name", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
984
|
+
connect_after(sigName: "notify::name", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
985
|
+
emit(sigName: "notify::name", ...args: any[]): void
|
|
986
|
+
connect(sigName: "notify::created-time", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
987
|
+
connect_after(sigName: "notify::created-time", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
988
|
+
emit(sigName: "notify::created-time", ...args: any[]): void
|
|
989
|
+
connect(sigName: "notify::id", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
990
|
+
connect_after(sigName: "notify::id", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
991
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
992
|
+
connect(sigName: "notify::link", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
993
|
+
connect_after(sigName: "notify::link", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
994
|
+
emit(sigName: "notify::link", ...args: any[]): void
|
|
995
|
+
connect(sigName: "notify::updated-time", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
996
|
+
connect_after(sigName: "notify::updated-time", callback: (($obj: User, pspec: GObject.ParamSpec) => void)): number
|
|
997
|
+
emit(sigName: "notify::updated-time", ...args: any[]): void
|
|
998
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
999
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
1000
|
+
emit(sigName: string, ...args: any[]): void
|
|
1001
|
+
disconnect(id: number): void
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export class User extends Node {
|
|
1005
|
+
|
|
1006
|
+
// Own properties of GFBGraph-0.2.GFBGraph.User
|
|
1007
|
+
|
|
1008
|
+
static name: string
|
|
1009
|
+
static $gtype: GObject.GType<User>
|
|
1010
|
+
|
|
1011
|
+
// Constructors of GFBGraph-0.2.GFBGraph.User
|
|
1012
|
+
|
|
1013
|
+
constructor(config?: User.ConstructorProperties)
|
|
1014
|
+
/**
|
|
1015
|
+
* Creates a new #GFBGraphUser.
|
|
1016
|
+
* @constructor
|
|
1017
|
+
* @returns a new #GFBGraphUser; unref with g_object_unref()
|
|
1018
|
+
*/
|
|
1019
|
+
constructor()
|
|
1020
|
+
/**
|
|
1021
|
+
* Creates a new #GFBGraphUser.
|
|
1022
|
+
* @constructor
|
|
1023
|
+
* @returns a new #GFBGraphUser; unref with g_object_unref()
|
|
1024
|
+
*/
|
|
1025
|
+
static new(): User
|
|
1026
|
+
|
|
1027
|
+
// Overloads of new
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Creates a new #GFBGraphNode.
|
|
1031
|
+
* @constructor
|
|
1032
|
+
* @returns a new #GFBGraphNode; unref with g_object_unref()
|
|
1033
|
+
*/
|
|
1034
|
+
static new(): Node
|
|
1035
|
+
/**
|
|
1036
|
+
* Retrieves a user from the Facebook Graph with the give ID.
|
|
1037
|
+
* @constructor
|
|
1038
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
1039
|
+
* @param id a const #gchar with the user ID.
|
|
1040
|
+
* @returns a new #GFBGraphUser; unref with g_object_unref()
|
|
1041
|
+
*/
|
|
1042
|
+
static new_from_id(authorizer: Authorizer, id: string | null): User
|
|
1043
|
+
|
|
1044
|
+
// Overloads of new_from_id
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Retrieve a node object as a #GFBgraphNode of #node_type type, with the given `id` from the Facebook Graph.
|
|
1048
|
+
* @constructor
|
|
1049
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
1050
|
+
* @param id a const #gchar with the node ID.
|
|
1051
|
+
* @param node_type a #GFBGraphNode type #GType.
|
|
1052
|
+
* @returns a #GFBGraphNode or %NULL.
|
|
1053
|
+
*/
|
|
1054
|
+
static new_from_id(authorizer: Authorizer, id: string | null, node_type: GObject.GType): Node
|
|
1055
|
+
_init(config?: User.ConstructorProperties): void
|
|
1056
|
+
/**
|
|
1057
|
+
* Retrieve the current user logged using the https://graph.facebook.com/me Graph API function.
|
|
1058
|
+
* See gfbgraph_user_get_my_async() for the asynchronous version of this call.
|
|
1059
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
1060
|
+
* @returns a #GFBGraphUser with the current user information.
|
|
1061
|
+
*/
|
|
1062
|
+
static get_me(authorizer: Authorizer): User
|
|
1063
|
+
/**
|
|
1064
|
+
* Asynchronously retrieve the current user logged. See gfbgraph_user_get_me() for the
|
|
1065
|
+
* synchronous version of this call.
|
|
1066
|
+
*
|
|
1067
|
+
* When the operation is finished, `callback` will be called. You can then call gfbgraph_user_get_me_finish()
|
|
1068
|
+
* to get the #GFBGraphUser for to the current user logged.
|
|
1069
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
1070
|
+
* @param cancellable An optional #GCancellable object, or %NULL.
|
|
1071
|
+
* @param callback A #GAsyncReadyCallback to call when the request is completed.
|
|
1072
|
+
*/
|
|
1073
|
+
static get_me_async(authorizer: Authorizer, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<User> | null): void
|
|
1074
|
+
/**
|
|
1075
|
+
* Finishes an asynchronous operation started with
|
|
1076
|
+
* gfbgraph_user_get_me_async().
|
|
1077
|
+
* @param authorizer a #GFBGraphAuthorizer.
|
|
1078
|
+
* @param result A #GAsyncResult.
|
|
1079
|
+
* @returns a #GFBGraphUser for to the current user logged.
|
|
1080
|
+
*/
|
|
1081
|
+
static get_me_async_finish(authorizer: Authorizer, result: Gio.AsyncResult): User
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
export interface AlbumClass {
|
|
1085
|
+
|
|
1086
|
+
// Own fields of GFBGraph-0.2.GFBGraph.AlbumClass
|
|
1087
|
+
|
|
1088
|
+
parent_class: NodeClass
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
export abstract class AlbumClass {
|
|
1092
|
+
|
|
1093
|
+
// Own properties of GFBGraph-0.2.GFBGraph.AlbumClass
|
|
1094
|
+
|
|
1095
|
+
static name: string
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
export interface AlbumPrivate {
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export class AlbumPrivate {
|
|
1102
|
+
|
|
1103
|
+
// Own properties of GFBGraph-0.2.GFBGraph.AlbumPrivate
|
|
1104
|
+
|
|
1105
|
+
static name: string
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export interface AuthorizerInterface {
|
|
1109
|
+
|
|
1110
|
+
// Own fields of GFBGraph-0.2.GFBGraph.AuthorizerInterface
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* The parent interface.
|
|
1114
|
+
* @field
|
|
1115
|
+
*/
|
|
1116
|
+
parent: GObject.TypeInterface
|
|
1117
|
+
process_call: (iface: Authorizer, call: Rest.ProxyCall) => void
|
|
1118
|
+
process_message: (iface: Authorizer, message: Soup.Message) => void
|
|
1119
|
+
refresh_authorization: (iface: Authorizer, cancellable: Gio.Cancellable | null) => boolean
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* Interface structure for #GFBGraphAuthorizer. All methos should be thread safe.
|
|
1124
|
+
* @record
|
|
1125
|
+
*/
|
|
1126
|
+
export abstract class AuthorizerInterface {
|
|
1127
|
+
|
|
1128
|
+
// Own properties of GFBGraph-0.2.GFBGraph.AuthorizerInterface
|
|
1129
|
+
|
|
1130
|
+
static name: string
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export interface ConnectableInterface {
|
|
1134
|
+
|
|
1135
|
+
// Own fields of GFBGraph-0.2.GFBGraph.ConnectableInterface
|
|
1136
|
+
|
|
1137
|
+
parent: GObject.TypeInterface
|
|
1138
|
+
connections: GLib.HashTable
|
|
1139
|
+
get_connection_post_params: (self: Connectable, node_type: GObject.GType) => GLib.HashTable
|
|
1140
|
+
parse_connected_data: (self: Connectable, payload: string | null) => Node[]
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
export abstract class ConnectableInterface {
|
|
1144
|
+
|
|
1145
|
+
// Own properties of GFBGraph-0.2.GFBGraph.ConnectableInterface
|
|
1146
|
+
|
|
1147
|
+
static name: string
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
export interface GoaAuthorizerClass {
|
|
1151
|
+
|
|
1152
|
+
// Own fields of GFBGraph-0.2.GFBGraph.GoaAuthorizerClass
|
|
1153
|
+
|
|
1154
|
+
parent_class: GObject.ObjectClass
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
export abstract class GoaAuthorizerClass {
|
|
1158
|
+
|
|
1159
|
+
// Own properties of GFBGraph-0.2.GFBGraph.GoaAuthorizerClass
|
|
1160
|
+
|
|
1161
|
+
static name: string
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
export interface GoaAuthorizerPrivate {
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
export class GoaAuthorizerPrivate {
|
|
1168
|
+
|
|
1169
|
+
// Own properties of GFBGraph-0.2.GFBGraph.GoaAuthorizerPrivate
|
|
1170
|
+
|
|
1171
|
+
static name: string
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
export interface NodeClass {
|
|
1175
|
+
|
|
1176
|
+
// Own fields of GFBGraph-0.2.GFBGraph.NodeClass
|
|
1177
|
+
|
|
1178
|
+
parent_class: GObject.ObjectClass
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export abstract class NodeClass {
|
|
1182
|
+
|
|
1183
|
+
// Own properties of GFBGraph-0.2.GFBGraph.NodeClass
|
|
1184
|
+
|
|
1185
|
+
static name: string
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export interface NodePrivate {
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export class NodePrivate {
|
|
1192
|
+
|
|
1193
|
+
// Own properties of GFBGraph-0.2.GFBGraph.NodePrivate
|
|
1194
|
+
|
|
1195
|
+
static name: string
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export interface PhotoClass {
|
|
1199
|
+
|
|
1200
|
+
// Own fields of GFBGraph-0.2.GFBGraph.PhotoClass
|
|
1201
|
+
|
|
1202
|
+
parent_class: NodeClass
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export abstract class PhotoClass {
|
|
1206
|
+
|
|
1207
|
+
// Own properties of GFBGraph-0.2.GFBGraph.PhotoClass
|
|
1208
|
+
|
|
1209
|
+
static name: string
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export interface PhotoImage {
|
|
1213
|
+
|
|
1214
|
+
// Own fields of GFBGraph-0.2.GFBGraph.PhotoImage
|
|
1215
|
+
|
|
1216
|
+
width: number
|
|
1217
|
+
height: number
|
|
1218
|
+
source: string | null
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* An struct with the information of a image.
|
|
1223
|
+
* @record
|
|
1224
|
+
*/
|
|
1225
|
+
export class PhotoImage {
|
|
1226
|
+
|
|
1227
|
+
// Own properties of GFBGraph-0.2.GFBGraph.PhotoImage
|
|
1228
|
+
|
|
1229
|
+
static name: string
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
export interface PhotoPrivate {
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
export class PhotoPrivate {
|
|
1236
|
+
|
|
1237
|
+
// Own properties of GFBGraph-0.2.GFBGraph.PhotoPrivate
|
|
1238
|
+
|
|
1239
|
+
static name: string
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
export interface SimpleAuthorizerClass {
|
|
1243
|
+
|
|
1244
|
+
// Own fields of GFBGraph-0.2.GFBGraph.SimpleAuthorizerClass
|
|
1245
|
+
|
|
1246
|
+
parent_class: GObject.ObjectClass
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
export abstract class SimpleAuthorizerClass {
|
|
1250
|
+
|
|
1251
|
+
// Own properties of GFBGraph-0.2.GFBGraph.SimpleAuthorizerClass
|
|
1252
|
+
|
|
1253
|
+
static name: string
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
export interface SimpleAuthorizerPrivate {
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
export class SimpleAuthorizerPrivate {
|
|
1260
|
+
|
|
1261
|
+
// Own properties of GFBGraph-0.2.GFBGraph.SimpleAuthorizerPrivate
|
|
1262
|
+
|
|
1263
|
+
static name: string
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
export interface UserClass {
|
|
1267
|
+
|
|
1268
|
+
// Own fields of GFBGraph-0.2.GFBGraph.UserClass
|
|
1269
|
+
|
|
1270
|
+
parent_class: NodeClass
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export abstract class UserClass {
|
|
1274
|
+
|
|
1275
|
+
// Own properties of GFBGraph-0.2.GFBGraph.UserClass
|
|
1276
|
+
|
|
1277
|
+
static name: string
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
export interface UserPrivate {
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
export class UserPrivate {
|
|
1284
|
+
|
|
1285
|
+
// Own properties of GFBGraph-0.2.GFBGraph.UserPrivate
|
|
1286
|
+
|
|
1287
|
+
static name: string
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* Name of the imported GIR library
|
|
1292
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
1293
|
+
*/
|
|
1294
|
+
export const __name__: string
|
|
1295
|
+
/**
|
|
1296
|
+
* Version of the imported GIR library
|
|
1297
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
1298
|
+
*/
|
|
1299
|
+
export const __version__: string
|
|
1300
|
+
// END
|