35 lines
1.3 KiB
TypeScript
35 lines
1.3 KiB
TypeScript
export type { Article, ArticleStatus } from "./entities/models/article";
|
|
export type { BlogRouter } from "./integrations/api/router";
|
|
export { ArticleNotFoundError } from "./entities/errors/article";
|
|
export { InputParseError } from "./entities/errors/common";
|
|
|
|
// Use case schemas + types (Plan 9 R18)
|
|
export {
|
|
getArticlesInputSchema,
|
|
getArticlesOutputSchema,
|
|
type GetArticlesInput,
|
|
type GetArticlesOutput,
|
|
type IGetArticlesUseCase,
|
|
} from "./application/use-cases/get-articles.use-case";
|
|
export {
|
|
createArticleInputSchema,
|
|
createArticleOutputSchema,
|
|
type CreateArticleInput,
|
|
type CreateArticleOutput,
|
|
type ICreateArticleUseCase,
|
|
} from "./application/use-cases/create-article.use-case";
|
|
export {
|
|
getArticleBySlugInputSchema,
|
|
getArticleBySlugOutputSchema,
|
|
type GetArticleBySlugInput,
|
|
type GetArticleBySlugOutput,
|
|
type IGetArticleBySlugUseCase,
|
|
} from "./application/use-cases/get-article-by-slug.use-case";
|
|
|
|
// Controller type aliases
|
|
export type { IGetArticlesController } from "./interface-adapters/controllers/get-articles.controller";
|
|
export type { ICreateArticleController } from "./interface-adapters/controllers/create-article.controller";
|
|
export type { IGetArticleBySlugController } from "./interface-adapters/controllers/get-article-by-slug.controller";
|
|
|
|
// <gen:events>
|