Compare commits

...

6 Commits

Author SHA1 Message Date
3e3b955f04 1.0.8 2019-09-24 18:40:38 +02:00
d9326300b0 fix(core): update 2019-09-24 18:40:37 +02:00
b9b80d1078 1.0.7 2019-08-23 17:01:36 +02:00
bfc8541a03 1.0.6 2019-08-23 16:59:34 +02:00
5c5b59b510 update 2019-08-23 16:59:31 +02:00
f8a06daee7 new version 2019-08-23 16:57:45 +02:00
8 changed files with 51 additions and 14 deletions

View File

@ -40,11 +40,11 @@ snyk:
# test stage
# ====================
testLTS:
testStable:
stage: test
script:
- npmci npm prepare
- npmci node install lts
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/

View File

@ -14,4 +14,4 @@
"npmGlobalTools": [],
"npmAccessLevel": "public"
}
}
}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedrequest-interfaces",
"version": "1.0.5",
"version": "1.0.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedrequest-interfaces",
"version": "1.0.5",
"version": "1.0.8",
"private": false,
"description": "interfaces for making typed requests",
"main": "dist/index.js",
@ -20,5 +20,16 @@
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0"
},
"dependencies": {}
"dependencies": {},
"files": [
"ts/*",
"ts_web/*",
"dist/*",
"dist_web/*",
"dist_ts_web/*",
"assets/*",
"cli.js",
"npmextra.json",
"readme.md"
]
}

26
readme.md Normal file
View File

@ -0,0 +1,26 @@
# @apiglobal/typedrequest-interfaces
interfaces for making typed requests
## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@apiglobal/typedrequest-interfaces)
* [gitlab.com (source)](https://gitlab.com/apiglobal/typedrequest-interfaces)
* [github.com (source mirror)](https://github.com/apiglobal/typedrequest-interfaces)
* [docs (typedoc)](https://apiglobal.gitlab.io/typedrequest-interfaces/)
## Status for master
[![build status](https://gitlab.com/apiglobal/typedrequest-interfaces/badges/master/build.svg)](https://gitlab.com/apiglobal/typedrequest-interfaces/commits/master)
[![coverage report](https://gitlab.com/apiglobal/typedrequest-interfaces/badges/master/coverage.svg)](https://gitlab.com/apiglobal/typedrequest-interfaces/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/@apiglobal/typedrequest-interfaces.svg)](https://www.npmjs.com/package/@apiglobal/typedrequest-interfaces)
[![Known Vulnerabilities](https://snyk.io/test/npm/@apiglobal/typedrequest-interfaces/badge.svg)](https://snyk.io/test/npm/@apiglobal/typedrequest-interfaces)
[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/)
## Usage
For further information read the linked docs at the top of this readme.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com)

View File

@ -2,7 +2,7 @@ import { expect, tap } from '@pushrocks/tapbundle';
import * as typedrequestInterfaces from '../ts/index';
tap.test('first test', async () => {
typedrequestInterfaces;
});
tap.start();

View File

@ -1,7 +1,11 @@
import * as plugins from './typedrequest-interfaces.plugins';
export interface ITypedRequest {
method: string;
request: object;
response: object;
}
}
export interface IBroadCastEvent<T> {
broadcastMessage: string;
uniqueEventId: string;
payload: T;
}

View File

@ -1,4 +0,0 @@
const removeme = {};
export {
removeme
}