@bprotsyk/aso-core 1.2.183 → 1.2.184

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.
@@ -29,6 +29,7 @@ export interface IDomain {
29
29
  namecheapId: string;
30
30
  name: string;
31
31
  status: DomainStatus;
32
+ cloudflareStatus: string;
32
33
  paused: boolean;
33
34
  type: ICloudflareDomainType;
34
35
  nameServers: string[];
@@ -43,6 +44,7 @@ export interface IDomain {
43
44
  target: IDomainTarget;
44
45
  assignedTo: number[];
45
46
  }
47
+ export declare const CONST_CLOUFLARE_STATUS_READY = "ready";
46
48
  export declare enum DomainStatus {
47
49
  PENDING = "pending",
48
50
  READY = "ready"
@@ -64,6 +66,7 @@ export declare const Domain: import("mongoose").Model<{
64
66
  id?: string | undefined;
65
67
  target?: string | undefined;
66
68
  namecheapId?: string | undefined;
69
+ cloudflareStatus?: string | undefined;
67
70
  originalRegistrar?: string | undefined;
68
71
  originalDNSHost?: string | undefined;
69
72
  createdAt?: number | undefined;
@@ -82,6 +85,7 @@ export declare const Domain: import("mongoose").Model<{
82
85
  id?: string | undefined;
83
86
  target?: string | undefined;
84
87
  namecheapId?: string | undefined;
88
+ cloudflareStatus?: string | undefined;
85
89
  originalRegistrar?: string | undefined;
86
90
  originalDNSHost?: string | undefined;
87
91
  createdAt?: number | undefined;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Domain = exports.IDomainTarget = exports.DomainStatus = void 0;
3
+ exports.Domain = exports.IDomainTarget = exports.DomainStatus = exports.CONST_CLOUFLARE_STATUS_READY = void 0;
4
4
  const mongoose_1 = require("mongoose");
5
+ exports.CONST_CLOUFLARE_STATUS_READY = "ready";
5
6
  var DomainStatus;
6
7
  (function (DomainStatus) {
7
8
  DomainStatus["PENDING"] = "pending";
@@ -18,6 +19,7 @@ const domainSchema = new mongoose_1.Schema({
18
19
  namecheapId: String,
19
20
  name: String,
20
21
  status: String,
22
+ cloudflareStatus: String,
21
23
  paused: Boolean,
22
24
  type: String,
23
25
  nameServers: [String],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.183",
3
+ "version": "1.2.184",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -6,6 +6,7 @@ export interface IDomain {
6
6
  namecheapId: string
7
7
  name: string
8
8
  status: DomainStatus
9
+ cloudflareStatus: string
9
10
  paused: boolean
10
11
  type: ICloudflareDomainType
11
12
  nameServers: string[]
@@ -22,6 +23,8 @@ export interface IDomain {
22
23
  assignedTo: number[]
23
24
  }
24
25
 
26
+ export const CONST_CLOUFLARE_STATUS_READY = "ready"
27
+
25
28
  export enum DomainStatus {
26
29
  PENDING = "pending",
27
30
  READY = "ready"
@@ -38,6 +41,7 @@ const domainSchema = new Schema({
38
41
  namecheapId: String,
39
42
  name: String,
40
43
  status: String,
44
+ cloudflareStatus: String,
41
45
  paused: Boolean,
42
46
  type: String,
43
47
  nameServers: [String],