@grapadigital/shared-schemas 1.0.232 → 1.0.234
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.
|
@@ -88,6 +88,11 @@ export declare const SentimentAnalysisSchema: MongooseSchema<SentimentAnalysis,
|
|
|
88
88
|
}>;
|
|
89
89
|
export declare class Metrics {
|
|
90
90
|
impressionCount?: number | null;
|
|
91
|
+
/**
|
|
92
|
+
* Visualizações (plays) do post, quando a fonte manda separado das impressões
|
|
93
|
+
* (Primetag `views`, genc `visualizacoes`). O VCR divide por este valor. 2026-10-24.
|
|
94
|
+
*/
|
|
95
|
+
viewCount?: number | null;
|
|
91
96
|
reachCount?: number | null;
|
|
92
97
|
likeCount?: number | null;
|
|
93
98
|
commentCount?: number | null;
|
|
@@ -96,6 +101,11 @@ export declare class Metrics {
|
|
|
96
101
|
storyCount?: number | null;
|
|
97
102
|
tapBackCount?: number | null;
|
|
98
103
|
clickCount?: number | null;
|
|
104
|
+
/**
|
|
105
|
+
* Toques em figurinha do story (genc `toque_na_figurinha`). A Primetag não
|
|
106
|
+
* manda; `tapBackCount` é o "voltar o story". Peso 1 no Real E/R. 2026-10-24.
|
|
107
|
+
*/
|
|
108
|
+
stickerTapCount?: number | null;
|
|
99
109
|
replyCount?: number | null;
|
|
100
110
|
tapForwardCount?: number | null;
|
|
101
111
|
swipeForwardCount?: number | null;
|
|
@@ -291,7 +301,7 @@ export declare class Content {
|
|
|
291
301
|
link: string;
|
|
292
302
|
type: 'reel' | 'carousel' | 'image' | 'story' | 'video' | 'post' | 'pin' | 'tweet';
|
|
293
303
|
tagType: 'withTag' | 'withoutTag' | 'brandExposure';
|
|
294
|
-
socialnetwork: 'instagram' | 'tiktok' | 'youtube' | 'pinterest' | 'linkedin' | 'twitter';
|
|
304
|
+
socialnetwork: 'instagram' | 'tiktok' | 'youtube' | 'pinterest' | 'linkedin' | 'twitter' | 'facebook';
|
|
295
305
|
status: ContentStatus;
|
|
296
306
|
metricsSource?: ContentMetricsSource | null;
|
|
297
307
|
processedCommentCount?: number | null;
|
|
@@ -107,6 +107,10 @@ __decorate([
|
|
|
107
107
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
108
108
|
__metadata("design:type", Object)
|
|
109
109
|
], Metrics.prototype, "impressionCount", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
112
|
+
__metadata("design:type", Object)
|
|
113
|
+
], Metrics.prototype, "viewCount", void 0);
|
|
110
114
|
__decorate([
|
|
111
115
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
112
116
|
__metadata("design:type", Object)
|
|
@@ -139,6 +143,10 @@ __decorate([
|
|
|
139
143
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
140
144
|
__metadata("design:type", Object)
|
|
141
145
|
], Metrics.prototype, "clickCount", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
148
|
+
__metadata("design:type", Object)
|
|
149
|
+
], Metrics.prototype, "stickerTapCount", void 0);
|
|
142
150
|
__decorate([
|
|
143
151
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
144
152
|
__metadata("design:type", Object)
|
|
@@ -503,7 +511,7 @@ __decorate([
|
|
|
503
511
|
__decorate([
|
|
504
512
|
(0, mongoose_1.Prop)({
|
|
505
513
|
type: String,
|
|
506
|
-
enum: ['instagram', 'tiktok', 'youtube', 'pinterest', 'linkedin', 'twitter'],
|
|
514
|
+
enum: ['instagram', 'tiktok', 'youtube', 'pinterest', 'linkedin', 'twitter', 'facebook'],
|
|
507
515
|
required: true,
|
|
508
516
|
}),
|
|
509
517
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -81,6 +81,13 @@ export class Metrics {
|
|
|
81
81
|
@Prop({ type: Number, required: false, default: null })
|
|
82
82
|
impressionCount?: number | null;
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Visualizações (plays) do post, quando a fonte manda separado das impressões
|
|
86
|
+
* (Primetag `views`, genc `visualizacoes`). O VCR divide por este valor. 2026-10-24.
|
|
87
|
+
*/
|
|
88
|
+
@Prop({ type: Number, required: false, default: null })
|
|
89
|
+
viewCount?: number | null;
|
|
90
|
+
|
|
84
91
|
@Prop({ type: Number, required: false, default: null })
|
|
85
92
|
reachCount?: number | null;
|
|
86
93
|
|
|
@@ -105,6 +112,13 @@ export class Metrics {
|
|
|
105
112
|
@Prop({ type: Number, required: false, default: null })
|
|
106
113
|
clickCount?: number | null;
|
|
107
114
|
|
|
115
|
+
/**
|
|
116
|
+
* Toques em figurinha do story (genc `toque_na_figurinha`). A Primetag não
|
|
117
|
+
* manda; `tapBackCount` é o "voltar o story". Peso 1 no Real E/R. 2026-10-24.
|
|
118
|
+
*/
|
|
119
|
+
@Prop({ type: Number, required: false, default: null })
|
|
120
|
+
stickerTapCount?: number | null;
|
|
121
|
+
|
|
108
122
|
@Prop({ type: Number, required: false, default: null })
|
|
109
123
|
replyCount?: number | null;
|
|
110
124
|
|
|
@@ -432,10 +446,17 @@ export class Content {
|
|
|
432
446
|
|
|
433
447
|
@Prop({
|
|
434
448
|
type: String,
|
|
435
|
-
enum: ['instagram', 'tiktok', 'youtube', 'pinterest', 'linkedin', 'twitter'],
|
|
449
|
+
enum: ['instagram', 'tiktok', 'youtube', 'pinterest', 'linkedin', 'twitter', 'facebook'],
|
|
436
450
|
required: true,
|
|
437
451
|
})
|
|
438
|
-
socialnetwork:
|
|
452
|
+
socialnetwork:
|
|
453
|
+
| 'instagram'
|
|
454
|
+
| 'tiktok'
|
|
455
|
+
| 'youtube'
|
|
456
|
+
| 'pinterest'
|
|
457
|
+
| 'linkedin'
|
|
458
|
+
| 'twitter'
|
|
459
|
+
| 'facebook';
|
|
439
460
|
|
|
440
461
|
// pending: capturado da Primetag, aguardando aprovação manual.
|
|
441
462
|
// approved: aprovado manualmente, entra no pipeline (comentários → classificação → métricas).
|