binhonglee/GlobeTrotte

View on GitHub
src/wings/struct/registration_response.wings

Summary

Maintainability
Test Coverage
go-filepath src/turbine/user
ts-filepath src/cockpit/wings

import src/wings/enum/registration_error.wings
import src/wings/struct/user_obj.wings
ts-import { IWingsStruct }:wings-ts-util

ts-implement IWingsStruct

# Response for registration attempt

struct RegistrationResponse {
  error RegistrationError RegistrationError.InvalidType
  user  UserObj
}