Skip to content

Commit 7ca628d

Browse files
committed
rename
1 parent 118e4f6 commit 7ca628d

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/filter-format/components/empty-state.tsx renamed to apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/filter-builder/components/empty-state.tsx

File renamed without changes.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/filter-format/components/filter-rule-row.tsx renamed to apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/filter-builder/components/filter-rule-row.tsx

File renamed without changes.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/filter-format/filter-format.tsx renamed to apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/filter-builder/filter-builder.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { useSubBlockValue } from '@/app/workspace/[workspaceId]/w/[workflowId]/c
1010
import { EmptyState } from './components/empty-state'
1111
import { FilterRuleRow } from './components/filter-rule-row'
1212

13-
interface FilterFormatProps {
13+
interface FilterBuilderProps {
1414
blockId: string
1515
subBlockId: string
1616
isPreview?: boolean
@@ -21,15 +21,15 @@ interface FilterFormatProps {
2121
}
2222

2323
/** Visual builder for table filter rules in workflow blocks. */
24-
export function FilterFormat({
24+
export function FilterBuilder({
2525
blockId,
2626
subBlockId,
2727
isPreview = false,
2828
previewValue,
2929
disabled = false,
3030
columns: propColumns,
3131
tableIdSubBlockId = 'tableId',
32-
}: FilterFormatProps) {
32+
}: FilterBuilderProps) {
3333
const [storeValue, setStoreValue] = useSubBlockValue<FilterRule[]>(blockId, subBlockId)
3434
const [tableIdValue] = useSubBlockValue<string>(blockId, tableIdSubBlockId)
3535

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export { Dropdown } from './dropdown/dropdown'
99
export { EvalInput } from './eval-input/eval-input'
1010
export { FileSelectorInput } from './file-selector/file-selector-input'
1111
export { FileUpload } from './file-upload/file-upload'
12-
export { FilterFormat } from './filter-format/filter-format'
12+
export { FilterBuilder } from './filter-builder/filter-builder'
1313
export { FolderSelectorInput } from './folder-selector/components/folder-selector-input'
1414
export { GroupedCheckboxList } from './grouped-checkbox-list/grouped-checkbox-list'
1515
export { InputMapping } from './input-mapping/input-mapping'
@@ -26,7 +26,7 @@ export { ScheduleInfo } from './schedule-info/schedule-info'
2626
export { ShortInput } from './short-input/short-input'
2727
export { SlackSelectorInput } from './slack-selector/slack-selector-input'
2828
export { SliderInput } from './slider-input/slider-input'
29-
export { SortFormat } from './sort-format/sort-format'
29+
export { SortBuilder } from './sort-builder/sort-builder'
3030
export { InputFormat } from './starter/input-format'
3131
export { SubBlockInputController } from './sub-block-input-controller'
3232
export { Switch } from './switch/switch'

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/sort-format/components/empty-state.tsx renamed to apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/sort-builder/components/empty-state.tsx

File renamed without changes.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/sort-format/components/sort-rule-row.tsx renamed to apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/sort-builder/components/sort-rule-row.tsx

File renamed without changes.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/sort-format/sort-format.tsx renamed to apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/sort-builder/sort-builder.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { useSubBlockValue } from '@/app/workspace/[workspaceId]/w/[workflowId]/c
1010
import { EmptyState } from './components/empty-state'
1111
import { SortRuleRow } from './components/sort-rule-row'
1212

13-
interface SortFormatProps {
13+
interface SortBuilderProps {
1414
blockId: string
1515
subBlockId: string
1616
isPreview?: boolean
@@ -27,15 +27,15 @@ const createDefaultRule = (columns: ComboboxOption[]): SortRule => ({
2727
})
2828

2929
/** Visual builder for table sort rules in workflow blocks. */
30-
export function SortFormat({
30+
export function SortBuilder({
3131
blockId,
3232
subBlockId,
3333
isPreview = false,
3434
previewValue,
3535
disabled = false,
3636
columns: propColumns,
3737
tableIdSubBlockId = 'tableId',
38-
}: SortFormatProps) {
38+
}: SortBuilderProps) {
3939
const [storeValue, setStoreValue] = useSubBlockValue<SortRule[]>(blockId, subBlockId)
4040
const [tableIdValue] = useSubBlockValue<string>(blockId, tableIdSubBlockId)
4141

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
EvalInput,
1818
FileSelectorInput,
1919
FileUpload,
20-
FilterFormat,
20+
FilterBuilder,
2121
FolderSelectorInput,
2222
GroupedCheckboxList,
2323
InputFormat,
@@ -35,7 +35,7 @@ import {
3535
ShortInput,
3636
SlackSelectorInput,
3737
SliderInput,
38-
SortFormat,
38+
SortBuilder,
3939
Switch,
4040
Table,
4141
TableSelector,
@@ -814,9 +814,9 @@ function SubBlockComponent({
814814
/>
815815
)
816816

817-
case 'filter-format':
817+
case 'filter-builder':
818818
return (
819-
<FilterFormat
819+
<FilterBuilder
820820
blockId={blockId}
821821
subBlockId={config.id}
822822
isPreview={isPreview}
@@ -825,9 +825,9 @@ function SubBlockComponent({
825825
/>
826826
)
827827

828-
case 'sort-format':
828+
case 'sort-builder':
829829
return (
830-
<SortFormat
830+
<SortBuilder
831831
blockId={blockId}
832832
subBlockId={config.id}
833833
isPreview={isPreview}

apps/sim/blocks/blocks/table.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ Return ONLY the rows array:`,
317317
{
318318
id: 'bulkFilterBuilder',
319319
title: 'Filter Conditions',
320-
type: 'filter-format',
320+
type: 'filter-builder',
321321
required: {
322322
field: 'operation',
323323
value: ['update_rows_by_filter', 'delete_rows_by_filter'],
@@ -398,7 +398,7 @@ Return ONLY the filter JSON:`,
398398
{
399399
id: 'filterBuilder',
400400
title: 'Filter Conditions',
401-
type: 'filter-format',
401+
type: 'filter-builder',
402402
condition: {
403403
field: 'operation',
404404
value: 'query_rows',
@@ -410,7 +410,7 @@ Return ONLY the filter JSON:`,
410410
{
411411
id: 'sortBuilder',
412412
title: 'Sort Order',
413-
type: 'sort-format',
413+
type: 'sort-builder',
414414
condition: {
415415
field: 'operation',
416416
value: 'query_rows',

apps/sim/blocks/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export type SubBlockType =
7272
| 'mcp-dynamic-args' // MCP dynamic arguments based on tool schema
7373
| 'input-format' // Input structure format
7474
| 'response-format' // Response structure format
75-
| 'filter-format' // Filter conditions builder
76-
| 'sort-format' // Sort conditions builder
75+
| 'filter-builder' // Filter conditions builder
76+
| 'sort-builder' // Sort conditions builder
7777
| 'trigger-save' // Trigger save button with validation
7878
| 'file-upload' // File uploader
7979
| 'input-mapping' // Map parent variables to child workflow input schema

0 commit comments

Comments
 (0)