domain/architecture/system/release/type.bend

near-v-framework@0.3.0.1 · 13 lines · 0 definitions

1import Base
2
3# A package on the Bend hub: its name, version (four numbers), entry file and the components it ships.
4type Package is Data:
5  Package{name: String, version: String, entry: String, components: List<&2, String>}
6
7# The system's repository on GitHub (owner/name), and whether it is public.
8type Repository is Data:
9  Repository{name: String, public: Bool}
10
11# What the system publishes.
12type Release is Data:
13  Release{repository: Repository, packages: List<&2, Package>}