harvester_sdk 1.0.16 → 1.0.17
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 +6 -0
- package/dist/index.js +2 -0
- package/dist/types.d.ts +6 -0
- package/dist/types.js +2 -0
- package/index.ts +2 -0
- package/package.json +1 -1
- package/types.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -423,6 +423,8 @@ 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
|
+
created_by?: string | null | undefined;
|
|
427
|
+
updated_by?: string | null | undefined;
|
|
426
428
|
last_active_at?: number | null | undefined;
|
|
427
429
|
region_title?: string | null | undefined;
|
|
428
430
|
group_id?: string | null | undefined;
|
|
@@ -451,6 +453,8 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
451
453
|
public_id?: any;
|
|
452
454
|
url?: string | null | undefined;
|
|
453
455
|
language?: string | null | undefined;
|
|
456
|
+
created_by?: string | null | undefined;
|
|
457
|
+
updated_by?: string | null | undefined;
|
|
454
458
|
last_active_at?: number | null | undefined;
|
|
455
459
|
region_title?: string | null | undefined;
|
|
456
460
|
group_id?: string | null | undefined;
|
|
@@ -479,6 +483,8 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
|
|
|
479
483
|
public_id?: any;
|
|
480
484
|
url?: string | null | undefined;
|
|
481
485
|
language?: string | null | undefined;
|
|
486
|
+
created_by?: string | null | undefined;
|
|
487
|
+
updated_by?: string | null | undefined;
|
|
482
488
|
last_active_at?: number | null | undefined;
|
|
483
489
|
region_title?: string | null | undefined;
|
|
484
490
|
group_id?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -225,6 +225,8 @@ 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
|
+
created_by: { type: String },
|
|
229
|
+
updated_by: { type: String },
|
|
228
230
|
last_active_at: { type: Number },
|
|
229
231
|
region_id: { type: String },
|
|
230
232
|
region_title: { type: String },
|
package/dist/types.d.ts
CHANGED
|
@@ -88,6 +88,8 @@ 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
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
92
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
91
93
|
last_active_at: z.ZodOptional<z.ZodNumber>;
|
|
92
94
|
region_id: z.ZodOptional<z.ZodString>;
|
|
93
95
|
region_title: z.ZodOptional<z.ZodString>;
|
|
@@ -131,6 +133,8 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
131
133
|
language?: string | undefined;
|
|
132
134
|
tags?: string[] | undefined;
|
|
133
135
|
metadata?: Record<string, any> | undefined;
|
|
136
|
+
created_by?: string | undefined;
|
|
137
|
+
updated_by?: string | undefined;
|
|
134
138
|
last_active_at?: number | undefined;
|
|
135
139
|
region_title?: string | undefined;
|
|
136
140
|
group_id?: string | undefined;
|
|
@@ -160,6 +164,8 @@ export declare const zodSourceSchema: z.ZodObject<{
|
|
|
160
164
|
tags?: string[] | undefined;
|
|
161
165
|
is_public?: boolean | undefined;
|
|
162
166
|
metadata?: Record<string, any> | undefined;
|
|
167
|
+
created_by?: string | undefined;
|
|
168
|
+
updated_by?: string | undefined;
|
|
163
169
|
last_active_at?: number | undefined;
|
|
164
170
|
region_title?: string | undefined;
|
|
165
171
|
group_id?: string | undefined;
|
package/dist/types.js
CHANGED
|
@@ -81,6 +81,8 @@ 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
|
+
created_by: zod_1.z.string().optional(),
|
|
85
|
+
updated_by: zod_1.z.string().optional(),
|
|
84
86
|
last_active_at: zod_1.z.number().optional(),
|
|
85
87
|
region_id: zod_1.z.string().optional(),
|
|
86
88
|
region_title: zod_1.z.string().optional(),
|
package/index.ts
CHANGED
|
@@ -241,6 +241,8 @@ 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
|
+
created_by: { type: String },
|
|
245
|
+
updated_by: { type: String },
|
|
244
246
|
last_active_at: { type: Number }, // last time data was collected from this source
|
|
245
247
|
region_id: { type: String }, // e.g., region ID
|
|
246
248
|
region_title: { type: String }, // e.g., region title
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -87,6 +87,8 @@ 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
|
+
created_by: z.string().optional(),
|
|
91
|
+
updated_by: z.string().optional(),
|
|
90
92
|
last_active_at: z.number().optional(), // last time data was collected from this source
|
|
91
93
|
region_id: z.string().optional(), // e.g., region ID // INDEX
|
|
92
94
|
region_title: z.string().optional(), // e.g., region title
|