Skip to content

Commit 227d5ea

Browse files
committed
fix(workspace-settings): drop two exports nothing imports and read BYOK's either-scope keys as one query
1 parent f99912c commit 227d5ea

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/sim/app/(product)/_components/secrets-editor/secret-rows.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const FULL_ACCESS: SecretRowAccess = { canEdit: true, canReveal: true }
6464
export type GuardBack = (leave: () => void) => void
6565

6666
/** One titled group of secrets the rows edit and save together with the others. */
67-
export interface SecretScope {
67+
interface SecretScope {
6868
/** Keys the section and prefixes the salted autofill names. */
6969
id: SecretScopeId
7070
title: string

‎apps/sim/app/(product)/workspace/[workspaceId]/settings/_components/sections/byok/byok-section.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default function ByokSection({ workspaceId }: WorkspaceSettingsSectionPro
185185
message='Inherited key status unavailable. Refresh to try again.'
186186
/>
187187
)}
188-
<SettingsRead query={activeQuery} failureMessage='Couldn’t load provider keys'>
188+
<SettingsRead<unknown> query={activeQuery} failureMessage='Couldn’t load provider keys'>
189189
{() => (
190190
<ByokProviderList
191191
key={`${workspaceId}:${isOrganizationScope ? 'organization' : 'workspace'}`}

‎apps/sim/app/(product)/workspace/[workspaceId]/settings/_components/sections/custom-blocks/block-outputs.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { SettingsSection } from '@sim/emcn/settings-section'
66
import { FieldStack } from '@/app/(product)/_components/settings-parts/settings-parts'
77

88
/** One exposed output, keyed by its source block and path. */
9-
export interface BlockOutputField {
9+
interface BlockOutputField {
1010
key: string
1111
label: string
1212
name: string

0 commit comments

Comments
 (0)