harvester_sdk 1.0.60 → 1.0.61
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 +9 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +5 -0
- package/dist/types.js +1 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/types.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -800,6 +800,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
800
800
|
timestamp?: number | null | undefined;
|
|
801
801
|
data_timestamp?: number | null | undefined;
|
|
802
802
|
source_id?: any;
|
|
803
|
+
source_title?: string | null | undefined;
|
|
803
804
|
data_id?: any;
|
|
804
805
|
data_url?: string | null | undefined;
|
|
805
806
|
data_text?: string | null | undefined;
|
|
@@ -812,6 +813,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
812
813
|
timestamp?: number | null | undefined;
|
|
813
814
|
data_timestamp?: number | null | undefined;
|
|
814
815
|
source_id?: any;
|
|
816
|
+
source_title?: string | null | undefined;
|
|
815
817
|
data_id?: any;
|
|
816
818
|
data_url?: string | null | undefined;
|
|
817
819
|
data_text?: string | null | undefined;
|
|
@@ -824,6 +826,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
824
826
|
timestamp?: number | null | undefined;
|
|
825
827
|
data_timestamp?: number | null | undefined;
|
|
826
828
|
source_id?: any;
|
|
829
|
+
source_title?: string | null | undefined;
|
|
827
830
|
data_id?: any;
|
|
828
831
|
data_url?: string | null | undefined;
|
|
829
832
|
data_text?: string | null | undefined;
|
|
@@ -859,6 +862,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
859
862
|
timestamp?: number | null | undefined;
|
|
860
863
|
data_timestamp?: number | null | undefined;
|
|
861
864
|
source_id?: any;
|
|
865
|
+
source_title?: string | null | undefined;
|
|
862
866
|
data_id?: any;
|
|
863
867
|
data_url?: string | null | undefined;
|
|
864
868
|
data_text?: string | null | undefined;
|
|
@@ -871,6 +875,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
871
875
|
timestamp?: number | null | undefined;
|
|
872
876
|
data_timestamp?: number | null | undefined;
|
|
873
877
|
source_id?: any;
|
|
878
|
+
source_title?: string | null | undefined;
|
|
874
879
|
data_id?: any;
|
|
875
880
|
data_url?: string | null | undefined;
|
|
876
881
|
data_text?: string | null | undefined;
|
|
@@ -883,6 +888,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
883
888
|
timestamp?: number | null | undefined;
|
|
884
889
|
data_timestamp?: number | null | undefined;
|
|
885
890
|
source_id?: any;
|
|
891
|
+
source_title?: string | null | undefined;
|
|
886
892
|
data_id?: any;
|
|
887
893
|
data_url?: string | null | undefined;
|
|
888
894
|
data_text?: string | null | undefined;
|
|
@@ -918,6 +924,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
918
924
|
timestamp?: number | null | undefined;
|
|
919
925
|
data_timestamp?: number | null | undefined;
|
|
920
926
|
source_id?: any;
|
|
927
|
+
source_title?: string | null | undefined;
|
|
921
928
|
data_id?: any;
|
|
922
929
|
data_url?: string | null | undefined;
|
|
923
930
|
data_text?: string | null | undefined;
|
|
@@ -930,6 +937,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
930
937
|
timestamp?: number | null | undefined;
|
|
931
938
|
data_timestamp?: number | null | undefined;
|
|
932
939
|
source_id?: any;
|
|
940
|
+
source_title?: string | null | undefined;
|
|
933
941
|
data_id?: any;
|
|
934
942
|
data_url?: string | null | undefined;
|
|
935
943
|
data_text?: string | null | undefined;
|
|
@@ -942,6 +950,7 @@ export declare const MongoEventSchema: Schema<any, import("mongoose").Model<any,
|
|
|
942
950
|
timestamp?: number | null | undefined;
|
|
943
951
|
data_timestamp?: number | null | undefined;
|
|
944
952
|
source_id?: any;
|
|
953
|
+
source_title?: string | null | undefined;
|
|
945
954
|
data_id?: any;
|
|
946
955
|
data_url?: string | null | undefined;
|
|
947
956
|
data_text?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -363,6 +363,7 @@ exports.MongoEventSchema = new mongoose_1.Schema({
|
|
|
363
363
|
{
|
|
364
364
|
platform: { type: String, enum: types_1.platformsList },
|
|
365
365
|
source_id: { type: mongoose_1.Schema.Types.Mixed },
|
|
366
|
+
source_title: { type: String },
|
|
366
367
|
data_id: { type: mongoose_1.Schema.Types.Mixed },
|
|
367
368
|
data_url: { type: String },
|
|
368
369
|
data_text: { type: String },
|
package/dist/types.d.ts
CHANGED
|
@@ -2211,6 +2211,7 @@ export declare const zodEventSchema: z.ZodObject<{
|
|
|
2211
2211
|
_id: z.ZodOptional<z.ZodString>;
|
|
2212
2212
|
platform: z.ZodEnum<["telegram", "facebook", "instagram", "tiktok", "website", "youtube", "twitter", "x", "reddit", "linkedin", "snapchat", "whatsapp", "discord", "twitch"]>;
|
|
2213
2213
|
source_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2214
|
+
source_title: z.ZodOptional<z.ZodString>;
|
|
2214
2215
|
data_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2215
2216
|
data_url: z.ZodOptional<z.ZodString>;
|
|
2216
2217
|
data_text: z.ZodOptional<z.ZodString>;
|
|
@@ -2226,6 +2227,7 @@ export declare const zodEventSchema: z.ZodObject<{
|
|
|
2226
2227
|
data_geo: string[];
|
|
2227
2228
|
_id?: string | undefined;
|
|
2228
2229
|
timestamp?: number | undefined;
|
|
2230
|
+
source_title?: string | undefined;
|
|
2229
2231
|
data_url?: string | undefined;
|
|
2230
2232
|
data_text?: string | undefined;
|
|
2231
2233
|
author_username?: string | undefined;
|
|
@@ -2237,6 +2239,7 @@ export declare const zodEventSchema: z.ZodObject<{
|
|
|
2237
2239
|
data_id: string | number;
|
|
2238
2240
|
_id?: string | undefined;
|
|
2239
2241
|
timestamp?: number | undefined;
|
|
2242
|
+
source_title?: string | undefined;
|
|
2240
2243
|
data_url?: string | undefined;
|
|
2241
2244
|
data_text?: string | undefined;
|
|
2242
2245
|
data_geo?: string[] | undefined;
|
|
@@ -2301,6 +2304,7 @@ export declare const zodEventSchema: z.ZodObject<{
|
|
|
2301
2304
|
data_geo: string[];
|
|
2302
2305
|
_id?: string | undefined;
|
|
2303
2306
|
timestamp?: number | undefined;
|
|
2307
|
+
source_title?: string | undefined;
|
|
2304
2308
|
data_url?: string | undefined;
|
|
2305
2309
|
data_text?: string | undefined;
|
|
2306
2310
|
author_username?: string | undefined;
|
|
@@ -2352,6 +2356,7 @@ export declare const zodEventSchema: z.ZodObject<{
|
|
|
2352
2356
|
data_id: string | number;
|
|
2353
2357
|
_id?: string | undefined;
|
|
2354
2358
|
timestamp?: number | undefined;
|
|
2359
|
+
source_title?: string | undefined;
|
|
2355
2360
|
data_url?: string | undefined;
|
|
2356
2361
|
data_text?: string | undefined;
|
|
2357
2362
|
data_geo?: string[] | undefined;
|
package/dist/types.js
CHANGED
|
@@ -464,6 +464,7 @@ exports.zodEventSchema = zod_1.z.object({
|
|
|
464
464
|
_id: zod_1.z.string().optional(),
|
|
465
465
|
platform: zod_1.z.enum(exports.platformsList),
|
|
466
466
|
source_id: zod_1.z.string().or(zod_1.z.number()),
|
|
467
|
+
source_title: zod_1.z.string().optional(),
|
|
467
468
|
data_id: zod_1.z.string().or(zod_1.z.number()),
|
|
468
469
|
data_url: zod_1.z.string().url().optional(),
|
|
469
470
|
data_text: zod_1.z.string().optional(),
|
package/index.ts
CHANGED
|
@@ -402,6 +402,7 @@ export const MongoEventSchema = new Schema(
|
|
|
402
402
|
{
|
|
403
403
|
platform: { type: String, enum: platformsList },
|
|
404
404
|
source_id: { type: Schema.Types.Mixed },
|
|
405
|
+
source_title: { type: String },
|
|
405
406
|
data_id: { type: Schema.Types.Mixed },
|
|
406
407
|
data_url: { type: String },
|
|
407
408
|
data_text: { type: String },
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -534,6 +534,7 @@ export const zodEventSchema = z.object({
|
|
|
534
534
|
_id: z.string().optional(),
|
|
535
535
|
platform: z.enum(platformsList),
|
|
536
536
|
source_id: z.string().or(z.number()),
|
|
537
|
+
source_title: z.string().optional(),
|
|
537
538
|
data_id: z.string().or(z.number()),
|
|
538
539
|
data_url: z.string().url().optional(),
|
|
539
540
|
data_text: z.string().optional(),
|