@bprotsyk/aso-core 1.2.181 → 1.2.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/models/domain.d.ts +6 -3
- package/lib/models/domain.js +2 -1
- package/package.json +1 -1
- package/src/models/domain.ts +4 -2
package/lib/models/domain.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { ICloudflareDomainType } from "models/cloudflare-domain";
|
|
|
26
26
|
import { Schema } from "mongoose";
|
|
27
27
|
export interface IDomain {
|
|
28
28
|
id: string;
|
|
29
|
+
namecheapId: string;
|
|
29
30
|
name: string;
|
|
30
31
|
status: DomainStatus;
|
|
31
32
|
paused: boolean;
|
|
@@ -35,7 +36,7 @@ export interface IDomain {
|
|
|
35
36
|
originalRegistrar: string | null;
|
|
36
37
|
originalDNSHost: string;
|
|
37
38
|
createdAt: number;
|
|
38
|
-
|
|
39
|
+
expiresAt: number;
|
|
39
40
|
ip: string;
|
|
40
41
|
subdomain: string | null;
|
|
41
42
|
txtRecords: string;
|
|
@@ -60,10 +61,11 @@ export declare const Domain: import("mongoose").Model<{
|
|
|
60
61
|
status?: string | undefined;
|
|
61
62
|
id?: string | undefined;
|
|
62
63
|
target?: string | undefined;
|
|
64
|
+
namecheapId?: string | undefined;
|
|
63
65
|
originalRegistrar?: string | undefined;
|
|
64
66
|
originalDNSHost?: string | undefined;
|
|
65
67
|
createdAt?: number | undefined;
|
|
66
|
-
|
|
68
|
+
expiresAt?: number | undefined;
|
|
67
69
|
ip?: string | undefined;
|
|
68
70
|
subdomain?: string | undefined;
|
|
69
71
|
}, {}, {}, {}, Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
@@ -76,10 +78,11 @@ export declare const Domain: import("mongoose").Model<{
|
|
|
76
78
|
status?: string | undefined;
|
|
77
79
|
id?: string | undefined;
|
|
78
80
|
target?: string | undefined;
|
|
81
|
+
namecheapId?: string | undefined;
|
|
79
82
|
originalRegistrar?: string | undefined;
|
|
80
83
|
originalDNSHost?: string | undefined;
|
|
81
84
|
createdAt?: number | undefined;
|
|
82
|
-
|
|
85
|
+
expiresAt?: number | undefined;
|
|
83
86
|
ip?: string | undefined;
|
|
84
87
|
subdomain?: string | undefined;
|
|
85
88
|
}>>;
|
package/lib/models/domain.js
CHANGED
|
@@ -15,6 +15,7 @@ var IDomainTarget;
|
|
|
15
15
|
})(IDomainTarget = exports.IDomainTarget || (exports.IDomainTarget = {}));
|
|
16
16
|
const domainSchema = new mongoose_1.Schema({
|
|
17
17
|
id: String,
|
|
18
|
+
namecheapId: String,
|
|
18
19
|
name: String,
|
|
19
20
|
status: String,
|
|
20
21
|
paused: Boolean,
|
|
@@ -24,7 +25,7 @@ const domainSchema = new mongoose_1.Schema({
|
|
|
24
25
|
originalRegistrar: String,
|
|
25
26
|
originalDNSHost: String,
|
|
26
27
|
createdAt: Number,
|
|
27
|
-
|
|
28
|
+
expiresAt: Number,
|
|
28
29
|
ip: String,
|
|
29
30
|
subdomain: String,
|
|
30
31
|
txtRecords: [String],
|
package/package.json
CHANGED
package/src/models/domain.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Schema, model } from "mongoose"
|
|
|
3
3
|
|
|
4
4
|
export interface IDomain {
|
|
5
5
|
id: string
|
|
6
|
+
namecheapId: string
|
|
6
7
|
name: string
|
|
7
8
|
status: DomainStatus
|
|
8
9
|
paused: boolean
|
|
@@ -12,7 +13,7 @@ export interface IDomain {
|
|
|
12
13
|
originalRegistrar: string | null
|
|
13
14
|
originalDNSHost: string
|
|
14
15
|
createdAt: number
|
|
15
|
-
|
|
16
|
+
expiresAt: number
|
|
16
17
|
|
|
17
18
|
ip: string
|
|
18
19
|
subdomain: string | null
|
|
@@ -33,6 +34,7 @@ export enum IDomainTarget {
|
|
|
33
34
|
|
|
34
35
|
const domainSchema = new Schema({
|
|
35
36
|
id: String,
|
|
37
|
+
namecheapId: String,
|
|
36
38
|
name: String,
|
|
37
39
|
status: String,
|
|
38
40
|
paused: Boolean,
|
|
@@ -42,7 +44,7 @@ const domainSchema = new Schema({
|
|
|
42
44
|
originalRegistrar: String,
|
|
43
45
|
originalDNSHost: String,
|
|
44
46
|
createdAt: Number,
|
|
45
|
-
|
|
47
|
+
expiresAt: Number,
|
|
46
48
|
ip: String,
|
|
47
49
|
subdomain: String,
|
|
48
50
|
txtRecords: [String],
|