cloud-ide-model-schema 1.1.119 → 1.1.120
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.
|
@@ -196,6 +196,16 @@ var admission_application_main = new mongoose_1.Schema({
|
|
|
196
196
|
ref: "aca_class_program_master",
|
|
197
197
|
comment: "Class/Program applying for - Reference to aca_class_program_master"
|
|
198
198
|
},
|
|
199
|
+
admap_class_program_branch_id_acabrn: {
|
|
200
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
201
|
+
ref: "aca_class_prg_branch",
|
|
202
|
+
comment: "Class/Program branch - Reference to aca_class_prg_branch (conditional - shown if program has branchType: true)"
|
|
203
|
+
},
|
|
204
|
+
admap_class_program_term_id_acapt: {
|
|
205
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
206
|
+
ref: "aca_class_program_term",
|
|
207
|
+
comment: "Class/Program term/semester - Reference to aca_class_program_term (conditional - shown if program has termType: true and getAdmission: true)"
|
|
208
|
+
},
|
|
199
209
|
admap_grade_level_applying_for_id_acacpm: {
|
|
200
210
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
201
211
|
ref: "aca_class_program_master",
|
|
@@ -971,6 +981,10 @@ var admission_application_main = new mongoose_1.Schema({
|
|
|
971
981
|
type: Date,
|
|
972
982
|
comment: "Date when application was submitted"
|
|
973
983
|
},
|
|
984
|
+
admap_submission_date: {
|
|
985
|
+
type: Date,
|
|
986
|
+
comment: "Date when application was submitted (alternative field name)"
|
|
987
|
+
},
|
|
974
988
|
admap_interview_scheduled_date: {
|
|
975
989
|
type: Date,
|
|
976
990
|
comment: "Scheduled interview date"
|
|
@@ -1067,6 +1081,8 @@ admission_application_main.index({ admap_application_status_id_sygms: 1 });
|
|
|
1067
1081
|
admission_application_main.index({ admap_status_id_sygms: 1 });
|
|
1068
1082
|
admission_application_main.index({ admap_program_category_id_sygms: 1 });
|
|
1069
1083
|
admission_application_main.index({ admap_class_program_id_acacpm: 1 });
|
|
1084
|
+
admission_application_main.index({ admap_class_program_branch_id_acabrn: 1 });
|
|
1085
|
+
admission_application_main.index({ admap_class_program_term_id_acapt: 1 });
|
|
1070
1086
|
admission_application_main.index({ admap_created_date: -1 });
|
|
1071
1087
|
var CAdmissionApplicationMain = mongoose_1.default.model("admission_application_main", admission_application_main);
|
|
1072
1088
|
exports.CAdmissionApplicationMain = CAdmissionApplicationMain;
|
|
@@ -3,29 +3,15 @@ export interface IBackupJob {
|
|
|
3
3
|
_id?: string;
|
|
4
4
|
bjob_name: string;
|
|
5
5
|
bjob_backup_type: 'full' | 'incremental' | 'differential' | 'file';
|
|
6
|
-
bjob_schedule: {
|
|
7
|
-
frequency: 'daily' | 'weekly' | 'monthly' | 'hourly' | 'manual';
|
|
8
|
-
time?: string;
|
|
9
|
-
day_of_week?: number;
|
|
10
|
-
day_of_month?: number;
|
|
11
|
-
};
|
|
12
6
|
bjob_status: 'active' | 'paused' | 'disabled';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
bucket_name?: string;
|
|
22
|
-
region?: string;
|
|
23
|
-
access_key?: string;
|
|
24
|
-
};
|
|
25
|
-
bjob_include_collections?: string[];
|
|
26
|
-
bjob_exclude_collections?: string[];
|
|
27
|
-
bjob_include_files?: boolean;
|
|
28
|
-
bjob_file_paths?: string[];
|
|
7
|
+
bjob_backup_policy_id?: string;
|
|
8
|
+
bjob_description?: string;
|
|
9
|
+
bjob_schedule_cron?: string;
|
|
10
|
+
bjob_last_run_at?: Date;
|
|
11
|
+
bjob_next_run_at?: Date;
|
|
12
|
+
bjob_total_runs?: number;
|
|
13
|
+
bjob_successful_runs?: number;
|
|
14
|
+
bjob_failed_runs?: number;
|
|
29
15
|
bjob_created_by?: string;
|
|
30
16
|
bjob_created_at?: Date;
|
|
31
17
|
bjob_updated_at?: Date;
|
|
@@ -14,28 +14,7 @@ var backup_jobs = new mongoose_1.Schema({
|
|
|
14
14
|
type: String,
|
|
15
15
|
required: true,
|
|
16
16
|
enum: ['full', 'incremental', 'differential', 'file'],
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
bjob_schedule: {
|
|
20
|
-
frequency: {
|
|
21
|
-
type: String,
|
|
22
|
-
required: true,
|
|
23
|
-
enum: ['daily', 'weekly', 'monthly', 'hourly', 'manual']
|
|
24
|
-
},
|
|
25
|
-
time: {
|
|
26
|
-
type: String,
|
|
27
|
-
maxlength: 5
|
|
28
|
-
},
|
|
29
|
-
day_of_week: {
|
|
30
|
-
type: Number,
|
|
31
|
-
min: 0,
|
|
32
|
-
max: 6
|
|
33
|
-
},
|
|
34
|
-
day_of_month: {
|
|
35
|
-
type: Number,
|
|
36
|
-
min: 1,
|
|
37
|
-
max: 31
|
|
38
|
-
}
|
|
17
|
+
default: 'full'
|
|
39
18
|
},
|
|
40
19
|
bjob_status: {
|
|
41
20
|
type: String,
|
|
@@ -43,55 +22,52 @@ var backup_jobs = new mongoose_1.Schema({
|
|
|
43
22
|
enum: ['active', 'paused', 'disabled'],
|
|
44
23
|
default: 'active'
|
|
45
24
|
},
|
|
46
|
-
|
|
47
|
-
type:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
type: Date
|
|
51
|
-
},
|
|
52
|
-
bjob_retention_days: {
|
|
53
|
-
type: Number,
|
|
54
|
-
required: true,
|
|
55
|
-
default: 30,
|
|
56
|
-
min: 1
|
|
57
|
-
},
|
|
58
|
-
bjob_encryption_enabled: {
|
|
59
|
-
type: Boolean,
|
|
60
|
-
default: false
|
|
61
|
-
},
|
|
62
|
-
bjob_compression_enabled: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
default: true
|
|
25
|
+
bjob_backup_policy_id: {
|
|
26
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
27
|
+
ref: "backup_policies",
|
|
28
|
+
comment: "Reference to backup policy"
|
|
65
29
|
},
|
|
66
|
-
|
|
30
|
+
bjob_description: {
|
|
67
31
|
type: String,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
default: 'local'
|
|
32
|
+
maxlength: 500,
|
|
33
|
+
trim: true
|
|
71
34
|
},
|
|
72
|
-
|
|
35
|
+
bjob_schedule_cron: {
|
|
73
36
|
type: String,
|
|
74
|
-
|
|
37
|
+
maxlength: 100,
|
|
38
|
+
trim: true,
|
|
39
|
+
comment: "Cron expression for backup schedule"
|
|
75
40
|
},
|
|
76
|
-
|
|
77
|
-
type:
|
|
41
|
+
bjob_last_run_at: {
|
|
42
|
+
type: Date,
|
|
43
|
+
comment: "Last backup execution time"
|
|
78
44
|
},
|
|
79
|
-
|
|
80
|
-
type:
|
|
45
|
+
bjob_next_run_at: {
|
|
46
|
+
type: Date,
|
|
47
|
+
comment: "Next scheduled backup execution time"
|
|
81
48
|
},
|
|
82
|
-
|
|
83
|
-
type:
|
|
49
|
+
bjob_total_runs: {
|
|
50
|
+
type: Number,
|
|
51
|
+
default: 0,
|
|
52
|
+
min: 0,
|
|
53
|
+
comment: "Total number of backup runs"
|
|
84
54
|
},
|
|
85
|
-
|
|
86
|
-
type:
|
|
87
|
-
default:
|
|
55
|
+
bjob_successful_runs: {
|
|
56
|
+
type: Number,
|
|
57
|
+
default: 0,
|
|
58
|
+
min: 0,
|
|
59
|
+
comment: "Number of successful backup runs"
|
|
88
60
|
},
|
|
89
|
-
|
|
90
|
-
type:
|
|
61
|
+
bjob_failed_runs: {
|
|
62
|
+
type: Number,
|
|
63
|
+
default: 0,
|
|
64
|
+
min: 0,
|
|
65
|
+
comment: "Number of failed backup runs"
|
|
91
66
|
},
|
|
92
67
|
bjob_created_by: {
|
|
93
68
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
94
|
-
ref: "auth_user_mst"
|
|
69
|
+
ref: "auth_user_mst",
|
|
70
|
+
comment: "User who created the backup job"
|
|
95
71
|
},
|
|
96
72
|
bjob_created_at: {
|
|
97
73
|
type: Date,
|
|
@@ -109,6 +85,8 @@ var backup_jobs = new mongoose_1.Schema({
|
|
|
109
85
|
// Indexes
|
|
110
86
|
backup_jobs.index({ bjob_name: 1 });
|
|
111
87
|
backup_jobs.index({ bjob_status: 1 });
|
|
112
|
-
backup_jobs.index({
|
|
88
|
+
backup_jobs.index({ bjob_backup_type: 1 });
|
|
89
|
+
backup_jobs.index({ bjob_backup_policy_id: 1 });
|
|
90
|
+
backup_jobs.index({ bjob_isactive: 1 });
|
|
113
91
|
var CBackupJob = mongoose_1.default.model("backup_jobs", backup_jobs);
|
|
114
92
|
exports.CBackupJob = CBackupJob;
|
package/package.json
CHANGED