refactor(data): move Result utility to utils and simplify API
Relocate the Result type from `@/data/result` to `@/utils/result` and replace the discriminated-union API (`kind`/`value`) with a simpler boolean-based API (`success`/`data`) across all repositories and storage classes for improved readability and consistency.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
export * from "./auth_storage";
|
||||
export * from "./local_storage";
|
||||
export * from "./result";
|
||||
export * from "@/utils/result";
|
||||
export * from "./storage_keys";
|
||||
export * from "./app/app_storage";
|
||||
export * from "./auth/auth_storage";
|
||||
|
||||
Reference in New Issue
Block a user