Created
November 11, 2021 18:25
-
-
Save rainerhahnekamp/ca028bd9c816d37e0868208e11341f82 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const removed = createAction( | |
'[CUSTOMER] Removed', | |
props<{ customers: Customer[] }>() | |
); | |
// further actions (removed here for simplicity reasons) | |
export const CustomerActions = { | |
get, | |
load, | |
loaded, | |
add, | |
added, | |
update, | |
updated, | |
remove, | |
removed, | |
}; | |
export const PublicCustomerActions = { | |
get, | |
add, | |
update, | |
remove, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment