diff --git a/api/api.v b/api/api.v index b172732a..f0c6d9cc 100644 --- a/api/api.v +++ b/api/api.v @@ -1,16 +1,19 @@ module api pub struct ApiErrorResponse { +pub: success bool message string } pub struct ApiResponse { +pub: success bool message string } pub struct ApiSuccessResponse[T] { +pub: success bool result T }