4 import {ArtifactModel} from "../../../models/artifacts";
6 export class GetInstanceArtifactsByTypeAction {
7 static readonly type = '[INSTANCE_ARTIFACTS] GetInstanceArtifactsByTypeAction';
9 constructor(public payload: { componentType: string, componentId: string, artifactType: string, instanceId: string }) {
13 export class CreateInstanceArtifactAction {
14 static readonly type = '[INSTANCE_ARTIFACTS] CreateInstanceArtifactAction';
16 constructor(public payload: { componentType: string, componentId: string, instanceId: string, artifact: ArtifactModel }) {
20 export class UpdateInstanceArtifactAction {
21 static readonly type = '[INSTANCE_ARTIFACTS] UpdateInstanceArtifactAction';
23 constructor(public payload: { componentType: string, componentId: string, instanceId: string, artifact: ArtifactModel }) {
27 export class DeleteInstanceArtifactAction {
28 static readonly type = '[INSTANCE_ARTIFACTS] DeleteInstanceArtifactAction';
30 constructor(public payload: { componentType: string, componentId: string, instanceId: string, artifact: ArtifactModel }) {