diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/catalogVersion.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/catalogVersion.ts index 386a70a2e6a..962644630aa 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/catalogVersion.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/catalogVersion.ts @@ -23,7 +23,7 @@ export interface CatalogVersion { /** * Build timestamp */ - timestamp?: string; + timestamp?: number; /** * Software version of the catalog */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/lineage/addLineage.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/lineage/addLineage.ts index 4d625bd5cc6..e6d2b48908e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/lineage/addLineage.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/lineage/addLineage.ts @@ -13,7 +13,7 @@ */ /** - * Add lineage details between two entities + * Add lineage edge between two entities */ export interface AddLineage { /** diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/bots.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/bots.ts index 37a3e734848..217ba10acdc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/bots.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/bots.ts @@ -46,9 +46,10 @@ export interface Bots { */ name?: string; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts index 802acdff7c6..9ed4c0ef49b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts @@ -80,9 +80,10 @@ export interface Chart { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts index ffe7a6b2ece..58e5767a860 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts @@ -80,9 +80,10 @@ export interface Dashboard { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts index 6f4c210ef60..9c55c8b1a98 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts @@ -70,9 +70,10 @@ export interface Database { */ tables?: EntityReference[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts index 325422ce5c7..66ffd0ba87d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts @@ -72,9 +72,10 @@ export interface Location { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts index 264e5646133..cffc924cd0c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts @@ -64,9 +64,10 @@ export interface Metrics { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts index b9b1cb8f943..d580969f70f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts @@ -87,9 +87,10 @@ export interface Mlmodel { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts index b504e0ccc3d..37e1c15d74c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts @@ -92,9 +92,10 @@ export interface Pipeline { */ tasks?: Task[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/report.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/report.ts index 7b690f8792a..02dfaca6c23 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/report.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/report.ts @@ -59,9 +59,10 @@ export interface Report { */ service: EntityReference; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts index 1ef4d623807..71b49d05d9e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts @@ -110,9 +110,10 @@ export interface Table { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts index cbb8c222084..5df4daabe48 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts @@ -110,9 +110,10 @@ export interface Topic { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts index 700c476ace3..113a1d2b3e7 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts @@ -40,9 +40,9 @@ export interface Thread { id: string; posts: Post[]; /** - * Timestamp of the when the first post created the thread. + * Timestamp of the when the first post created the thread in Unix epoch time milliseconds. */ - threadTs?: Date; + threadTs?: number; } /** @@ -58,7 +58,7 @@ export interface Post { */ message: string; /** - * Timestamp of the post. + * Timestamp of the post in Unix epoch time milliseconds. */ - postTs?: Date; + postTs?: number; } diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts index b05a2c1b03a..b0e5d75b7ba 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts @@ -111,9 +111,10 @@ export interface Location { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ @@ -370,9 +371,10 @@ export interface StorageService { */ serviceType: StorageServiceType; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts index 242026b2ef2..9c59d2e961e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts @@ -61,9 +61,10 @@ export interface DashboardService { */ serviceType: DashboardServiceType; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts index 3dfceaf6cd7..fb47f717e9a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts @@ -59,9 +59,10 @@ export interface DatabaseService { */ serviceType: DatabaseServiceType; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts index b5da9256229..eac4d2bc93e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/messagingService.ts @@ -62,9 +62,10 @@ export interface MessagingService { */ serviceType: MessagingServiceType; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts index b2240335c40..65af9af7420 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts @@ -58,9 +58,10 @@ export interface PipelineService { */ serviceType?: PipelineServiceType; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts index dd73aa8081d..fe578a6fce0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts @@ -49,9 +49,10 @@ export interface StorageService { */ serviceType: StorageServiceType; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/tags/tagCategory.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/tags/tagCategory.ts index 9521faeb79c..15e0cc0c86b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/tags/tagCategory.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/tags/tagCategory.ts @@ -43,9 +43,10 @@ export interface TagCategory { href?: string; name: string; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ @@ -145,9 +146,10 @@ export interface TagClass { */ name: string; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts index 14eede1819b..4a3867d4030 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts @@ -39,9 +39,10 @@ export interface Role { id: string; name: string; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/team.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/team.ts index 292e38c5b2f..abc4cb16e5f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/team.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/team.ts @@ -48,9 +48,10 @@ export interface Team { */ profile?: Profile; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/user.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/user.ts index ea44f921b6f..fb98022334e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/user.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/user.ts @@ -80,9 +80,10 @@ export interface User { */ timezone?: string; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/operations/workflows/ingestion.ts b/openmetadata-ui/src/main/resources/ui/src/generated/operations/workflows/ingestion.ts index 1655099a59d..4328e60c0bb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/operations/workflows/ingestion.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/operations/workflows/ingestion.ts @@ -103,9 +103,10 @@ export interface Ingestion { */ tags?: TagLabel[]; /** - * Last update time corresponding to the new version of the entity. + * Last update time corresponding to the new version of the entity in Unix epoch time + * milliseconds. */ - updatedAt?: Date; + updatedAt?: number; /** * User who made the update. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/auditLog.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/auditLog.ts index 359a1b4cd98..1d5ea6826da 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/auditLog.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/auditLog.ts @@ -17,10 +17,6 @@ * API operations. */ export interface AuditLog { - /** - * Date when the API call is made. - */ - dateTime?: Date; /** * Identifier of entity that was modified by the operation. */ @@ -41,6 +37,11 @@ export interface AuditLog { * HTTP response code for the api requested. */ responseCode: number; + /** + * Timestamp when the API call is made in Unix epoch time milliseconds in Unix epoch time + * milliseconds. + */ + timestamp?: number; /** * Name of the user who made the API request. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/changeEvent.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/changeEvent.ts index 9da02a8834b..2dd1beb489c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/changeEvent.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/changeEvent.ts @@ -33,15 +33,15 @@ export interface ChangeEvent { * `currentVersion`. */ currentVersion?: number; - /** - * Date and time when the change was made. - */ - dateTime: Date; /** * For `eventType` `entityCreated`, this field captures JSON coded string of the entity * using the schema corresponding to `entityType`. */ entity?: any; + /** + * Fully Qualified Name of entity that was modified by the operation. + */ + entityFullyQualifiedName?: string; /** * Identifier of entity that was modified by the operation. */ @@ -57,6 +57,10 @@ export interface ChangeEvent { * `currentVersion`. */ previousVersion?: number; + /** + * Timestamp when the change was made in Unix epoch time milliseconds. + */ + timestamp: number; /** * Name of the user whose activity resulted in the change. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts new file mode 100644 index 00000000000..68112a43b78 --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts @@ -0,0 +1,23 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* + * Copyright 2021 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 + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * GET entity by id, GET entity by name, and LIST entities can include deleted or + * non-deleted entities using the parameter include + */ +export enum Include { + All = 'all', + Deleted = 'deleted', + NonDeleted = 'non-deleted', +}