Skip to content

Commit

Permalink
Remove unused code and files (#340)
Browse files Browse the repository at this point in the history
Fixes #261
  • Loading branch information
wesbillman authored Aug 30, 2023
1 parent d8668e5 commit 2165140
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 402 deletions.
11 changes: 0 additions & 11 deletions console/client/src/components/Card.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions console/client/src/components/Layout.tsx

This file was deleted.

Empty file.
2 changes: 1 addition & 1 deletion console/client/src/features/graph/GraphPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import ReactFlow, {
useNodesState,
} from 'reactflow'
import 'reactflow/dist/style.css'
import {Navigation} from '../../layout/Navigation'
import {modulesContext} from '../../providers/modules-provider'
import {GroupNode} from './GroupNode'
import {VerbNode} from './VerbNode'
import {layoutNodes} from './create-layout'
import {Navigation} from '../../components/Navigation'

const nodeTypes = {groupNode: GroupNode, verbNode: VerbNode}

Expand Down
142 changes: 0 additions & 142 deletions console/client/src/features/log/LogsPage.tsx

This file was deleted.

45 changes: 0 additions & 45 deletions console/client/src/features/modules/ModulePage.tsx

This file was deleted.

73 changes: 0 additions & 73 deletions console/client/src/features/modules/ModulesPage.tsx

This file was deleted.

47 changes: 0 additions & 47 deletions console/client/src/features/verbs/VerbCard.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions console/client/src/features/verbs/VerbList.tsx

This file was deleted.

14 changes: 1 addition & 13 deletions console/client/src/features/verbs/verb.utils.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
import {
MetadataCalls,
Verb,
VerbRef,
} from '../../protos/xyz/block/ftl/v1/schema/schema_pb'

export function getCalls(verb?: Verb): MetadataCalls[] {
return (
verb?.metadata
?.filter(meta => meta.value.case === 'calls')
.map(meta => meta.value.value as MetadataCalls) ?? []
)
}
import {VerbRef} from '../../protos/xyz/block/ftl/v1/schema/schema_pb'

export function buildVerbSchema(
verbSchema: string,
Expand Down
Loading

0 comments on commit 2165140

Please sign in to comment.