Skip to content

Commit

Permalink
Make optional, -> in SyncJob connector representation
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrazb committed Apr 29, 2024
1 parent b763f64 commit d278650
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 25 deletions.
13 changes: 6 additions & 7 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions specification/connector/_types/Connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export interface FilteringRulesValidation {
state: FilteringValidationState
}

interface FilteringRules {
export interface FilteringRules {
advanced_snippet: FilteringAdvancedSnippet
rules: FilteringRule[]
validation: FilteringRulesValidation
Expand Down Expand Up @@ -241,7 +241,7 @@ export interface Connector {
custom_scheduling: ConnectorCustomScheduling
description?: string
error?: string
features: ConnectorFeatures
features?: ConnectorFeatures
filtering: FilteringConfig[]
id?: Id
index_name?: IndexName
Expand Down
4 changes: 2 additions & 2 deletions specification/connector/_types/SyncJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import { Dictionary } from '@spec_utils/Dictionary'
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
import {
ConnectorConfiguration,
FilteringConfig,
FilteringRules,
IngestPipelineParams,
SyncStatus
} from './Connector'

interface SyncJobConnectorReference {
configuration: ConnectorConfiguration
filtering: FilteringConfig
filtering: FilteringRules
id: Id
index_name: string
language?: string
Expand Down

0 comments on commit d278650

Please sign in to comment.