drimion 0.1.9 → 0.1.10
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/dist/cli/index.js
CHANGED
|
@@ -20,7 +20,9 @@ export type {{className}}Metadata = {
|
|
|
20
20
|
* Decide wether you want to use `IQuery` or `ICommand` then change the `IUseCase` usage into one of them.
|
|
21
21
|
*/
|
|
22
22
|
export class {{className}} implements IUseCase<{{className}}Input, {{className}}Output> {
|
|
23
|
-
|
|
23
|
+
public constructor() {}
|
|
24
|
+
|
|
25
|
+
public async execute(input: {{className}}Input): Promise<IResult<{{className}}Output, string, {{className}}Metadata>> {
|
|
24
26
|
// implement use case
|
|
25
27
|
throw new Error("Method not implemented")
|
|
26
28
|
}
|