@types/novnc__novnc 1.5.0 → 1.7.0
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.
- novnc__novnc/README.md +1 -1
- novnc__novnc/index.d.ts +18 -6
- novnc__novnc/package.json +5 -3
novnc__novnc/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for @novnc/novnc (https://github.com/novn
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/novnc__novnc.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 24 Nov 2026 18:03:44 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
novnc__novnc/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// eslint-disable-next-line @definitelytyped/no-declare-current-package
|
|
2
|
-
declare module "@novnc/novnc
|
|
2
|
+
declare module "@novnc/novnc" {
|
|
3
3
|
/**
|
|
4
4
|
* An `object` specifying the credentials to provide to the server when authenticating.
|
|
5
5
|
*/
|
|
6
6
|
interface NoVncCredentials {
|
|
7
7
|
/** The user that authenticates */
|
|
8
|
-
username
|
|
8
|
+
username?: string;
|
|
9
9
|
/** Password for the user */
|
|
10
|
-
password
|
|
10
|
+
password?: string;
|
|
11
11
|
/** Target machine or session */
|
|
12
|
-
target
|
|
12
|
+
target?: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -102,6 +102,12 @@ declare module "@novnc/novnc/lib/rfb" {
|
|
|
102
102
|
* value of `capabilities`.
|
|
103
103
|
*/
|
|
104
104
|
capabilities: CustomEvent<{ capabilities: NoVncClient["capabilities"] }>;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The `clippingviewport` event is fired whenever `clippingViewport` changes between true and false.
|
|
108
|
+
* The `detail` property is a `boolean` with the new value of `clippingViewport`.
|
|
109
|
+
*/
|
|
110
|
+
clippingviewport: CustomEvent<NoVncClient["clippingViewport"]>;
|
|
105
111
|
}
|
|
106
112
|
|
|
107
113
|
type NoVncEventType = keyof NoVncEvents;
|
|
@@ -218,6 +224,12 @@ declare module "@novnc/novnc/lib/rfb" {
|
|
|
218
224
|
power: boolean;
|
|
219
225
|
};
|
|
220
226
|
|
|
227
|
+
/**
|
|
228
|
+
* Is a `boolean` indicating if the remote session is currently being clipped to its container.
|
|
229
|
+
* Only relevant if `clipViewport` is enabled.
|
|
230
|
+
*/
|
|
231
|
+
readonly clippingViewport: boolean;
|
|
232
|
+
|
|
221
233
|
/**
|
|
222
234
|
* Disconnect from the server.
|
|
223
235
|
*/
|
|
@@ -309,7 +321,7 @@ declare module "@novnc/novnc/lib/rfb" {
|
|
|
309
321
|
}
|
|
310
322
|
|
|
311
323
|
// eslint-disable-next-line @definitelytyped/no-declare-current-package
|
|
312
|
-
declare module "@novnc/novnc/
|
|
324
|
+
declare module "@novnc/novnc/core/util/browser" {
|
|
313
325
|
let isTouchDevice: boolean;
|
|
314
326
|
let dragThreshold: number;
|
|
315
327
|
|
|
@@ -324,7 +336,7 @@ declare module "@novnc/novnc/lib/util/browser" {
|
|
|
324
336
|
}
|
|
325
337
|
|
|
326
338
|
// eslint-disable-next-line @definitelytyped/no-declare-current-package
|
|
327
|
-
declare module "@novnc/novnc/
|
|
339
|
+
declare module "@novnc/novnc/core/input/util" {
|
|
328
340
|
interface KeyboardEventBase {
|
|
329
341
|
char?: string;
|
|
330
342
|
charCode?: number;
|
novnc__novnc/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/novnc__novnc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "TypeScript definitions for @novnc/novnc",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/novnc__novnc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/ovcharik"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
+
"type": "module",
|
|
19
20
|
"main": "",
|
|
20
21
|
"types": "index.d.ts",
|
|
21
22
|
"repository": {
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
},
|
|
26
27
|
"scripts": {},
|
|
27
28
|
"dependencies": {},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
29
|
+
"peerDependencies": {},
|
|
30
|
+
"typesPublisherContentHash": "a0b6c0e7bfa6e6b1786f7f4af5313974513ef1f62c23c2cb60881c9449fcc2c2",
|
|
31
|
+
"typeScriptVersion": "5.6"
|
|
30
32
|
}
|