@types/nginstack__devops 71.0.3 → 72.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.
- nginstack__devops/README.md +2 -2
- nginstack__devops/index.d.ts +3 -0
- nginstack__devops/keys/Scripts.d.ts +19 -0
- nginstack__devops/keys/UpdateScriptStatus.d.ts +3 -3
- nginstack__devops/keys/UpdateTypes.d.ts +7 -0
- nginstack__devops/lib/database/normalizeQueryFunction.d.ts +2 -0
- nginstack__devops/lib/database/normalizeRunScriptFunction.d.ts +2 -0
- nginstack__devops/lib/product/ProductDataSetFilter.d.ts +34 -0
- nginstack__devops/lib/security/allowAnonymousConnection.d.ts +2 -0
- nginstack__devops/lib/update/SystemUpdateOptions.d.ts +17 -0
- nginstack__devops/lib/update/UpdateOptions.d.ts +47 -0
- nginstack__devops/lib/update/UpdateScript.d.ts +4 -3
- nginstack__devops/lib/update/VfsUpdateOptions.d.ts +11 -0
- nginstack__devops/package.json +8 -4
nginstack__devops/README.md
CHANGED
|
@@ -8,8 +8,8 @@ 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: Tue,
|
|
12
|
-
* Dependencies: [@types/nginstack__engine](https://npmjs.com/package/@types/nginstack__engine)
|
|
11
|
+
* Last updated: Tue, 29 Apr 2025 03:18:01 GMT
|
|
12
|
+
* Dependencies: [@types/nginstack__datasource](https://npmjs.com/package/@types/nginstack__datasource), [@types/nginstack__engine](https://npmjs.com/package/@types/nginstack__engine), [@types/nginstack__jsunit](https://npmjs.com/package/@types/nginstack__jsunit), [@types/nginstack__web-framework](https://npmjs.com/package/@types/nginstack__web-framework)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
15
|
These definitions were written by [Renato Ribeiro](https://github.com/Henato), [Paulo Moreno](https://github.com/paulocmoreno), and [Ricardo Cavalcante](https://github.com/oficial).
|
nginstack__devops/index.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export let ADJUST_PERMISSIONS: number;
|
|
2
|
+
export let CHECK_INTERNAL_BASE: number;
|
|
3
|
+
export let EXPORT_SOURCE_WITH_JSDOC_TO_GIT: number;
|
|
4
|
+
export let GET_ALLOW_ANONYMOUS_CONNECTIONS_CONFIG: number;
|
|
5
|
+
export let GET_ALLOWED_UPGRADE_SOURCES: number;
|
|
6
|
+
export let GET_DEV_STAGE: number;
|
|
7
|
+
export let GET_NGIN_RESTART_ID: number;
|
|
8
|
+
export let GET_SAFE_MODE_CONFIG: number;
|
|
9
|
+
export let GET_SYSTEM_VERSION: number;
|
|
10
|
+
export let GET_UPDATE_LOCK: number;
|
|
11
|
+
export let GET_UPDATE_RULES: number;
|
|
12
|
+
export let GET_VERSIONS: number;
|
|
13
|
+
export let IS_USER_IN_GROUP: number;
|
|
14
|
+
export let RESTARTS_ENGINE: number;
|
|
15
|
+
export let RUN_BUILD: number;
|
|
16
|
+
export let RUN_UPG_TESTS: number;
|
|
17
|
+
export let SET_NGIN_RESTART_ID: number;
|
|
18
|
+
export let TESTS_PRODUCTS: number;
|
|
19
|
+
export let VALIDATES_UPDATE_RULES: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export let STARTED: number;
|
|
2
|
+
export let FINISHED: number;
|
|
3
|
+
export let FAILED: number;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export = ProductDataSetFilter;
|
|
2
|
+
declare function ProductDataSetFilter(
|
|
3
|
+
products: number[],
|
|
4
|
+
database: import("@nginstack/engine/lib/database/Database"),
|
|
5
|
+
): void;
|
|
6
|
+
declare class ProductDataSetFilter {
|
|
7
|
+
constructor(products: number[], database: import("@nginstack/engine/lib/database/Database"));
|
|
8
|
+
private products_;
|
|
9
|
+
private keys_;
|
|
10
|
+
private ranges_;
|
|
11
|
+
private logger_;
|
|
12
|
+
private mountKeysAndRanges_;
|
|
13
|
+
private getProductInfo_;
|
|
14
|
+
getProductFromKey(key: number): number | null;
|
|
15
|
+
getProductNameFromKey(key: number): string;
|
|
16
|
+
testKey(key: number): boolean;
|
|
17
|
+
filterRecords(
|
|
18
|
+
ds: import("@nginstack/engine/lib/dataset/DataSet"),
|
|
19
|
+
options?: {
|
|
20
|
+
mimeTypes?: number[];
|
|
21
|
+
validKeys?: number[];
|
|
22
|
+
},
|
|
23
|
+
): import("@nginstack/engine/lib/dataset/DataSet");
|
|
24
|
+
purgeRecords(
|
|
25
|
+
ds: import("@nginstack/engine/lib/dataset/DataSet"),
|
|
26
|
+
): import("@nginstack/engine/lib/dataset/DataSet");
|
|
27
|
+
}
|
|
28
|
+
declare namespace ProductDataSetFilter {
|
|
29
|
+
export { ProductInfo };
|
|
30
|
+
}
|
|
31
|
+
interface ProductInfo {
|
|
32
|
+
key: number;
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export = SystemUpdateOptions;
|
|
2
|
+
declare function SystemUpdateOptions(): void;
|
|
3
|
+
declare class SystemUpdateOptions {
|
|
4
|
+
updateType: number;
|
|
5
|
+
products: Array<number | import("@nginstack/engine/lib/dbkey/DBKey")>;
|
|
6
|
+
allowExclusiveProducts: boolean;
|
|
7
|
+
disableEngineUpdate: boolean;
|
|
8
|
+
preserveUnlicensedProducts: boolean;
|
|
9
|
+
ignoreSystemRequirements: boolean;
|
|
10
|
+
getProductDataSetFilter(): ProductDataSetFilter;
|
|
11
|
+
private productDataSetFilter_;
|
|
12
|
+
}
|
|
13
|
+
declare namespace SystemUpdateOptions {
|
|
14
|
+
export { DBKey };
|
|
15
|
+
}
|
|
16
|
+
import ProductDataSetFilter = require("../product/ProductDataSetFilter.js");
|
|
17
|
+
type DBKey = import("@nginstack/engine/lib/dbkey/DBKey");
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export = UpdateOptions;
|
|
2
|
+
declare function UpdateOptions(updateType?: DBKey | number): void;
|
|
3
|
+
declare class UpdateOptions {
|
|
4
|
+
constructor(updateType?: DBKey | number);
|
|
5
|
+
updateType: number;
|
|
6
|
+
private logger_;
|
|
7
|
+
targetDBName: string;
|
|
8
|
+
targetServer: string;
|
|
9
|
+
targetUserName: string;
|
|
10
|
+
targetPassword: string;
|
|
11
|
+
targetAuthToken: string;
|
|
12
|
+
sourceDBName: string;
|
|
13
|
+
sourceServer: string;
|
|
14
|
+
sourceUserName: string;
|
|
15
|
+
sourcePassword: string;
|
|
16
|
+
sourceAuthToken: string;
|
|
17
|
+
disableEngineRestart: boolean;
|
|
18
|
+
ignoreOtherEngineServers: boolean;
|
|
19
|
+
disableDatabaseSchemaUpdate: boolean;
|
|
20
|
+
onlineIndexCreation: boolean | null;
|
|
21
|
+
onlineIndexDrop: boolean | null;
|
|
22
|
+
messageComplement: string;
|
|
23
|
+
recipients: string;
|
|
24
|
+
emailSubject: string;
|
|
25
|
+
trackingId: string;
|
|
26
|
+
validate(): void;
|
|
27
|
+
private tryLoginByAuthToken_;
|
|
28
|
+
private authorize_;
|
|
29
|
+
private formatReferrer_;
|
|
30
|
+
private newDatabase_;
|
|
31
|
+
newTargetConnection(): Connection;
|
|
32
|
+
getTargetConnection(): Connection;
|
|
33
|
+
private targetConnection_;
|
|
34
|
+
newTargetDatabase(): Database;
|
|
35
|
+
getTargetDatabase(): Database;
|
|
36
|
+
private targetDatabase_;
|
|
37
|
+
newSourceConnection(): Connection;
|
|
38
|
+
getSourceConnection(): Connection;
|
|
39
|
+
private sourceConnection_;
|
|
40
|
+
newSourceDatabase(): Database;
|
|
41
|
+
getSourceDatabase(): Database;
|
|
42
|
+
private sourceDatabase_;
|
|
43
|
+
toJSON(): any;
|
|
44
|
+
}
|
|
45
|
+
import DBKey = require("@nginstack/engine/lib/dbkey/DBKey.js");
|
|
46
|
+
import Connection = require("@nginstack/engine/lib/connection/Connection.js");
|
|
47
|
+
import Database = require("@nginstack/engine/lib/database/Database.js");
|
|
@@ -3,10 +3,10 @@ declare function UpdateScript(): void;
|
|
|
3
3
|
declare class UpdateScript {
|
|
4
4
|
private connection_;
|
|
5
5
|
private scriptKey;
|
|
6
|
-
source: Connection;
|
|
7
6
|
sourceDB: Database;
|
|
8
|
-
|
|
7
|
+
source: Connection;
|
|
9
8
|
targetDB: Database;
|
|
9
|
+
target: Connection;
|
|
10
10
|
private versions_;
|
|
11
11
|
private sysEvent_;
|
|
12
12
|
result: string;
|
|
@@ -24,14 +24,15 @@ declare class UpdateScript {
|
|
|
24
24
|
declare namespace UpdateScript {
|
|
25
25
|
export { EndPointConfig, execute, ExecutionParams, ExecutionResult };
|
|
26
26
|
}
|
|
27
|
-
import Connection = require("@nginstack/engine/lib/connection/Connection.js");
|
|
28
27
|
import Database = require("@nginstack/engine/lib/database/Database.js");
|
|
28
|
+
import Connection = require("@nginstack/engine/lib/connection/Connection.js");
|
|
29
29
|
declare function execute(params: ExecutionParams): ExecutionResult;
|
|
30
30
|
interface EndPointConfig {
|
|
31
31
|
host: string;
|
|
32
32
|
dbName: string;
|
|
33
33
|
userName: string;
|
|
34
34
|
password: string;
|
|
35
|
+
authToken: string;
|
|
35
36
|
}
|
|
36
37
|
interface ExecutionParams {
|
|
37
38
|
scriptKey: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export = VfsUpdateOptions;
|
|
2
|
+
declare function VfsUpdateOptions(): void;
|
|
3
|
+
declare class VfsUpdateOptions {
|
|
4
|
+
updateType: number;
|
|
5
|
+
files: Array<number | import("@nginstack/engine/lib/dbkey/DBKey")>;
|
|
6
|
+
directories: Array<number | import("@nginstack/engine/lib/dbkey/DBKey")>;
|
|
7
|
+
}
|
|
8
|
+
declare namespace VfsUpdateOptions {
|
|
9
|
+
export { DBKey };
|
|
10
|
+
}
|
|
11
|
+
type DBKey = import("@nginstack/engine/lib/dbkey/DBKey");
|
nginstack__devops/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/nginstack__devops",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "72.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",
|
|
@@ -30,8 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
"scripts": {},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@types/
|
|
33
|
+
"@types/nginstack__datasource": "*",
|
|
34
|
+
"@types/nginstack__engine": "*",
|
|
35
|
+
"@types/nginstack__jsunit": "*",
|
|
36
|
+
"@types/nginstack__web-framework": "*"
|
|
34
37
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
38
|
+
"peerDependencies": {},
|
|
39
|
+
"typesPublisherContentHash": "fbe9775e6fa4bc227bda4bd743382a523eaf56d31d1fdbb8541424c4ef5606e5",
|
|
40
|
+
"typeScriptVersion": "5.1"
|
|
37
41
|
}
|