mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 16:51:31 -04:00
16 lines
410 B
JavaScript
16 lines
410 B
JavaScript
/**
|
|
* A class to make the input/output validation checks easier to define.
|
|
*/
|
|
class magicObject {
|
|
/**
|
|
* @param inRegexes
|
|
* @param outRegexes
|
|
* @param mimeCheck
|
|
*/
|
|
constructor (inRegexes = null, outRegexes = null, mimeCheck = null) {
|
|
this.inRegexes = inRegexes;
|
|
this.outRegexes = outRegexes;
|
|
this.mimeCheck = mimeCheck;
|
|
}
|
|
|
|
} export default magicObject;
|