@girs/telepathylogger-0.2 0.2.0-3.2.5 → 0.2.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/telepathylogger-0.2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for TelepathyLogger-0.2, generated from library version 0.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for TelepathyLogger-0.2, generated from library version 0.2.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/telepathylogger-0.2",
3
- "version": "0.2.0-3.2.5",
3
+ "version": "0.2.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for TelepathyLogger-0.2, generated from library version 0.2.0",
5
5
  "type": "module",
6
6
  "module": "telepathylogger-0.2.js",
@@ -25,11 +25,11 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit telepathylogger-0.2.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.5",
29
- "@girs/gjs": "^3.2.5",
30
- "@girs/glib-2.0": "^2.78.0-3.2.5",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
32
- "@girs/telepathyglib-0.12": "^0.12.0-3.2.5"
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
+ "@girs/telepathyglib-0.12": "^0.12.0-3.2.7"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "*"
@@ -77,6 +77,9 @@ export module CallEvent {
77
77
  duration?: number | null
78
78
  end_actor?: Entity | null
79
79
  end_reason?: number | null
80
+ detailedEndReason?: string | null
81
+ endActor?: Entity | null
82
+ endReason?: number | null
80
83
  }
81
84
 
82
85
  }
@@ -86,13 +89,16 @@ export interface CallEvent {
86
89
  // Own properties of TelepathyLogger-0.2.TelepathyLogger.CallEvent
87
90
 
88
91
  readonly detailed_end_reason: string | null
92
+ readonly detailedEndReason: string | null
89
93
  readonly duration: number
90
94
  readonly end_actor: Entity
95
+ readonly endActor: Entity
91
96
  readonly end_reason: number
97
+ readonly endReason: number
92
98
 
93
99
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.CallEvent
94
100
 
95
- get_detailed_end_reason(): string | null
101
+ get_detailed_end_reason(): string
96
102
  get_duration(): GLib.TimeSpan
97
103
  get_end_actor(): Entity
98
104
  get_end_reason(): TelepathyGLib.CallStateChangeReason
@@ -176,6 +182,10 @@ export module Entity {
176
182
  * The entity's type (see #TplEntityType).
177
183
  */
178
184
  type?: number | null
185
+ /**
186
+ * The entity's avatar token
187
+ */
188
+ avatarToken?: string | null
179
189
  }
180
190
 
181
191
  }
@@ -192,6 +202,10 @@ export interface Entity {
192
202
  * The entity's avatar token
193
203
  */
194
204
  readonly avatar_token: string | null
205
+ /**
206
+ * The entity's avatar token
207
+ */
208
+ readonly avatarToken: string | null
195
209
  /**
196
210
  * The entity's identifier
197
211
  */
@@ -208,10 +222,10 @@ export interface Entity {
208
222
 
209
223
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.Entity
210
224
 
211
- get_alias(): string | null
212
- get_avatar_token(): string | null
225
+ get_alias(): string
226
+ get_avatar_token(): string
213
227
  get_entity_type(): EntityType
214
- get_identifier(): string | null
228
+ get_identifier(): string
215
229
 
216
230
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.Entity
217
231
 
@@ -247,9 +261,9 @@ export class Entity extends GObject.Object {
247
261
  // Constructors of TelepathyLogger-0.2.TelepathyLogger.Entity
248
262
 
249
263
  constructor(config?: Entity.ConstructorProperties)
250
- constructor(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null)
251
- static new(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null): Entity
252
- static new_from_room_id(room_id: string | null): Entity
264
+ constructor(id: string, type: EntityType, alias: string, avatar_token: string)
265
+ static new(id: string, type: EntityType, alias: string, avatar_token: string): Entity
266
+ static new_from_room_id(room_id: string): Entity
253
267
  static new_from_tp_contact(contact: TelepathyGLib.Contact, type: EntityType): Entity
254
268
  _init(config?: Entity.ConstructorProperties): void
255
269
  }
@@ -267,6 +281,7 @@ export module Event {
267
281
  receiver?: Entity | null
268
282
  sender?: Entity | null
269
283
  timestamp?: number | null
284
+ channelPath?: string | null
270
285
  }
271
286
 
272
287
  }
@@ -277,7 +292,9 @@ export interface Event {
277
292
 
278
293
  readonly account: TelepathyGLib.Account
279
294
  readonly account_path: string | null
295
+ readonly accountPath: string | null
280
296
  readonly channel_path: string | null
297
+ readonly channelPath: string | null
281
298
  readonly receiver: Entity
282
299
  readonly sender: Entity
283
300
  readonly timestamp: number
@@ -299,7 +316,7 @@ export interface Event {
299
316
  * <!-- no more to say -->
300
317
  * @returns the path as the #TplEvent:account property
301
318
  */
302
- get_account_path(): string | null
319
+ get_account_path(): string
303
320
  get_receiver(): Entity
304
321
  get_sender(): Entity
305
322
  get_timestamp(): number
@@ -503,7 +520,7 @@ export interface LogManager {
503
520
  * @param type_mask event type filter see #TplEventTypeMask
504
521
  * @param callback a callback to call when the request is satisfied
505
522
  */
506
- search_async(text: string | null, type_mask: number, callback: Gio.AsyncReadyCallback<this> | null): void
523
+ search_async(text: string, type_mask: number, callback: Gio.AsyncReadyCallback<this> | null): void
507
524
 
508
525
  // Overloads of search_async
509
526
 
@@ -515,7 +532,7 @@ export interface LogManager {
515
532
  * @param type_mask event type filter see #TplEventTypeMask
516
533
  * @returns A Promise of: #TRUE if the operation was successful, otherwise #FALSE
517
534
  */
518
- search_async(text: string | null, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
535
+ search_async(text: string, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
519
536
  search_finish(result: Gio.AsyncResult): [ /* returnType */ boolean, /* hits */ LogSearchHit[] ]
520
537
  /**
521
538
  * Create a #TplLogWalker to traverse all the events exchanged with `target`.
@@ -564,6 +581,7 @@ export module LogWalker {
564
581
 
565
582
  filter?: any | null
566
583
  filter_data?: any | null
584
+ filterData?: any | null
567
585
  }
568
586
 
569
587
  }
@@ -574,6 +592,7 @@ export interface LogWalker {
574
592
 
575
593
  readonly filter: any
576
594
  readonly filter_data: any
595
+ readonly filterData: any
577
596
 
578
597
  // Own fields of TelepathyLogger-0.2.TelepathyLogger.LogWalker
579
598
 
@@ -678,6 +697,10 @@ export module TextEvent {
678
697
  message_token?: string | null
679
698
  message_type?: number | null
680
699
  supersedes_token?: string | null
700
+ editTimestamp?: number | null
701
+ messageToken?: string | null
702
+ messageType?: number | null
703
+ supersedesToken?: string | null
681
704
  }
682
705
 
683
706
  }
@@ -687,19 +710,23 @@ export interface TextEvent {
687
710
  // Own properties of TelepathyLogger-0.2.TelepathyLogger.TextEvent
688
711
 
689
712
  readonly edit_timestamp: number
713
+ readonly editTimestamp: number
690
714
  readonly message: string | null
691
715
  readonly message_token: string | null
716
+ readonly messageToken: string | null
692
717
  readonly message_type: number
718
+ readonly messageType: number
693
719
  readonly supersedes_token: string | null
720
+ readonly supersedesToken: string | null
694
721
 
695
722
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.TextEvent
696
723
 
697
724
  get_edit_timestamp(): number
698
- get_message(): string | null
699
- get_message_token(): string | null
725
+ get_message(): string
726
+ get_message_token(): string
700
727
  get_message_type(): TelepathyGLib.ChannelTextMessageType
701
728
  get_supersedes(): TextEvent[]
702
- get_supersedes_token(): string | null
729
+ get_supersedes_token(): string
703
730
 
704
731
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.TextEvent
705
732
 
@@ -79,6 +79,9 @@ module CallEvent {
79
79
  duration?: number | null
80
80
  end_actor?: Entity | null
81
81
  end_reason?: number | null
82
+ detailedEndReason?: string | null
83
+ endActor?: Entity | null
84
+ endReason?: number | null
82
85
  }
83
86
 
84
87
  }
@@ -88,13 +91,16 @@ interface CallEvent {
88
91
  // Own properties of TelepathyLogger-0.2.TelepathyLogger.CallEvent
89
92
 
90
93
  readonly detailed_end_reason: string | null
94
+ readonly detailedEndReason: string | null
91
95
  readonly duration: number
92
96
  readonly end_actor: Entity
97
+ readonly endActor: Entity
93
98
  readonly end_reason: number
99
+ readonly endReason: number
94
100
 
95
101
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.CallEvent
96
102
 
97
- get_detailed_end_reason(): string | null
103
+ get_detailed_end_reason(): string
98
104
  get_duration(): GLib.TimeSpan
99
105
  get_end_actor(): Entity
100
106
  get_end_reason(): TelepathyGLib.CallStateChangeReason
@@ -178,6 +184,10 @@ module Entity {
178
184
  * The entity's type (see #TplEntityType).
179
185
  */
180
186
  type?: number | null
187
+ /**
188
+ * The entity's avatar token
189
+ */
190
+ avatarToken?: string | null
181
191
  }
182
192
 
183
193
  }
@@ -194,6 +204,10 @@ interface Entity {
194
204
  * The entity's avatar token
195
205
  */
196
206
  readonly avatar_token: string | null
207
+ /**
208
+ * The entity's avatar token
209
+ */
210
+ readonly avatarToken: string | null
197
211
  /**
198
212
  * The entity's identifier
199
213
  */
@@ -210,10 +224,10 @@ interface Entity {
210
224
 
211
225
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.Entity
212
226
 
213
- get_alias(): string | null
214
- get_avatar_token(): string | null
227
+ get_alias(): string
228
+ get_avatar_token(): string
215
229
  get_entity_type(): EntityType
216
- get_identifier(): string | null
230
+ get_identifier(): string
217
231
 
218
232
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.Entity
219
233
 
@@ -249,9 +263,9 @@ class Entity extends GObject.Object {
249
263
  // Constructors of TelepathyLogger-0.2.TelepathyLogger.Entity
250
264
 
251
265
  constructor(config?: Entity.ConstructorProperties)
252
- constructor(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null)
253
- static new(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null): Entity
254
- static new_from_room_id(room_id: string | null): Entity
266
+ constructor(id: string, type: EntityType, alias: string, avatar_token: string)
267
+ static new(id: string, type: EntityType, alias: string, avatar_token: string): Entity
268
+ static new_from_room_id(room_id: string): Entity
255
269
  static new_from_tp_contact(contact: TelepathyGLib.Contact, type: EntityType): Entity
256
270
  _init(config?: Entity.ConstructorProperties): void
257
271
  }
@@ -269,6 +283,7 @@ module Event {
269
283
  receiver?: Entity | null
270
284
  sender?: Entity | null
271
285
  timestamp?: number | null
286
+ channelPath?: string | null
272
287
  }
273
288
 
274
289
  }
@@ -279,7 +294,9 @@ interface Event {
279
294
 
280
295
  readonly account: TelepathyGLib.Account
281
296
  readonly account_path: string | null
297
+ readonly accountPath: string | null
282
298
  readonly channel_path: string | null
299
+ readonly channelPath: string | null
283
300
  readonly receiver: Entity
284
301
  readonly sender: Entity
285
302
  readonly timestamp: number
@@ -301,7 +318,7 @@ interface Event {
301
318
  * <!-- no more to say -->
302
319
  * @returns the path as the #TplEvent:account property
303
320
  */
304
- get_account_path(): string | null
321
+ get_account_path(): string
305
322
  get_receiver(): Entity
306
323
  get_sender(): Entity
307
324
  get_timestamp(): number
@@ -505,7 +522,7 @@ interface LogManager {
505
522
  * @param type_mask event type filter see #TplEventTypeMask
506
523
  * @param callback a callback to call when the request is satisfied
507
524
  */
508
- search_async(text: string | null, type_mask: number, callback: Gio.AsyncReadyCallback<this> | null): void
525
+ search_async(text: string, type_mask: number, callback: Gio.AsyncReadyCallback<this> | null): void
509
526
 
510
527
  // Overloads of search_async
511
528
 
@@ -517,7 +534,7 @@ interface LogManager {
517
534
  * @param type_mask event type filter see #TplEventTypeMask
518
535
  * @returns A Promise of: #TRUE if the operation was successful, otherwise #FALSE
519
536
  */
520
- search_async(text: string | null, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
537
+ search_async(text: string, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
521
538
  search_finish(result: Gio.AsyncResult): [ /* returnType */ boolean, /* hits */ LogSearchHit[] ]
522
539
  /**
523
540
  * Create a #TplLogWalker to traverse all the events exchanged with `target`.
@@ -566,6 +583,7 @@ module LogWalker {
566
583
 
567
584
  filter?: any | null
568
585
  filter_data?: any | null
586
+ filterData?: any | null
569
587
  }
570
588
 
571
589
  }
@@ -576,6 +594,7 @@ interface LogWalker {
576
594
 
577
595
  readonly filter: any
578
596
  readonly filter_data: any
597
+ readonly filterData: any
579
598
 
580
599
  // Own fields of TelepathyLogger-0.2.TelepathyLogger.LogWalker
581
600
 
@@ -680,6 +699,10 @@ module TextEvent {
680
699
  message_token?: string | null
681
700
  message_type?: number | null
682
701
  supersedes_token?: string | null
702
+ editTimestamp?: number | null
703
+ messageToken?: string | null
704
+ messageType?: number | null
705
+ supersedesToken?: string | null
683
706
  }
684
707
 
685
708
  }
@@ -689,19 +712,23 @@ interface TextEvent {
689
712
  // Own properties of TelepathyLogger-0.2.TelepathyLogger.TextEvent
690
713
 
691
714
  readonly edit_timestamp: number
715
+ readonly editTimestamp: number
692
716
  readonly message: string | null
693
717
  readonly message_token: string | null
718
+ readonly messageToken: string | null
694
719
  readonly message_type: number
720
+ readonly messageType: number
695
721
  readonly supersedes_token: string | null
722
+ readonly supersedesToken: string | null
696
723
 
697
724
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.TextEvent
698
725
 
699
726
  get_edit_timestamp(): number
700
- get_message(): string | null
701
- get_message_token(): string | null
727
+ get_message(): string
728
+ get_message_token(): string
702
729
  get_message_type(): TelepathyGLib.ChannelTextMessageType
703
730
  get_supersedes(): TextEvent[]
704
- get_supersedes_token(): string | null
731
+ get_supersedes_token(): string
705
732
 
706
733
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.TextEvent
707
734