import {createActionGroup, props} from "@ngrx/store";

export const fromListsPage = createActionGroup({
    source: 'ListsPage',
    events: {
        'Create List': props<{ title: string }>(),
        'Update List': props<{ listId: string, newTitle: string }>(),
    },
});
