Module Update
This commit is contained in:
6
src/shared/types/action-state.ts
Normal file
6
src/shared/types/action-state.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export type ActionState<T = void> = {
|
||||
success: boolean;
|
||||
message?: string;
|
||||
errors?: Record<string, string[]>;
|
||||
data?: T;
|
||||
};
|
||||
Reference in New Issue
Block a user