@geeesy/type-interfaces
v10.18.3
Published
Geeesy's API Interfaces for HTTP Client and Lambda Functions
Downloads
283
Readme
@Geeesy/type-interfaces
Geeesy's API Interfaces for HTTP Client and Lambda Functions
Installation
npm install @geeesy/type-interfaces
Usage
Enum
import { EnumStatus } from '@geeesy/type-interfaces'
status = Enum.StatusApprovalFlow.Approved
Marketplace
Lambda Function
import { GeeesyMarketplace } from '@geeesy/type-interfaces'
const foo: GeeesyMarketplace.IResponse = {
// implement all members
}
Angular Service
import and use in a simple data service
import { GeeesyMarketplace } from '@geeesy/type-interfaces'
// ...
export class AnyService {
items;
constructor(private http: HttpClient) {
const API_URI = 'https://api.xxx.com/xxx';
this.items = this.http.get<GeeesyMarketplace.IResponse>(API_URI)
.pipe(
map(results => results.data)
)
}
// ...
}
NPM VERSION (SEMVER on commit)
majorWords: [ 'BREAKING CHANGE', 'major' ]
minorWords: [ 'feat', 'minor' ]
patchWords: null
preReleaseWords: [ 'pre-alpha', 'pre-beta', 'pre-rc' ]
check bump to 9.29.15
check pr
check github 3-27