mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-24 05:58:31 +00:00
Update generated TypeScript types
This commit is contained in:
parent
9b1a068b00
commit
2de642f45f
@ -250,11 +250,10 @@ export interface TriggerConfiguration {
|
||||
*/
|
||||
exclude?: string[];
|
||||
/**
|
||||
* JSON Logic expression to determine if the workflow should be triggered. The expression
|
||||
* has access to: entity (current entity), changeDescription (what changed), updatedBy (user
|
||||
* who made the change), changedFields (array of field names that changed).
|
||||
* JSON Logic expression to determine if the workflow should be triggered. Can be a string
|
||||
* (applied to all entity types) or an object mapping entity types to their specific filters.
|
||||
*/
|
||||
filter?: string;
|
||||
filter?: FilterConditionObject | string;
|
||||
/**
|
||||
* Number of Entities to process at once.
|
||||
*/
|
||||
@ -278,6 +277,17 @@ export enum Event {
|
||||
Updated = "Updated",
|
||||
}
|
||||
|
||||
/**
|
||||
* Entity-specific filters with optional default
|
||||
*/
|
||||
export interface FilterConditionObject {
|
||||
/**
|
||||
* Default filter for entity types not explicitly configured
|
||||
*/
|
||||
default?: string;
|
||||
[property: string]: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Entity-specific filters with optional default
|
||||
*/
|
||||
|
||||
@ -42,11 +42,10 @@ export interface TriggerConfiguration {
|
||||
*/
|
||||
exclude?: string[];
|
||||
/**
|
||||
* JSON Logic expression to determine if the workflow should be triggered. The expression
|
||||
* has access to: entity (current entity), changeDescription (what changed), updatedBy (user
|
||||
* who made the change), changedFields (array of field names that changed).
|
||||
* JSON Logic expression to determine if the workflow should be triggered. Can be a string
|
||||
* (applied to all entity types) or an object mapping entity types to their specific filters.
|
||||
*/
|
||||
filter?: string;
|
||||
filter?: FilterConditionObject | string;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -56,3 +55,14 @@ export enum Event {
|
||||
Created = "Created",
|
||||
Updated = "Updated",
|
||||
}
|
||||
|
||||
/**
|
||||
* Entity-specific filters with optional default
|
||||
*/
|
||||
export interface FilterConditionObject {
|
||||
/**
|
||||
* Default filter for entity types not explicitly configured
|
||||
*/
|
||||
default?: string;
|
||||
[property: string]: string;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user