@greenchic/interfaces
v2.1.3
Published
greenchic interfaces for api/frontend communication
Downloads
8
Readme
Global Utils Interfaces
interfaces shared between serverless cloud microservices and typescript-based clients
Usage
To install the project, you should simply add as a npm
package
npm i -S @greenchic/interfaces
To use, simply import
import {MessageCodes} from "@greenchic/interfaces";
and then use freely
Definition
TODO: add better definitions
MessageCodes
Global Message Codes
ResponseInterface
The generic Response interface shared between the cloud backend and the frontend
Releasing a new version
Releasing a version is handled by node npm
.
This is the formalism, based on npm version
v1.2.3
where
v
is mandatory, since it's also generated automatically in minor releases1
is the major release2
is the minor release3
is the patch number
Simply use npm version major|minor|patch
according to your needs.
Keep in mind that the npm version patch
is handled automatically each push