asfur 1.0.24 → 1.0.25

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 CHANGED
@@ -406,7 +406,6 @@ export declare const MongoQuerySchema: Schema<{
406
406
  start: number | Date;
407
407
  end: number | Date;
408
408
  };
409
- is_default: boolean;
410
409
  _id?: string | undefined;
411
410
  title?: string | undefined;
412
411
  query?: string | undefined;
@@ -422,7 +421,6 @@ export declare const MongoQuerySchema: Schema<{
422
421
  start: number | Date;
423
422
  end: number | Date;
424
423
  };
425
- is_default: boolean;
426
424
  _id?: string | undefined;
427
425
  title?: string | undefined;
428
426
  query?: string | undefined;
@@ -438,7 +436,6 @@ export declare const MongoQuerySchema: Schema<{
438
436
  start: number | Date;
439
437
  end: number | Date;
440
438
  };
441
- is_default: boolean;
442
439
  _id?: string | undefined;
443
440
  title?: string | undefined;
444
441
  query?: string | undefined;
@@ -454,7 +451,6 @@ export declare const MongoQuerySchema: Schema<{
454
451
  start: number | Date;
455
452
  end: number | Date;
456
453
  };
457
- is_default: boolean;
458
454
  _id?: string | undefined;
459
455
  title?: string | undefined;
460
456
  query?: string | undefined;
@@ -474,7 +470,6 @@ export declare const MongoQuerySchema: Schema<{
474
470
  start: number | Date;
475
471
  end: number | Date;
476
472
  };
477
- is_default: boolean;
478
473
  _id?: string | undefined;
479
474
  title?: string | undefined;
480
475
  query?: string | undefined;
@@ -490,7 +485,6 @@ export declare const MongoQuerySchema: Schema<{
490
485
  start: number | Date;
491
486
  end: number | Date;
492
487
  };
493
- is_default: boolean;
494
488
  _id?: string | undefined;
495
489
  title?: string | undefined;
496
490
  query?: string | undefined;
@@ -506,7 +500,6 @@ export declare const MongoQuerySchema: Schema<{
506
500
  start: number | Date;
507
501
  end: number | Date;
508
502
  };
509
- is_default: boolean;
510
503
  _id?: string | undefined;
511
504
  title?: string | undefined;
512
505
  query?: string | undefined;
package/dist/index.js CHANGED
@@ -98,7 +98,6 @@ exports.MongoQuerySchema = new mongoose_1.Schema({
98
98
  required: true,
99
99
  },
100
100
  user_id: { type: String, required: true },
101
- is_default: { type: Boolean, default: false },
102
101
  user_instructions: { type: String }, // optional user instructions for the query
103
102
  }, {
104
103
  versionKey: false,
package/dist/types.d.ts CHANGED
@@ -193,7 +193,6 @@ export declare const zodQuerySchema: z.ZodObject<{
193
193
  }>]>;
194
194
  user_instructions: z.ZodOptional<z.ZodString>;
195
195
  user_id: z.ZodString;
196
- is_default: z.ZodDefault<z.ZodBoolean>;
197
196
  }, "strip", z.ZodTypeAny, {
198
197
  user_id: string;
199
198
  sources: string[];
@@ -205,7 +204,6 @@ export declare const zodQuerySchema: z.ZodObject<{
205
204
  start: number | Date;
206
205
  end: number | Date;
207
206
  };
208
- is_default: boolean;
209
207
  _id?: string | undefined;
210
208
  title?: string | undefined;
211
209
  query?: string | undefined;
@@ -225,7 +223,6 @@ export declare const zodQuerySchema: z.ZodObject<{
225
223
  title?: string | undefined;
226
224
  query?: string | undefined;
227
225
  user_instructions?: string | undefined;
228
- is_default?: boolean | undefined;
229
226
  }>;
230
227
  export declare const zodInstructionsSchema: z.ZodObject<{
231
228
  _id: z.ZodOptional<z.ZodString>;
package/dist/types.js CHANGED
@@ -93,8 +93,7 @@ exports.zodQuerySchema = zod_1.z.object({
93
93
  sources: zod_1.z.array(zod_1.z.string()),
94
94
  time_range: exports.zodRelativeTimeRangeSchema.or(exports.zodAbsoluteTimeRangeSchema),
95
95
  user_instructions: zod_1.z.string().optional(),
96
- user_id: zod_1.z.string().nonempty('User ID must be provided'),
97
- is_default: zod_1.z.boolean().default(false), // true if this is a default query
96
+ user_id: zod_1.z.string().nonempty('User ID must be provided'), // user identifier
98
97
  });
99
98
  exports.zodInstructionsSchema = zod_1.z.object({
100
99
  _id: zod_1.z.string().optional(),
package/index.ts CHANGED
@@ -103,7 +103,6 @@ export const MongoQuerySchema = new Schema<QueryType>(
103
103
  required: true,
104
104
  },
105
105
  user_id: { type: String, required: true }, // user identifier
106
- is_default: { type: Boolean, default: false }, // true if this is a default query
107
106
  user_instructions: { type: String }, // optional user instructions for the query
108
107
  },
109
108
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "SDK for interacting with the Asfur API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -101,7 +101,6 @@ export const zodQuerySchema = z.object({
101
101
  time_range: zodRelativeTimeRangeSchema.or(zodAbsoluteTimeRangeSchema), // optional time range for the query
102
102
  user_instructions: z.string().optional(), // optional user instructions for the query
103
103
  user_id: z.string().nonempty('User ID must be provided'), // user identifier
104
- is_default: z.boolean().default(false), // true if this is a default query
105
104
  });
106
105
 
107
106
  export const zodInstructionsSchema = z.object({