codebase-models 2.1.5 → 2.1.6
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,7 @@ 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 },
|
|
154
155
|
livedate: { type: Date, default: null },
|
|
155
156
|
defaultControl: { type: String, default: null },
|
|
156
157
|
enddate: { type: Date, default: null }
|
package/package.json
CHANGED
package/src/models/Test.ts
CHANGED
|
@@ -73,6 +73,7 @@ export interface ITest extends Document {
|
|
|
73
73
|
revenue: any[];
|
|
74
74
|
significance: string;
|
|
75
75
|
recommendedsamplesize: number;
|
|
76
|
+
weeks: number;
|
|
76
77
|
livedate: Date;
|
|
77
78
|
defaultControl: string;
|
|
78
79
|
enddate: Date;
|
|
@@ -201,6 +202,7 @@ const TestSchema = new Schema<ITest>(
|
|
|
201
202
|
revenue: { type: [], default: [] },
|
|
202
203
|
significance: { type: String, default: "" },
|
|
203
204
|
recommendedsamplesize: { type: Number, default: null },
|
|
205
|
+
weeks: { type: Number, default: null },
|
|
204
206
|
livedate: { type: Date, default: null },
|
|
205
207
|
defaultControl: { type: String, default: null },
|
|
206
208
|
enddate: { type: Date, default: null }
|