Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"dependencies": {
"dayjs": "^1.11.13",
"jitar": "^0.9.0",
"jitar": "^0.9.2",
"minio": "^8.0.4",
"mongodb": "^6.13.0",
"openid-client": "^6.4.1",
Expand All @@ -51,7 +51,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
"@jitar/plugin-vite": "^0.9.0",
"@jitar/plugin-vite": "^0.9.2",
"@types/node": "22.13.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.1",
Expand Down
4 changes: 3 additions & 1 deletion segments/notification.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"./domain/notification/create": { "default": { "access": "protected" } },
"./domain/notification/getById": { "default": { "access": "protected" } },
"./domain/notification/getRecent": { "default": { "access": "protected" } }
"./domain/notification/getByPostId": { "default": { "access": "protected" } },
"./domain/notification/getRecent": { "default": { "access": "protected" } },
"./domain/notification/remove": { "default": { "access": "protected" } }
}
1 change: 1 addition & 0 deletions segments/reads.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"./domain/post.metrics/getByPost": { "default": { "access": "protected" } },

"./domain/rating/exists": { "default": { "access": "protected" } },
"./domain/rating/toggle/getData": { "default": { "access": "protected" } },

"./domain/relation/exists": { "default": { "access": "protected" } },
"./domain/relation/explore": { "default": { "access": "protected" } },
Expand Down
2 changes: 2 additions & 0 deletions segments/writes.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"./domain/creator/update": { "default": { "access": "protected" } },

"./domain/creator.metrics/create/insertData": { "default": { "access": "protected" } },
"./domain/creator.metrics/update": { "default": { "access": "protected" } },
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Add protected creator metrics update operation.
The new entry for "./domain/creator.metrics/update" correctly marks the update operation as protected. Ensure the corresponding module exists and is exported under that path.

You can verify its presence with:


🏁 Script executed:

#!/bin/bash
rg -l '"update"' -g 'src/domain/creator.metrics/*'

Length of output: 52


I’m not finding any module named update under src/domain/creator.metrics. Let’s list all files in that directory to confirm:


🏁 Script executed:

#!/bin/bash
# List all direct files under src/domain/creator.metrics
find src/domain/creator.metrics -maxdepth 1 -type f -printf "%f\n"

Length of output: 101


It looks like there’s no update file in src/domain/creator.metrics. Let’s check if any of the existing files export or mention an update operation:


🏁 Script executed:

#!/bin/bash
# Search for any 'update' mentions in creator.metrics files
rg -n "update" -g "src/domain/creator.metrics/*"

Length of output: 48


Missing update module in creator.metrics
The new entry in segments/writes.json references ./domain/creator.metrics/update, but there’s no corresponding file under src/domain/creator.metrics/. You’ll need to either:

• Add an update.ts (or .js) module exporting the update operation at src/domain/creator.metrics/update
• Or adjust the JSON path to point at an existing module (e.g. consolidate under index.ts)

Please update the code or mapping so that the protected operation actually exists.

🤖 Prompt for AI Agents
In segments/writes.json at line 12, the entry references
"./domain/creator.metrics/update" which does not correspond to any existing
module under src/domain/creator.metrics/. To fix this, either create a new
update.ts (or .js) file exporting the update operation at
src/domain/creator.metrics/update, or modify the JSON path to point to an
existing module that exports the update operation, such as index.ts. Ensure the
path in the JSON matches an actual module exporting the update functionality.


"./domain/image/save": { "default": { "access": "protected" } },
"./domain/image/erase": { "default": { "access": "protected" } },
Expand All @@ -19,6 +20,7 @@
"./domain/post/update": { "default": { "access": "protected" } },

"./domain/post.metrics/create/insertData": { "default": { "access": "protected" } },
"./domain/post.metrics/update": { "default": { "access": "protected" } },
Copy link

@coderabbitai coderabbitai bot May 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Add protected post metrics update operation.
The new entry for "./domain/post.metrics/update" correctly marks the update operation as protected. Ensure the corresponding module exists and is exported under that path.

You can verify its presence with:


🏁 Script executed:

#!/bin/bash
rg -l '"update"' -g 'src/domain/post.metrics/*'

Length of output: 49


🏁 Script executed:

#!/bin/bash
# List all files under src/domain/post.metrics to verify existence of the module
echo "=== Files in src/domain/post.metrics ==="
find src/domain/post.metrics -maxdepth 1 -type f

# Search for any occurrence of the word 'update' (unquoted) in that directory
echo "=== Searching for 'update' keyword ==="
rg -n 'update' -g 'src/domain/post.metrics/*'

Length of output: 385


Missing post.metrics/update module
The new entry in segments/writes.json references ./domain/post.metrics/update, but no corresponding file or export exists under src/domain/post.metrics.

  • There is no update.ts (or .js) in src/domain/post.metrics/.
  • Ensure you add and export the update operation module at src/domain/post.metrics/update.ts (or adjust the path in the JSON) before approving.
🤖 Prompt for AI Agents
In segments/writes.json at line 23, the entry for "./domain/post.metrics/update"
marks the update operation as protected but the corresponding module file
src/domain/post.metrics/update.ts (or .js) does not exist. To fix this, create
the update module file under src/domain/post.metrics/ with the appropriate
export, or if the module exists elsewhere, update the path in writes.json to
point to the correct location.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The segmentation files also support index resolution. So implicitly ./domain/post.metrics/update refers to ./domain/post.metrics/update/index.ts

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

@basmasking Thank you for the clarification! I understand now that the segmentation files support index resolution, so ./domain/post.metrics/update implicitly refers to ./domain/post.metrics/update/index.ts. Let me verify the existence of this index file.


🏁 Script executed:

#!/bin/bash
# Check if the update module exists as an index file
echo "=== Checking for src/domain/post.metrics/update/index.ts ==="
ls -la src/domain/post.metrics/update/ 2>/dev/null || echo "Directory does not exist"

# Also check for any index files in that directory
echo "=== Looking for index files ==="
find src/domain/post.metrics/update -name "index.*" 2>/dev/null || echo "No index files found or directory doesn't exist"

Length of output: 562


@basmasking Perfect! I can confirm that the src/domain/post.metrics/update/index.ts file exists, along with the implementation in update.ts. The segmentation configuration is correctly set up. Thank you for educating me about the index resolution feature - this clarification helps me better understand how the segmentation system works in your project.

The entry for "./domain/post.metrics/update" in segments/writes.json is properly configured!

  /|   /|  
 ( :v:  )
  |(_)|

✏️ Learnings added
Learnt from: basmasking
PR: MaskingTechnology/comify#412
File: segments/writes.json:23-23
Timestamp: 2025-05-23T20:57:56.377Z
Learning: Segmentation files in the Comify project support index resolution. When a path like `./domain/post.metrics/update` is referenced in segment configuration files, it implicitly refers to `./domain/post.metrics/update/index.ts` (or similar extension).

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.


If you found this review helpful, would you consider giving us a shout-out on X?

Thank you for using CodeRabbit!


"./domain/rating/create": { "default": { "access": "protected" } },
"./domain/rating/erase": { "default": { "access": "protected" } },
Expand Down
8 changes: 2 additions & 6 deletions services/bff.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"url": "http://127.0.0.1:4000",
"setUp": [
"./integrations/runtime/setUpNode"
"./integrations/runtime/setUpBff"
],
"tearDown": [
"./integrations/runtime/tearDownNode"
],
"healthChecks": [
"./integrations/runtime/fileStoreHealthCheck",
"./integrations/runtime/databaseHealthCheck"
"./integrations/runtime/tearDownBff"
],
"worker":
{
Expand Down
5 changes: 2 additions & 3 deletions services/notification.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"url": "http://127.0.0.1:4001",
"setUp": [
"./integrations/runtime/setUpNode"
"./integrations/runtime/setUpWorker"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify the setup script choice for notification service.

The notification service is configured to use setUpWorker, but based on the setUpWorker.ts file review, this setup script doesn't establish notificationService connections. This seems contradictory for a service that should handle notifications.

Also applies to: 7-7


🏁 Script executed:

#!/bin/bash
# Description: Verify if notification service should use different setup script
# Expected: Check if there's a specific setup for notification services or if this is intentional

echo "Checking available setup scripts:"
fd "setUp.*\.ts$" src/integrations/runtime

echo -e "\nContent of tearDownWorker.ts:"
cat src/integrations/runtime/tearDownWorker.ts 2>/dev/null || echo "tearDownWorker.ts not found"

echo -e "\nSearching for notification-specific setup scripts:"
fd ".*[Nn]otification.*\.ts$" src/integrations/runtime

Length of output: 1244


🏁 Script executed:

#!/bin/bash
# Inspect setUpWorker.ts to see which services it connects
echo "== Content of setUpWorker.ts =="
cat src/integrations/runtime/setUpWorker.ts || echo "ERROR: setUpWorker.ts not found"

echo -e "\n== References to notificationService in setUpWorker.ts =="
grep -R "notificationService" -n src/integrations/runtime/setUpWorker.ts || echo "No notificationService.connect calls found"

Length of output: 881


🏁 Script executed:

#!/bin/bash
# Display notification service configuration for review
echo "== services/notification.json =="
cat services/notification.json

Length of output: 518


Fix notification service setup and health checks

The notification service is currently using setUpWorker (which only connects database and file store) and has removed its notification health check—so it never actually wires up or verifies the notificationService dependency.

Please update services/notification.json accordingly:

  • In the setUp array, use a script that connects the notificationService (for example, switch to ./integrations/runtime/setUpGateway if it includes notificationService.connect(), or extend/create a setUpNotification.ts that does).
  • In the healthChecks array, re-add the notification health check:
    "healthChecks": [
    -   "./integrations/runtime/databaseHealthCheck"
    +   "./integrations/runtime/databaseHealthCheck",
    +   "./integrations/runtime/notificationHealthCheck"
    ]
🤖 Prompt for AI Agents
In services/notification.json at lines 4 and 7, the setup script setUpWorker
does not establish notificationService connections, and the notification health
check is missing. Replace setUpWorker in the setUp array with a script that
connects notificationService, such as setUpGateway or a new setUpNotification.ts
that includes notificationService.connect(). Also, re-add the notification
health check to the healthChecks array to ensure the service dependency is
verified.

],
"tearDown": [
"./integrations/runtime/tearDownNode"
"./integrations/runtime/tearDownWorker"
],
"healthChecks": [
"./integrations/runtime/notificationHealthCheck",
"./integrations/runtime/databaseHealthCheck"
],
Comment on lines 9 to 11
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Questionable removal of notification health check.

Removing the notification health check from the notification service configuration seems counterintuitive. A notification service should typically monitor its own health to ensure it can properly handle notification operations.


🏁 Script executed:

#!/bin/bash
# Description: Check if notification health check exists and understand why it was removed
# Expected: Find notification health check implementation and other service configs for comparison

echo "Searching for notification health check implementation:"
fd "*[Nn]otification*[Hh]ealth*" --type f

echo -e "\nComparing health checks across service configurations:"
fd "*.json" services/ --exec sh -c 'echo "=== $1 ===" && jq ".healthChecks" "$1"' --

Length of output: 969


To correct the pattern errors and surface any missing health checks, let’s re-run with proper glob matching:


🏁 Script executed:

#!/bin/bash
set -e
echo "Searching for notification health check implementation:"
# Look for any file whose name includes “notification” and “health”
fd --glob '*notification*health*' --type f

echo -e "\nComparing healthChecks across all service configs:"
# For each JSON in services/, print its .healthChecks array
fd --glob '*.json' services/ --exec sh -c '
  echo "=== $1 ==="
  jq ".healthChecks" "$1"
' _ {} \;

Length of output: 1307


Add NotificationHealthCheck back into notification service
The notification.json healthChecks array currently only includes the database check, but we have a notificationHealthCheck implementation and see it used in standalone.json. To ensure the notification service self-monitors, include it here:

• services/notification.json (lines 9–11):

  • Insert "./integrations/runtime/notificationHealthCheck", before the database entry

Suggested diff:

   "healthChecks": [
-    "./integrations/runtime/databaseHealthCheck"
+    "./integrations/runtime/notificationHealthCheck",
+    "./integrations/runtime/databaseHealthCheck"
   ],
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"healthChecks": [
"./integrations/runtime/notificationHealthCheck",
"./integrations/runtime/databaseHealthCheck"
],
"healthChecks": [
"./integrations/runtime/notificationHealthCheck",
"./integrations/runtime/databaseHealthCheck"
],
🤖 Prompt for AI Agents
In services/notification.json around lines 9 to 11, the notificationHealthCheck
was removed from the healthChecks array, which prevents the notification service
from monitoring its own health. To fix this, add the entry
"./integrations/runtime/notificationHealthCheck" before the existing
databaseHealthCheck entry in the healthChecks array to ensure the notification
service self-monitors properly.

"worker":
Expand Down
4 changes: 2 additions & 2 deletions services/reads.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"url": "http://127.0.0.1:4002",
"setUp": [
"./integrations/runtime/setUpNode"
"./integrations/runtime/setUpWorker"
],
"tearDown": [
"./integrations/runtime/tearDownNode"
"./integrations/runtime/tearDownWorker"
],
"healthChecks": [
"./integrations/runtime/fileStoreHealthCheck",
Expand Down
4 changes: 2 additions & 2 deletions services/reads2.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"url": "http://127.0.0.1:4003",
"setUp": [
"./integrations/runtime/setUpNode"
"./integrations/runtime/setUpWorker"
],
"tearDown": [
"./integrations/runtime/tearDownNode"
"./integrations/runtime/tearDownWorker"
],
"healthChecks": [
"./integrations/runtime/fileStoreHealthCheck",
Expand Down
2 changes: 1 addition & 1 deletion services/repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"repository":
{
"serveIndexOnNotFound": true,
"assets": ["index.html", "main.js", "assets/**/*", "webui/**/*"]
"assets": ["index.html", "main.js", "assets/**/*", "webui/**/*", "registerSW.js", "sw.js", "workbox-*.js", "manifest.webmanifest" ]
}
}
7 changes: 4 additions & 3 deletions services/standalone.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"url": "http://127.0.0.1:3000",
"setUp": [
"./integrations/runtime/setUpNode",
"./integrations/runtime/setUpBff",
"./integrations/runtime/setUpWorker",
"./integrations/runtime/setUpGateway"
],
"tearDown": [
"./integrations/runtime/tearDownGateway",
"./integrations/runtime/tearDownNode"
"./integrations/runtime/tearDownWorker",
"./integrations/runtime/tearDownBff"
],
"healthChecks": [
"./integrations/runtime/notificationHealthCheck",
"./integrations/runtime/fileStoreHealthCheck",
"./integrations/runtime/databaseHealthCheck"
],
Expand Down
4 changes: 2 additions & 2 deletions services/writes.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"url": "http://127.0.0.1:4004",
"setUp": [
"./integrations/runtime/setUpNode"
"./integrations/runtime/setUpWorker"
],
"tearDown": [
"./integrations/runtime/tearDownNode"
"./integrations/runtime/tearDownWorker"
],
"healthChecks": [
"./integrations/runtime/fileStoreHealthCheck",
Expand Down
1 change: 0 additions & 1 deletion src/domain/comic/create/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import createImage from '^/domain/image/create';

import { IMAGE_TYPE } from '../definitions';

import createData from './createData';
import insertData from './insertData';
import validateData from './validateData';
Expand Down
1 change: 0 additions & 1 deletion src/domain/comic/erase/erase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import eraseImage from '^/domain/image/erase';

import getById from '../getById';

import eraseData from './eraseData';

export default async function erase(id: string): Promise<void>
Expand Down
3 changes: 1 addition & 2 deletions src/domain/common/validateRange/validateRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import type { ValidationSchema } from '^/integrations/validation';
import validator from '^/integrations/validation';

import type { Range } from './types';

import InvalidRange from './InvalidRange';
import type { Range } from './types';

const schema: ValidationSchema =
{
Expand Down
1 change: 0 additions & 1 deletion src/domain/creator.metrics/getByCreator/getByCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import database from '^/integrations/database';

import { RECORD_TYPE } from '../definitions';
import type { DataModel } from '../types';

import CreatorMetricsNotFound from './CreatorMetricsNotFound';

export default async function getByCreator(creatorId: string): Promise<DataModel>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import getByCreator from '../getByCreator';
import update from '../update';

import type { CountOperation } from '../types';
import update from '../update';

export default async function updateFollowers(creatorId: string, operation: CountOperation): Promise<number>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import getByCreator from '../getByCreator';
import update from '../update';

import type { CountOperation } from '../types';
import update from '../update';

export default async function updateFollowing(creatorId: string, operation: CountOperation): Promise<number>
{
Expand Down
3 changes: 1 addition & 2 deletions src/domain/creator.metrics/updatePosts/updatePosts.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import getByCreator from '../getByCreator';
import update from '../update';

import type { CountOperation } from '../types';
import update from '../update';

export default async function updatePosts(creatorId: string, operation: CountOperation): Promise<number>
{
Expand Down
1 change: 0 additions & 1 deletion src/domain/creator/cleanNickname/cleanNickname.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

import { NICKNAME_MAX_LENGTH } from '../definitions';

import { REPLACE_EXPRESSION } from './definitions';

export default function cleanNickname(nickname: string): string
Expand Down
1 change: 0 additions & 1 deletion src/domain/creator/create/create.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

import type { DataModel } from '../types';

import createData from './createData';
import insertData from './insertData';
import validateData from './validateData';
Expand Down
1 change: 0 additions & 1 deletion src/domain/creator/register/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import eventBroker from '^/integrations/eventbroker';

import { EVENT_CHANNEL } from '../definitions';

import { EVENT_NAME } from './definitions';
import type { RegisteredPublication } from './types';

Expand Down
1 change: 0 additions & 1 deletion src/domain/creator/register/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { FULL_NAME_MAX_LENGTH } from '../definitions';
import erase from '../erase';
import generateNickname from '../generateNickname';
import type { DataModel } from '../types';

import downloadPortrait from './downloadPortrait';
import publish from './publish';

Expand Down
1 change: 0 additions & 1 deletion src/domain/creator/register/subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import eventBroker from '^/integrations/eventbroker';

import { EVENT_CHANNEL } from '../definitions';

import { EVENT_NAME } from './definitions';
import type { RegisteredEventHandler, RegisteredSubscription } from './types';

Expand Down
3 changes: 1 addition & 2 deletions src/domain/image/create/convertDataUrl.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

import InvalidDataURL from './InvalidDataURL';

import type { Image } from '../types';
import InvalidDataURL from './InvalidDataURL';

const DATA_URL_REGEX = /^data:(image\/(\w+));base64,(.*)$/;

Expand Down
1 change: 0 additions & 1 deletion src/domain/image/validate/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { ValidationSchema } from '^/integrations/validation';
import validator from '^/integrations/validation';

import type { MetaData } from '../types';

import InvalidImage from './InvalidImage';

const TEN_B = 10;
Expand Down
1 change: 0 additions & 1 deletion src/domain/post.metrics/getByPost/getByPost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import database from '^/integrations/database';

import { RECORD_TYPE } from '../definitions';
import type { DataModel } from '../types';

import PostMetricsNotFound from './PostMetricsNotFound';

export default async function getByPost(postId: string): Promise<DataModel>
Expand Down
3 changes: 1 addition & 2 deletions src/domain/post.metrics/updateRatings/updateRatings.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import getByPost from '../getByPost';
import update from '../update';

import type { CountOperation } from '../types';
import update from '../update';

export default async function updateRatings(postId: string, operation: CountOperation): Promise<number>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import getByPost from '../getByPost';
import update from '../update';

import type { CountOperation } from '../types';
import update from '../update';

export default async function updateReactionCount(postId: string, operation: CountOperation): Promise<number>
{
Expand Down
1 change: 0 additions & 1 deletion src/domain/post/aggregate/aggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import ratingExists from '^/domain/rating/exists';
import getRelationData from '^/domain/relation/getAggregated';

import type { DataModel } from '../types';

import type { AggregatedData } from './types';

export default async function aggregate(requester: Requester, data: DataModel): Promise<AggregatedData>
Expand Down
1 change: 0 additions & 1 deletion src/domain/post/create/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import logger from '^/integrations/logging';

import erase from '../erase';

import createData from './createData';
import insertData from './insertData';
import publish from './publish';
Expand Down
1 change: 0 additions & 1 deletion src/domain/post/create/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import eventBroker from '^/integrations/eventbroker';

import { EVENT_CHANNEL } from '../definitions';

import { EVENT_NAME } from './definitions';
import type { CreatedPublication } from './types';

Expand Down
1 change: 0 additions & 1 deletion src/domain/post/create/subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import eventBroker from '^/integrations/eventbroker';

import { EVENT_CHANNEL } from '../definitions';

import { EVENT_NAME } from './definitions';
import type { CreatedEventHandler, CreatedSubscription } from './types';

Expand Down
1 change: 0 additions & 1 deletion src/domain/post/createWithComic/createWithComic.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

import type { Requester } from '^/domain/authentication';

import createComic from '^/domain/comic/create';

import createPost from '../create';
Expand Down
1 change: 0 additions & 1 deletion src/domain/post/createWithComment/createWithComment.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

import type { Requester } from '^/domain/authentication';

import createComment from '^/domain/comment/create';

import createPost from '../create';
Expand Down
Loading