mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-27 16:14:34 +00:00
remove extra assignees from workflow (#19030)
(cherry picked from commit 497b477be3d2064f29825891c1a6436dce83362e)
This commit is contained in:
parent
dabcf4fbc3
commit
49b2030ea8
@ -40,13 +40,6 @@
|
||||
"description": "Add the Reviewers to the assignees List.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"extraAssignees": {
|
||||
"description": "Manually add Specific Assignees.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../../type/entityReference.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,9 +10,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* Defines a Task for a given User to approve.
|
||||
*/
|
||||
export interface UserApprovalTask {
|
||||
@ -51,58 +49,5 @@ export interface Assignees {
|
||||
* Add the Reviewers to the assignees List.
|
||||
*/
|
||||
addReviewers?: boolean;
|
||||
/**
|
||||
* Manually add Specific Assignees.
|
||||
*/
|
||||
extraAssignees?: EntityReference[];
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* This schema defines the EntityReference type used for referencing an entity.
|
||||
* EntityReference is used for capturing relationships from one entity to another. For
|
||||
* example, a table has an attribute called database of type EntityReference that captures
|
||||
* the relationship of a table `belongs to a` database.
|
||||
*/
|
||||
export interface EntityReference {
|
||||
/**
|
||||
* If true the entity referred to has been soft-deleted.
|
||||
*/
|
||||
deleted?: boolean;
|
||||
/**
|
||||
* Optional description of entity.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Display Name that identifies this entity.
|
||||
*/
|
||||
displayName?: string;
|
||||
/**
|
||||
* Fully qualified name of the entity instance. For entities such as tables, databases
|
||||
* fullyQualifiedName is returned in this field. For entities that don't have name hierarchy
|
||||
* such as `user` and `team` this will be same as the `name` field.
|
||||
*/
|
||||
fullyQualifiedName?: string;
|
||||
/**
|
||||
* Link to the entity resource.
|
||||
*/
|
||||
href?: string;
|
||||
/**
|
||||
* Unique identifier that identifies an entity instance.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* If true the relationship indicated by this entity reference is inherited from the parent
|
||||
* entity.
|
||||
*/
|
||||
inherited?: boolean;
|
||||
/**
|
||||
* Name of the entity instance.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`,
|
||||
* `dashboardService`...
|
||||
*/
|
||||
type: string;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user