Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
4f62bfb622 | |||
5f00526a7c | |||
0c1b9b3345 | |||
b32d64e5f2 | |||
8342460c65 | |||
363142392b | |||
390ee5edb7 | |||
35341c49ab |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "3.0.3",
|
"version": "3.0.7",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "3.0.3",
|
"version": "3.0.7",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -2,6 +2,7 @@ export interface ICert {
|
|||||||
id: string;
|
id: string;
|
||||||
domainName: string;
|
domainName: string;
|
||||||
created: number;
|
created: number;
|
||||||
|
validUntil: number;
|
||||||
privateKey: string;
|
privateKey: string;
|
||||||
publicKey: string;
|
publicKey: string;
|
||||||
csr: string;
|
csr: string;
|
||||||
|
@ -1 +1,20 @@
|
|||||||
export type TDnsRecord = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'SRV' | 'LOC' | 'MX' | 'NS' | 'SPF';
|
export type TDnsRecordType =
|
||||||
|
| 'A'
|
||||||
|
| 'AAAA'
|
||||||
|
| 'CNAME'
|
||||||
|
| 'LOC'
|
||||||
|
| 'PTR'
|
||||||
|
| 'MX'
|
||||||
|
| 'NAPTR'
|
||||||
|
| 'NS'
|
||||||
|
| 'SOA'
|
||||||
|
| 'SPF'
|
||||||
|
| 'SRV'
|
||||||
|
| 'TXT';
|
||||||
|
|
||||||
|
export interface IDnsRecord {
|
||||||
|
name: string;
|
||||||
|
type: TDnsRecordType;
|
||||||
|
value: string;
|
||||||
|
dnsSecEnabled: boolean;
|
||||||
|
}
|
||||||
|
4
ts/network/dnschallenge.ts
Normal file
4
ts/network/dnschallenge.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface IDnsChallenge {
|
||||||
|
hostName: string;
|
||||||
|
challenge: string;
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
export * from './cert';
|
export * from './cert';
|
||||||
export * from './dns';
|
export * from './dns';
|
||||||
|
export * from './dnschallenge';
|
||||||
export * from './networknode';
|
export * from './networknode';
|
||||||
export * from './reverseproxy';
|
export * from './reverseproxy';
|
||||||
|
Reference in New Issue
Block a user