File tree Expand file tree Collapse file tree
apps/sim/lib/core/network Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { OutboundRoutingError } from '@/lib/core/network/routing'
66import { OrchestrationError } from '@/lib/core/orchestration/types'
77import { authorizeOrganizationSettingsSection } from '@/lib/settings/application/organization-section-access'
88
9- export type OrganizationNetwork =
9+ type OrganizationNetwork =
1010 | { mode : 'direct' | 'blocked' | 'unavailable' }
1111 | { mode : 'gateway' ; publicIps : string [ ] }
1212
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ const configSchema = z.strictObject({
1919 . refine ( ( value ) => Object . keys ( value ) . length <= 10_000 ) ,
2020} )
2121
22- export type OutboundRoute = Readonly < z . infer < typeof routeSchema > >
22+ type OutboundRoute = Readonly < z . infer < typeof routeSchema > >
2323export interface OutboundRoutingConfig {
2424 readonly schemaVersion : 1
2525 readonly revision : string
2626 readonly organizations : Readonly < Record < string , OutboundRoute > >
2727}
2828
29- export type OutboundRoutingErrorCode =
29+ type OutboundRoutingErrorCode =
3030 | 'CONFIGURATION_UNAVAILABLE'
3131 | 'INVALID_CONFIGURATION'
3232 | 'MISSING_SCOPE'
You can’t perform that action at this time.
0 commit comments