@sasjs/utils 2.49.3 → 2.50.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.
- package/package.json +1 -1
- package/types/config.d.ts +10 -0
- package/types/config.js +12 -0
- package/types/config.js.map +1 -1
- package/types/target.d.ts +4 -1
- package/types/target.js +28 -9
- package/types/target.js.map +1 -1
package/package.json
CHANGED
package/types/config.d.ts
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { MacroVar } from './';
|
|
2
|
+
export declare enum ConfigTypes {
|
|
3
|
+
Build = "buildConfig",
|
|
4
|
+
Service = "serviceConfig",
|
|
5
|
+
Job = "jobConfig",
|
|
6
|
+
Test = "testConfig",
|
|
7
|
+
Doc = "docConfig",
|
|
8
|
+
Deploy = "deployConfig",
|
|
9
|
+
Stream = "streamConfig",
|
|
10
|
+
Auth = "authConfig"
|
|
11
|
+
}
|
|
2
12
|
export interface Config {
|
|
3
13
|
macroVars: MacroVar;
|
|
4
14
|
initProgram: string;
|
package/types/config.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfigTypes = void 0;
|
|
4
|
+
var ConfigTypes;
|
|
5
|
+
(function (ConfigTypes) {
|
|
6
|
+
ConfigTypes["Build"] = "buildConfig";
|
|
7
|
+
ConfigTypes["Service"] = "serviceConfig";
|
|
8
|
+
ConfigTypes["Job"] = "jobConfig";
|
|
9
|
+
ConfigTypes["Test"] = "testConfig";
|
|
10
|
+
ConfigTypes["Doc"] = "docConfig";
|
|
11
|
+
ConfigTypes["Deploy"] = "deployConfig";
|
|
12
|
+
ConfigTypes["Stream"] = "streamConfig";
|
|
13
|
+
ConfigTypes["Auth"] = "authConfig";
|
|
14
|
+
})(ConfigTypes = exports.ConfigTypes || (exports.ConfigTypes = {}));
|
|
3
15
|
//# sourceMappingURL=config.js.map
|
package/types/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":";;;AAEA,IAAY,WASX;AATD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,wCAAyB,CAAA;IACzB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;AACrB,CAAC,EATW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAStB"}
|
package/types/target.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DocConfig, AuthConfig, AuthConfigSas9, BuildConfig, DeployConfig, ServiceConfig, JobConfig, StreamConfig, TestConfig, SyncDirectoryMap } from './config';
|
|
2
2
|
import { ServerType } from './serverType';
|
|
3
3
|
import { HttpsAgentOptions } from './httpsAgentOptions';
|
|
4
|
+
import { Configuration } from '../types/configuration';
|
|
4
5
|
export interface TargetJson {
|
|
5
6
|
name: string;
|
|
6
7
|
serverUrl: string;
|
|
@@ -26,6 +27,7 @@ export interface TargetJson {
|
|
|
26
27
|
syncDirectories?: SyncDirectoryMap[];
|
|
27
28
|
}
|
|
28
29
|
export declare class Target implements TargetJson {
|
|
30
|
+
private _config;
|
|
29
31
|
get name(): string;
|
|
30
32
|
private _name;
|
|
31
33
|
get serverUrl(): string;
|
|
@@ -70,6 +72,7 @@ export declare class Target implements TargetJson {
|
|
|
70
72
|
private _syncFolder;
|
|
71
73
|
get syncDirectories(): SyncDirectoryMap[] | undefined;
|
|
72
74
|
private _syncDirectories;
|
|
73
|
-
constructor(json: any);
|
|
75
|
+
constructor(json: any, config?: Configuration);
|
|
76
|
+
private getConfig;
|
|
74
77
|
toJson(withDefaults?: boolean): TargetJson;
|
|
75
78
|
}
|
package/types/target.js
CHANGED
|
@@ -1,15 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
14
|
exports.Target = void 0;
|
|
15
|
+
var config_1 = require("./config");
|
|
4
16
|
var serverType_1 = require("./serverType");
|
|
5
17
|
var targetValidators_1 = require("./targetValidators");
|
|
6
18
|
var Target = /** @class */ (function () {
|
|
7
|
-
function Target(json) {
|
|
19
|
+
function Target(json, config) {
|
|
20
|
+
var _this = this;
|
|
21
|
+
if (config === void 0) { config = {}; }
|
|
8
22
|
this._serverType = serverType_1.ServerType.SasViya;
|
|
23
|
+
this.getConfig = function (key, json) {
|
|
24
|
+
var config = _this._config[key] || {};
|
|
25
|
+
return __assign(__assign({}, config), json[key]);
|
|
26
|
+
};
|
|
9
27
|
try {
|
|
10
28
|
if (!json) {
|
|
11
29
|
throw new Error('Invalid target: Input JSON is null or undefined.');
|
|
12
30
|
}
|
|
31
|
+
this._config = config;
|
|
13
32
|
this._name = (0, targetValidators_1.validateTargetName)(json.name);
|
|
14
33
|
this._serverUrl = (0, targetValidators_1.validateServerUrl)(json.serverUrl);
|
|
15
34
|
this._serverType = (0, targetValidators_1.validateServerType)(json.serverType);
|
|
@@ -20,19 +39,19 @@ var Target = /** @class */ (function () {
|
|
|
20
39
|
this._syncFolder = (0, targetValidators_1.validateSyncFolder)(json.syncFolder);
|
|
21
40
|
this._repositoryName = (0, targetValidators_1.validateRepositoryName)(json.repositoryName, this._serverType);
|
|
22
41
|
if (json.docConfig) {
|
|
23
|
-
this._docConfig = (0, targetValidators_1.validateDocConfig)(json
|
|
42
|
+
this._docConfig = (0, targetValidators_1.validateDocConfig)(this.getConfig(config_1.ConfigTypes.Doc, json));
|
|
24
43
|
}
|
|
25
44
|
if (json.authConfig) {
|
|
26
|
-
this._authConfig = (0, targetValidators_1.validateAuthConfig)(json
|
|
45
|
+
this._authConfig = (0, targetValidators_1.validateAuthConfig)(this.getConfig(config_1.ConfigTypes.Auth, json));
|
|
27
46
|
}
|
|
28
47
|
if (json.authConfigSas9) {
|
|
29
48
|
this._authConfigSas9 = (0, targetValidators_1.validateAuthConfigSas9)(json.authConfigSas9);
|
|
30
49
|
}
|
|
31
50
|
if (json.buildConfig) {
|
|
32
|
-
this._buildConfig = (0, targetValidators_1.validateBuildConfig)(
|
|
51
|
+
this._buildConfig = (0, targetValidators_1.validateBuildConfig)(this.getConfig(config_1.ConfigTypes.Build, json), this._name);
|
|
33
52
|
}
|
|
34
53
|
if (json.deployConfig) {
|
|
35
|
-
this._deployConfig = (0, targetValidators_1.validateDeployConfig)(json
|
|
54
|
+
this._deployConfig = (0, targetValidators_1.validateDeployConfig)(this.getConfig(config_1.ConfigTypes.Deploy, json));
|
|
36
55
|
}
|
|
37
56
|
else {
|
|
38
57
|
this._deployConfig = (0, targetValidators_1.validateDeployConfig)({
|
|
@@ -41,16 +60,16 @@ var Target = /** @class */ (function () {
|
|
|
41
60
|
});
|
|
42
61
|
}
|
|
43
62
|
if (json.serviceConfig) {
|
|
44
|
-
this._serviceConfig = (0, targetValidators_1.validateServiceConfig)(json
|
|
63
|
+
this._serviceConfig = (0, targetValidators_1.validateServiceConfig)(this.getConfig(config_1.ConfigTypes.Service, json));
|
|
45
64
|
}
|
|
46
65
|
if (json.jobConfig) {
|
|
47
|
-
this._jobConfig = (0, targetValidators_1.validateJobConfig)(json
|
|
66
|
+
this._jobConfig = (0, targetValidators_1.validateJobConfig)(this.getConfig(config_1.ConfigTypes.Job, json));
|
|
48
67
|
}
|
|
49
68
|
if (json.streamConfig) {
|
|
50
|
-
this._streamConfig = (0, targetValidators_1.validateStreamConfig)(json
|
|
69
|
+
this._streamConfig = (0, targetValidators_1.validateStreamConfig)(this.getConfig(config_1.ConfigTypes.Stream, json));
|
|
51
70
|
}
|
|
52
71
|
if (json.testConfig) {
|
|
53
|
-
this._testConfig = (0, targetValidators_1.validateTestConfig)(json
|
|
72
|
+
this._testConfig = (0, targetValidators_1.validateTestConfig)(this.getConfig(config_1.ConfigTypes.Test, json));
|
|
54
73
|
}
|
|
55
74
|
if (json.macroFolders && json.macroFolders.length) {
|
|
56
75
|
this._macroFolders = json.macroFolders;
|
package/types/target.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"target.js","sourceRoot":"","sources":["../../src/types/target.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"target.js","sourceRoot":"","sources":["../../src/types/target.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAYiB;AACjB,2CAAyC;AAEzC,uDAoB2B;AA4B3B;IAiHE,gBAAY,IAAS,EAAE,MAA0B;QAAjD,iBAqGC;QArGsB,uBAAA,EAAA,WAA0B;QAjGzC,gBAAW,GAAG,uBAAU,CAAC,OAAO,CAAA;QAwMhC,cAAS,GAAG,UAAC,GAAgB,EAAE,IAA4B;YACjE,IAAM,MAAM,GAAG,KAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,CAAA;YAEtC,6BACK,MAAM,GACN,IAAI,CAAC,GAAG,CAAC,EACb;QACH,CAAC,CAAA;QA7GC,IAAI;YACF,IAAI,CAAC,IAAI,EAAE;gBACT,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;aACpE;YAED,IAAI,CAAC,OAAO,GAAG,MAAM,CAAA;YACrB,IAAI,CAAC,KAAK,GAAG,IAAA,qCAAkB,EAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YAC1C,IAAI,CAAC,UAAU,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