Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
2b76f54408 | |||
64561ab878 | |||
8bb8574da7 | |||
6a5ecfcb19 | |||
9a1c79c5de | |||
1da9d73e5a | |||
75173b1b37 | |||
e826047b9c | |||
dd39b5d2ce | |||
ab24929c6c | |||
5da0b73a9d | |||
73e10fc59b | |||
a2e8b41042 | |||
a0ff9427cb | |||
e37485adbd | |||
e1592f322c | |||
6604a58885 | |||
312b6d0e67 | |||
3565360610 | |||
f71b131d8d | |||
a1638ff3fd | |||
6b56a605fa | |||
2042e3c08a | |||
ac15227a94 | |||
85adcbdba4 | |||
0ed11287eb | |||
6b88e2632c | |||
d017888b3c | |||
7ad6e75fb0 | |||
50f8dffe97 |
@ -4,7 +4,7 @@ image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
|||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .npmci_cache/
|
- .npmci_cache/
|
||||||
key: "$CI_BUILD_STAGE"
|
key: '$CI_BUILD_STAGE'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- security
|
- security
|
||||||
@ -20,17 +20,19 @@ mirror:
|
|||||||
script:
|
script:
|
||||||
- npmci git mirror
|
- npmci git mirror
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
snyk:
|
snyk:
|
||||||
|
image: registry.gitlab.com/hosttoday/ht-docker-node:snyk
|
||||||
stage: security
|
stage: security
|
||||||
script:
|
script:
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci command npm install -g snyk
|
|
||||||
- npmci command npm install --ignore-scripts
|
- npmci command npm install --ignore-scripts
|
||||||
- npmci command snyk test
|
- npmci command snyk test
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
@ -38,38 +40,41 @@ snyk:
|
|||||||
# test stage
|
# test stage
|
||||||
# ====================
|
# ====================
|
||||||
|
|
||||||
testLTS:
|
testStable:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci node install lts
|
- npmci node install stable
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
- npmci npm test
|
- npmci npm test
|
||||||
coverage: /\d+.?\d+?\%\s*coverage/
|
coverage: /\d+.?\d+?\%\s*coverage/
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- priv
|
||||||
|
|
||||||
testBuild:
|
testBuild:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci node install lts
|
- npmci node install stable
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
- npmci command npm run build
|
- npmci command npm run build
|
||||||
coverage: /\d+.?\d+?\%\s*coverage/
|
coverage: /\d+.?\d+?\%\s*coverage/
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
- npmci node install lts
|
- npmci node install stable
|
||||||
- npmci npm publish
|
- npmci npm publish
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
@ -81,9 +86,11 @@ codequality:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
- npmci command npm install -g tslint typescript
|
- npmci command npm install -g tslint typescript
|
||||||
|
- npmci npm prepare
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
- npmci command "tslint -c tslint.json ./ts/**/*.ts"
|
- npmci command "tslint -c tslint.json ./ts/**/*.ts"
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- priv
|
- priv
|
||||||
|
|
||||||
@ -94,18 +101,20 @@ trigger:
|
|||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
image: hosttoday/ht-docker-node:npmci
|
|
||||||
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
|
||||||
- npmci command tsdoc
|
- npmci command tsdoc
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
only:
|
only:
|
||||||
|
64
README.md
64
README.md
@ -1,64 +0,0 @@
|
|||||||
# @tsclass/tsclass
|
|
||||||
common classes for TypeScript
|
|
||||||
|
|
||||||
## Availabililty and Links
|
|
||||||
* [npmjs.org (npm package)](https://www.npmjs.com/package/@tsclass/tsclass)
|
|
||||||
* [gitlab.com (source)](https://gitlab.com/tsclass/tsclass)
|
|
||||||
* [github.com (source mirror)](https://github.com/tsclass/tsclass)
|
|
||||||
* [docs (typedoc)](https://tsclass.gitlab.io/tsclass/)
|
|
||||||
|
|
||||||
## Status for master
|
|
||||||
[](https://gitlab.com/tsclass/tsclass/commits/master)
|
|
||||||
[](https://gitlab.com/tsclass/tsclass/commits/master)
|
|
||||||
[](https://www.npmjs.com/package/@tsclass/tsclass)
|
|
||||||
[](https://snyk.io/test/npm/@tsclass/tsclass)
|
|
||||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
||||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
||||||
[](https://prettier.io/)
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
Use TypeScript for best in class instellisense.
|
|
||||||
|
|
||||||
tsclass exposes many commonly used objects as interface to implement (-> extends keyword) by individual implementations.
|
|
||||||
They come complete with best in class intellisense and are easy to require.
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import { IInvoice } from 'tsclass';
|
|
||||||
|
|
||||||
class myOwnInvoice implements IInvoice {
|
|
||||||
constructor() {
|
|
||||||
super(); // you need to call super() in the constructor
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Time/Date
|
|
||||||
|
|
||||||
- Date
|
|
||||||
- Time
|
|
||||||
|
|
||||||
### Publications/Websites/Blogs
|
|
||||||
|
|
||||||
- Article
|
|
||||||
- Author
|
|
||||||
|
|
||||||
### Finance
|
|
||||||
|
|
||||||
- Invoice
|
|
||||||
|
|
||||||
> The modules in bold letters exist as own modules and can be used seperately
|
|
||||||
|
|
||||||
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.html)
|
|
||||||
|
|
||||||
[](https://push.rocks)
|
|
||||||
|
|
||||||
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.html)
|
|
||||||
|
|
||||||
[](https://maintainedby.lossless.com)
|
|
2184
package-lock.json
generated
2184
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "2.0.1",
|
"version": "3.0.2",
|
||||||
"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,19 +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.11",
|
"@gitzone/tsbuild": "^2.1.17",
|
||||||
"@gitzone/tsrun": "^1.2.6",
|
"@gitzone/tsrun": "^1.2.8",
|
||||||
"tslint": "^5.18.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/**/*",
|
||||||
"assets/*",
|
"dist_ts_web/**/*",
|
||||||
|
"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.business.IContact;
|
||||||
|
});
|
||||||
|
|
||||||
|
tap.start();
|
@ -1,3 +0,0 @@
|
|||||||
import * as tsclass from '../ts/index';
|
|
||||||
|
|
||||||
let contact: tsclass.IContact;
|
|
@ -1,5 +1,4 @@
|
|||||||
import { IContact } from '..';
|
import { business, general } from '..';
|
||||||
import { IDate } from '..';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* describes a company's lifecycle state
|
* describes a company's lifecycle state
|
||||||
@ -11,7 +10,8 @@ export type TCompanyStatus = 'planed' | 'founding' | 'active' | 'liquidation' |
|
|||||||
*/
|
*/
|
||||||
export interface ICompany {
|
export interface ICompany {
|
||||||
name: string;
|
name: string;
|
||||||
foundedDate: IDate;
|
foundedDate: general.IDate;
|
||||||
closedDate: IDate;
|
closedDate: general.IDate;
|
||||||
status: TCompanyStatus;
|
status: business.TCompanyStatus;
|
||||||
|
contact: business.IContact;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IAddress } from '..';
|
import { business } from '..';
|
||||||
|
|
||||||
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
||||||
|
|
||||||
@ -16,12 +16,13 @@ export interface IContact {
|
|||||||
name: string;
|
name: string;
|
||||||
surname?: string;
|
surname?: string;
|
||||||
legalEntity?: string;
|
legalEntity?: string;
|
||||||
address: IAddress;
|
address: business.IAddress;
|
||||||
description: string;
|
description: string;
|
||||||
customerNumber?: string;
|
customerNumber?: string;
|
||||||
|
|
||||||
email?: string;
|
email?: string;
|
||||||
phone?: string;
|
phone?: string;
|
||||||
|
fax?: string;
|
||||||
|
|
||||||
// =========
|
// =========
|
||||||
// financial
|
// financial
|
||||||
|
4
ts/business/index.ts
Normal file
4
ts/business/index.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export * from './address';
|
||||||
|
export * from './company';
|
||||||
|
export * from './contact';
|
||||||
|
export * from './person';
|
6
ts/business/person.ts
Normal file
6
ts/business/person.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export interface IPerson {
|
||||||
|
title: string;
|
||||||
|
name: string;
|
||||||
|
surname: string;
|
||||||
|
sex: 'male' | 'female' | 'queer';
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
import { IAuthor } from '..';
|
import { content } from '..';
|
||||||
|
|
||||||
export interface IArticle {
|
export interface IArticle {
|
||||||
/**
|
/**
|
||||||
@ -9,7 +9,7 @@ export interface IArticle {
|
|||||||
/**
|
/**
|
||||||
* the Author of an article
|
* the Author of an article
|
||||||
*/
|
*/
|
||||||
author: IAuthor;
|
author: content.IAuthor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the content of an article
|
* the content of an article
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { IDate } from '..';
|
import { general, content } from '..';
|
||||||
import { IArticle } from '..';
|
|
||||||
|
|
||||||
export interface IAuthor {
|
export interface IAuthor {
|
||||||
/**
|
/**
|
||||||
@ -15,10 +14,10 @@ export interface IAuthor {
|
|||||||
/**
|
/**
|
||||||
* the birthday of an author
|
* the birthday of an author
|
||||||
*/
|
*/
|
||||||
birthday: IDate;
|
birthday: general.IDate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* articles of an author
|
* articles of an author
|
||||||
*/
|
*/
|
||||||
articles: IArticle[];
|
articles: content.IArticle[];
|
||||||
}
|
}
|
||||||
|
2
ts/content/index.ts
Normal file
2
ts/content/index.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export * from './article';
|
||||||
|
export * from './author';
|
10
ts/events/contractevent.ts
Normal file
10
ts/events/contractevent.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* a constract event describes any kind of sale
|
||||||
|
*/
|
||||||
|
export interface IEvent_Contract {
|
||||||
|
contractId: string;
|
||||||
|
date: number;
|
||||||
|
enddate: number;
|
||||||
|
product: string;
|
||||||
|
type: 'single purchase' | 'subscription' | 'canceled';
|
||||||
|
}
|
6
ts/events/index.ts
Normal file
6
ts/events/index.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export * from './contractevent';
|
||||||
|
export * from './moneyevent';
|
||||||
|
export * from './releaseevent';
|
||||||
|
export * from './requestevent';
|
||||||
|
export * from './sessionevent';
|
||||||
|
export * from './userevent';
|
6
ts/events/moneyevent.ts
Normal file
6
ts/events/moneyevent.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export interface IEvent_Money {
|
||||||
|
transferId: string;
|
||||||
|
valueInEuro: number;
|
||||||
|
channel: 'sepa' | 'creditcard' | 'paypal' | 'cardano';
|
||||||
|
direction: 'internal' | 'outgoing' | 'incoming';
|
||||||
|
}
|
6
ts/events/releaseevent.ts
Normal file
6
ts/events/releaseevent.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export interface IEvent_Release {
|
||||||
|
releaseType: 'Apple App Store' | 'Google Play' | 'npm package' | 'dockerimage';
|
||||||
|
dockerImageUrl: string;
|
||||||
|
npmPackageUrl: string;
|
||||||
|
appleAppStoreIdentifier: string;
|
||||||
|
}
|
5
ts/events/requestevent.ts
Normal file
5
ts/events/requestevent.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export interface IEvent_Request {
|
||||||
|
httpMethod: string;
|
||||||
|
httpRoute: string;
|
||||||
|
durationToResponse: number;
|
||||||
|
}
|
4
ts/events/sessionevent.ts
Normal file
4
ts/events/sessionevent.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface IEvent_Session {
|
||||||
|
userID: string;
|
||||||
|
sessionType: 'new' | 'reactivated';
|
||||||
|
}
|
1
ts/events/userevent.ts
Normal file
1
ts/events/userevent.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export interface IEvent_User {}
|
@ -1,8 +1,7 @@
|
|||||||
import { TCurrency } from './currency';
|
import { finance } from '../';
|
||||||
import { ITransaction } from './transaction';
|
|
||||||
|
|
||||||
export interface ICheckingAccount {
|
export interface ICheckingAccount {
|
||||||
name: string;
|
name: string;
|
||||||
currency: TCurrency;
|
currency: finance.TCurrency;
|
||||||
transactions: ITransaction[];
|
transactions: finance.ITransaction[];
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { IInvoice } from './invoice';
|
import { business } from '../';
|
||||||
import { IContact } from '../business/contact';
|
|
||||||
|
|
||||||
export interface IExpenseItem {
|
export interface IExpenseItem {
|
||||||
description: string;
|
description: string;
|
||||||
@ -14,5 +13,5 @@ export interface IVoucher {
|
|||||||
date: Date;
|
date: Date;
|
||||||
description: string;
|
description: string;
|
||||||
expenseItems: IExpenseItem[];
|
expenseItems: IExpenseItem[];
|
||||||
contactRef: IContact;
|
contactRef: business.IContact;
|
||||||
}
|
}
|
||||||
|
5
ts/finance/index.ts
Normal file
5
ts/finance/index.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export * from './checkingaccount';
|
||||||
|
export * from './currency';
|
||||||
|
export * from './expense';
|
||||||
|
export * from './invoice';
|
||||||
|
export * from './transaction';
|
@ -1,4 +1,4 @@
|
|||||||
import { IContact } from '..';
|
import { business } from '..';
|
||||||
|
|
||||||
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
||||||
|
|
||||||
@ -10,8 +10,8 @@ export interface IInvoiceItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface IInvoice {
|
export interface IInvoice {
|
||||||
billedBy: IContact;
|
billedBy: business.IContact;
|
||||||
billedTo: IContact;
|
billedTo: business.IContact;
|
||||||
status: TInvoiceStatus;
|
status: TInvoiceStatus;
|
||||||
items: IInvoiceItem[];
|
items: IInvoiceItem[];
|
||||||
}
|
}
|
||||||
|
2
ts/general/index.ts
Normal file
2
ts/general/index.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export * from './date';
|
||||||
|
export * from './time';
|
24
ts/index.ts
24
ts/index.ts
@ -1,22 +1,16 @@
|
|||||||
// Business
|
// Business
|
||||||
export * from './business/address';
|
import * as business from './business';
|
||||||
export * from './business/company';
|
|
||||||
export * from './business/contact';
|
|
||||||
|
|
||||||
// Finance
|
// Finance
|
||||||
export * from './finance/checkingaccount';
|
import * as finance from './finance';
|
||||||
export * from './finance/currency';
|
|
||||||
export * from './finance/expense';
|
|
||||||
export * from './finance/invoice';
|
|
||||||
export * from './finance/transaction';
|
|
||||||
|
|
||||||
// Cloud
|
|
||||||
export * from './cloud/dns';
|
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
export * from './content/article';
|
import * as content from './content';
|
||||||
export * from './content/author';
|
|
||||||
|
|
||||||
// General
|
// General
|
||||||
export * from './general/date';
|
import * as general from './general';
|
||||||
export * from './general/time';
|
|
||||||
|
// Network
|
||||||
|
import * as network from './network';
|
||||||
|
|
||||||
|
export { business, finance, content, general, network };
|
||||||
|
8
ts/network/cert.ts
Normal file
8
ts/network/cert.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export interface ICert {
|
||||||
|
id: string;
|
||||||
|
domainName: string;
|
||||||
|
created: number;
|
||||||
|
privateKey: string;
|
||||||
|
publicKey: string;
|
||||||
|
csr: string;
|
||||||
|
}
|
4
ts/network/index.ts
Normal file
4
ts/network/index.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export * from './cert';
|
||||||
|
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';
|
||||||
|
}
|
12
ts/network/reverseproxy.ts
Normal file
12
ts/network/reverseproxy.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
export interface IReverseProxyConfig {
|
||||||
|
destinationIp: string;
|
||||||
|
destinationPort: string;
|
||||||
|
hostName: string;
|
||||||
|
privateKey: string;
|
||||||
|
publicKey: string;
|
||||||
|
authentication?: {
|
||||||
|
type: 'Basic';
|
||||||
|
user: string;
|
||||||
|
pass: string;
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user