api-tools-0.8.0.1: DSL for generating API boilerplate and docs

Safe HaskellNone
LanguageHaskell2010

Data.API.Changes.Types

Contents

Synopsis

Changelog representation

data APIChangelog Source #

An API changelog, consisting of a list of versions with the changes from one version to the next. The versions must be in descending order (according to the Ord Version instance).

Constructors

ChangesUpTo VersionExtra [APIChange] APIChangelog

The changes from the previous version up to this version.

ChangesStart Version

The initial version

type MigrationTag = String Source #

Within the changelog, custom migrations are represented as strings, so we have less type-safety.

data VersionExtra Source #

Represents either a released version (with a version number) or the version under development, which is newer than any release

Constructors

Release Version 
DevVersion 

data APITableChange Source #

Constructors

APIChange NormAPI APIChange (Map TypeName UpdateDeclPos)

An initial API, an APIChange and the positions in which to apply it

ValidateData NormAPI

Request to validate the dataset against the given API