codebase-models 2.1.6 → 2.1.7
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/dist/src/models/Test.js
CHANGED
|
@@ -152,6 +152,7 @@ const TestSchema = new mongoose_1.Schema({
|
|
|
152
152
|
significance: { type: String, default: "" },
|
|
153
153
|
recommendedsamplesize: { type: Number, default: null },
|
|
154
154
|
weeks: { type: Number, default: null },
|
|
155
|
+
dnt: { type: Boolean, default: false },
|
|
155
156
|
livedate: { type: Date, default: null },
|
|
156
157
|
defaultControl: { type: String, default: null },
|
|
157
158
|
enddate: { type: Date, default: null }
|
package/package.json
CHANGED
package/src/models/Test.ts
CHANGED
|
@@ -30,13 +30,11 @@ export interface ITest extends Document {
|
|
|
30
30
|
metadata_2: mongoose.Schema.Types.Mixed;
|
|
31
31
|
metadata_3: mongoose.Schema.Types.Mixed;
|
|
32
32
|
integrations_run_mode: mongoose.Schema.Types.Mixed;
|
|
33
|
-
|
|
34
33
|
// Code fields
|
|
35
34
|
jscode: string;
|
|
36
35
|
reset_js: string;
|
|
37
36
|
csscode: string;
|
|
38
37
|
htmlcode: string;
|
|
39
|
-
|
|
40
38
|
// References
|
|
41
39
|
audiences?: mongoose.Schema.Types.ObjectId[];
|
|
42
40
|
variations: IVariations[];
|
|
@@ -74,6 +72,7 @@ export interface ITest extends Document {
|
|
|
74
72
|
significance: string;
|
|
75
73
|
recommendedsamplesize: number;
|
|
76
74
|
weeks: number;
|
|
75
|
+
dnt: boolean;
|
|
77
76
|
livedate: Date;
|
|
78
77
|
defaultControl: string;
|
|
79
78
|
enddate: Date;
|
|
@@ -203,6 +202,7 @@ const TestSchema = new Schema<ITest>(
|
|
|
203
202
|
significance: { type: String, default: "" },
|
|
204
203
|
recommendedsamplesize: { type: Number, default: null },
|
|
205
204
|
weeks: { type: Number, default: null },
|
|
205
|
+
dnt: { type: Boolean, default: false },
|
|
206
206
|
livedate: { type: Date, default: null },
|
|
207
207
|
defaultControl: { type: String, default: null },
|
|
208
208
|
enddate: { type: Date, default: null }
|