mirror of
https://github.com/gromlab-ru/slm-design.git
synced 2026-08-22 07:30:16 +03:00
feat: add example
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { {{name.camelCase}}Factory } from '../../../business/{{name.kebabCase}}'
|
||||
import type { {{name.pascalCase}}Api } from '../../../business/{{name.kebabCase}}'
|
||||
|
||||
/**
|
||||
* Создаёт {{name.pascalCase}} business API с runtime-зависимостями приложения.
|
||||
*/
|
||||
export const create{{name.pascalCase}}Business = (): {{name.pascalCase}}Api => {
|
||||
return {{name.camelCase}}Factory({})
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export { create{{name.pascalCase}}Business } from './create-{{name.kebabCase}}-business'
|
||||
Reference in New Issue
Block a user