Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

stelaris_models

Shared API models for the Stelaris frontend, extracted from the app so they can be reused and versioned independently.

Code generation

Models use freezed and json_serializable. The generated .freezed.dart and .g.dart files are committed to this repository on purpose: consumers pull this package as a git: dependency and never run codegen themselves, so the generated output has to already be present in the tree.

If you edit any model, regenerate before committing:

flutter pub run build_runner build --delete-conflicting-outputs

Plain dart run build_runner build --delete-conflicting-outputs won't resolve here since this package depends on the Flutter SDK; use flutter pub run as shown above.

Verify dart format --set-exit-if-changed lib is clean and tests pass before opening a PR.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages