@kipicore/dbcore 1.1.388 → 1.1.389
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,5 @@
|
|
|
1
1
|
import { Document } from 'mongoose';
|
|
2
2
|
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
import { APP_TYPE } from '../constants';
|
|
4
3
|
export interface ISubscriptionConfigurationBaseInterface {
|
|
5
4
|
uuid: string;
|
|
6
5
|
coinPurchaseGstPercentage: number;
|
|
@@ -11,5 +10,4 @@ export interface ISubscriptionConfigurationBaseInterface {
|
|
|
11
10
|
export interface ISubscriptionConfigurationModelAttributes extends ISubscriptionConfigurationBaseInterface, IDefaultAttributes, Document {
|
|
12
11
|
id: string;
|
|
13
12
|
history: ISubscriptionConfigurationBaseInterface[];
|
|
14
|
-
appType: APP_TYPE;
|
|
15
13
|
}
|
|
@@ -34,7 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const mongoose_1 = __importStar(require("mongoose"));
|
|
37
|
-
const constants_1 = require("../../constants");
|
|
38
37
|
const historySchema = new mongoose_1.Schema({
|
|
39
38
|
coinPurchaseGstPercentage: { type: Number, required: true },
|
|
40
39
|
initialFreeCoin: { type: Number, required: true },
|
|
@@ -52,11 +51,6 @@ const subscriptionConfigurationModelSchema = new mongoose_1.Schema({
|
|
|
52
51
|
required: false,
|
|
53
52
|
default: [],
|
|
54
53
|
},
|
|
55
|
-
appType: {
|
|
56
|
-
type: String,
|
|
57
|
-
enum: Object.values(constants_1.APP_TYPE),
|
|
58
|
-
required: true,
|
|
59
|
-
},
|
|
60
54
|
createdBy: { type: String, required: false },
|
|
61
55
|
updatedBy: { type: String, required: false },
|
|
62
56
|
deletedBy: { type: String, required: false },
|
package/package.json
CHANGED