harvester_sdk 1.0.15 → 1.0.16
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 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +3 -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
|
@@ -423,6 +423,7 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
423
423
|
public_id?: any;
|
|
424
424
|
url?: string | null | undefined;
|
|
425
425
|
language?: string | null | undefined;
|
|
426
|
+
last_active_at?: number | null | undefined;
|
|
426
427
|
region_title?: string | null | undefined;
|
|
427
428
|
group_id?: string | null | undefined;
|
|
428
429
|
requested_by?: {
|
|
@@ -450,6 +451,7 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
450
451
|
public_id?: any;
|
|
451
452
|
url?: string | null | undefined;
|
|
452
453
|
language?: string | null | undefined;
|
|
454
|
+
last_active_at?: number | null | undefined;
|
|
453
455
|
region_title?: string | null | undefined;
|
|
454
456
|
group_id?: string | null | undefined;
|
|
455
457
|
requested_by?: {
|
|
@@ -477,6 +479,7 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
477
479
|
public_id?: any;
|
|
478
480
|
url?: string | null | undefined;
|
|
479
481
|
language?: string | null | undefined;
|
|
482
|
+
last_active_at?: number | null | undefined;
|
|
480
483
|
region_title?: string | null | undefined;
|
|
481
484
|
group_id?: string | null | undefined;
|
|
482
485
|
requested_by?: {
|
package/dist/index.js
CHANGED
|
@@ -225,6 +225,7 @@ exports.MongoSourceSchema = new mongoose_1.Schema({
|
|
|
225
225
|
metadata: { type: Object, default: {} },
|
|
226
226
|
created_at: { type: Number, default: Date.now },
|
|
227
227
|
updated_at: { type: Number, default: Date.now },
|
|
228
|
+
last_active_at: { type: Number },
|
|
228
229
|
region_id: { type: String },
|
|
229
230
|
region_title: { type: String },
|
|
230
231
|
group_id: { type: String },
|
package/dist/types.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
88
88
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
89
89
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
90
90
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
last_active_at: z.ZodOptional<z.ZodNumber>;
|
|
91
92
|
region_id: z.ZodOptional<z.ZodString>;
|
|
92
93
|
region_title: z.ZodOptional<z.ZodString>;
|
|
93
94
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -130,6 +131,7 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
130
131
|
language?: string | undefined;
|
|
131
132
|
tags?: string[] | undefined;
|
|
132
133
|
metadata?: Record<string, any> | undefined;
|
|
134
|
+
last_active_at?: number | undefined;
|
|
133
135
|
region_title?: string | undefined;
|
|
134
136
|
group_id?: string | undefined;
|
|
135
137
|
dominant_geos?: string[] | undefined;
|
|
@@ -158,6 +160,7 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
158
160
|
tags?: string[] | undefined;
|
|
159
161
|
is_public?: boolean | undefined;
|
|
160
162
|
metadata?: Record<string, any> | undefined;
|
|
163
|
+
last_active_at?: number | undefined;
|
|
161
164
|
region_title?: string | undefined;
|
|
162
165
|
group_id?: string | undefined;
|
|
163
166
|
dominant_geos?: string[] | undefined;
|
package/dist/types.js
CHANGED
|
@@ -81,6 +81,7 @@ exports.zodSourceSchema = zod_1.z.object({
|
|
|
81
81
|
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
82
82
|
created_at: zod_1.z.number().optional(),
|
|
83
83
|
updated_at: zod_1.z.number().optional(),
|
|
84
|
+
last_active_at: zod_1.z.number().optional(),
|
|
84
85
|
region_id: zod_1.z.string().optional(),
|
|
85
86
|
region_title: zod_1.z.string().optional(),
|
|
86
87
|
group_id: zod_1.z.string().optional(),
|
package/index.ts
CHANGED
|
@@ -241,6 +241,7 @@ export const MongoSourceSchema = new Schema(
|
|
|
241
241
|
metadata: { type: Object, default: {} }, // flexible per platform
|
|
242
242
|
created_at: { type: Number, default: Date.now },
|
|
243
243
|
updated_at: { type: Number, default: Date.now },
|
|
244
|
+
last_active_at: { type: Number }, // last time data was collected from this source
|
|
244
245
|
region_id: { type: String }, // e.g., region ID
|
|
245
246
|
region_title: { type: String }, // e.g., region title
|
|
246
247
|
group_id: { type: String }, // e.g., source group ID
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -87,6 +87,7 @@ export const zodSourceSchema = z.object({
|
|
|
87
87
|
metadata: z.record(z.string(), z.any()).optional(), // flexible per platform
|
|
88
88
|
created_at: z.number().optional(),
|
|
89
89
|
updated_at: z.number().optional(),
|
|
90
|
+
last_active_at: z.number().optional(), // last time data was collected from this source
|
|
90
91
|
region_id: z.string().optional(), // e.g., region ID // INDEX
|
|
91
92
|
region_title: z.string().optional(), // e.g., region title
|
|
92
93
|
group_id: z.string().optional(), // e.g., source group ID // INDEX
|