From 0d5a881b8969ddd5436a7031867cc0aec175134b Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Thu, 17 Jul 2025 13:10:19 -0600 Subject: [PATCH 1/2] Update packages/database/.cursor/schema.mdc Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- packages/database/.cursor/schema.mdc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/database/.cursor/schema.mdc b/packages/database/.cursor/schema.mdc index 363d17317..077c13acf 100644 --- a/packages/database/.cursor/schema.mdc +++ b/packages/database/.cursor/schema.mdc @@ -15,7 +15,7 @@ When adding a new JSONB column to the database schema, it is important to ensure ```typescript export type NewEntityConfig = { key: string; - value: any; // Use specific types instead of 'any' for better type safety + value: string | number | boolean; // Use specific types instead of 'any' for better type safety }; ``` From 8c562c70b5310ea4987bede20e69977a4323db25 Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Thu, 17 Jul 2025 13:11:04 -0600 Subject: [PATCH 2/2] Update apps/server/src/api/v2/organization/PUT.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- apps/server/src/api/v2/organization/PUT.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/api/v2/organization/PUT.ts b/apps/server/src/api/v2/organization/PUT.ts index d20d013bb..b96b3455f 100644 --- a/apps/server/src/api/v2/organization/PUT.ts +++ b/apps/server/src/api/v2/organization/PUT.ts @@ -1,4 +1,4 @@ -import { getOrganization, getUserOrganizationId, updateOrganization } from '@buster/database'; +import { getOrganization, updateOrganization } from '@buster/database'; import type { User } from '@buster/database'; import type { UpdateOrganizationRequest,