@types/nginstack__devops 53.0.0 → 58.0.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.
@@ -8,7 +8,7 @@ This package contains type definitions for @nginstack/devops (https://dev.azure.
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nginstack__devops.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 18 Oct 2021 19:31:17 GMT
11
+ * Last updated: Mon, 14 Mar 2022 20:02:08 GMT
12
12
  * Dependencies: [@types/nginstack__engine](https://npmjs.com/package/@types/nginstack__engine)
13
13
  * Global values: none
14
14
 
@@ -1,4 +1,4 @@
1
- // Type definitions for @nginstack/devops 53.0
1
+ // Type definitions for @nginstack/devops 58.0
2
2
  // Project: https://dev.azure.com/nginstack/nginstack
3
3
  // Definitions by: Renato Ribeiro <https://github.com/Henato>
4
4
  // Paulo Moreno <https://github.com/paulocmoreno>
@@ -21,5 +21,25 @@ declare class UpdateScript {
21
21
  getProductFromKey(key: number): number | null;
22
22
  copyChildrenViewPermissions(directoryKey: number): number;
23
23
  }
24
+ declare namespace UpdateScript {
25
+ export { execute, EndPointConfig, ExecutionParams, ExecutionResult };
26
+ }
24
27
  import Connection = require('@nginstack/engine/lib/connection/Connection.js');
25
28
  import Database = require('@nginstack/engine/lib/database/Database.js');
29
+ declare function execute(params: ExecutionParams): ExecutionResult;
30
+ interface EndPointConfig {
31
+ host: string;
32
+ dbName: string;
33
+ userName: string;
34
+ password: string;
35
+ }
36
+ interface ExecutionParams {
37
+ scriptKey: number;
38
+ sourceConfig: EndPointConfig;
39
+ targetConfig: EndPointConfig;
40
+ }
41
+ interface ExecutionResult {
42
+ state: number;
43
+ result: string;
44
+ versions: string[];
45
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/nginstack__devops",
3
- "version": "53.0.0",
3
+ "version": "58.0.0",
4
4
  "description": "TypeScript definitions for @nginstack/devops",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nginstack__devops",
6
6
  "license": "MIT",
@@ -27,6 +27,6 @@
27
27
  "dependencies": {
28
28
  "@types/nginstack__engine": "*"
29
29
  },
30
- "typesPublisherContentHash": "649743dc258099c12a671f70dfd90126e1b7bd0f7697f302eaf48540c0acca19",
30
+ "typesPublisherContentHash": "2a0ffd6142a172878c9f5c1230d7567cbb6f4d927dd6b9b93d05a6c96ad56afe",
31
31
  "typeScriptVersion": "4.3"
32
32
  }