10000 ✨ Add type guards for eventKey by NatoBoram · Pull Request #5 · coderabbitai/bitbucket · GitHub
[go: up one dir, main page]

Skip to content

✨ Add type guards for eventKey #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
♻️ Refactor import statements in event.ts
  • Loading branch information
NatoBoram committed Sep 23, 2024
commit 88a9ed52adbc7d8a97707463b2c7fd530cc541d8
9 changes: 6 additions & 3 deletions src/server/webhooks/events/event.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { prEventKeys, type PrEvent } from "./pr/event.js"
import { projectEventKeys, type ProjectEvent } from "./project/event.js"
import { repoEventKeys, type RepoEvent } from "./repo/event.js"
import type { PrEvent } from "./pr/event.js"
import { prEventKeys } from "./pr/event.js"
import type { ProjectEvent } from "./project/event.js"
import { projectEventKeys } from "./project/event.js"
import type { RepoEvent } from "./repo/event.js"
import { repoEventKeys } from "./repo/event.js"

/**
* When you have a webhook with an event, Bitbucket Data Center sends the event
Expand Down
0