verteilen-core 1.2.1 → 1.2.2

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DatabaseTemplateText = exports.ProjectTemplateText = exports.JobType2Text = exports.JobTypeText = exports.JobResultText = exports.ConnectionText = exports.JobCategoryText = exports.ExecuteStateText = exports.DataTypeText = exports.ServiceMode = exports.JavascriptLib = exports.RecordType = exports.RenderUpdateType = exports.ExecuteState = exports.ParameterTemplate = exports.ProjectTemplate = exports.JobType2 = exports.JobType = exports.ConditionResult = exports.JobCategory = exports.FrontendUpdate = exports.ResourceType = exports.DataTypeBase = exports.DataType = exports.SocketState = void 0;
3
+ exports.DatabaseTemplateText = exports.ProjectTemplateText = exports.JobType2Text = exports.JobTypeText = exports.JobResultText = exports.ConnectionText = exports.JobCategoryText = exports.ExecuteStateText = exports.DataTypeText = exports.ServiceMode = exports.JavascriptLib = exports.RecordType = exports.RenderUpdateType = exports.ExecuteState = exports.ParameterTemplate = exports.ProjectTemplate = exports.JobType2 = exports.JobType = exports.ConditionResult = exports.JobCategory = exports.FrontendUpdate = exports.ResourceType = exports.DataTypeBase = exports.BackendType = exports.DataType = exports.SocketState = void 0;
4
4
  var SocketState;
5
5
  (function (SocketState) {
6
6
  SocketState[SocketState["CONNECTING"] = 0] = "CONNECTING";
@@ -19,6 +19,13 @@ var DataType;
19
19
  DataType[DataType["Select"] = 6] = "Select";
20
20
  DataType[DataType["List"] = 7] = "List";
21
21
  })(DataType || (exports.DataType = DataType = {}));
22
+ var BackendType;
23
+ (function (BackendType) {
24
+ BackendType[BackendType["NONE"] = 0] = "NONE";
25
+ BackendType[BackendType["SERVER"] = 1] = "SERVER";
26
+ BackendType[BackendType["CLUSTER"] = 2] = "CLUSTER";
27
+ BackendType[BackendType["NODE"] = 3] = "NODE";
28
+ })(BackendType || (exports.BackendType = BackendType = {}));
22
29
  var DataTypeBase;
23
30
  (function (DataTypeBase) {
24
31
  DataTypeBase[DataTypeBase["Boolean"] = 0] = "Boolean";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verteilen-core",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://verteilen.github.io/wiki/",
6
6
  "author": "Elly",
@@ -32,6 +32,16 @@ export enum DataType {
32
32
  Select,
33
33
  List,
34
34
  }
35
+ /**
36
+ * **Express Server Type**\
37
+ * For checking the express server type
38
+ */
39
+ export enum BackendType {
40
+ NONE,
41
+ SERVER,
42
+ CLUSTER,
43
+ NODE,
44
+ }
35
45
  /**
36
46
  * **Data Type Base**\
37
47
  * The support data type for calculation\
@@ -7,6 +7,8 @@
7
7
  * Vue Client-side only data structure
8
8
  */
9
9
 
10
+ import { BackendType } from "./enum"
11
+
10
12
  /**
11
13
  * **Application Configuration**\
12
14
  * Show current state of the app\
@@ -40,6 +42,10 @@ export interface AppConfig {
40
42
  * FOr express mode detect only
41
43
  */
42
44
  login:boolean
45
+ /**
46
+ * **Server Type**
47
+ */
48
+ backendType: BackendType
43
49
  }
44
50
  /**
45
51
  * **Notification Data Structure**\