@types/k6 0.37.1 → 0.38.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.
- k6/README.md +1 -1
- k6/execution.d.ts +4 -0
- k6/index.d.ts +1 -1
- k6/options.d.ts +4 -1
- k6/package.json +3 -3
k6/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for k6 (https://k6.io/docs/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 31 Aug 2022 14:02:39 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
k6/execution.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Options } from './options';
|
|
2
|
+
|
|
1
3
|
/*
|
|
2
4
|
* The execution module provides information about the current test execution state.
|
|
3
5
|
* https://k6.io/docs/javascript-api/k6-execution/
|
|
@@ -73,6 +75,8 @@ declare namespace execution {
|
|
|
73
75
|
* exec.test.abort('this is the reason');
|
|
74
76
|
*/
|
|
75
77
|
abort(input?: string): void;
|
|
78
|
+
|
|
79
|
+
options: Options;
|
|
76
80
|
};
|
|
77
81
|
|
|
78
82
|
/**
|
k6/index.d.ts
CHANGED
k6/options.d.ts
CHANGED
|
@@ -179,10 +179,13 @@ export interface Certificate {
|
|
|
179
179
|
cert: string;
|
|
180
180
|
|
|
181
181
|
/** Domains certificate is valid for. */
|
|
182
|
-
domains
|
|
182
|
+
domains?: string[];
|
|
183
183
|
|
|
184
184
|
/** PEM encoded certificate key. */
|
|
185
185
|
key: string;
|
|
186
|
+
|
|
187
|
+
/** PEM passphrase. */
|
|
188
|
+
password?: string;
|
|
186
189
|
}
|
|
187
190
|
|
|
188
191
|
export type ExecutorOptions = "shared-iterations" | "per-vu-iterations" | "constant-vus" | "ramping-vus" | "constant-arrival-rate" | "ramping-arrival-rate" | "externally-controlled";
|
k6/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/k6",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "TypeScript definitions for k6",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
49
|
-
"typeScriptVersion": "4.
|
|
48
|
+
"typesPublisherContentHash": "9e87ca39f1c353c08783f7f964cea69fc889f6a0281b14f45e0a6dc313424ffc",
|
|
49
|
+
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|