@driveup/schema 0.3.34 → 0.3.35
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/catalog/addon/addon.entity.d.ts +1 -1
- package/lib/catalog/addon/addon.entity.js +1 -1
- package/lib/catalog/addon/addon.entity.js.map +1 -1
- package/lib/profile/agent/agent.entity.d.ts +4 -3
- package/lib/profile/agent/agent.entity.js +10 -6
- package/lib/profile/agent/agent.entity.js.map +1 -1
- package/lib/profile/agent/payout.entity.d.ts +9 -1
- package/lib/profile/agent/payout.entity.js +23 -0
- package/lib/profile/agent/payout.entity.js.map +1 -1
- package/lib/profile/agent/promotion.entity.d.ts +12 -3
- package/lib/profile/agent/promotion.entity.js +26 -3
- package/lib/profile/agent/promotion.entity.js.map +1 -1
- package/lib/profile/company/company.entity.d.ts +9 -8
- package/lib/profile/company/company.entity.js +24 -17
- package/lib/profile/company/company.entity.js.map +1 -1
- package/lib/profile/company/course/course.entity.d.ts +12 -4
- package/lib/profile/company/course/course.entity.js +27 -4
- package/lib/profile/company/course/course.entity.js.map +1 -1
- package/lib/profile/company/finances/billing/bill.entity.d.ts +10 -2
- package/lib/profile/company/finances/billing/bill.entity.js +24 -1
- package/lib/profile/company/finances/billing/bill.entity.js.map +1 -1
- package/lib/profile/company/finances/expense/category.entity.d.ts +9 -0
- package/lib/profile/company/finances/expense/category.entity.js +23 -0
- package/lib/profile/company/finances/expense/category.entity.js.map +1 -1
- package/lib/profile/company/finances/expense/expense.entity.d.ts +9 -1
- package/lib/profile/company/finances/expense/expense.entity.js +23 -0
- package/lib/profile/company/finances/expense/expense.entity.js.map +1 -1
- package/lib/profile/company/finances/handover/handover.entity.d.ts +9 -0
- package/lib/profile/company/finances/handover/handover.entity.js +23 -0
- package/lib/profile/company/finances/handover/handover.entity.js.map +1 -1
- package/lib/profile/company/finances/invoice/invoice.entity.d.ts +11 -3
- package/lib/profile/company/finances/invoice/invoice.entity.js +25 -2
- package/lib/profile/company/finances/invoice/invoice.entity.js.map +1 -1
- package/lib/profile/company/finances/payment/method.entity.d.ts +11 -3
- package/lib/profile/company/finances/payment/method.entity.js +25 -2
- package/lib/profile/company/finances/payment/method.entity.js.map +1 -1
- package/lib/profile/company/instructor/instructor.entity.d.ts +6 -5
- package/lib/profile/company/instructor/instructor.entity.js +10 -6
- package/lib/profile/company/instructor/instructor.entity.js.map +1 -1
- package/lib/profile/company/instructor/task.entity.d.ts +9 -0
- package/lib/profile/company/instructor/task.entity.js +23 -0
- package/lib/profile/company/instructor/task.entity.js.map +1 -1
- package/lib/profile/company/medical/product.entity.d.ts +9 -0
- package/lib/profile/company/medical/product.entity.js +27 -0
- package/lib/profile/company/medical/product.entity.js.map +1 -1
- package/lib/profile/company/product/addon.entity.d.ts +10 -1
- package/lib/profile/company/product/addon.entity.js +26 -0
- package/lib/profile/company/product/addon.entity.js.map +1 -1
- package/lib/profile/company/product/product.entity.d.ts +13 -4
- package/lib/profile/company/product/product.entity.js +29 -3
- package/lib/profile/company/product/product.entity.js.map +1 -1
- package/lib/profile/company/product/vehicle.entity.d.ts +10 -1
- package/lib/profile/company/product/vehicle.entity.js +27 -0
- package/lib/profile/company/product/vehicle.entity.js.map +1 -1
- package/lib/profile/instructor/instructor.entity.d.ts +4 -3
- package/lib/profile/instructor/instructor.entity.js +10 -6
- package/lib/profile/instructor/instructor.entity.js.map +1 -1
- package/lib/profile/student/program/licence/licence.entity.d.ts +10 -1
- package/lib/profile/student/program/licence/licence.entity.js +26 -0
- package/lib/profile/student/program/licence/licence.entity.js.map +1 -1
- package/lib/profile/student/program/medical/certificate.entity.d.ts +10 -1
- package/lib/profile/student/program/medical/certificate.entity.js +26 -0
- package/lib/profile/student/program/medical/certificate.entity.js.map +1 -1
- package/lib/profile/student/program/medical/examination.entity.d.ts +11 -2
- package/lib/profile/student/program/medical/examination.entity.js +29 -3
- package/lib/profile/student/program/medical/examination.entity.js.map +1 -1
- package/lib/profile/student/program/program.entity.d.ts +13 -5
- package/lib/profile/student/program/program.entity.js +27 -4
- package/lib/profile/student/program/program.entity.js.map +1 -1
- package/lib/profile/student/program/training/appointment.entity.d.ts +5 -5
- package/lib/profile/student/program/training/appointment.entity.js +8 -7
- package/lib/profile/student/program/training/appointment.entity.js.map +1 -1
- package/lib/profile/student/program/training/training.entity.d.ts +20 -4
- package/lib/profile/student/program/training/training.entity.js +57 -12
- package/lib/profile/student/program/training/training.entity.js.map +1 -1
- package/lib/profile/student/program/training/transaction.entity.d.ts +6 -6
- package/lib/profile/student/program/training/transaction.entity.js +8 -8
- package/lib/profile/student/program/training/transaction.entity.js.map +1 -1
- package/lib/profile/student/student.entity.d.ts +8 -7
- package/lib/profile/student/student.entity.js +18 -14
- package/lib/profile/student/student.entity.js.map +1 -1
- package/lib/system/event/log.entity.d.ts +31 -17
- package/lib/system/event/log.entity.js +104 -58
- package/lib/system/event/log.entity.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/user.entity.d.ts +5 -2
- package/lib/user/user.entity.js +11 -5
- package/lib/user/user.entity.js.map +1 -1
- package/package.json +3 -3
- package/lib/profile/company/course/appointment.entity.d.ts +0 -271
- package/lib/profile/company/course/appointment.entity.js +0 -736
- package/lib/profile/company/course/appointment.entity.js.map +0 -1
- package/lib/profile/company/instructor/calendar-state.entity.d.ts +0 -67
- package/lib/profile/company/instructor/calendar-state.entity.js +0 -75
- package/lib/profile/company/instructor/calendar-state.entity.js.map +0 -1
- package/lib/profile/student/program/training/training-balance.view.d.ts +0 -4
- package/lib/profile/student/program/training/training-balance.view.entity.d.ts +0 -5
- package/lib/profile/student/program/training/training-balance.view.entity.js +0 -52
- package/lib/profile/student/program/training/training-balance.view.entity.js.map +0 -1
- package/lib/profile/student/program/training/training-balance.view.js +0 -47
- package/lib/profile/student/program/training/training-balance.view.js.map +0 -1
- package/lib/profile/student/program/training/training-cost.view.d.ts +0 -4
- package/lib/profile/student/program/training/training-cost.view.js +0 -45
- package/lib/profile/student/program/training/training-cost.view.js.map +0 -1
- package/lib/profile/student/program/training/training-sessions.view.d.ts +0 -8
- package/lib/profile/student/program/training/training-sessions.view.js +0 -50
- package/lib/profile/student/program/training/training-sessions.view.js.map +0 -1
- package/lib/public/faq.d.ts +0 -25
- package/lib/public/faq.js +0 -60
- package/lib/public/faq.js.map +0 -1
- package/lib/public/feature-item.d.ts +0 -54
- package/lib/public/feature-item.js +0 -78
- package/lib/public/feature-item.js.map +0 -1
- package/lib/public/feature.d.ts +0 -46
- package/lib/public/feature.js +0 -76
- package/lib/public/feature.js.map +0 -1
- package/lib/public/learning-hub.d.ts +0 -30
- package/lib/public/learning-hub.js +0 -77
- package/lib/public/learning-hub.js.map +0 -1
- package/lib/public/testimonial.d.ts +0 -40
- package/lib/public/testimonial.js +0 -85
- package/lib/public/testimonial.js.map +0 -1
|
@@ -10,19 +10,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
var LogEntity_1;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.LogEntity = void 0;
|
|
13
|
+
exports.SystemLogEntity = exports.LogEntity = void 0;
|
|
14
14
|
const common_1 = require("@driveup/common");
|
|
15
15
|
const shared_1 = require("@driveup/shared");
|
|
16
16
|
const nestjs_i18n_1 = require("nestjs-i18n");
|
|
17
17
|
const typeorm_1 = require("typeorm");
|
|
18
|
-
const activity_helper_1 = require("../../utils/activity.helper");
|
|
19
|
-
const DELIMITER = '.log.';
|
|
20
18
|
/**
|
|
21
|
-
* Represents a
|
|
19
|
+
* Represents a profile log entry for tracking events and activities.
|
|
22
20
|
* Logs record important actions and changes across different entity types
|
|
23
21
|
* (users, companies, agents, etc.) and can be localized for display.
|
|
24
|
-
*
|
|
25
|
-
* @extends TrackableEntity
|
|
26
22
|
*/
|
|
27
23
|
let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
28
24
|
/**
|
|
@@ -39,35 +35,29 @@ let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
|
39
35
|
*/
|
|
40
36
|
toModel() {
|
|
41
37
|
return new common_1.Log({
|
|
42
|
-
|
|
38
|
+
author: this.author,
|
|
39
|
+
profile: this.profile,
|
|
43
40
|
event: this.event,
|
|
44
41
|
content: this.content,
|
|
45
42
|
createdOn: this.createdOn
|
|
46
43
|
});
|
|
47
44
|
}
|
|
48
|
-
/**
|
|
49
|
-
* Converts the entity to a Log model instance
|
|
50
|
-
* @returns Log model with type, event, content, and creation date
|
|
51
|
-
*/
|
|
52
|
-
toSummary() {
|
|
53
|
-
return this.toModel();
|
|
54
|
-
}
|
|
55
45
|
/**
|
|
56
46
|
* Creates and saves a new log entry
|
|
57
47
|
* @param props - Properties for the new log entry
|
|
58
48
|
* @returns Promise that resolves when the log is saved
|
|
59
49
|
*/
|
|
60
|
-
static async from(props) {
|
|
50
|
+
static async from(props, systemContent) {
|
|
51
|
+
if (!props?.content || props.content.length === 0)
|
|
52
|
+
return;
|
|
61
53
|
const entity = new LogEntity_1(props);
|
|
62
54
|
await entity.save();
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
content: LogEntity_1.toSystemContent(event, metadata)
|
|
70
|
-
});
|
|
55
|
+
if (systemContent) {
|
|
56
|
+
await SystemLogEntity.from({
|
|
57
|
+
...props,
|
|
58
|
+
content: systemContent,
|
|
59
|
+
});
|
|
60
|
+
}
|
|
71
61
|
}
|
|
72
62
|
/**
|
|
73
63
|
* Generates localized content for user log entries
|
|
@@ -77,9 +67,13 @@ let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
|
77
67
|
* @returns Localized log content string, or empty string if translation not found
|
|
78
68
|
*/
|
|
79
69
|
static toUserContent(event, lang, metadata) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
70
|
+
let key = `${event}.log.user`;
|
|
71
|
+
let content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
72
|
+
if (key === content) {
|
|
73
|
+
key = `${event}.log`;
|
|
74
|
+
content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
75
|
+
}
|
|
76
|
+
return content === key ? null : content;
|
|
83
77
|
}
|
|
84
78
|
/**
|
|
85
79
|
* Generates localized content for student log entries
|
|
@@ -89,9 +83,13 @@ let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
|
89
83
|
* @returns Localized log content string, or empty string if translation not found
|
|
90
84
|
*/
|
|
91
85
|
static toStudentContent(event, lang, metadata) {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
let key = `${event}.log.${shared_1.ProfileType.Student}`;
|
|
87
|
+
let content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
88
|
+
if (key === content) {
|
|
89
|
+
key = `${event}.log`;
|
|
90
|
+
content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
91
|
+
}
|
|
92
|
+
return content === key ? null : content;
|
|
95
93
|
}
|
|
96
94
|
/**
|
|
97
95
|
* Generates localized content for agent log entries
|
|
@@ -101,9 +99,13 @@ let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
|
101
99
|
* @returns Localized log content string, or empty string if translation not found
|
|
102
100
|
*/
|
|
103
101
|
static toAgentContent(event, lang, metadata) {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
let key = `${event}.log.${shared_1.ProfileType.Agent}`;
|
|
103
|
+
let content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
104
|
+
if (key === content) {
|
|
105
|
+
key = `${event}.log`;
|
|
106
|
+
content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
107
|
+
}
|
|
108
|
+
return content === key ? null : content;
|
|
107
109
|
}
|
|
108
110
|
/**
|
|
109
111
|
* Generates localized content for instructor log entries
|
|
@@ -113,9 +115,13 @@ let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
|
113
115
|
* @returns Localized log content string, or empty string if translation not found
|
|
114
116
|
*/
|
|
115
117
|
static toInstructorContent(event, lang, metadata) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
let key = `${event}.log.${shared_1.ProfileType.Instructor}`;
|
|
119
|
+
let content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
120
|
+
if (key === content) {
|
|
121
|
+
key = `${event}.log`;
|
|
122
|
+
content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
123
|
+
}
|
|
124
|
+
return content === key ? null : content;
|
|
119
125
|
}
|
|
120
126
|
/**
|
|
121
127
|
* Generates localized content for company log entries
|
|
@@ -125,24 +131,22 @@ let LogEntity = LogEntity_1 = class LogEntity extends typeorm_1.BaseEntity {
|
|
|
125
131
|
* @returns Localized log content string, or empty string if translation not found
|
|
126
132
|
*/
|
|
127
133
|
static toCompanyContent(event, lang, metadata) {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
134
|
+
let key = `${event}.log.${shared_1.ProfileType.Company}`;
|
|
135
|
+
let content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
136
|
+
if (key === content) {
|
|
137
|
+
key = `${event}.log`;
|
|
138
|
+
content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang });
|
|
139
|
+
}
|
|
140
|
+
return content === key ? null : content;
|
|
131
141
|
}
|
|
132
142
|
static toSystemContent(event, metadata) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
return content === key ? '' : content;
|
|
141
|
-
}
|
|
142
|
-
async getActivities() {
|
|
143
|
-
const activities = [];
|
|
144
|
-
activities.push(await (0, activity_helper_1.toActivity)(null, this.createdOn, shared_1.ActivityType.created));
|
|
145
|
-
return activities.filter(a => a);
|
|
143
|
+
let key = `${event}.log.system`;
|
|
144
|
+
let content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang: 'en' });
|
|
145
|
+
if (key === content) {
|
|
146
|
+
key = `${event}.log`;
|
|
147
|
+
content = nestjs_i18n_1.I18nContext.current().t(key, { args: metadata, lang: 'en' });
|
|
148
|
+
}
|
|
149
|
+
return content === key ? null : content;
|
|
146
150
|
}
|
|
147
151
|
};
|
|
148
152
|
exports.LogEntity = LogEntity;
|
|
@@ -157,25 +161,28 @@ __decorate([
|
|
|
157
161
|
__decorate([
|
|
158
162
|
(0, typeorm_1.Column)({
|
|
159
163
|
type: 'enum',
|
|
160
|
-
enum: shared_1.
|
|
161
|
-
default: shared_1.
|
|
162
|
-
nullable: true
|
|
164
|
+
enum: shared_1.Feature,
|
|
165
|
+
default: shared_1.Feature.Account
|
|
163
166
|
}),
|
|
164
167
|
__metadata("design:type", String)
|
|
165
|
-
], LogEntity.prototype, "
|
|
168
|
+
], LogEntity.prototype, "feature", void 0);
|
|
166
169
|
__decorate([
|
|
167
170
|
(0, typeorm_1.Column)({
|
|
168
171
|
type: 'simple-json',
|
|
169
|
-
nullable: true
|
|
170
|
-
default: null
|
|
172
|
+
nullable: true
|
|
171
173
|
}),
|
|
172
174
|
__metadata("design:type", Object)
|
|
173
175
|
], LogEntity.prototype, "profile", void 0);
|
|
174
176
|
__decorate([
|
|
175
177
|
(0, typeorm_1.Column)({
|
|
178
|
+
type: 'json',
|
|
176
179
|
nullable: true,
|
|
177
180
|
default: null
|
|
178
181
|
}),
|
|
182
|
+
__metadata("design:type", shared_1.Person)
|
|
183
|
+
], LogEntity.prototype, "author", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, typeorm_1.Column)(),
|
|
179
186
|
__metadata("design:type", Number)
|
|
180
187
|
], LogEntity.prototype, "entityId", void 0);
|
|
181
188
|
__decorate([
|
|
@@ -190,7 +197,46 @@ __decorate([
|
|
|
190
197
|
__metadata("design:type", Date)
|
|
191
198
|
], LogEntity.prototype, "createdOn", void 0);
|
|
192
199
|
exports.LogEntity = LogEntity = LogEntity_1 = __decorate([
|
|
193
|
-
(0, typeorm_1.Entity)('
|
|
200
|
+
(0, typeorm_1.Entity)('logs'),
|
|
194
201
|
__metadata("design:paramtypes", [Object])
|
|
195
202
|
], LogEntity);
|
|
203
|
+
let SystemLogEntity = class SystemLogEntity extends LogEntity {
|
|
204
|
+
/**
|
|
205
|
+
* Creates a new LogEntity instance
|
|
206
|
+
* @param props - Partial properties to initialize the entity
|
|
207
|
+
*/
|
|
208
|
+
constructor(props) {
|
|
209
|
+
super();
|
|
210
|
+
Object.assign(this, props);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Converts the entity to a Log model instance
|
|
214
|
+
* @returns Log model with type, event, content, and creation date
|
|
215
|
+
*/
|
|
216
|
+
toModel() {
|
|
217
|
+
return new common_1.Log({
|
|
218
|
+
author: this.author,
|
|
219
|
+
profile: this.profile,
|
|
220
|
+
event: this.event,
|
|
221
|
+
content: this.content,
|
|
222
|
+
createdOn: this.createdOn
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Creates and saves a new log entry
|
|
227
|
+
* @param props - Properties for the new log entry
|
|
228
|
+
* @returns Promise that resolves when the log is saved
|
|
229
|
+
*/
|
|
230
|
+
static async from(props) {
|
|
231
|
+
if (!props?.content || props.content.length === 0)
|
|
232
|
+
return;
|
|
233
|
+
const entity = new LogEntity(props);
|
|
234
|
+
await entity.save();
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
exports.SystemLogEntity = SystemLogEntity;
|
|
238
|
+
exports.SystemLogEntity = SystemLogEntity = __decorate([
|
|
239
|
+
(0, typeorm_1.Entity)('systemLogs'),
|
|
240
|
+
__metadata("design:paramtypes", [Object])
|
|
241
|
+
], SystemLogEntity);
|
|
196
242
|
//# sourceMappingURL=log.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.entity.js","sourceRoot":"","sources":["../../../src/system/event/log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"log.entity.js","sourceRoot":"","sources":["../../../src/system/event/log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4CAAsC;AACtC,4CAAgF;AAChF,6CAA0C;AAC1C,qCAA+F;AAE/F;;;;GAIG;AAEI,IAAM,SAAS,iBAAf,MAAM,SAAU,SAAQ,oBAAU;IAgFxC;;;OAGG;IACH,YAAY,KAA0B;QACrC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED;;;OAGG;IACH,OAAO;QACN,OAAO,IAAI,YAAG,CAAC;YACd,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;SACzB,CAAC,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAyB,EAAE,aAAsB;QAClE,IAAI,CAAC,KAAK,EAAE,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,KAAG,CAAC;YAAE,OAAO;QACxD,MAAM,MAAM,GAAG,IAAI,WAAS,CAAC,KAAK,CAAC,CAAC;QACpC,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,IAAI,aAAa,EAAE,CAAC;YACnB,MAAM,eAAe,CAAC,IAAI,CAAC;gBAC1B,GAAG,KAAK;gBACR,OAAO,EAAE,aAAa;aACtB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,aAAa,CAAC,KAAa,EAAE,IAAY,EAAE,QAAc;QAC/D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