@girs/spiceclientgtk-3.0 3.0.0-3.0.0-beta.12
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 +33 -0
- package/package.json +67 -0
- package/spiceclientgtk-3.0.cjs +9 -0
- package/spiceclientgtk-3.0.d.cts +1010 -0
- package/spiceclientgtk-3.0.d.ts +1015 -0
- package/spiceclientgtk-3.0.js +8 -0
- package/tsconfig.doc.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
# SpiceClientGtk-3.0
|
|
3
|
+
|
|
4
|
+
GJS TypeScript type definitions for SpiceClientGtk-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
|
|
5
|
+
|
|
6
|
+
A Gtk client and libraries for SPICE remote desktop servers.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
To use this type definitions, install them with NPM like this:
|
|
11
|
+
```bash
|
|
12
|
+
npm install @girs/spiceclientgtk-3.0
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
You can import this package into your project like this:
|
|
18
|
+
```ts
|
|
19
|
+
import SpiceClientGtk from '@girs/spiceclientgtk-3.0';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Or if you prefer CommonJS, you can also use this:
|
|
23
|
+
```ts
|
|
24
|
+
const SpiceClientGtk = require('@girs/spiceclientgtk-3.0');
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import SpiceClientGtk from 'gi://SpiceClientGtk?version=3.0';
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@girs/spiceclientgtk-3.0",
|
|
3
|
+
"version": "3.0.0-3.0.0-beta.12",
|
|
4
|
+
"description": "GJS TypeScript type definitions for SpiceClientGtk-3.0, generated from library version 3.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "spiceclientgtk-3.0.js",
|
|
7
|
+
"main": "spiceclientgtk-3.0.js",
|
|
8
|
+
"typedoc": {
|
|
9
|
+
"entryPoint": "./spiceclientgtk-3.0.d.ts",
|
|
10
|
+
"readmeFile": "./README.md",
|
|
11
|
+
"displayName": "SpiceClientGtk-3.0",
|
|
12
|
+
"tsconfig": "./tsconfig.doc.json"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./spiceclientgtk-3.0.d.ts",
|
|
18
|
+
"default": "./spiceclientgtk-3.0.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./spiceclientgtk-3.0.d.cts",
|
|
22
|
+
"default": "./spiceclientgtk-3.0.cjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "yarn test:esm && yarn test:cjs",
|
|
28
|
+
"test:esm": "tsc --noEmit spiceclientgtk-3.0.d.ts",
|
|
29
|
+
"test:cjs": "tsc --noEmit spiceclientgtk-3.0.d.cts"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@girs/atk-1.0": "^2.45.1-3.0.0-beta.12",
|
|
33
|
+
"@girs/cairo-1.0": "^1.0.0-3.0.0-beta.12",
|
|
34
|
+
"@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.12",
|
|
35
|
+
"@girs/gdk-3.0": "^3.24.36-3.0.0-beta.12",
|
|
36
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0-beta.12",
|
|
37
|
+
"@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
|
|
38
|
+
"@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
|
|
39
|
+
"@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.12",
|
|
40
|
+
"@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
|
|
41
|
+
"@girs/gst-1.0": "^1.23.0-3.0.0-beta.12",
|
|
42
|
+
"@girs/gstbase-1.0": "^1.0.0-3.0.0-beta.12",
|
|
43
|
+
"@girs/gtk-3.0": "^3.24.36-3.0.0-beta.12",
|
|
44
|
+
"@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.12",
|
|
45
|
+
"@girs/pango-1.0": "^1.50.13-3.0.0-beta.12",
|
|
46
|
+
"@girs/spiceclientglib-2.0": "^2.0.0-3.0.0-beta.12",
|
|
47
|
+
"@girs/xlib-2.0": "^2.0.0-3.0.0-beta.12"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"typescript": "^*"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"Gir",
|
|
54
|
+
"TypeScript",
|
|
55
|
+
"SpiceClientGtk-3.0"
|
|
56
|
+
],
|
|
57
|
+
"author": "ts-for-gir",
|
|
58
|
+
"license": "Apache-2.0",
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
62
|
+
},
|
|
63
|
+
"bugs": {
|
|
64
|
+
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
|
65
|
+
},
|
|
66
|
+
"homepage": "https://github.com/gjsify/ts-for-gir#readme"
|
|
67
|
+
}
|