@girs/grss-0.7 0.7.0-3.2.5 → 0.7.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/grss-0.7)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Grss-0.7, generated from library version 0.7.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Grss-0.7, generated from library version 0.7.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
  LibGRSS is a library for easy management of RSS/Atom/Pie feeds. Includes methods to fetch, parse and handle XML documents, an implementation of PubSubHubBub client, an OPML parser and some more utility.
11
11
 
package/grss-0.7.d.cts CHANGED
@@ -153,7 +153,7 @@ export interface FeedChannel {
153
153
  * Retrieves category of the `channel`.
154
154
  * @returns category of the feed, or %NULL.
155
155
  */
156
- get_category(): string | null
156
+ get_category(): string
157
157
  /**
158
158
  * Retrieves reference to the contributors of the `channel`.
159
159
  * @returns list of contributors to the channel, or %NULL.
@@ -170,12 +170,12 @@ export interface FeedChannel {
170
170
  * Retrieves indications about the copyright.
171
171
  * @returns copyright of the @channel, or %NULL.
172
172
  */
173
- get_copyright(): string | null
173
+ get_copyright(): string
174
174
  /**
175
175
  * Retrieves the description of `channel`.
176
176
  * @returns description of the feed, or %NULL.
177
177
  */
178
- get_description(): string | null
178
+ get_description(): string
179
179
  /**
180
180
  * Retrieves reference to the editor or the `channel`.
181
181
  * @returns #GrssPerson, or %NULL.
@@ -185,12 +185,12 @@ export interface FeedChannel {
185
185
  * Retrieves the file format of `channel`.
186
186
  * @returns file format of channel.
187
187
  */
188
- get_format(): string | null
188
+ get_format(): string
189
189
  /**
190
190
  * Retrieves information about the feed's software generator.
191
191
  * @returns generator of @channel, or %NULL.
192
192
  */
193
- get_generator(): string | null
193
+ get_generator(): string
194
194
  /**
195
195
  * GZIP compression of the channel is either on or off.
196
196
  * @returns %TRUE if @channel has GZIP compression on.
@@ -200,23 +200,23 @@ export interface FeedChannel {
200
200
  * Retrieves the homepage of the site for which `channel` is the feed.
201
201
  * @returns reference homepage of the feed, or %NULL.
202
202
  */
203
- get_homepage(): string | null
203
+ get_homepage(): string
204
204
  /**
205
205
  * Retrieves URL of the favicon of the channel (and/or the website for which
206
206
  * this is the feed).
207
207
  * @returns URL of the favicon, or %NULL.
208
208
  */
209
- get_icon(): string | null
209
+ get_icon(): string
210
210
  /**
211
211
  * Retrieves the URL of the image assigned to the channel.
212
212
  * @returns URL of the image, or %NULL.
213
213
  */
214
- get_image(): string | null
214
+ get_image(): string
215
215
  /**
216
216
  * Retrieves the language of the `channel`.
217
217
  * @returns string rappresenting the language of channel, or %NULL.
218
218
  */
219
- get_language(): string | null
219
+ get_language(): string
220
220
  /**
221
221
  * Retrieves the publishing time of `channel`.
222
222
  * @returns time of feed's publish.
@@ -239,12 +239,12 @@ export interface FeedChannel {
239
239
  * Retrieves URL where to fetch the `channel`.
240
240
  * @returns URL of the channel.
241
241
  */
242
- get_source(): string | null
242
+ get_source(): string
243
243
  /**
244
244
  * Retrieves title of the `channel`.
245
245
  * @returns title of the feed, or %NULL.
246
246
  */
247
- get_title(): string | null
247
+ get_title(): string
248
248
  /**
249
249
  * Retrieves the update interval for the feed. Pay attention to the fact the
250
250
  * value can be unset, and the function returns 0: in this case the caller
@@ -262,7 +262,7 @@ export interface FeedChannel {
262
262
  * Retrieves reference to the webmaster of the feed.
263
263
  * @returns webmaster of @channel, or %NULL.
264
264
  */
265
- get_webmaster(): string | null
265
+ get_webmaster(): string
266
266
  /**
267
267
  * To set the category of the `channel`.
268
268
  * @param category category of the feed.
@@ -403,7 +403,7 @@ export class FeedChannel extends GObject.Object {
403
403
  * @param path path of the file to parse.
404
404
  * @returns a #GrssFeedChannel, or %NULL if the file in @path is not a valid document.
405
405
  */
406
- static new_from_file(path: string | null): FeedChannel
406
+ static new_from_file(path: string): FeedChannel
407
407
  /**
408
408
  * Allocates a new #GrssFeedChannel and init it with contents found in specified
409
409
  * memory block.
@@ -411,7 +411,7 @@ export class FeedChannel extends GObject.Object {
411
411
  * @param data string to parse.
412
412
  * @returns a #GrssFeedChannel, or %NULL if an error occurs.
413
413
  */
414
- static new_from_memory(data: string | null): FeedChannel
414
+ static new_from_memory(data: string): FeedChannel
415
415
  /**
416
416
  * Allocates a new #GrssFeedChannel and init it with contents found in specified
417
417
  * XML document.
@@ -481,7 +481,7 @@ export interface FeedEnclosure {
481
481
  * Retrieves the format of the enclosed file.
482
482
  * @returns type of @enclosure.
483
483
  */
484
- get_format(): string | null
484
+ get_format(): string
485
485
  /**
486
486
  * Retrieves the size of the embedded file.
487
487
  * @returns size of the @enclosure, in bytes.
@@ -491,7 +491,7 @@ export interface FeedEnclosure {
491
491
  * Retrieves the URL of the `enclosure`.
492
492
  * @returns the URL where the enclosure may be found.
493
493
  */
494
- get_url(): string | null
494
+ get_url(): string
495
495
  /**
496
496
  * To set the type of the external file.
497
497
  * @param type type of content.
@@ -677,7 +677,7 @@ export interface FeedItem {
677
677
  * Retrieves the URL where to catch comments to the `item`.
678
678
  * @returns URL to parse to read comments for @item, or %NULL.
679
679
  */
680
- get_comments_url(): string | null
680
+ get_comments_url(): string
681
681
  /**
682
682
  * Retrieves contributors for `item`.
683
683
  * @returns list of contributors to the item.
@@ -687,12 +687,12 @@ export interface FeedItem {
687
687
  * Retrieves copyright reference for the `item`.
688
688
  * @returns copyright mark, or %NULL.
689
689
  */
690
- get_copyright(): string | null
690
+ get_copyright(): string
691
691
  /**
692
692
  * Retrieves the description of the `item`.
693
693
  * @returns description of @item.
694
694
  */
695
- get_description(): string | null
695
+ get_description(): string
696
696
  /**
697
697
  * Retrieves the list of enclosures added with grss_feed_item_add_enclosure().
698
698
  * @returns a list of #GrssFeedEnclosure. This is a direct reference to the internal list, do not free or modify it.
@@ -710,7 +710,7 @@ export interface FeedItem {
710
710
  * IDs.
711
711
  * @returns ID of the item.
712
712
  */
713
- get_id(): string | null
713
+ get_id(): string
714
714
  /**
715
715
  * Retrieves the feed from which the item belongs.
716
716
  * @returns the parent feed, as set in grss_feed_item_new().
@@ -728,22 +728,22 @@ export interface FeedItem {
728
728
  * @param realsource will be assigned to the URL of the real source, or %NULL.
729
729
  * @param title will be assigned to the title of the real source, or %NULL.
730
730
  */
731
- get_real_source(realsource: string | null, title: string | null): void
731
+ get_real_source(realsource: string, title: string): void
732
732
  /**
733
733
  * Retrieves indication about posts related to `item`.
734
734
  * @returns related posts, or %NULL.
735
735
  */
736
- get_related(): string | null
736
+ get_related(): string
737
737
  /**
738
738
  * Retrieves the URL where the `item` can be found.
739
739
  * @returns URL of the item, or %NULL.
740
740
  */
741
- get_source(): string | null
741
+ get_source(): string
742
742
  /**
743
743
  * Retrieves the title assigned to `item`.
744
744
  * @returns title of the element.
745
745
  */
746
- get_title(): string | null
746
+ get_title(): string
747
747
  /**
748
748
  * To assign an author to the `item`.
749
749
  * @param author a #GrssPerson.
@@ -978,7 +978,7 @@ export interface FeedsGroup {
978
978
  * @param uri URI of the file to write.
979
979
  * @returns %TRUE if the file is created correctly, or %FALSE if an error occours and @error is set.
980
980
  */
981
- export_file(channels: FeedChannel[], format: string | null, uri: string | null): boolean
981
+ export_file(channels: FeedChannel[], format: string, uri: string): boolean
982
982
  /**
983
983
  * Returns the list of supported file formats.
984
984
  * @returns a list of constant strings with names of supported formats. The list must be freed when no longer used
@@ -989,7 +989,7 @@ export interface FeedsGroup {
989
989
  * @param path path of the file to parse.
990
990
  * @returns a list of #GrssFeedChannels, or NULL if an error occours and @error is set.
991
991
  */
992
- parse_file(path: string | null): FeedChannel[]
992
+ parse_file(path: string): FeedChannel[]
993
993
 
994
994
  // Class property signals of Grss-0.7.Grss.FeedsGroup
995
995
 
@@ -1226,7 +1226,7 @@ export interface FeedsPublisher {
1226
1226
  * @param uri URI of the file to write. The full path must exists.
1227
1227
  * @returns %TRUE if the file is successfully written, %FALSE otherwise.
1228
1228
  */
1229
- publish_file(channel: FeedChannel, items: FeedItem[], uri: string | null): boolean
1229
+ publish_file(channel: FeedChannel, items: FeedItem[], uri: string): boolean
1230
1230
  /**
1231
1231
  * If the local web server has been executed (with
1232
1232
  * grss_feeds_publisher_hub_switch()) this function exposes the given `channel`
@@ -1236,7 +1236,7 @@ export interface FeedsPublisher {
1236
1236
  * @param id name used in the external URL of the feed.
1237
1237
  * @returns %TRUE if the file is successfully written, %FALSE otherwise.
1238
1238
  */
1239
- publish_web(channel: FeedChannel, items: FeedItem[], id: string | null): boolean
1239
+ publish_web(channel: FeedChannel, items: FeedItem[], id: string): boolean
1240
1240
 
1241
1241
  // Own virtual methods of Grss-0.7.Grss.FeedsPublisher
1242
1242
 
@@ -1328,7 +1328,7 @@ export interface FeedsStore {
1328
1328
  * @param id unique ID to look for.
1329
1329
  * @returns %TRUE if the specified item exists, %FALSE otherwise.
1330
1330
  */
1331
- has_item(channel: FeedChannel, id: string | null): boolean
1331
+ has_item(channel: FeedChannel, id: string): boolean
1332
1332
  /**
1333
1333
  * This is to permit the `store` to auto-update itself: it creates an internal
1334
1334
  * #GrssFeedsPool and listens for his signals, so to implement the whole loop
@@ -1368,7 +1368,7 @@ export interface FeedsStore {
1368
1368
  * @param id unique ID to look for.
1369
1369
  * @returns %TRUE if the specified item exists, %FALSE otherwise.
1370
1370
  */
1371
- vfunc_has_item(channel: FeedChannel, id: string | null): boolean
1371
+ vfunc_has_item(channel: FeedChannel, id: string): boolean
1372
1372
 
1373
1373
  // Class property signals of Grss-0.7.Grss.FeedsStore
1374
1374
 
@@ -1763,7 +1763,7 @@ export interface FeedsStoreClass {
1763
1763
  parent: GObject.ObjectClass
1764
1764
  get_channels: (store: FeedsStore) => FeedChannel[]
1765
1765
  get_items_by_channel: (store: FeedsStore, channel: FeedChannel) => FeedItem[]
1766
- has_item: (store: FeedsStore, channel: FeedChannel, id: string | null) => boolean
1766
+ has_item: (store: FeedsStore, channel: FeedChannel, id: string) => boolean
1767
1767
  add_item_in_channel: (store: FeedsStore, channel: FeedChannel, item: FeedItem) => void
1768
1768
  }
1769
1769
 
@@ -1813,9 +1813,9 @@ export interface Person {
1813
1813
 
1814
1814
  // Owm methods of Grss-0.7.Grss.Person
1815
1815
 
1816
- get_email(): string | null
1817
- get_name(): string | null
1818
- get_uri(): string | null
1816
+ get_email(): string
1817
+ get_name(): string
1818
+ get_uri(): string
1819
1819
  /**
1820
1820
  * Atomically increments the reference count of `person` by one.
1821
1821
  * @returns the #GrssPerson with the reference count increased
@@ -1851,7 +1851,7 @@ export class Person {
1851
1851
  * @param uri the homepage (uri) of the person, or %NULL
1852
1852
  * @returns a new #GrssPerson, or %NULL
1853
1853
  */
1854
- constructor(name: string | null, email: string | null, uri: string | null)
1854
+ constructor(name: string, email: string | null, uri: string | null)
1855
1855
  /**
1856
1856
  * Creates a new #GrssPerson.
1857
1857
  * @constructor
@@ -1860,7 +1860,7 @@ export class Person {
1860
1860
  * @param uri the homepage (uri) of the person, or %NULL
1861
1861
  * @returns a new #GrssPerson, or %NULL
1862
1862
  */
1863
- static new(name: string | null, email: string | null, uri: string | null): Person
1863
+ static new(name: string, email: string | null, uri: string | null): Person
1864
1864
  }
1865
1865
 
1866
1866
  /**
package/grss-0.7.d.ts CHANGED
@@ -155,7 +155,7 @@ interface FeedChannel {
155
155
  * Retrieves category of the `channel`.
156
156
  * @returns category of the feed, or %NULL.
157
157
  */
158
- get_category(): string | null
158
+ get_category(): string
159
159
  /**
160
160
  * Retrieves reference to the contributors of the `channel`.
161
161
  * @returns list of contributors to the channel, or %NULL.
@@ -172,12 +172,12 @@ interface FeedChannel {
172
172
  * Retrieves indications about the copyright.
173
173
  * @returns copyright of the @channel, or %NULL.
174
174
  */
175
- get_copyright(): string | null
175
+ get_copyright(): string
176
176
  /**
177
177
  * Retrieves the description of `channel`.
178
178
  * @returns description of the feed, or %NULL.
179
179
  */
180
- get_description(): string | null
180
+ get_description(): string
181
181
  /**
182
182
  * Retrieves reference to the editor or the `channel`.
183
183
  * @returns #GrssPerson, or %NULL.
@@ -187,12 +187,12 @@ interface FeedChannel {
187
187
  * Retrieves the file format of `channel`.
188
188
  * @returns file format of channel.
189
189
  */
190
- get_format(): string | null
190
+ get_format(): string
191
191
  /**
192
192
  * Retrieves information about the feed's software generator.
193
193
  * @returns generator of @channel, or %NULL.
194
194
  */
195
- get_generator(): string | null
195
+ get_generator(): string
196
196
  /**
197
197
  * GZIP compression of the channel is either on or off.
198
198
  * @returns %TRUE if @channel has GZIP compression on.
@@ -202,23 +202,23 @@ interface FeedChannel {
202
202
  * Retrieves the homepage of the site for which `channel` is the feed.
203
203
  * @returns reference homepage of the feed, or %NULL.
204
204
  */
205
- get_homepage(): string | null
205
+ get_homepage(): string
206
206
  /**
207
207
  * Retrieves URL of the favicon of the channel (and/or the website for which
208
208
  * this is the feed).
209
209
  * @returns URL of the favicon, or %NULL.
210
210
  */
211
- get_icon(): string | null
211
+ get_icon(): string
212
212
  /**
213
213
  * Retrieves the URL of the image assigned to the channel.
214
214
  * @returns URL of the image, or %NULL.
215
215
  */
216
- get_image(): string | null
216
+ get_image(): string
217
217
  /**
218
218
  * Retrieves the language of the `channel`.
219
219
  * @returns string rappresenting the language of channel, or %NULL.
220
220
  */
221
- get_language(): string | null
221
+ get_language(): string
222
222
  /**
223
223
  * Retrieves the publishing time of `channel`.
224
224
  * @returns time of feed's publish.
@@ -241,12 +241,12 @@ interface FeedChannel {
241
241
  * Retrieves URL where to fetch the `channel`.
242
242
  * @returns URL of the channel.
243
243
  */
244
- get_source(): string | null
244
+ get_source(): string
245
245
  /**
246
246
  * Retrieves title of the `channel`.
247
247
  * @returns title of the feed, or %NULL.
248
248
  */
249
- get_title(): string | null
249
+ get_title(): string
250
250
  /**
251
251
  * Retrieves the update interval for the feed. Pay attention to the fact the
252
252
  * value can be unset, and the function returns 0: in this case the caller
@@ -264,7 +264,7 @@ interface FeedChannel {
264
264
  * Retrieves reference to the webmaster of the feed.
265
265
  * @returns webmaster of @channel, or %NULL.
266
266
  */
267
- get_webmaster(): string | null
267
+ get_webmaster(): string
268
268
  /**
269
269
  * To set the category of the `channel`.
270
270
  * @param category category of the feed.
@@ -405,7 +405,7 @@ class FeedChannel extends GObject.Object {
405
405
  * @param path path of the file to parse.
406
406
  * @returns a #GrssFeedChannel, or %NULL if the file in @path is not a valid document.
407
407
  */
408
- static new_from_file(path: string | null): FeedChannel
408
+ static new_from_file(path: string): FeedChannel
409
409
  /**
410
410
  * Allocates a new #GrssFeedChannel and init it with contents found in specified
411
411
  * memory block.
@@ -413,7 +413,7 @@ class FeedChannel extends GObject.Object {
413
413
  * @param data string to parse.
414
414
  * @returns a #GrssFeedChannel, or %NULL if an error occurs.
415
415
  */
416
- static new_from_memory(data: string | null): FeedChannel
416
+ static new_from_memory(data: string): FeedChannel
417
417
  /**
418
418
  * Allocates a new #GrssFeedChannel and init it with contents found in specified
419
419
  * XML document.
@@ -483,7 +483,7 @@ interface FeedEnclosure {
483
483
  * Retrieves the format of the enclosed file.
484
484
  * @returns type of @enclosure.
485
485
  */
486
- get_format(): string | null
486
+ get_format(): string
487
487
  /**
488
488
  * Retrieves the size of the embedded file.
489
489
  * @returns size of the @enclosure, in bytes.
@@ -493,7 +493,7 @@ interface FeedEnclosure {
493
493
  * Retrieves the URL of the `enclosure`.
494
494
  * @returns the URL where the enclosure may be found.
495
495
  */
496
- get_url(): string | null
496
+ get_url(): string
497
497
  /**
498
498
  * To set the type of the external file.
499
499
  * @param type type of content.
@@ -679,7 +679,7 @@ interface FeedItem {
679
679
  * Retrieves the URL where to catch comments to the `item`.
680
680
  * @returns URL to parse to read comments for @item, or %NULL.
681
681
  */
682
- get_comments_url(): string | null
682
+ get_comments_url(): string
683
683
  /**
684
684
  * Retrieves contributors for `item`.
685
685
  * @returns list of contributors to the item.
@@ -689,12 +689,12 @@ interface FeedItem {
689
689
  * Retrieves copyright reference for the `item`.
690
690
  * @returns copyright mark, or %NULL.
691
691
  */
692
- get_copyright(): string | null
692
+ get_copyright(): string
693
693
  /**
694
694
  * Retrieves the description of the `item`.
695
695
  * @returns description of @item.
696
696
  */
697
- get_description(): string | null
697
+ get_description(): string
698
698
  /**
699
699
  * Retrieves the list of enclosures added with grss_feed_item_add_enclosure().
700
700
  * @returns a list of #GrssFeedEnclosure. This is a direct reference to the internal list, do not free or modify it.
@@ -712,7 +712,7 @@ interface FeedItem {
712
712
  * IDs.
713
713
  * @returns ID of the item.
714
714
  */
715
- get_id(): string | null
715
+ get_id(): string
716
716
  /**
717
717
  * Retrieves the feed from which the item belongs.
718
718
  * @returns the parent feed, as set in grss_feed_item_new().
@@ -730,22 +730,22 @@ interface FeedItem {
730
730
  * @param realsource will be assigned to the URL of the real source, or %NULL.
731
731
  * @param title will be assigned to the title of the real source, or %NULL.
732
732
  */
733
- get_real_source(realsource: string | null, title: string | null): void
733
+ get_real_source(realsource: string, title: string): void
734
734
  /**
735
735
  * Retrieves indication about posts related to `item`.
736
736
  * @returns related posts, or %NULL.
737
737
  */
738
- get_related(): string | null
738
+ get_related(): string
739
739
  /**
740
740
  * Retrieves the URL where the `item` can be found.
741
741
  * @returns URL of the item, or %NULL.
742
742
  */
743
- get_source(): string | null
743
+ get_source(): string
744
744
  /**
745
745
  * Retrieves the title assigned to `item`.
746
746
  * @returns title of the element.
747
747
  */
748
- get_title(): string | null
748
+ get_title(): string
749
749
  /**
750
750
  * To assign an author to the `item`.
751
751
  * @param author a #GrssPerson.
@@ -980,7 +980,7 @@ interface FeedsGroup {
980
980
  * @param uri URI of the file to write.
981
981
  * @returns %TRUE if the file is created correctly, or %FALSE if an error occours and @error is set.
982
982
  */
983
- export_file(channels: FeedChannel[], format: string | null, uri: string | null): boolean
983
+ export_file(channels: FeedChannel[], format: string, uri: string): boolean
984
984
  /**
985
985
  * Returns the list of supported file formats.
986
986
  * @returns a list of constant strings with names of supported formats. The list must be freed when no longer used
@@ -991,7 +991,7 @@ interface FeedsGroup {
991
991
  * @param path path of the file to parse.
992
992
  * @returns a list of #GrssFeedChannels, or NULL if an error occours and @error is set.
993
993
  */
994
- parse_file(path: string | null): FeedChannel[]
994
+ parse_file(path: string): FeedChannel[]
995
995
 
996
996
  // Class property signals of Grss-0.7.Grss.FeedsGroup
997
997
 
@@ -1228,7 +1228,7 @@ interface FeedsPublisher {
1228
1228
  * @param uri URI of the file to write. The full path must exists.
1229
1229
  * @returns %TRUE if the file is successfully written, %FALSE otherwise.
1230
1230
  */
1231
- publish_file(channel: FeedChannel, items: FeedItem[], uri: string | null): boolean
1231
+ publish_file(channel: FeedChannel, items: FeedItem[], uri: string): boolean
1232
1232
  /**
1233
1233
  * If the local web server has been executed (with
1234
1234
  * grss_feeds_publisher_hub_switch()) this function exposes the given `channel`
@@ -1238,7 +1238,7 @@ interface FeedsPublisher {
1238
1238
  * @param id name used in the external URL of the feed.
1239
1239
  * @returns %TRUE if the file is successfully written, %FALSE otherwise.
1240
1240
  */
1241
- publish_web(channel: FeedChannel, items: FeedItem[], id: string | null): boolean
1241
+ publish_web(channel: FeedChannel, items: FeedItem[], id: string): boolean
1242
1242
 
1243
1243
  // Own virtual methods of Grss-0.7.Grss.FeedsPublisher
1244
1244
 
@@ -1330,7 +1330,7 @@ interface FeedsStore {
1330
1330
  * @param id unique ID to look for.
1331
1331
  * @returns %TRUE if the specified item exists, %FALSE otherwise.
1332
1332
  */
1333
- has_item(channel: FeedChannel, id: string | null): boolean
1333
+ has_item(channel: FeedChannel, id: string): boolean
1334
1334
  /**
1335
1335
  * This is to permit the `store` to auto-update itself: it creates an internal
1336
1336
  * #GrssFeedsPool and listens for his signals, so to implement the whole loop
@@ -1370,7 +1370,7 @@ interface FeedsStore {
1370
1370
  * @param id unique ID to look for.
1371
1371
  * @returns %TRUE if the specified item exists, %FALSE otherwise.
1372
1372
  */
1373
- vfunc_has_item(channel: FeedChannel, id: string | null): boolean
1373
+ vfunc_has_item(channel: FeedChannel, id: string): boolean
1374
1374
 
1375
1375
  // Class property signals of Grss-0.7.Grss.FeedsStore
1376
1376
 
@@ -1765,7 +1765,7 @@ interface FeedsStoreClass {
1765
1765
  parent: GObject.ObjectClass
1766
1766
  get_channels: (store: FeedsStore) => FeedChannel[]
1767
1767
  get_items_by_channel: (store: FeedsStore, channel: FeedChannel) => FeedItem[]
1768
- has_item: (store: FeedsStore, channel: FeedChannel, id: string | null) => boolean
1768
+ has_item: (store: FeedsStore, channel: FeedChannel, id: string) => boolean
1769
1769
  add_item_in_channel: (store: FeedsStore, channel: FeedChannel, item: FeedItem) => void
1770
1770
  }
1771
1771
 
@@ -1815,9 +1815,9 @@ interface Person {
1815
1815
 
1816
1816
  // Owm methods of Grss-0.7.Grss.Person
1817
1817
 
1818
- get_email(): string | null
1819
- get_name(): string | null
1820
- get_uri(): string | null
1818
+ get_email(): string
1819
+ get_name(): string
1820
+ get_uri(): string
1821
1821
  /**
1822
1822
  * Atomically increments the reference count of `person` by one.
1823
1823
  * @returns the #GrssPerson with the reference count increased
@@ -1853,7 +1853,7 @@ class Person {
1853
1853
  * @param uri the homepage (uri) of the person, or %NULL
1854
1854
  * @returns a new #GrssPerson, or %NULL
1855
1855
  */
1856
- constructor(name: string | null, email: string | null, uri: string | null)
1856
+ constructor(name: string, email: string | null, uri: string | null)
1857
1857
  /**
1858
1858
  * Creates a new #GrssPerson.
1859
1859
  * @constructor
@@ -1862,7 +1862,7 @@ class Person {
1862
1862
  * @param uri the homepage (uri) of the person, or %NULL
1863
1863
  * @returns a new #GrssPerson, or %NULL
1864
1864
  */
1865
- static new(name: string | null, email: string | null, uri: string | null): Person
1865
+ static new(name: string, email: string | null, uri: string | null): Person
1866
1866
  }
1867
1867
 
1868
1868
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/grss-0.7",
3
- "version": "0.7.0-3.2.5",
3
+ "version": "0.7.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Grss-0.7, generated from library version 0.7.0",
5
5
  "type": "module",
6
6
  "module": "grss-0.7.js",
@@ -25,12 +25,12 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit grss-0.7.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/libxml2-2.0": "^2.0.0-3.2.5",
33
- "@girs/soup-2.4": "^2.74.3-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/libxml2-2.0": "^2.0.0-3.2.7",
33
+ "@girs/soup-2.4": "^2.74.3-3.2.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "*"