harvester_sdk 1.0.20 → 1.0.21
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/index.d.ts +3 -3
- package/dist/index.js +0 -14
- package/index.ts +0 -14
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
|
|
|
93
93
|
source_group_id?: string | null | undefined;
|
|
94
94
|
data_id?: any;
|
|
95
95
|
data_url?: string | null | undefined;
|
|
96
|
-
data_original_type?:
|
|
96
|
+
data_original_type?: string | null | undefined;
|
|
97
97
|
data_text?: string | null | undefined;
|
|
98
98
|
data_language?: string | null | undefined;
|
|
99
99
|
data_sentiment?: "positive" | "negative" | "neutral" | "mixed" | null | undefined;
|
|
@@ -186,7 +186,7 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
|
|
|
186
186
|
source_group_id?: string | null | undefined;
|
|
187
187
|
data_id?: any;
|
|
188
188
|
data_url?: string | null | undefined;
|
|
189
|
-
data_original_type?:
|
|
189
|
+
data_original_type?: string | null | undefined;
|
|
190
190
|
data_text?: string | null | undefined;
|
|
191
191
|
data_language?: string | null | undefined;
|
|
192
192
|
data_sentiment?: "positive" | "negative" | "neutral" | "mixed" | null | undefined;
|
|
@@ -279,7 +279,7 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
|
|
|
279
279
|
source_group_id?: string | null | undefined;
|
|
280
280
|
data_id?: any;
|
|
281
281
|
data_url?: string | null | undefined;
|
|
282
|
-
data_original_type?:
|
|
282
|
+
data_original_type?: string | null | undefined;
|
|
283
283
|
data_text?: string | null | undefined;
|
|
284
284
|
data_language?: string | null | undefined;
|
|
285
285
|
data_sentiment?: "positive" | "negative" | "neutral" | "mixed" | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -42,20 +42,6 @@ exports.MongoDataSchema = new mongoose_1.Schema({
|
|
|
42
42
|
data_url: { type: String },
|
|
43
43
|
data_original_type: {
|
|
44
44
|
type: String,
|
|
45
|
-
enum: [
|
|
46
|
-
'post',
|
|
47
|
-
'comment',
|
|
48
|
-
'reply',
|
|
49
|
-
'video',
|
|
50
|
-
'image',
|
|
51
|
-
'photo',
|
|
52
|
-
'story',
|
|
53
|
-
'reel',
|
|
54
|
-
'article',
|
|
55
|
-
'link',
|
|
56
|
-
'document',
|
|
57
|
-
'text',
|
|
58
|
-
],
|
|
59
45
|
},
|
|
60
46
|
// Content
|
|
61
47
|
data_text: { type: String },
|
package/index.ts
CHANGED
|
@@ -36,20 +36,6 @@ export const MongoDataSchema = new Schema(
|
|
|
36
36
|
data_url: { type: String }, // direct link to the post
|
|
37
37
|
data_original_type: {
|
|
38
38
|
type: String,
|
|
39
|
-
enum: [
|
|
40
|
-
'post',
|
|
41
|
-
'comment',
|
|
42
|
-
'reply',
|
|
43
|
-
'video',
|
|
44
|
-
'image',
|
|
45
|
-
'photo',
|
|
46
|
-
'story',
|
|
47
|
-
'reel',
|
|
48
|
-
'article',
|
|
49
|
-
'link',
|
|
50
|
-
'document',
|
|
51
|
-
'text',
|
|
52
|
-
],
|
|
53
39
|
},
|
|
54
40
|
|
|
55
41
|
// Content
|