-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(stubs): generate an empty class when creating a service
- Loading branch information
1 parent
41f5d66
commit bf9b2bd
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
{{#var serviceName = string(entity.name).pascalCase().suffix('Service')}} | ||
{{#var serviceFileName = generators.serviceFileName(entity.name)}} | ||
{{{ | ||
exports({ | ||
to: app.servicesPath(entity.path, serviceFileName) | ||
}) | ||
}}} | ||
export class {{ serviceName }} { | ||
// Your code here | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters