From d24ff143ef2a72cb4984a61582ef8a63dff4021f Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Mon, 24 Mar 2025 22:22:23 +1300 Subject: [PATCH 1/3] Revert "[Service-Utils] feat: Add engine-cloud service definition (#6526)" This reverts commit 21389bbef6918a72df3ca1822ea7e5f697931c39. --- packages/service-utils/src/core/api.ts | 4 ---- packages/service-utils/src/core/services.ts | 8 -------- 2 files changed, 12 deletions(-) diff --git a/packages/service-utils/src/core/api.ts b/packages/service-utils/src/core/api.ts index 56daf87f9e3..d56f5f9c1ec 100644 --- a/packages/service-utils/src/core/api.ts +++ b/packages/service-utils/src/core/api.ts @@ -136,10 +136,6 @@ export type ProjectService = name: "nebula"; actions: never[]; } - | { - name: "engineCloud"; - actions: never[]; - } | ProjectBundlerService | ProjectEmbeddedWalletsService; diff --git a/packages/service-utils/src/core/services.ts b/packages/service-utils/src/core/services.ts index 2c539f3edac..84ba6257b1f 100644 --- a/packages/service-utils/src/core/services.ts +++ b/packages/service-utils/src/core/services.ts @@ -74,14 +74,6 @@ export const SERVICE_DEFINITIONS = { // all actions allowed actions: [], }, - engineCloud: { - name: "engineCloud", - title: "Server wallets", - description: - "Server wallets with high transaction throughput and low latency", - // all actions allowed - actions: [], - }, } as const; export const SERVICE_NAMES = Object.keys( From 043d23ca1bd6d5da3a1718374869b8685f5679c5 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Mon, 24 Mar 2025 22:24:58 +1300 Subject: [PATCH 2/3] [Dashboard] Disable engineCloud service by default --- .../src/components/settings/ApiKeys/Create/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx b/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx index be65c35a259..04e2cc87cc1 100644 --- a/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx +++ b/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx @@ -41,7 +41,10 @@ import { z } from "zod"; import { projectDomainsSchema, projectNameSchema } from "../validations"; const ALL_PROJECT_SERVICES = SERVICES.filter( - (srv) => srv.name !== "relayer" && srv.name !== "chainsaw", + (srv) => + srv.name !== "relayer" && + srv.name !== "chainsaw" && + srv.name !== "engineCloud", // TODO enable once API server is out ); export type CreateProjectPrefillOptions = { From 9a538a33f6e8499270940657e7abbac4f9824df9 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Mon, 24 Mar 2025 22:27:51 +1300 Subject: [PATCH 3/3] Reapply "[Service-Utils] feat: Add engine-cloud service definition (#6526)" This reverts commit d24ff143ef2a72cb4984a61582ef8a63dff4021f. --- .../src/components/settings/ApiKeys/validations.ts | 2 +- packages/service-utils/src/core/api.ts | 4 ++++ packages/service-utils/src/core/services.ts | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/settings/ApiKeys/validations.ts b/apps/dashboard/src/components/settings/ApiKeys/validations.ts index 0d1d34b3540..49b524180cc 100644 --- a/apps/dashboard/src/components/settings/ApiKeys/validations.ts +++ b/apps/dashboard/src/components/settings/ApiKeys/validations.ts @@ -125,4 +125,4 @@ export type ApiKeyPayConfigValidationSchema = z.infer< >; // FIXME: Remove -export const HIDDEN_SERVICES = ["relayer", "chainsaw"]; +export const HIDDEN_SERVICES = ["relayer", "chainsaw", "engineCloud"]; diff --git a/packages/service-utils/src/core/api.ts b/packages/service-utils/src/core/api.ts index d56f5f9c1ec..56daf87f9e3 100644 --- a/packages/service-utils/src/core/api.ts +++ b/packages/service-utils/src/core/api.ts @@ -136,6 +136,10 @@ export type ProjectService = name: "nebula"; actions: never[]; } + | { + name: "engineCloud"; + actions: never[]; + } | ProjectBundlerService | ProjectEmbeddedWalletsService; diff --git a/packages/service-utils/src/core/services.ts b/packages/service-utils/src/core/services.ts index 84ba6257b1f..2c539f3edac 100644 --- a/packages/service-utils/src/core/services.ts +++ b/packages/service-utils/src/core/services.ts @@ -74,6 +74,14 @@ export const SERVICE_DEFINITIONS = { // all actions allowed actions: [], }, + engineCloud: { + name: "engineCloud", + title: "Server wallets", + description: + "Server wallets with high transaction throughput and low latency", + // all actions allowed + actions: [], + }, } as const; export const SERVICE_NAMES = Object.keys(