@girs/telepathylogger-0.2 0.2.0-3.2.6 → 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.6.
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.6",
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.6",
29
- "@girs/gjs": "^3.2.6",
30
- "@girs/glib-2.0": "^2.78.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
32
- "@girs/telepathyglib-0.12": "^0.12.0-3.2.6"
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": "*"
@@ -98,7 +98,7 @@ export interface CallEvent {
98
98
 
99
99
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.CallEvent
100
100
 
101
- get_detailed_end_reason(): string | null
101
+ get_detailed_end_reason(): string
102
102
  get_duration(): GLib.TimeSpan
103
103
  get_end_actor(): Entity
104
104
  get_end_reason(): TelepathyGLib.CallStateChangeReason
@@ -222,10 +222,10 @@ export interface Entity {
222
222
 
223
223
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.Entity
224
224
 
225
- get_alias(): string | null
226
- get_avatar_token(): string | null
225
+ get_alias(): string
226
+ get_avatar_token(): string
227
227
  get_entity_type(): EntityType
228
- get_identifier(): string | null
228
+ get_identifier(): string
229
229
 
230
230
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.Entity
231
231
 
@@ -261,9 +261,9 @@ export class Entity extends GObject.Object {
261
261
  // Constructors of TelepathyLogger-0.2.TelepathyLogger.Entity
262
262
 
263
263
  constructor(config?: Entity.ConstructorProperties)
264
- constructor(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null)
265
- static new(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null): Entity
266
- 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
267
267
  static new_from_tp_contact(contact: TelepathyGLib.Contact, type: EntityType): Entity
268
268
  _init(config?: Entity.ConstructorProperties): void
269
269
  }
@@ -316,7 +316,7 @@ export interface Event {
316
316
  * <!-- no more to say -->
317
317
  * @returns the path as the #TplEvent:account property
318
318
  */
319
- get_account_path(): string | null
319
+ get_account_path(): string
320
320
  get_receiver(): Entity
321
321
  get_sender(): Entity
322
322
  get_timestamp(): number
@@ -520,7 +520,7 @@ export interface LogManager {
520
520
  * @param type_mask event type filter see #TplEventTypeMask
521
521
  * @param callback a callback to call when the request is satisfied
522
522
  */
523
- 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
524
524
 
525
525
  // Overloads of search_async
526
526
 
@@ -532,7 +532,7 @@ export interface LogManager {
532
532
  * @param type_mask event type filter see #TplEventTypeMask
533
533
  * @returns A Promise of: #TRUE if the operation was successful, otherwise #FALSE
534
534
  */
535
- search_async(text: string | null, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
535
+ search_async(text: string, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
536
536
  search_finish(result: Gio.AsyncResult): [ /* returnType */ boolean, /* hits */ LogSearchHit[] ]
537
537
  /**
538
538
  * Create a #TplLogWalker to traverse all the events exchanged with `target`.
@@ -722,11 +722,11 @@ export interface TextEvent {
722
722
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.TextEvent
723
723
 
724
724
  get_edit_timestamp(): number
725
- get_message(): string | null
726
- get_message_token(): string | null
725
+ get_message(): string
726
+ get_message_token(): string
727
727
  get_message_type(): TelepathyGLib.ChannelTextMessageType
728
728
  get_supersedes(): TextEvent[]
729
- get_supersedes_token(): string | null
729
+ get_supersedes_token(): string
730
730
 
731
731
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.TextEvent
732
732
 
@@ -100,7 +100,7 @@ interface CallEvent {
100
100
 
101
101
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.CallEvent
102
102
 
103
- get_detailed_end_reason(): string | null
103
+ get_detailed_end_reason(): string
104
104
  get_duration(): GLib.TimeSpan
105
105
  get_end_actor(): Entity
106
106
  get_end_reason(): TelepathyGLib.CallStateChangeReason
@@ -224,10 +224,10 @@ interface Entity {
224
224
 
225
225
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.Entity
226
226
 
227
- get_alias(): string | null
228
- get_avatar_token(): string | null
227
+ get_alias(): string
228
+ get_avatar_token(): string
229
229
  get_entity_type(): EntityType
230
- get_identifier(): string | null
230
+ get_identifier(): string
231
231
 
232
232
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.Entity
233
233
 
@@ -263,9 +263,9 @@ class Entity extends GObject.Object {
263
263
  // Constructors of TelepathyLogger-0.2.TelepathyLogger.Entity
264
264
 
265
265
  constructor(config?: Entity.ConstructorProperties)
266
- constructor(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null)
267
- static new(id: string | null, type: EntityType, alias: string | null, avatar_token: string | null): Entity
268
- 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
269
269
  static new_from_tp_contact(contact: TelepathyGLib.Contact, type: EntityType): Entity
270
270
  _init(config?: Entity.ConstructorProperties): void
271
271
  }
@@ -318,7 +318,7 @@ interface Event {
318
318
  * <!-- no more to say -->
319
319
  * @returns the path as the #TplEvent:account property
320
320
  */
321
- get_account_path(): string | null
321
+ get_account_path(): string
322
322
  get_receiver(): Entity
323
323
  get_sender(): Entity
324
324
  get_timestamp(): number
@@ -522,7 +522,7 @@ interface LogManager {
522
522
  * @param type_mask event type filter see #TplEventTypeMask
523
523
  * @param callback a callback to call when the request is satisfied
524
524
  */
525
- 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
526
526
 
527
527
  // Overloads of search_async
528
528
 
@@ -534,7 +534,7 @@ interface LogManager {
534
534
  * @param type_mask event type filter see #TplEventTypeMask
535
535
  * @returns A Promise of: #TRUE if the operation was successful, otherwise #FALSE
536
536
  */
537
- search_async(text: string | null, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
537
+ search_async(text: string, type_mask: number): globalThis.Promise</* hits */ LogSearchHit[]>
538
538
  search_finish(result: Gio.AsyncResult): [ /* returnType */ boolean, /* hits */ LogSearchHit[] ]
539
539
  /**
540
540
  * Create a #TplLogWalker to traverse all the events exchanged with `target`.
@@ -724,11 +724,11 @@ interface TextEvent {
724
724
  // Owm methods of TelepathyLogger-0.2.TelepathyLogger.TextEvent
725
725
 
726
726
  get_edit_timestamp(): number
727
- get_message(): string | null
728
- get_message_token(): string | null
727
+ get_message(): string
728
+ get_message_token(): string
729
729
  get_message_type(): TelepathyGLib.ChannelTextMessageType
730
730
  get_supersedes(): TextEvent[]
731
- get_supersedes_token(): string | null
731
+ get_supersedes_token(): string
732
732
 
733
733
  // Class property signals of TelepathyLogger-0.2.TelepathyLogger.TextEvent
734
734