@@ -56,15 +56,13 @@ export type AllArticlesOutput = inferProcedureOutput<typeof allArticlesProcedure
5656const allArticlesProcedure = procedure
5757 . input ( PaginateInputSchema )
5858 . use ( withDatabaseTransaction ( ) )
59- . use ( withAuditLogEntry ( ) )
6059 . query ( async ( { input, ctx } ) => ctx . articleService . findMany ( ctx . handle , { } , input ) )
6160
6261export type FindArticlesInput = inferProcedureInput < typeof findArticlesProcedure >
6362export type FindArticlesOutput = inferProcedureOutput < typeof findArticlesProcedure >
6463const findArticlesProcedure = procedure
6564 . input ( BasePaginateInputSchema . extend ( { filters : ArticleFilterQuerySchema } ) )
6665 . use ( withDatabaseTransaction ( ) )
67- . use ( withAuditLogEntry ( ) )
6866 . query ( async ( { input, ctx } ) => {
6967 const items = await ctx . articleService . findMany ( ctx . handle , input . filters , input )
7068
@@ -79,37 +77,32 @@ export type FindArticleOutput = inferProcedureOutput<typeof findArticleProcedure
7977const findArticleProcedure = procedure
8078 . input ( ArticleSchema . shape . id )
8179 . use ( withDatabaseTransaction ( ) )
82- . use ( withAuditLogEntry ( ) )
8380 . query ( async ( { input, ctx } ) => ctx . articleService . findById ( ctx . handle , input ) )
8481
8582export type GetArticleInput = inferProcedureInput < typeof getArticleProcedure >
8683export type GetArticleOutput = inferProcedureOutput < typeof getArticleProcedure >
8784const getArticleProcedure = procedure
8885 . input ( ArticleSchema . shape . id )
8986 . use ( withDatabaseTransaction ( ) )
90- . use ( withAuditLogEntry ( ) )
9187 . query ( async ( { input, ctx } ) => ctx . articleService . getById ( ctx . handle , input ) )
9288
9389export type FindRelatedArticlesInput = inferProcedureInput < typeof findRelatedArticlesProcedure >
9490export type FindRelatedArticlesOutput = inferProcedureOutput < typeof findRelatedArticlesProcedure >
9591const findRelatedArticlesProcedure = procedure
9692 . input ( ArticleSchema )
9793 . use ( withDatabaseTransaction ( ) )
98- . use ( withAuditLogEntry ( ) )
9994 . query ( async ( { input, ctx } ) => ctx . articleService . findRelated ( ctx . handle , input ) )
10095
10196export type FindFeaturedArticlesInput = inferProcedureInput < typeof findFeaturedArticlesProcedure >
10297export type FindFeaturedArticlesOutput = inferProcedureOutput < typeof findFeaturedArticlesProcedure >
10398const findFeaturedArticlesProcedure = procedure
10499 . use ( withDatabaseTransaction ( ) )
105- . use ( withAuditLogEntry ( ) )
106100 . query ( async ( { ctx } ) => ctx . articleService . findFeatured ( ctx . handle ) )
107101
108102export type GetArticleTagsInput = inferProcedureInput < typeof getArticleTagsProcedure >
109103export type GetArticleTagsOutput = inferProcedureOutput < typeof getArticleTagsProcedure >
110104const getArticleTagsProcedure = procedure
111105 . use ( withDatabaseTransaction ( ) )
112- . use ( withAuditLogEntry ( ) )
113106 . query ( async ( { ctx } ) => ctx . articleService . getTags ( ctx . handle ) )
114107
115108export type FindArticleTagsOrderedByPopularityInput = inferProcedureInput <
@@ -120,7 +113,6 @@ export type FindArticleTagsOrderedByPopularityOutput = inferProcedureOutput<
120113>
121114const findArticleTagsOrderedByPopularityProcedure = procedure
122115 . use ( withDatabaseTransaction ( ) )
123- . use ( withAuditLogEntry ( ) )
124116 . query ( async ( { ctx } ) => ctx . articleService . findTagsOrderedByPopularity ( ctx . handle ) )
125117
126118export type AddArticleTagInput = inferProcedureInput < typeof addArticleTagProcedure >
0 commit comments