@girs/grl-0.2 0.2.0-3.2.7 → 0.2.0-3.2.9

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.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.9.
9
9
 
10
10
 
11
11
  ## Install
@@ -4,9 +4,5 @@ declare module 'gi://Grl?version=0.2' {
4
4
  export default Grl02;
5
5
  }
6
6
 
7
- declare module 'gi://Grl' {
8
- import Grl02 from '@girs/grl-0.2';
9
- export default Grl02;
10
- }
11
7
 
12
8
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/grl-0.2.d.cts CHANGED
@@ -2925,7 +2925,7 @@ export module Source {
2925
2925
  * Transparently split queries with count requests
2926
2926
  * bigger than a certain threshold into smaller queries.
2927
2927
  */
2928
- auto_split_threshold?: number | null
2928
+ autoSplitThreshold?: number | null
2929
2929
  /**
2930
2930
  * Plugin the source belongs to
2931
2931
  */
@@ -2934,89 +2934,6 @@ export module Source {
2934
2934
  * Source rank
2935
2935
  */
2936
2936
  rank?: number | null
2937
- /**
2938
- * A description of the source
2939
- */
2940
- source_desc?: string | null
2941
- /**
2942
- * #GIcon representing the source
2943
- */
2944
- source_icon?: Gio.Icon | null
2945
- /**
2946
- * The identifier of the source.
2947
- */
2948
- source_id?: string | null
2949
- /**
2950
- * The name of the source.
2951
- */
2952
- source_name?: string | null
2953
- /**
2954
- * A string array of tags relevant this source.
2955
- *
2956
- * The tags are arbitrary, and applications should just pass over the tags
2957
- * it does not understand. Applications would usually use this to either
2958
- * group sources together, or hide certain sources: a radio application
2959
- * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
2960
- * well as "radio" being listed in the tags.
2961
- *
2962
- * To avoid irrelevant content being listed in applications, sources
2963
- * such as generic video sites should not be tagged as "cinema" or
2964
- * "tv" as they contain a lot of content that's not either of those.
2965
- *
2966
- * This is a list of commonly used values:
2967
- *
2968
- * - "cinema", or "tv"
2969
- * The content served is from cinema or TV sources. For example, a
2970
- * source for movie trailers would select the former, a source for
2971
- * streaming live TV would select the latter.
2972
- *
2973
- * - "radio"
2974
- * The content served is from streaming radios.
2975
- *
2976
- * - "music"
2977
- * The content served is music, for example, music stores such as
2978
- * Jamendo or Magnatune.
2979
- *
2980
- * - "country:country-code"
2981
- * The content is mostly relevant to users from a particular country,
2982
- * such as a national broadcaster. For example, BBC content would be
2983
- * tagged as "country:uk". Country codes should be an ISO-639-1 or
2984
- * ISO-639-2 code.
2985
- *
2986
- * - "protocol:protocol-name"
2987
- * The content browsing or searching uses a particular protocol, such
2988
- * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
2989
- * blacklist sources rather than matching the implementation specific
2990
- * source ID. Examples are "protocol:dlna" and "protocol:dmap".
2991
- *
2992
- * - "localhost", or "localuser"
2993
- * The content is served from the machine the application is running on,
2994
- * or by an application the user is running. Applications might choose to
2995
- * avoid showing the user's own data in their interfaces, or integrate it
2996
- * in the user's local collection.
2997
- *
2998
- * "net:local", or "net:internet"
2999
- * The source requires a connection to the local network, or a connection
3000
- * to the Internet. Sources with those tags will be automatically hidden
3001
- * from the application's reach when such networks aren't available, or
3002
- * we're not connected to a network.
3003
- *
3004
- * "net:plaintext"
3005
- * The source makes requests over plain text, non-encrypted, network channels,
3006
- * such as using HTTP to do searches or lookups. Applications would usually
3007
- * disable those by default, so that privacy is respected by default, and no
3008
- * data is leaked unintentionally.
3009
- */
3010
- source_tags?: string[] | null
3011
- /**
3012
- * List of supported media types by this source.
3013
- */
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
2937
  /**
3021
2938
  * A description of the source
3022
2939
  */
@@ -3103,11 +3020,6 @@ export interface Source {
3103
3020
 
3104
3021
  // Own properties of Grl-0.2.Grl.Source
3105
3022
 
3106
- /**
3107
- * Transparently split queries with count requests
3108
- * bigger than a certain threshold into smaller queries.
3109
- */
3110
- auto_split_threshold: number
3111
3023
  /**
3112
3024
  * Transparently split queries with count requests
3113
3025
  * bigger than a certain threshold into smaller queries.
@@ -3121,96 +3033,22 @@ export interface Source {
3121
3033
  * Source rank
3122
3034
  */
3123
3035
  rank: number
3124
- /**
3125
- * A description of the source
3126
- */
3127
- source_desc: string | null
3128
3036
  /**
3129
3037
  * A description of the source
3130
3038
  */
3131
3039
  sourceDesc: string | null
3132
- /**
3133
- * #GIcon representing the source
3134
- */
3135
- source_icon: Gio.Icon
3136
3040
  /**
3137
3041
  * #GIcon representing the source
3138
3042
  */
3139
3043
  sourceIcon: Gio.Icon
3140
- /**
3141
- * The identifier of the source.
3142
- */
3143
- source_id: string | null
3144
3044
  /**
3145
3045
  * The identifier of the source.
3146
3046
  */
3147
3047
  sourceId: string | null
3148
- /**
3149
- * The name of the source.
3150
- */
3151
- source_name: string | null
3152
3048
  /**
3153
3049
  * The name of the source.
3154
3050
  */
3155
3051
  sourceName: string | null
3156
- /**
3157
- * A string array of tags relevant this source.
3158
- *
3159
- * The tags are arbitrary, and applications should just pass over the tags
3160
- * it does not understand. Applications would usually use this to either
3161
- * group sources together, or hide certain sources: a radio application
3162
- * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
3163
- * well as "radio" being listed in the tags.
3164
- *
3165
- * To avoid irrelevant content being listed in applications, sources
3166
- * such as generic video sites should not be tagged as "cinema" or
3167
- * "tv" as they contain a lot of content that's not either of those.
3168
- *
3169
- * This is a list of commonly used values:
3170
- *
3171
- * - "cinema", or "tv"
3172
- * The content served is from cinema or TV sources. For example, a
3173
- * source for movie trailers would select the former, a source for
3174
- * streaming live TV would select the latter.
3175
- *
3176
- * - "radio"
3177
- * The content served is from streaming radios.
3178
- *
3179
- * - "music"
3180
- * The content served is music, for example, music stores such as
3181
- * Jamendo or Magnatune.
3182
- *
3183
- * - "country:country-code"
3184
- * The content is mostly relevant to users from a particular country,
3185
- * such as a national broadcaster. For example, BBC content would be
3186
- * tagged as "country:uk". Country codes should be an ISO-639-1 or
3187
- * ISO-639-2 code.
3188
- *
3189
- * - "protocol:protocol-name"
3190
- * The content browsing or searching uses a particular protocol, such
3191
- * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
3192
- * blacklist sources rather than matching the implementation specific
3193
- * source ID. Examples are "protocol:dlna" and "protocol:dmap".
3194
- *
3195
- * - "localhost", or "localuser"
3196
- * The content is served from the machine the application is running on,
3197
- * or by an application the user is running. Applications might choose to
3198
- * avoid showing the user's own data in their interfaces, or integrate it
3199
- * in the user's local collection.
3200
- *
3201
- * "net:local", or "net:internet"
3202
- * The source requires a connection to the local network, or a connection
3203
- * to the Internet. Sources with those tags will be automatically hidden
3204
- * from the application's reach when such networks aren't available, or
3205
- * we're not connected to a network.
3206
- *
3207
- * "net:plaintext"
3208
- * The source makes requests over plain text, non-encrypted, network channels,
3209
- * such as using HTTP to do searches or lookups. Applications would usually
3210
- * disable those by default, so that privacy is respected by default, and no
3211
- * data is leaked unintentionally.
3212
- */
3213
- source_tags: string[]
3214
3052
  /**
3215
3053
  * A string array of tags relevant this source.
3216
3054
  *
@@ -3269,10 +3107,6 @@ export interface Source {
3269
3107
  * data is leaked unintentionally.
3270
3108
  */
3271
3109
  sourceTags: string[]
3272
- /**
3273
- * List of supported media types by this source.
3274
- */
3275
- supported_media: MediaType
3276
3110
  /**
3277
3111
  * List of supported media types by this source.
3278
3112
  */
package/grl-0.2.d.ts CHANGED
@@ -2927,7 +2927,7 @@ module Source {
2927
2927
  * Transparently split queries with count requests
2928
2928
  * bigger than a certain threshold into smaller queries.
2929
2929
  */
2930
- auto_split_threshold?: number | null
2930
+ autoSplitThreshold?: number | null
2931
2931
  /**
2932
2932
  * Plugin the source belongs to
2933
2933
  */
@@ -2936,89 +2936,6 @@ module Source {
2936
2936
  * Source rank
2937
2937
  */
2938
2938
  rank?: number | null
2939
- /**
2940
- * A description of the source
2941
- */
2942
- source_desc?: string | null
2943
- /**
2944
- * #GIcon representing the source
2945
- */
2946
- source_icon?: Gio.Icon | null
2947
- /**
2948
- * The identifier of the source.
2949
- */
2950
- source_id?: string | null
2951
- /**
2952
- * The name of the source.
2953
- */
2954
- source_name?: string | null
2955
- /**
2956
- * A string array of tags relevant this source.
2957
- *
2958
- * The tags are arbitrary, and applications should just pass over the tags
2959
- * it does not understand. Applications would usually use this to either
2960
- * group sources together, or hide certain sources: a radio application
2961
- * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
2962
- * well as "radio" being listed in the tags.
2963
- *
2964
- * To avoid irrelevant content being listed in applications, sources
2965
- * such as generic video sites should not be tagged as "cinema" or
2966
- * "tv" as they contain a lot of content that's not either of those.
2967
- *
2968
- * This is a list of commonly used values:
2969
- *
2970
- * - "cinema", or "tv"
2971
- * The content served is from cinema or TV sources. For example, a
2972
- * source for movie trailers would select the former, a source for
2973
- * streaming live TV would select the latter.
2974
- *
2975
- * - "radio"
2976
- * The content served is from streaming radios.
2977
- *
2978
- * - "music"
2979
- * The content served is music, for example, music stores such as
2980
- * Jamendo or Magnatune.
2981
- *
2982
- * - "country:country-code"
2983
- * The content is mostly relevant to users from a particular country,
2984
- * such as a national broadcaster. For example, BBC content would be
2985
- * tagged as "country:uk". Country codes should be an ISO-639-1 or
2986
- * ISO-639-2 code.
2987
- *
2988
- * - "protocol:protocol-name"
2989
- * The content browsing or searching uses a particular protocol, such
2990
- * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
2991
- * blacklist sources rather than matching the implementation specific
2992
- * source ID. Examples are "protocol:dlna" and "protocol:dmap".
2993
- *
2994
- * - "localhost", or "localuser"
2995
- * The content is served from the machine the application is running on,
2996
- * or by an application the user is running. Applications might choose to
2997
- * avoid showing the user's own data in their interfaces, or integrate it
2998
- * in the user's local collection.
2999
- *
3000
- * "net:local", or "net:internet"
3001
- * The source requires a connection to the local network, or a connection
3002
- * to the Internet. Sources with those tags will be automatically hidden
3003
- * from the application's reach when such networks aren't available, or
3004
- * we're not connected to a network.
3005
- *
3006
- * "net:plaintext"
3007
- * The source makes requests over plain text, non-encrypted, network channels,
3008
- * such as using HTTP to do searches or lookups. Applications would usually
3009
- * disable those by default, so that privacy is respected by default, and no
3010
- * data is leaked unintentionally.
3011
- */
3012
- source_tags?: string[] | null
3013
- /**
3014
- * List of supported media types by this source.
3015
- */
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
2939
  /**
3023
2940
  * A description of the source
3024
2941
  */
@@ -3105,11 +3022,6 @@ interface Source {
3105
3022
 
3106
3023
  // Own properties of Grl-0.2.Grl.Source
3107
3024
 
3108
- /**
3109
- * Transparently split queries with count requests
3110
- * bigger than a certain threshold into smaller queries.
3111
- */
3112
- auto_split_threshold: number
3113
3025
  /**
3114
3026
  * Transparently split queries with count requests
3115
3027
  * bigger than a certain threshold into smaller queries.
@@ -3123,96 +3035,22 @@ interface Source {
3123
3035
  * Source rank
3124
3036
  */
3125
3037
  rank: number
3126
- /**
3127
- * A description of the source
3128
- */
3129
- source_desc: string | null
3130
3038
  /**
3131
3039
  * A description of the source
3132
3040
  */
3133
3041
  sourceDesc: string | null
3134
- /**
3135
- * #GIcon representing the source
3136
- */
3137
- source_icon: Gio.Icon
3138
3042
  /**
3139
3043
  * #GIcon representing the source
3140
3044
  */
3141
3045
  sourceIcon: Gio.Icon
3142
- /**
3143
- * The identifier of the source.
3144
- */
3145
- source_id: string | null
3146
3046
  /**
3147
3047
  * The identifier of the source.
3148
3048
  */
3149
3049
  sourceId: string | null
3150
- /**
3151
- * The name of the source.
3152
- */
3153
- source_name: string | null
3154
3050
  /**
3155
3051
  * The name of the source.
3156
3052
  */
3157
3053
  sourceName: string | null
3158
- /**
3159
- * A string array of tags relevant this source.
3160
- *
3161
- * The tags are arbitrary, and applications should just pass over the tags
3162
- * it does not understand. Applications would usually use this to either
3163
- * group sources together, or hide certain sources: a radio application
3164
- * would filter for %GRL_MEDIA_TYPE_AUDIO in GrlSource::supported-media as
3165
- * well as "radio" being listed in the tags.
3166
- *
3167
- * To avoid irrelevant content being listed in applications, sources
3168
- * such as generic video sites should not be tagged as "cinema" or
3169
- * "tv" as they contain a lot of content that's not either of those.
3170
- *
3171
- * This is a list of commonly used values:
3172
- *
3173
- * - "cinema", or "tv"
3174
- * The content served is from cinema or TV sources. For example, a
3175
- * source for movie trailers would select the former, a source for
3176
- * streaming live TV would select the latter.
3177
- *
3178
- * - "radio"
3179
- * The content served is from streaming radios.
3180
- *
3181
- * - "music"
3182
- * The content served is music, for example, music stores such as
3183
- * Jamendo or Magnatune.
3184
- *
3185
- * - "country:country-code"
3186
- * The content is mostly relevant to users from a particular country,
3187
- * such as a national broadcaster. For example, BBC content would be
3188
- * tagged as "country:uk". Country codes should be an ISO-639-1 or
3189
- * ISO-639-2 code.
3190
- *
3191
- * - "protocol:protocol-name"
3192
- * The content browsing or searching uses a particular protocol, such
3193
- * as DLNA/UPnP or DMAP/DAAP. This makes it easier to whitelist or
3194
- * blacklist sources rather than matching the implementation specific
3195
- * source ID. Examples are "protocol:dlna" and "protocol:dmap".
3196
- *
3197
- * - "localhost", or "localuser"
3198
- * The content is served from the machine the application is running on,
3199
- * or by an application the user is running. Applications might choose to
3200
- * avoid showing the user's own data in their interfaces, or integrate it
3201
- * in the user's local collection.
3202
- *
3203
- * "net:local", or "net:internet"
3204
- * The source requires a connection to the local network, or a connection
3205
- * to the Internet. Sources with those tags will be automatically hidden
3206
- * from the application's reach when such networks aren't available, or
3207
- * we're not connected to a network.
3208
- *
3209
- * "net:plaintext"
3210
- * The source makes requests over plain text, non-encrypted, network channels,
3211
- * such as using HTTP to do searches or lookups. Applications would usually
3212
- * disable those by default, so that privacy is respected by default, and no
3213
- * data is leaked unintentionally.
3214
- */
3215
- source_tags: string[]
3216
3054
  /**
3217
3055
  * A string array of tags relevant this source.
3218
3056
  *
@@ -3271,10 +3109,6 @@ interface Source {
3271
3109
  * data is leaked unintentionally.
3272
3110
  */
3273
3111
  sourceTags: string[]
3274
- /**
3275
- * List of supported media types by this source.
3276
- */
3277
- supported_media: MediaType
3278
3112
  /**
3279
3113
  * List of supported media types by this source.
3280
3114
  */
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/grl-0.2",
3
- "version": "0.2.0-3.2.7",
3
+ "version": "0.2.0-3.2.9",
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",
7
7
  "main": "grl-0.2.js",
8
8
  "exports": {
9
- "./ambient": "./grl-0.2-ambient.d.ts",
10
- "./import": "./grl-0.2-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./grl-0.2-ambient.d.ts",
11
+ "default": "./grl-0.2-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./grl-0.2-import.d.ts",
15
+ "default": "./grl-0.2-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./grl-0.2.d.ts",
@@ -25,11 +31,11 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit grl-0.2.d.cts"
26
32
  },
27
33
  "dependencies": {
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/gmodule-2.0": "^2.0.0-3.2.7",
32
- "@girs/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gio-2.0": "^2.78.0-3.2.9",
35
+ "@girs/gjs": "^3.2.9",
36
+ "@girs/glib-2.0": "^2.78.0-3.2.9",
37
+ "@girs/gmodule-2.0": "^2.0.0-3.2.9",
38
+ "@girs/gobject-2.0": "^2.78.0-3.2.9"
33
39
  },
34
40
  "devDependencies": {
35
41
  "typescript": "*"
@@ -46,7 +52,7 @@
46
52
  "license": "MIT",
47
53
  "repository": {
48
54
  "type": "git",
49
- "url": "git+https://github.com/gjsify/types.git"
55
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
50
56
  },
51
57
  "bugs": {
52
58
  "url": "https://github.com/gjsify/ts-for-gir/issues"