Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: type errors on main #19916

Merged
merged 2 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,8 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
/**
* Report Data
*/
export interface ReportData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Aggregated data for Cost Analysis Report.
*/
export interface AggregatedCostAnalysisReportData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Refined data for Entity Report.
*/
export interface EntityReportData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Raw data for Cost Analysis Report.
*/
export interface RawCostAnalysisReportData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Refined data for overview report
*/
export interface WebAnalyticEntityViewReportData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Refined data for overview report
*/
export interface WebAnalyticUserActivityReportData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* web analytics event data
*/
export interface WebAnalyticEventData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Event tracker (e.g. clicks, etc.)
*/
export interface CustomEvent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Page view data event
*/
export interface PageViewEvent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Create Request for adding a glossary to assets
*/
export interface AddGlossaryToAssetsRequest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Create Request for adding a tag to assets
*/
export interface AddTagToAssetsRequest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* Payload to create a web analytic event
*/
export interface CreateWebAnalyticEvent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Collate.
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/**
/**
* A unit of work that will be triggered as an API call to the OpenMetadata server.
*/
export interface CreateWorkflow {
Expand Down Expand Up @@ -542,10 +540,11 @@ export interface ConfigClass {
*
* Http/Https connection scheme
*/
scheme?: string;
supportsDatabase?: boolean;
supportsDataDiff?: boolean;
supportsDBTExtraction?: boolean;
scheme?: string;
supportsDatabase?: boolean;
supportsDataDiff?: boolean;
supportsDBTExtraction?: boolean;
supportsIncrementalMetadataExtraction?: boolean;
/**
* Supports Lineage Extraction.
*/
Expand Down Expand Up @@ -860,6 +859,10 @@ export interface ConfigClass {
* Databricks compute resources URL.
*/
httpPath?: string;
/**
* Table name to fetch the query history.
*/
queryHistoryTable?: string;
/**
* License to connect to DB2.
*/
Expand Down Expand Up @@ -975,6 +978,10 @@ export interface ConfigClass {
* usage monitoring.
*/
account?: string;
/**
* Full name of the schema where the account usage data is stored.
*/
accountUsageSchema?: string;
/**
* Optional configuration for ingestion to keep the client session active in case the
* ingestion process runs for longer durations.
Expand Down Expand Up @@ -1069,7 +1076,7 @@ export interface ConfigClass {
*
* Choose between mysql and postgres connection for alation database
*/
connection?: ConnectionObject;
connection?: ConfigConnection;
/**
* Couchbase connection Bucket options.
*/
Expand Down Expand Up @@ -1306,6 +1313,11 @@ export interface ConfigClass {
* Confluent Redpanda Consumer Config
*/
consumerConfig?: { [key: string]: any };
/**
* Consumer Config SSL Config. Configuration for enabling SSL for the Consumer Config
* connection.
*/
consumerConfigSSL?: ConsumerConfigSSLClass;
/**
* sasl.mechanism Consumer Config property
*/
Expand All @@ -1329,7 +1341,7 @@ export interface ConfigClass {
* Schema Registry SSL Config. Configuration for enabling SSL for the Schema Registry
* connection.
*/
schemaRegistrySSL?: SchemaRegistrySSLClass;
schemaRegistrySSL?: ConsumerConfigSSLClass;
/**
* Schema Registry Topic Suffix Name. The suffix to be appended to the topic name to get
* topic schema from registry.
Expand Down Expand Up @@ -2145,7 +2157,7 @@ export interface SSLCertificatesByPath {
* Qlik Authentication Certificate File Path
*/
export interface QlikCertificatesBy {
sslConfig?: SchemaRegistrySSLClass;
sslConfig?: ConsumerConfigSSLClass;
/**
* Client Certificate
*/
Expand All @@ -2166,14 +2178,17 @@ export interface QlikCertificatesBy {
*
* SSL Configuration details.
*
* Consumer Config SSL Config. Configuration for enabling SSL for the Consumer Config
* connection.
*
* Schema Registry SSL Config. Configuration for enabling SSL for the Schema Registry
* connection.
*
* SSL Configuration for OpenMetadata Server
*
* OpenMetadata Client configured to validate SSL certificates.
*/
export interface SchemaRegistrySSLClass {
export interface ConsumerConfigSSLClass {
/**
* The CA certificate used for SSL validation.
*/
Expand Down Expand Up @@ -2513,11 +2528,11 @@ export interface GCPImpersonateServiceAccountValues {
*
* Matillion Auth Configuration
*
* Matillion ETL Auth Config
* Matillion ETL Auth Config.
*
* Choose between mysql and postgres connection for alation database
*/
export interface ConnectionObject {
export interface ConfigConnection {
/**
* Database of the data source.
*
Expand Down Expand Up @@ -2634,7 +2649,6 @@ export interface ConnectionObject {
*/
databaseMode?: string;
supportsViewLineageExtraction?: boolean;
[property: string]: any;
}

/**
Expand Down Expand Up @@ -2760,6 +2774,9 @@ export enum ConnectionScheme {
*
* SSL Configuration details.
*
* Consumer Config SSL Config. Configuration for enabling SSL for the Consumer Config
* connection.
*
* Schema Registry SSL Config. Configuration for enabling SSL for the Schema Registry
* connection.
*
Expand Down Expand Up @@ -2989,7 +3006,7 @@ export interface HiveMetastoreConnectionDetails {
/**
* SSL Configuration details.
*/
sslConfig?: SchemaRegistrySSLClass;
sslConfig?: ConsumerConfigSSLClass;
sslMode?: SSLMode;
supportsDatabase?: boolean;
supportsDataDiff?: boolean;
Expand Down Expand Up @@ -3046,9 +3063,9 @@ export enum HiveMetastoreConnectionDetailsType {
/**
* We support username/password or client certificate authentication
*
* username/password auth
* Configuration for connecting to Nifi Basic Auth.
*
* client certificate auth
* Configuration for connecting to Nifi Client Certificate Auth.
*/
export interface NifiCredentialsConfiguration {
/**
Expand Down Expand Up @@ -3268,6 +3285,9 @@ export enum KafkaSecurityProtocol {
*
* SSL Configuration details.
*
* Consumer Config SSL Config. Configuration for enabling SSL for the Consumer Config
* connection.
*
* Schema Registry SSL Config. Configuration for enabling SSL for the Schema Registry
* connection.
*
Expand Down
Loading
Loading