fase(6): fuzzing module complete
This commit is contained in:
12
dist/modules/fuzzing/domain/value-objects/FuzzPayload.js
vendored
Normal file
12
dist/modules/fuzzing/domain/value-objects/FuzzPayload.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FuzzPayload = void 0;
|
||||
const ValueObject_1 = require("../../../../shared/domain/ValueObject");
|
||||
class FuzzPayload extends ValueObject_1.ValueObject {
|
||||
static create(value, strategy) {
|
||||
return new FuzzPayload({ value, strategy });
|
||||
}
|
||||
get value() { return this.props.value; }
|
||||
get strategy() { return this.props.strategy; }
|
||||
}
|
||||
exports.FuzzPayload = FuzzPayload;
|
||||
Reference in New Issue
Block a user