@manuth/generator-wsc-package
Version:
A Generator for WoltLab Suite Core Packages.
45 lines • 1.83 kB
JavaScript
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
import { TSProjectLaunchSettingsProcessor } from "@manuth/generator-ts-project";
/**
* Provides the functionality to process debug-configurations for {@link WoltLabGenerator `WoltLabGenerator<TSettings, TOptions>`}s.
*
* @template TSettings
* The type of the settings of the generator.
*
* @template TOptions
* The type of the options of the generator.
*/
export class WoltLabLaunchSettingsProcessor extends TSProjectLaunchSettingsProcessor {
/**
* Initializes a new instance of the {@link WoltLabLaunchSettingsProcessor `WoltLabLaunchSettingsProcessor<TSettings, TOptions>`} class.
*
* @param component
* The component of the processor.
*/
constructor(component) {
super(component);
}
/**
* @inheritdoc
*
* @param debugConfig
* The debug-configuration to filter.
*
* @returns
* A value indicating whether the debug-configuration should be included.
*/
FilterDebugConfig(debugConfig) {
return __awaiter(this, void 0, void 0, function* () {
return false;
});
}
}
//# sourceMappingURL=WoltLabLaunchSettingsProcessor.js.map