blob: a13078c4ddd2dbd40af52613d99f50647113eb3f [file] [log] [blame]
/********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
import {createAction, props} from "@ngrx/store";
import {IAPIStatementModel} from "../../../core/api";
import {IStatementEntity} from "../model";
export const fetchStatementDetailsAction = createAction(
"[Details/Edit] Fetch statement's details",
props<{ statementId: number; withoutConfiguration?: boolean }>()
);
export const updateStatementEntityAction = createAction(
"[API] Update statement entity",
props<{ statementId: number, entity: IStatementEntity }>()
);
export const updateStatementInfoAction = createAction(
"[API] Update statement info",
props<{ items: IAPIStatementModel[] }>()
);