@dhyasama/totem-models 9.97.0 → 9.98.0
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/lib/Financials.js +0 -66
- package/package.json +1 -1
package/lib/Financials.js
CHANGED
|
@@ -29,10 +29,6 @@ module.exports = function(mongoose, config) {
|
|
|
29
29
|
day: { type: Number, default: 1 },
|
|
30
30
|
},
|
|
31
31
|
|
|
32
|
-
// TO BE REMOVED //
|
|
33
|
-
fiscalMonthOffset: { type: Number, default: 0 },
|
|
34
|
-
// TO BE REMOVED
|
|
35
|
-
|
|
36
32
|
recurring: {
|
|
37
33
|
template: { type: String, trim: true },
|
|
38
34
|
email: { type: String, trim: true },
|
|
@@ -85,68 +81,6 @@ module.exports = function(mongoose, config) {
|
|
|
85
81
|
year: { type: Number, default: 0 },
|
|
86
82
|
period: { type: String, enum: ['Annual', 'Q1', 'Q2', 'Q3', 'Q4', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] },
|
|
87
83
|
|
|
88
|
-
// TO BE REMOVED //
|
|
89
|
-
cash: {
|
|
90
|
-
amount: { type: Number, default: 0 },
|
|
91
|
-
},
|
|
92
|
-
debt: {
|
|
93
|
-
amount: { type: Number, default: 0 },
|
|
94
|
-
},
|
|
95
|
-
burn: {
|
|
96
|
-
amount: { type: Number, default: 0 },
|
|
97
|
-
period: { type: String, enum: [null, 'monthly', 'quarterly', 'yearly']},
|
|
98
|
-
},
|
|
99
|
-
runway: {
|
|
100
|
-
amount: { type: Number, default: 0 },
|
|
101
|
-
period: { type: String, enum: [null, 'monthly', 'quarterly', 'yearly']},
|
|
102
|
-
},
|
|
103
|
-
revenue: {
|
|
104
|
-
amount: { type: Number, default: 0 },
|
|
105
|
-
projected: { type: Number, default: 0 },
|
|
106
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
107
|
-
},
|
|
108
|
-
operatingExpenses: {
|
|
109
|
-
amount: { type: Number, default: 0 },
|
|
110
|
-
projected: { type: Number, default: 0 },
|
|
111
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
112
|
-
},
|
|
113
|
-
grossProfit: {
|
|
114
|
-
amount: { type: Number, default: 0 },
|
|
115
|
-
projected: { type: Number, default: 0 },
|
|
116
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
117
|
-
},
|
|
118
|
-
operatingIncome: {
|
|
119
|
-
amount: { type: Number, default: 0 },
|
|
120
|
-
projected: { type: Number, default: 0 },
|
|
121
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
122
|
-
},
|
|
123
|
-
assets: {
|
|
124
|
-
amount: { type: Number, default: 0 },
|
|
125
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
126
|
-
},
|
|
127
|
-
liabilities: {
|
|
128
|
-
amount: { type: Number, default: 0 },
|
|
129
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
130
|
-
},
|
|
131
|
-
equity: {
|
|
132
|
-
amount: { type: Number, default: 0 },
|
|
133
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
134
|
-
},
|
|
135
|
-
operatingActivities: {
|
|
136
|
-
amount: { type: Number, default: 0 },
|
|
137
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
138
|
-
},
|
|
139
|
-
investingActivities: {
|
|
140
|
-
amount: { type: Number, default: 0 },
|
|
141
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
142
|
-
},
|
|
143
|
-
financingActivities: {
|
|
144
|
-
amount: { type: Number, default: 0 },
|
|
145
|
-
breakdown: { type: Schema.Types.Mixed }
|
|
146
|
-
},
|
|
147
|
-
comment: { type: String, trim: true },
|
|
148
|
-
// TO BE REMOVED //
|
|
149
|
-
|
|
150
84
|
form: [{
|
|
151
85
|
_id: false,
|
|
152
86
|
name: { type: String, trim: true },
|