Skip to content

Commit 040e478

Browse files
committed
add nebula service definition (#5401)
## Problem solved https://linear.app/thirdweb/issue/BLOCK-412/add-api-key-scope Added Nebula service scope to the service definitions and included it in the hidden services list. <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces the `nebula` service scope to the project and updates the related configurations and validations accordingly. It also modifies the pull request body check to include the `BLOCK` keyword. ### Detailed summary - Added `nebula` service scope in `packages/service-utils/src/core/services.ts` with properties: `name`, `title`, and `description`. - Updated `HIDDEN_SERVICES` in `apps/dashboard/src/components/settings/ApiKeys/validations.ts` to include `nebula`. - Modified the pull request body check in `.github/workflows/linear.yml` to include `BLOCK`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 6771cfe commit 040e478

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.changeset/eight-poems-end.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
Added nebula service scope

.github/workflows/linear.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
1919
echo "Pull Request Body: $pr_body"
2020
21-
if echo "$pr_body" | grep -iE "CNCT|DASH"; then
21+
if echo "$pr_body" | grep -iE "CNCT|DASH|BLOCK"; then
2222
echo "Linked issue found in the pull request body."
2323
else
2424
echo "No linked issue found in the pull request body."

apps/dashboard/src/components/settings/ApiKeys/validations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ export type ApiKeyPayConfigValidationSchema = z.infer<
149149
>;
150150

151151
// FIXME: Remove
152-
export const HIDDEN_SERVICES = ["relayer", "chainsaw"];
152+
export const HIDDEN_SERVICES = ["relayer", "chainsaw", "nebula"];

packages/service-utils/src/core/services.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ export const SERVICE_DEFINITIONS = {
6565
// all actions allowed
6666
actions: [],
6767
},
68+
nebula: {
69+
name: "nebula",
70+
title: "Nebula",
71+
description: "Nebula services",
72+
// all actions allowed
73+
actions: [],
74+
},
6875
} as const;
6976

7077
export const SERVICE_NAMES = Object.keys(

0 commit comments

Comments
 (0)