@girs/flatpak-1.0 1.8.0-3.2.7 → 1.8.0-3.2.8

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/flatpak-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Flatpak-1.0, generated from library version 1.8.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Flatpak-1.0, generated from library version 1.8.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
 
11
11
  ## Install
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/flatpak-1.0.d.cts CHANGED
@@ -1243,20 +1243,6 @@ export module InstalledRef {
1243
1243
 
1244
1244
  // Own constructor properties of Flatpak-1.0.Flatpak.InstalledRef
1245
1245
 
1246
- appdata_content_rating?: GLib.HashTable | null
1247
- appdata_content_rating_type?: string | null
1248
- appdata_license?: string | null
1249
- appdata_name?: string | null
1250
- appdata_summary?: string | null
1251
- appdata_version?: string | null
1252
- deploy_dir?: string | null
1253
- end_of_life?: string | null
1254
- end_of_life_rebase?: string | null
1255
- installed_size?: number | null
1256
- is_current?: boolean | null
1257
- latest_commit?: string | null
1258
- origin?: string | null
1259
- subpaths?: string[] | null
1260
1246
  appdataContentRating?: GLib.HashTable | null
1261
1247
  appdataContentRatingType?: string | null
1262
1248
  appdataLicense?: string | null
@@ -1269,6 +1255,8 @@ export module InstalledRef {
1269
1255
  installedSize?: number | null
1270
1256
  isCurrent?: boolean | null
1271
1257
  latestCommit?: string | null
1258
+ origin?: string | null
1259
+ subpaths?: string[] | null
1272
1260
  }
1273
1261
 
1274
1262
  }
@@ -1277,29 +1265,17 @@ export interface InstalledRef {
1277
1265
 
1278
1266
  // Own properties of Flatpak-1.0.Flatpak.InstalledRef
1279
1267
 
1280
- readonly appdata_content_rating: GLib.HashTable
1281
1268
  readonly appdataContentRating: GLib.HashTable
1282
- readonly appdata_content_rating_type: string | null
1283
1269
  readonly appdataContentRatingType: string | null
1284
- readonly appdata_license: string | null
1285
1270
  readonly appdataLicense: string | null
1286
- readonly appdata_name: string | null
1287
1271
  readonly appdataName: string | null
1288
- readonly appdata_summary: string | null
1289
1272
  readonly appdataSummary: string | null
1290
- readonly appdata_version: string | null
1291
1273
  readonly appdataVersion: string | null
1292
- deploy_dir: string | null
1293
1274
  deployDir: string | null
1294
- readonly end_of_life: string | null
1295
1275
  readonly endOfLife: string | null
1296
- readonly end_of_life_rebase: string | null
1297
1276
  readonly endOfLifeRebase: string | null
1298
- installed_size: number
1299
1277
  installedSize: number
1300
- is_current: boolean
1301
1278
  isCurrent: boolean
1302
- latest_commit: string | null
1303
1279
  latestCommit: string | null
1304
1280
  origin: string | null
1305
1281
  subpaths: string[]
@@ -1609,11 +1585,10 @@ export module Ref {
1609
1585
 
1610
1586
  arch?: string | null
1611
1587
  branch?: string | null
1612
- collection_id?: string | null
1588
+ collectionId?: string | null
1613
1589
  commit?: string | null
1614
1590
  kind?: RefKind | null
1615
1591
  name?: string | null
1616
- collectionId?: string | null
1617
1592
  }
1618
1593
 
1619
1594
  }
@@ -1624,7 +1599,6 @@ export interface Ref {
1624
1599
 
1625
1600
  readonly arch: string | null
1626
1601
  readonly branch: string | null
1627
- readonly collection_id: string | null
1628
1602
  readonly collectionId: string | null
1629
1603
  readonly commit: string | null
1630
1604
  readonly kind: RefKind
@@ -1727,13 +1701,10 @@ export module RelatedRef {
1727
1701
 
1728
1702
  // Own constructor properties of Flatpak-1.0.Flatpak.RelatedRef
1729
1703
 
1730
- should_autoprune?: boolean | null
1731
- should_delete?: boolean | null
1732
- should_download?: boolean | null
1733
- subpaths?: string[] | null
1734
1704
  shouldAutoprune?: boolean | null
1735
1705
  shouldDelete?: boolean | null
1736
1706
  shouldDownload?: boolean | null
1707
+ subpaths?: string[] | null
1737
1708
  }
1738
1709
 
1739
1710
  }
@@ -1742,11 +1713,8 @@ export interface RelatedRef {
1742
1713
 
1743
1714
  // Own properties of Flatpak-1.0.Flatpak.RelatedRef
1744
1715
 
1745
- readonly should_autoprune: boolean
1746
1716
  readonly shouldAutoprune: boolean
1747
- readonly should_delete: boolean
1748
1717
  readonly shouldDelete: boolean
1749
- readonly should_download: boolean
1750
1718
  readonly shouldDownload: boolean
1751
1719
  readonly subpaths: string[]
1752
1720
 
@@ -1762,6 +1730,21 @@ export interface RelatedRef {
1762
1730
  * @returns A strv, or %NULL
1763
1731
  */
1764
1732
  get_subpaths(): string[]
1733
+ /**
1734
+ * Returns whether to delete when pruning unused refs.
1735
+ * @returns %TRUE if the ref should be considered unused when pruning.
1736
+ */
1737
+ should_autoprune(): boolean
1738
+ /**
1739
+ * Returns whether to auto-delete the ref with the main ref.
1740
+ * @returns %TRUE if the ref should be deleted with the main ref.
1741
+ */
1742
+ should_delete(): boolean
1743
+ /**
1744
+ * Returns whether to auto-download the ref with the main ref.
1745
+ * @returns %TRUE if the ref should be downloaded with the main ref.
1746
+ */
1747
+ should_download(): boolean
1765
1748
 
1766
1749
  // Class property signals of Flatpak-1.0.Flatpak.RelatedRef
1767
1750
 
@@ -2184,16 +2167,11 @@ export module RemoteRef {
2184
2167
 
2185
2168
  // Own constructor properties of Flatpak-1.0.Flatpak.RemoteRef
2186
2169
 
2187
- download_size?: number | null
2188
- end_of_life?: string | null
2189
- end_of_life_rebase?: string | null
2190
- installed_size?: number | null
2191
- metadata?: GLib.Bytes | null
2192
- remote_name?: string | null
2193
2170
  downloadSize?: number | null
2194
2171
  endOfLife?: string | null
2195
2172
  endOfLifeRebase?: string | null
2196
2173
  installedSize?: number | null
2174
+ metadata?: GLib.Bytes | null
2197
2175
  remoteName?: string | null
2198
2176
  }
2199
2177
 
@@ -2203,16 +2181,11 @@ export interface RemoteRef {
2203
2181
 
2204
2182
  // Own properties of Flatpak-1.0.Flatpak.RemoteRef
2205
2183
 
2206
- readonly download_size: number
2207
2184
  readonly downloadSize: number
2208
- readonly end_of_life: string | null
2209
2185
  readonly endOfLife: string | null
2210
- readonly end_of_life_rebase: string | null
2211
2186
  readonly endOfLifeRebase: string | null
2212
- readonly installed_size: number
2213
2187
  readonly installedSize: number
2214
2188
  readonly metadata: GLib.Bytes
2215
- readonly remote_name: string | null
2216
2189
  readonly remoteName: string | null
2217
2190
 
2218
2191
  // Own fields of Flatpak-1.0.Flatpak.RemoteRef
package/flatpak-1.0.d.ts CHANGED
@@ -1245,20 +1245,6 @@ module InstalledRef {
1245
1245
 
1246
1246
  // Own constructor properties of Flatpak-1.0.Flatpak.InstalledRef
1247
1247
 
1248
- appdata_content_rating?: GLib.HashTable | null
1249
- appdata_content_rating_type?: string | null
1250
- appdata_license?: string | null
1251
- appdata_name?: string | null
1252
- appdata_summary?: string | null
1253
- appdata_version?: string | null
1254
- deploy_dir?: string | null
1255
- end_of_life?: string | null
1256
- end_of_life_rebase?: string | null
1257
- installed_size?: number | null
1258
- is_current?: boolean | null
1259
- latest_commit?: string | null
1260
- origin?: string | null
1261
- subpaths?: string[] | null
1262
1248
  appdataContentRating?: GLib.HashTable | null
1263
1249
  appdataContentRatingType?: string | null
1264
1250
  appdataLicense?: string | null
@@ -1271,6 +1257,8 @@ module InstalledRef {
1271
1257
  installedSize?: number | null
1272
1258
  isCurrent?: boolean | null
1273
1259
  latestCommit?: string | null
1260
+ origin?: string | null
1261
+ subpaths?: string[] | null
1274
1262
  }
1275
1263
 
1276
1264
  }
@@ -1279,29 +1267,17 @@ interface InstalledRef {
1279
1267
 
1280
1268
  // Own properties of Flatpak-1.0.Flatpak.InstalledRef
1281
1269
 
1282
- readonly appdata_content_rating: GLib.HashTable
1283
1270
  readonly appdataContentRating: GLib.HashTable
1284
- readonly appdata_content_rating_type: string | null
1285
1271
  readonly appdataContentRatingType: string | null
1286
- readonly appdata_license: string | null
1287
1272
  readonly appdataLicense: string | null
1288
- readonly appdata_name: string | null
1289
1273
  readonly appdataName: string | null
1290
- readonly appdata_summary: string | null
1291
1274
  readonly appdataSummary: string | null
1292
- readonly appdata_version: string | null
1293
1275
  readonly appdataVersion: string | null
1294
- deploy_dir: string | null
1295
1276
  deployDir: string | null
1296
- readonly end_of_life: string | null
1297
1277
  readonly endOfLife: string | null
1298
- readonly end_of_life_rebase: string | null
1299
1278
  readonly endOfLifeRebase: string | null
1300
- installed_size: number
1301
1279
  installedSize: number
1302
- is_current: boolean
1303
1280
  isCurrent: boolean
1304
- latest_commit: string | null
1305
1281
  latestCommit: string | null
1306
1282
  origin: string | null
1307
1283
  subpaths: string[]
@@ -1611,11 +1587,10 @@ module Ref {
1611
1587
 
1612
1588
  arch?: string | null
1613
1589
  branch?: string | null
1614
- collection_id?: string | null
1590
+ collectionId?: string | null
1615
1591
  commit?: string | null
1616
1592
  kind?: RefKind | null
1617
1593
  name?: string | null
1618
- collectionId?: string | null
1619
1594
  }
1620
1595
 
1621
1596
  }
@@ -1626,7 +1601,6 @@ interface Ref {
1626
1601
 
1627
1602
  readonly arch: string | null
1628
1603
  readonly branch: string | null
1629
- readonly collection_id: string | null
1630
1604
  readonly collectionId: string | null
1631
1605
  readonly commit: string | null
1632
1606
  readonly kind: RefKind
@@ -1729,13 +1703,10 @@ module RelatedRef {
1729
1703
 
1730
1704
  // Own constructor properties of Flatpak-1.0.Flatpak.RelatedRef
1731
1705
 
1732
- should_autoprune?: boolean | null
1733
- should_delete?: boolean | null
1734
- should_download?: boolean | null
1735
- subpaths?: string[] | null
1736
1706
  shouldAutoprune?: boolean | null
1737
1707
  shouldDelete?: boolean | null
1738
1708
  shouldDownload?: boolean | null
1709
+ subpaths?: string[] | null
1739
1710
  }
1740
1711
 
1741
1712
  }
@@ -1744,11 +1715,8 @@ interface RelatedRef {
1744
1715
 
1745
1716
  // Own properties of Flatpak-1.0.Flatpak.RelatedRef
1746
1717
 
1747
- readonly should_autoprune: boolean
1748
1718
  readonly shouldAutoprune: boolean
1749
- readonly should_delete: boolean
1750
1719
  readonly shouldDelete: boolean
1751
- readonly should_download: boolean
1752
1720
  readonly shouldDownload: boolean
1753
1721
  readonly subpaths: string[]
1754
1722
 
@@ -1764,6 +1732,21 @@ interface RelatedRef {
1764
1732
  * @returns A strv, or %NULL
1765
1733
  */
1766
1734
  get_subpaths(): string[]
1735
+ /**
1736
+ * Returns whether to delete when pruning unused refs.
1737
+ * @returns %TRUE if the ref should be considered unused when pruning.
1738
+ */
1739
+ should_autoprune(): boolean
1740
+ /**
1741
+ * Returns whether to auto-delete the ref with the main ref.
1742
+ * @returns %TRUE if the ref should be deleted with the main ref.
1743
+ */
1744
+ should_delete(): boolean
1745
+ /**
1746
+ * Returns whether to auto-download the ref with the main ref.
1747
+ * @returns %TRUE if the ref should be downloaded with the main ref.
1748
+ */
1749
+ should_download(): boolean
1767
1750
 
1768
1751
  // Class property signals of Flatpak-1.0.Flatpak.RelatedRef
1769
1752
 
@@ -2186,16 +2169,11 @@ module RemoteRef {
2186
2169
 
2187
2170
  // Own constructor properties of Flatpak-1.0.Flatpak.RemoteRef
2188
2171
 
2189
- download_size?: number | null
2190
- end_of_life?: string | null
2191
- end_of_life_rebase?: string | null
2192
- installed_size?: number | null
2193
- metadata?: GLib.Bytes | null
2194
- remote_name?: string | null
2195
2172
  downloadSize?: number | null
2196
2173
  endOfLife?: string | null
2197
2174
  endOfLifeRebase?: string | null
2198
2175
  installedSize?: number | null
2176
+ metadata?: GLib.Bytes | null
2199
2177
  remoteName?: string | null
2200
2178
  }
2201
2179
 
@@ -2205,16 +2183,11 @@ interface RemoteRef {
2205
2183
 
2206
2184
  // Own properties of Flatpak-1.0.Flatpak.RemoteRef
2207
2185
 
2208
- readonly download_size: number
2209
2186
  readonly downloadSize: number
2210
- readonly end_of_life: string | null
2211
2187
  readonly endOfLife: string | null
2212
- readonly end_of_life_rebase: string | null
2213
2188
  readonly endOfLifeRebase: string | null
2214
- readonly installed_size: number
2215
2189
  readonly installedSize: number
2216
2190
  readonly metadata: GLib.Bytes
2217
- readonly remote_name: string | null
2218
2191
  readonly remoteName: string | null
2219
2192
 
2220
2193
  // Own fields of Flatpak-1.0.Flatpak.RemoteRef
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/flatpak-1.0",
3
- "version": "1.8.0-3.2.7",
3
+ "version": "1.8.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Flatpak-1.0, generated from library version 1.8.0",
5
5
  "type": "module",
6
6
  "module": "flatpak-1.0.js",
7
7
  "main": "flatpak-1.0.js",
8
8
  "exports": {
9
- "./ambient": "./flatpak-1.0-ambient.d.ts",
10
- "./import": "./flatpak-1.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./flatpak-1.0-ambient.d.ts",
11
+ "default": "./flatpak-1.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./flatpak-1.0-import.d.ts",
15
+ "default": "./flatpak-1.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./flatpak-1.0.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit flatpak-1.0.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/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8"
32
38
  },
33
39
  "devDependencies": {
34
40
  "typescript": "*"
@@ -45,7 +51,7 @@
45
51
  "license": "MIT",
46
52
  "repository": {
47
53
  "type": "git",
48
- "url": "git+https://github.com/gjsify/types.git"
54
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
55
  },
50
56
  "bugs": {
51
57
  "url": "https://github.com/gjsify/ts-for-gir/issues"