Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
75173b1b37 | |||
e826047b9c | |||
dd39b5d2ce | |||
ab24929c6c | |||
5da0b73a9d | |||
73e10fc59b | |||
a2e8b41042 | |||
a0ff9427cb | |||
e37485adbd | |||
e1592f322c |
@ -99,11 +99,9 @@ trigger:
|
|||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
image: hosttoday/ht-docker-dbase:npmci
|
|
||||||
services:
|
|
||||||
- docker:stable-dind
|
|
||||||
stage: metadata
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
|
- npmci node install lts
|
||||||
- npmci command npm install -g @gitzone/tsdoc
|
- npmci command npm install -g @gitzone/tsdoc
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
|
2119
package-lock.json
generated
2119
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
23
package.json
23
package.json
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "2.0.8",
|
"version": "2.0.13",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tsrun test/test.ts",
|
"test": "tstest test/",
|
||||||
"build": "tsbuild"
|
"build": "tsbuild"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -23,20 +23,23 @@
|
|||||||
"url": "https://github.com/tsclass/tsclass/issues"
|
"url": "https://github.com/tsclass/tsclass/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/tsclass/tsclass#readme",
|
"homepage": "https://github.com/tsclass/tsclass#readme",
|
||||||
"dependencies": {},
|
"dependencies": {
|
||||||
|
"@pushrocks/tapbundle": "^3.0.13"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.17",
|
"@gitzone/tsbuild": "^2.1.17",
|
||||||
"@gitzone/tsrun": "^1.2.8",
|
"@gitzone/tsrun": "^1.2.8",
|
||||||
"tslint": "^5.19.0",
|
"@gitzone/tstest": "^1.0.27",
|
||||||
|
"tslint": "^5.20.0",
|
||||||
"tslint-config-prettier": "^1.18.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/*",
|
"ts/**/*",
|
||||||
"ts_web/*",
|
"ts_web/**/*",
|
||||||
"dist/*",
|
"dist/**/*",
|
||||||
"dist_web/*",
|
"dist_web/**/*",
|
||||||
"dist_ts_web/*",
|
"dist_ts_web/**/*",
|
||||||
"assets/*",
|
"assets/**/*",
|
||||||
"cli.js",
|
"cli.js",
|
||||||
"npmextra.json",
|
"npmextra.json",
|
||||||
"readme.md"
|
"readme.md"
|
||||||
|
9
test/test.node.ts
Normal file
9
test/test.node.ts
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import { tap, expect } from '@pushrocks/tapbundle';
|
||||||
|
|
||||||
|
import * as tsclass from '../ts/index';
|
||||||
|
|
||||||
|
tap.test('should assign a correct type', async () => {
|
||||||
|
let contact: tsclass.IContact;
|
||||||
|
});
|
||||||
|
|
||||||
|
tap.start();
|
@ -1,3 +0,0 @@
|
|||||||
import * as tsclass from '../ts/index';
|
|
||||||
|
|
||||||
let contact: tsclass.IContact;
|
|
@ -1,3 +1,4 @@
|
|||||||
export * from './address';
|
export * from './address';
|
||||||
export * from './company';
|
export * from './company';
|
||||||
export * from './contact';
|
export * from './contact';
|
||||||
|
export * from './person';
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
export * from './reverseproxy';
|
|
||||||
export * from './dns';
|
export * from './dns';
|
||||||
|
export * from './networknode';
|
||||||
|
export * from './reverseproxy';
|
||||||
|
6
ts/network/networknode.ts
Normal file
6
ts/network/networknode.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export interface INetworkNode {
|
||||||
|
name: string;
|
||||||
|
ipv4: string;
|
||||||
|
ipv6: string;
|
||||||
|
securityLevel: 'private' | 'public' | 'confidential';
|
||||||
|
}
|
@ -4,4 +4,9 @@ export interface IReverseProxyConfig {
|
|||||||
hostName: string;
|
hostName: string;
|
||||||
privateKey: string;
|
privateKey: string;
|
||||||
publicKey: string;
|
publicKey: string;
|
||||||
|
authentication?: {
|
||||||
|
type: 'Basic';
|
||||||
|
user: string;
|
||||||
|
pass: string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user