Closed maany closed 1 year ago
Fix #368
meow-maker config
const Config: TConfig = { paths: { project_root: "/Users/maany/Projects/webui", usecase_models_dir: `src/lib/core/usecase-models`, primary_ports_dir: `src/lib/core/port/primary`, presenters_dir: `src/lib/infrastructure/presenter`, controllers_dir: `src/lib/infrastructure/controller`, usecases_dir: `src/lib/core/use-case`, features_dir: `src/lib/infrastructure/ioc/features`, nextjs_endpoint_dir: `src/pages/api/feature` }, imports: { core: "@/lib/core", infra: "@/lib/infrastructure", cats: "@/lib/sdk", usecase_models: "@/lib/core/usecase-models", primary_ports: "@/lib/core/port/primary", presenter: "@/lib/infrastructure/presenter", controller: "@/lib/infrastructure/controller", usecase: "@/lib/core/use-case", feature: "@/lib/infrastructure/ioc/features", ioc: "@/lib/infrastructure/ioc", }, feature: { CamelCase: "ListSubscriptionRuleStates", varCamelCase: "listSubscriptionRuleStates", snake_case: "list_subscription_rule_states", kebab_case: "list-subscription-rule-states", }, viewModel: { name: "SubscriptionRuleStatesViewModel", importPath: "@/lib/infrastructure/data/view-model/subscriptions", filePath: "/Users/maany/Projects/webui/src/lib/infrastructure/data/view-model/subscriptions.ts" // exact file path with the .ts extension }, stream: { dto: { name: "SubscriptionRuleStateDTO", importPath: "@/lib/core/dto/subscription-dto", filePath: "/Users/maany/Projects/webui/src/lib/core/dto/subscription-dto.ts" } }, gateway: { name: "SubscriptionGateway", varCamelCase: "subscriptionGateway", kebab_case: "subscription-gateway", snake_case: "subscription_gateway", symbol: "SUBSCRIPTION", importPath: "@/lib/infrastructure/gateway/subscription-gateway/subscription-gateway", output_port: { name: "RSEGatewayOutputPort", importPath: "@/lib/core/port/secondary/subscription-gateway-output-port", }, endpoint_fn: "listSubscriptionRuleStates", dto: { name: "BaseStreamableDTO", importPath: "@/lib/sdk/dto", filePath: "/Users/maany/Projects/webui/src/lib/sdk/dto.ts" } }, nextjs_endpoint: { with_session: true, method: 'GET' }, // pipeline: [ // { // name: "GetRSEPipelineElement", // kebab_case: "get-rse-pipeline-element", // gateway: { // name: "RSEGateway", // varCamelCase: "rseGateway", // kebab_case: "rse-gateway", // snake_case: "rse_gateway", // symbol: "RSE", // importPath: "@/lib/infrastructure/gateway/rse-gateway/rse-gateway", // output_port: { // name: "RSEGatewayOutputPort", // importPath: "@/lib/core/port/secondary/rse-gateway-output-port", // }, // endpoint_fn: "getRSE", // dto: { // name: "RSEDTO", // importPath: "@/lib/core/dto/rse-dto", // filePath: "/Users/maany/Projects/webui/src/lib/core/dto/rse-dto.ts" // } // } // } // ] }
Fix #368
meow-maker config