codebase-models 2.1.5 → 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
|
@@ -151,6 +151,8 @@ const TestSchema = new mongoose_1.Schema({
|
|
|
151
151
|
revenue: { type: [], default: [] },
|
|
152
152
|
significance: { type: String, default: "" },
|
|
153
153
|
recommendedsamplesize: { type: Number, default: null },
|
|
154
|
+
weeks: { type: Number, default: null },
|
|
155
|
+
dnt: { type: Boolean, default: false },
|
|
154
156
|
livedate: { type: Date, default: null },
|
|
155
157
|
defaultControl: { type: String, default: null },
|
|
156
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[];
|
|
@@ -73,6 +71,8 @@ export interface ITest extends Document {
|
|
|
73
71
|
revenue: any[];
|
|
74
72
|
significance: string;
|
|
75
73
|
recommendedsamplesize: number;
|
|
74
|
+
weeks: number;
|
|
75
|
+
dnt: boolean;
|
|
76
76
|
livedate: Date;
|
|
77
77
|
defaultControl: string;
|
|
78
78
|
enddate: Date;
|
|
@@ -201,6 +201,8 @@ const TestSchema = new Schema<ITest>(
|
|
|
201
201
|
revenue: { type: [], default: [] },
|
|
202
202
|
significance: { type: String, default: "" },
|
|
203
203
|
recommendedsamplesize: { type: Number, default: null },
|
|
204
|
+
weeks: { type: Number, default: null },
|
|
205
|
+
dnt: { type: Boolean, default: false },
|
|
204
206
|
livedate: { type: Date, default: null },
|
|
205
207
|
defaultControl: { type: String, default: null },
|
|
206
208
|
enddate: { type: Date, default: null }
|