chore: added some test for checking that the workflow passes through the user

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-05-04 14:42:33 +02:00
parent d06a045a68
commit 277634feb0
3 changed files with 47 additions and 104 deletions
+14
View File
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import { UserEntity } from '@backstage/catalog-model';
import { JsonValue, JsonObject } from '@backstage/types';
/**
@@ -91,6 +92,19 @@ export interface TaskSpecV1beta3 {
* Some information about the template that is stored on the task spec.
*/
templateInfo?: TemplateInfo;
/**
* Some decoration of the author of the task that should be available in the context
*/
user?: {
/**
* The decorated entity from the Catalog
*/
entity?: UserEntity;
/**
* An entity ref for the author of the task
*/
ref?: string;
};
}
/**