harvester_sdk 1.0.5 → 1.0.6
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 +0 -3
- package/dist/index.js +0 -1
- package/dist/types.d.ts +0 -3
- package/dist/types.js +0 -1
- package/index.ts +0 -1
- package/package.json +1 -1
- package/types.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -241,7 +241,6 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
241
241
|
virtuals: true;
|
|
242
242
|
};
|
|
243
243
|
}, {
|
|
244
|
-
name: string;
|
|
245
244
|
created_at: number;
|
|
246
245
|
updated_at: number;
|
|
247
246
|
status: "active" | "pending" | "inactive" | "requested" | "discovered" | "deleted";
|
|
@@ -267,7 +266,6 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
267
266
|
requested_at?: number | null | undefined;
|
|
268
267
|
} | null | undefined;
|
|
269
268
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
270
|
-
name: string;
|
|
271
269
|
created_at: number;
|
|
272
270
|
updated_at: number;
|
|
273
271
|
status: "active" | "pending" | "inactive" | "requested" | "discovered" | "deleted";
|
|
@@ -293,7 +291,6 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
293
291
|
requested_at?: number | null | undefined;
|
|
294
292
|
} | null | undefined;
|
|
295
293
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
296
|
-
name: string;
|
|
297
294
|
created_at: number;
|
|
298
295
|
updated_at: number;
|
|
299
296
|
status: "active" | "pending" | "inactive" | "requested" | "discovered" | "deleted";
|
package/dist/index.js
CHANGED
|
@@ -115,7 +115,6 @@ exports.MongoSourceSchema = new mongoose_1.Schema({
|
|
|
115
115
|
required: true,
|
|
116
116
|
},
|
|
117
117
|
public_id: { type: mongoose_1.Schema.Types.Mixed },
|
|
118
|
-
name: { type: String, required: true },
|
|
119
118
|
url: { type: String },
|
|
120
119
|
description: { type: String },
|
|
121
120
|
language: { type: String },
|
package/dist/types.d.ts
CHANGED
|
@@ -78,7 +78,6 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
78
78
|
platform: z.ZodEnum<["telegram", "facebook", "instagram", "tiktok", "website"]>;
|
|
79
79
|
entity: z.ZodEnum<["profile", "group", "page", "channel", "hashtag", "website"]>;
|
|
80
80
|
public_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
81
|
-
name: z.ZodString;
|
|
82
81
|
url: z.ZodOptional<z.ZodString>;
|
|
83
82
|
description: z.ZodOptional<z.ZodString>;
|
|
84
83
|
language: z.ZodOptional<z.ZodString>;
|
|
@@ -112,7 +111,6 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
112
111
|
}>>;
|
|
113
112
|
notes: z.ZodOptional<z.ZodString>;
|
|
114
113
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
name: string;
|
|
116
114
|
status: "active" | "pending" | "inactive" | "requested" | "discovered" | "deleted";
|
|
117
115
|
platform: "telegram" | "facebook" | "instagram" | "tiktok" | "website";
|
|
118
116
|
entity: "website" | "profile" | "group" | "page" | "channel" | "hashtag";
|
|
@@ -139,7 +137,6 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
139
137
|
requested_at?: number | undefined;
|
|
140
138
|
} | undefined;
|
|
141
139
|
}, {
|
|
142
|
-
name: string;
|
|
143
140
|
status: "active" | "pending" | "inactive" | "requested" | "discovered" | "deleted";
|
|
144
141
|
platform: "telegram" | "facebook" | "instagram" | "tiktok" | "website";
|
|
145
142
|
entity: "website" | "profile" | "group" | "page" | "channel" | "hashtag";
|
package/dist/types.js
CHANGED
|
@@ -62,7 +62,6 @@ exports.zodSourceSchema = zod_1.z.object({
|
|
|
62
62
|
platform: zod_1.z.enum(exports.platformsList),
|
|
63
63
|
entity: zod_1.z.enum(exports.entityTypesList),
|
|
64
64
|
public_id: zod_1.z.string().or(zod_1.z.number()).optional(),
|
|
65
|
-
name: zod_1.z.string(),
|
|
66
65
|
url: zod_1.z.string().url().optional(),
|
|
67
66
|
description: zod_1.z.string().optional(),
|
|
68
67
|
language: zod_1.z.string().optional(),
|
package/index.ts
CHANGED
|
@@ -119,7 +119,6 @@ export const MongoSourceSchema = new Schema(
|
|
|
119
119
|
required: true,
|
|
120
120
|
}, // e.g., 'channel', 'group', 'page', 'profile', 'hashtag'
|
|
121
121
|
public_id: { type: Schema.Types.Mixed }, // e.g., '@telegram_channel_id'
|
|
122
|
-
name: { type: String, required: true }, // e.g., 'Telegram Channel Name'
|
|
123
122
|
url: { type: String }, // e.g., 'https://t.me/telegram_channel_name'
|
|
124
123
|
description: { type: String }, // e.g., 'A channel about news and updates'
|
|
125
124
|
language: { type: String },
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -67,7 +67,6 @@ export const zodSourceSchema = z.object({
|
|
|
67
67
|
platform: z.enum(platformsList), // e.g., 'telegram', 'facebook' // INDEX
|
|
68
68
|
entity: z.enum(entityTypesList), // e.g., 'channel', 'group', 'page', 'profile', 'hashtag'
|
|
69
69
|
public_id: z.string().or(z.number()).optional(), // e.g., '@telegram_channel_id'
|
|
70
|
-
name: z.string(), // e.g., 'Telegram Channel Name'
|
|
71
70
|
url: z.string().url().optional(), // e.g., 'https://t.me/telegram_channel_name'
|
|
72
71
|
description: z.string().optional(), // e.g., 'A channel about news and updates'
|
|
73
72
|
language: z.string().optional(),
|