@girs/grl-0.2 0.2.0-3.2.5 → 0.2.0-3.2.6

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/grl-0.2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Grl-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 Grl-0.2, generated from library version 0.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
9
9
 
10
10
 
11
11
  ## Install
package/grl-0.2.d.cts CHANGED
@@ -3012,6 +3012,89 @@ export module Source {
3012
3012
  * List of supported media types by this source.
3013
3013
  */
3014
3014
  supported_media?: MediaType | null
3015
+ /**
3016
+ * Transparently split queries with count requests
3017
+ * bigger than a certain threshold into smaller queries.
3018
+ */
3019
+ autoSplitThreshold?: number | null
3020
+ /**
3021
+ * A description of the source
3022
+ */
3023
+ sourceDesc?: string | null
3024
+ /**
3025
+ * #GIcon representing the source
3026
+ */
3027
+ sourceIcon?: Gio.Icon | null
3028
+ /**
3029
+ * The identifier of the source.
3030
+ */
3031
+ sourceId?: string | null
3032
+ /**
3033
+ * The name of the source.
3034
+ */
3035
+ sourceName?: string | null
3036
+ /**
3037
+ * A string array of tags relevant this source.
3038
+ *
3039
+ * The tags are arbitrary, and applications should just pass over the tags
3040
+ * it does not understand. Applications would usually use this to either
3041
+ * group sources together, or hide certain sources: a radio application
3042
+ * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
3043
+ * well as "radio" being listed in the tags.
3044
+ *
3045
+ * To avoid irrelevant content being listed in applications, sources
3046
+ * such as generic video sites should not be tagged as "cinema" or
3047
+ * "tv" as they contain a lot of content that's not either of those.
3048
+ *
3049
+ * This is a list of commonly used values:
3050
+ *
3051
+ * - "cinema", or "tv"
3052
+ * The content served is from cinema or TV sources. For example, a
3053
+ * source for movie trailers would select the former, a source for
3054
+ * streaming live TV would select the latter.
3055
+ *
3056
+ * - "radio"
3057
+ * The content served is from streaming radios.
3058
+ *
3059
+ * - "music"
3060
+ * The content served is music, for example, music stores such as
3061
+ * Jamendo or Magnatune.
3062
+ *
3063
+ * - "country:country-code"
3064
+ * The content is mostly relevant to users from a particular country,
3065
+ * such as a national broadcaster. For example, BBC content would be
3066
+ * tagged as "country:uk". Country codes should be an ISO-639-1 or
3067
+ * ISO-639-2 code.
3068
+ *
3069
+ * - "protocol:protocol-name"
3070
+ * The content browsing or searching uses a particular protocol, such
3071
+ * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
3072
+ * blacklist sources rather than matching the implementation specific
3073
+ * source ID. Examples are "protocol:dlna" and "protocol:dmap".
3074
+ *
3075
+ * - "localhost", or "localuser"
3076
+ * The content is served from the machine the application is running on,
3077
+ * or by an application the user is running. Applications might choose to
3078
+ * avoid showing the user's own data in their interfaces, or integrate it
3079
+ * in the user's local collection.
3080
+ *
3081
+ * "net:local", or "net:internet"
3082
+ * The source requires a connection to the local network, or a connection
3083
+ * to the Internet. Sources with those tags will be automatically hidden
3084
+ * from the application's reach when such networks aren't available, or
3085
+ * we're not connected to a network.
3086
+ *
3087
+ * "net:plaintext"
3088
+ * The source makes requests over plain text, non-encrypted, network channels,
3089
+ * such as using HTTP to do searches or lookups. Applications would usually
3090
+ * disable those by default, so that privacy is respected by default, and no
3091
+ * data is leaked unintentionally.
3092
+ */
3093
+ sourceTags?: string[] | null
3094
+ /**
3095
+ * List of supported media types by this source.
3096
+ */
3097
+ supportedMedia?: MediaType | null
3015
3098
  }
3016
3099
 
3017
3100
  }
@@ -3025,6 +3108,11 @@ export interface Source {
3025
3108
  * bigger than a certain threshold into smaller queries.
3026
3109
  */
3027
3110
  auto_split_threshold: number
3111
+ /**
3112
+ * Transparently split queries with count requests
3113
+ * bigger than a certain threshold into smaller queries.
3114
+ */
3115
+ autoSplitThreshold: number
3028
3116
  /**
3029
3117
  * Plugin the source belongs to
3030
3118
  */
@@ -3037,18 +3125,34 @@ export interface Source {
3037
3125
  * A description of the source
3038
3126
  */
3039
3127
  source_desc: string | null
3128
+ /**
3129
+ * A description of the source
3130
+ */
3131
+ sourceDesc: string | null
3040
3132
  /**
3041
3133
  * #GIcon representing the source
3042
3134
  */
3043
3135
  source_icon: Gio.Icon
3136
+ /**
3137
+ * #GIcon representing the source
3138
+ */
3139
+ sourceIcon: Gio.Icon
3044
3140
  /**
3045
3141
  * The identifier of the source.
3046
3142
  */
3047
3143
  source_id: string | null
3144
+ /**
3145
+ * The identifier of the source.
3146
+ */
3147
+ sourceId: string | null
3048
3148
  /**
3049
3149
  * The name of the source.
3050
3150
  */
3051
3151
  source_name: string | null
3152
+ /**
3153
+ * The name of the source.
3154
+ */
3155
+ sourceName: string | null
3052
3156
  /**
3053
3157
  * A string array of tags relevant this source.
3054
3158
  *
@@ -3107,10 +3211,72 @@ export interface Source {
3107
3211
  * data is leaked unintentionally.
3108
3212
  */
3109
3213
  source_tags: string[]
3214
+ /**
3215
+ * A string array of tags relevant this source.
3216
+ *
3217
+ * The tags are arbitrary, and applications should just pass over the tags
3218
+ * it does not understand. Applications would usually use this to either
3219
+ * group sources together, or hide certain sources: a radio application
3220
+ * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
3221
+ * well as "radio" being listed in the tags.
3222
+ *
3223
+ * To avoid irrelevant content being listed in applications, sources
3224
+ * such as generic video sites should not be tagged as "cinema" or
3225
+ * "tv" as they contain a lot of content that's not either of those.
3226
+ *
3227
+ * This is a list of commonly used values:
3228
+ *
3229
+ * - "cinema", or "tv"
3230
+ * The content served is from cinema or TV sources. For example, a
3231
+ * source for movie trailers would select the former, a source for
3232
+ * streaming live TV would select the latter.
3233
+ *
3234
+ * - "radio"
3235
+ * The content served is from streaming radios.
3236
+ *
3237
+ * - "music"
3238
+ * The content served is music, for example, music stores such as
3239
+ * Jamendo or Magnatune.
3240
+ *
3241
+ * - "country:country-code"
3242
+ * The content is mostly relevant to users from a particular country,
3243
+ * such as a national broadcaster. For example, BBC content would be
3244
+ * tagged as "country:uk". Country codes should be an ISO-639-1 or
3245
+ * ISO-639-2 code.
3246
+ *
3247
+ * - "protocol:protocol-name"
3248
+ * The content browsing or searching uses a particular protocol, such
3249
+ * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
3250
+ * blacklist sources rather than matching the implementation specific
3251
+ * source ID. Examples are "protocol:dlna" and "protocol:dmap".
3252
+ *
3253
+ * - "localhost", or "localuser"
3254
+ * The content is served from the machine the application is running on,
3255
+ * or by an application the user is running. Applications might choose to
3256
+ * avoid showing the user's own data in their interfaces, or integrate it
3257
+ * in the user's local collection.
3258
+ *
3259
+ * "net:local", or "net:internet"
3260
+ * The source requires a connection to the local network, or a connection
3261
+ * to the Internet. Sources with those tags will be automatically hidden
3262
+ * from the application's reach when such networks aren't available, or
3263
+ * we're not connected to a network.
3264
+ *
3265
+ * "net:plaintext"
3266
+ * The source makes requests over plain text, non-encrypted, network channels,
3267
+ * such as using HTTP to do searches or lookups. Applications would usually
3268
+ * disable those by default, so that privacy is respected by default, and no
3269
+ * data is leaked unintentionally.
3270
+ */
3271
+ sourceTags: string[]
3110
3272
  /**
3111
3273
  * List of supported media types by this source.
3112
3274
  */
3113
3275
  supported_media: MediaType
3276
+ /**
3277
+ * List of supported media types by this source.
3278
+ */
3279
+ supportedMedia: MediaType
3114
3280
 
3115
3281
  // Own fields of Grl-0.2.Grl.Source
3116
3282
 
package/grl-0.2.d.ts CHANGED
@@ -3014,6 +3014,89 @@ module Source {
3014
3014
  * List of supported media types by this source.
3015
3015
  */
3016
3016
  supported_media?: MediaType | null
3017
+ /**
3018
+ * Transparently split queries with count requests
3019
+ * bigger than a certain threshold into smaller queries.
3020
+ */
3021
+ autoSplitThreshold?: number | null
3022
+ /**
3023
+ * A description of the source
3024
+ */
3025
+ sourceDesc?: string | null
3026
+ /**
3027
+ * #GIcon representing the source
3028
+ */
3029
+ sourceIcon?: Gio.Icon | null
3030
+ /**
3031
+ * The identifier of the source.
3032
+ */
3033
+ sourceId?: string | null
3034
+ /**
3035
+ * The name of the source.
3036
+ */
3037
+ sourceName?: string | null
3038
+ /**
3039
+ * A string array of tags relevant this source.
3040
+ *
3041
+ * The tags are arbitrary, and applications should just pass over the tags
3042
+ * it does not understand. Applications would usually use this to either
3043
+ * group sources together, or hide certain sources: a radio application
3044
+ * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
3045
+ * well as "radio" being listed in the tags.
3046
+ *
3047
+ * To avoid irrelevant content being listed in applications, sources
3048
+ * such as generic video sites should not be tagged as "cinema" or
3049
+ * "tv" as they contain a lot of content that's not either of those.
3050
+ *
3051
+ * This is a list of commonly used values:
3052
+ *
3053
+ * - "cinema", or "tv"
3054
+ * The content served is from cinema or TV sources. For example, a
3055
+ * source for movie trailers would select the former, a source for
3056
+ * streaming live TV would select the latter.
3057
+ *
3058
+ * - "radio"
3059
+ * The content served is from streaming radios.
3060
+ *
3061
+ * - "music"
3062
+ * The content served is music, for example, music stores such as
3063
+ * Jamendo or Magnatune.
3064
+ *
3065
+ * - "country:country-code"
3066
+ * The content is mostly relevant to users from a particular country,
3067
+ * such as a national broadcaster. For example, BBC content would be
3068
+ * tagged as "country:uk". Country codes should be an ISO-639-1 or
3069
+ * ISO-639-2 code.
3070
+ *
3071
+ * - "protocol:protocol-name"
3072
+ * The content browsing or searching uses a particular protocol, such
3073
+ * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
3074
+ * blacklist sources rather than matching the implementation specific
3075
+ * source ID. Examples are "protocol:dlna" and "protocol:dmap".
3076
+ *
3077
+ * - "localhost", or "localuser"
3078
+ * The content is served from the machine the application is running on,
3079
+ * or by an application the user is running. Applications might choose to
3080
+ * avoid showing the user's own data in their interfaces, or integrate it
3081
+ * in the user's local collection.
3082
+ *
3083
+ * "net:local", or "net:internet"
3084
+ * The source requires a connection to the local network, or a connection
3085
+ * to the Internet. Sources with those tags will be automatically hidden
3086
+ * from the application's reach when such networks aren't available, or
3087
+ * we're not connected to a network.
3088
+ *
3089
+ * "net:plaintext"
3090
+ * The source makes requests over plain text, non-encrypted, network channels,
3091
+ * such as using HTTP to do searches or lookups. Applications would usually
3092
+ * disable those by default, so that privacy is respected by default, and no
3093
+ * data is leaked unintentionally.
3094
+ */
3095
+ sourceTags?: string[] | null
3096
+ /**
3097
+ * List of supported media types by this source.
3098
+ */
3099
+ supportedMedia?: MediaType | null
3017
3100
  }
3018
3101
 
3019
3102
  }
@@ -3027,6 +3110,11 @@ interface Source {
3027
3110
  * bigger than a certain threshold into smaller queries.
3028
3111
  */
3029
3112
  auto_split_threshold: number
3113
+ /**
3114
+ * Transparently split queries with count requests
3115
+ * bigger than a certain threshold into smaller queries.
3116
+ */
3117
+ autoSplitThreshold: number
3030
3118
  /**
3031
3119
  * Plugin the source belongs to
3032
3120
  */
@@ -3039,18 +3127,34 @@ interface Source {
3039
3127
  * A description of the source
3040
3128
  */
3041
3129
  source_desc: string | null
3130
+ /**
3131
+ * A description of the source
3132
+ */
3133
+ sourceDesc: string | null
3042
3134
  /**
3043
3135
  * #GIcon representing the source
3044
3136
  */
3045
3137
  source_icon: Gio.Icon
3138
+ /**
3139
+ * #GIcon representing the source
3140
+ */
3141
+ sourceIcon: Gio.Icon
3046
3142
  /**
3047
3143
  * The identifier of the source.
3048
3144
  */
3049
3145
  source_id: string | null
3146
+ /**
3147
+ * The identifier of the source.
3148
+ */
3149
+ sourceId: string | null
3050
3150
  /**
3051
3151
  * The name of the source.
3052
3152
  */
3053
3153
  source_name: string | null
3154
+ /**
3155
+ * The name of the source.
3156
+ */
3157
+ sourceName: string | null
3054
3158
  /**
3055
3159
  * A string array of tags relevant this source.
3056
3160
  *
@@ -3109,10 +3213,72 @@ interface Source {
3109
3213
  * data is leaked unintentionally.
3110
3214
  */
3111
3215
  source_tags: string[]
3216
+ /**
3217
+ * A string array of tags relevant this source.
3218
+ *
3219
+ * The tags are arbitrary, and applications should just pass over the tags
3220
+ * it does not understand. Applications would usually use this to either
3221
+ * group sources together, or hide certain sources: a radio application
3222
+ * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
3223
+ * well as "radio" being listed in the tags.
3224
+ *
3225
+ * To avoid irrelevant content being listed in applications, sources
3226
+ * such as generic video sites should not be tagged as "cinema" or
3227
+ * "tv" as they contain a lot of content that's not either of those.
3228
+ *
3229
+ * This is a list of commonly used values:
3230
+ *
3231
+ * - "cinema", or "tv"
3232
+ * The content served is from cinema or TV sources. For example, a
3233
+ * source for movie trailers would select the former, a source for
3234
+ * streaming live TV would select the latter.
3235
+ *
3236
+ * - "radio"
3237
+ * The content served is from streaming radios.
3238
+ *
3239
+ * - "music"
3240
+ * The content served is music, for example, music stores such as
3241
+ * Jamendo or Magnatune.
3242
+ *
3243
+ * - "country:country-code"
3244
+ * The content is mostly relevant to users from a particular country,
3245
+ * such as a national broadcaster. For example, BBC content would be
3246
+ * tagged as "country:uk". Country codes should be an ISO-639-1 or
3247
+ * ISO-639-2 code.
3248
+ *
3249
+ * - "protocol:protocol-name"
3250
+ * The content browsing or searching uses a particular protocol, such
3251
+ * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
3252
+ * blacklist sources rather than matching the implementation specific
3253
+ * source ID. Examples are "protocol:dlna" and "protocol:dmap".
3254
+ *
3255
+ * - "localhost", or "localuser"
3256
+ * The content is served from the machine the application is running on,
3257
+ * or by an application the user is running. Applications might choose to
3258
+ * avoid showing the user's own data in their interfaces, or integrate it
3259
+ * in the user's local collection.
3260
+ *
3261
+ * "net:local", or "net:internet"
3262
+ * The source requires a connection to the local network, or a connection
3263
+ * to the Internet. Sources with those tags will be automatically hidden
3264
+ * from the application's reach when such networks aren't available, or
3265
+ * we're not connected to a network.
3266
+ *
3267
+ * "net:plaintext"
3268
+ * The source makes requests over plain text, non-encrypted, network channels,
3269
+ * such as using HTTP to do searches or lookups. Applications would usually
3270
+ * disable those by default, so that privacy is respected by default, and no
3271
+ * data is leaked unintentionally.
3272
+ */
3273
+ sourceTags: string[]
3112
3274
  /**
3113
3275
  * List of supported media types by this source.
3114
3276
  */
3115
3277
  supported_media: MediaType
3278
+ /**
3279
+ * List of supported media types by this source.
3280
+ */
3281
+ supportedMedia: MediaType
3116
3282
 
3117
3283
  // Own fields of Grl-0.2.Grl.Source
3118
3284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/grl-0.2",
3
- "version": "0.2.0-3.2.5",
3
+ "version": "0.2.0-3.2.6",
4
4
  "description": "GJS TypeScript type definitions for Grl-0.2, generated from library version 0.2.0",
5
5
  "type": "module",
6
6
  "module": "grl-0.2.js",
@@ -25,11 +25,11 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit grl-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/gmodule-2.0": "^2.0.0-3.2.5",
32
- "@girs/gobject-2.0": "^2.78.0-3.2.5"
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/gmodule-2.0": "^2.0.0-3.2.6",
32
+ "@girs/gobject-2.0": "^2.78.0-3.2.6"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "*"