@opentap/runner-client 2.5.0-alpha.1.9 → 2.6.0-alpha.1.1
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/lib/DTOs.d.ts +7 -0
- package/lib/DTOs.js +24 -0
- package/package.json +1 -1
package/lib/DTOs.d.ts
CHANGED
|
@@ -822,6 +822,13 @@ export declare class TestStepType extends TestStep implements ITestStepType {
|
|
|
822
822
|
export interface ITestStepType extends ITestStep {
|
|
823
823
|
availableChildrenTypes?: string[] | undefined;
|
|
824
824
|
}
|
|
825
|
+
export declare class TestStepCopy extends TestStep implements ITestStepCopy {
|
|
826
|
+
constructor(data?: ITestStepCopy);
|
|
827
|
+
init(_data?: any): void;
|
|
828
|
+
static fromJS(data: any): TestStepCopy;
|
|
829
|
+
toJSON(data?: any): any;
|
|
830
|
+
}
|
|
831
|
+
export declare type ITestStepCopy = ITestStep;
|
|
825
832
|
export declare class TestStepValidationError implements ITestStepValidationError {
|
|
826
833
|
stepId?: string | undefined;
|
|
827
834
|
validationErrors?: ValidationError[] | undefined;
|
package/lib/DTOs.js
CHANGED
|
@@ -2376,6 +2376,30 @@ var TestStepType = /** @class */ (function (_super) {
|
|
|
2376
2376
|
return TestStepType;
|
|
2377
2377
|
}(TestStep));
|
|
2378
2378
|
export { TestStepType };
|
|
2379
|
+
var TestStepCopy = /** @class */ (function (_super) {
|
|
2380
|
+
__extends(TestStepCopy, _super);
|
|
2381
|
+
function TestStepCopy(data) {
|
|
2382
|
+
var _this = _super.call(this, data) || this;
|
|
2383
|
+
_this._discriminator = 'TestStepCopy';
|
|
2384
|
+
return _this;
|
|
2385
|
+
}
|
|
2386
|
+
TestStepCopy.prototype.init = function (_data) {
|
|
2387
|
+
_super.prototype.init.call(this, _data);
|
|
2388
|
+
};
|
|
2389
|
+
TestStepCopy.fromJS = function (data) {
|
|
2390
|
+
data = typeof data === 'object' ? data : {};
|
|
2391
|
+
var result = new TestStepCopy();
|
|
2392
|
+
result.init(data);
|
|
2393
|
+
return result;
|
|
2394
|
+
};
|
|
2395
|
+
TestStepCopy.prototype.toJSON = function (data) {
|
|
2396
|
+
data = typeof data === 'object' ? data : {};
|
|
2397
|
+
_super.prototype.toJSON.call(this, data);
|
|
2398
|
+
return data;
|
|
2399
|
+
};
|
|
2400
|
+
return TestStepCopy;
|
|
2401
|
+
}(TestStep));
|
|
2402
|
+
export { TestStepCopy };
|
|
2379
2403
|
var TestStepValidationError = /** @class */ (function () {
|
|
2380
2404
|
function TestStepValidationError(data) {
|
|
2381
2405
|
if (data) {
|