1.1.4 • Published 2 years ago

@universis/changelog v1.1.4

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
gitlab
Last release
2 years ago

@universis/changelog

Universis api server versioning service

@universis/changelog provides a low-level infrastructure for versioning data of any kind.

Usage

npm i @universis/changelog

Register @universis/changelog#VersioningService under services section of application configuration:

{
    "services": {
        ...,
        {
            "serviceType": "@universis/changelog#VersioningService"
        }
    }
}

Every data model may have versioning attribute which indicates whether a new version of data will be stored after any CRUD operation or not.

{
    "name": "Student",
    ...,
    "versioning": true
}

e.g. Student model has versioning enabled. This operation will include automatically StudentRevision model which is intended to be used for storing student record revisions and PersonSnapshot which is a snapshot of Person model -Person has an one-to-one association with Student-.

1.1.4

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.3

2 years ago

1.1.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago