@magicpages/ghost-typesense-config 1.9.1 → 1.9.3

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.mts CHANGED
@@ -58,6 +58,8 @@ declare const TypesenseConfigSchema: z.ZodObject<{
58
58
  apiKey: z.ZodString;
59
59
  connectionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
60
60
  retryIntervalSeconds: z.ZodOptional<z.ZodNumber>;
61
+ batchSize: z.ZodOptional<z.ZodNumber>;
62
+ maxConcurrentBatches: z.ZodOptional<z.ZodNumber>;
61
63
  }, "strip", z.ZodTypeAny, {
62
64
  nodes: {
63
65
  host: string;
@@ -68,6 +70,8 @@ declare const TypesenseConfigSchema: z.ZodObject<{
68
70
  apiKey: string;
69
71
  connectionTimeoutSeconds?: number | undefined;
70
72
  retryIntervalSeconds?: number | undefined;
73
+ batchSize?: number | undefined;
74
+ maxConcurrentBatches?: number | undefined;
71
75
  }, {
72
76
  nodes: {
73
77
  host: string;
@@ -78,6 +82,8 @@ declare const TypesenseConfigSchema: z.ZodObject<{
78
82
  apiKey: string;
79
83
  connectionTimeoutSeconds?: number | undefined;
80
84
  retryIntervalSeconds?: number | undefined;
85
+ batchSize?: number | undefined;
86
+ maxConcurrentBatches?: number | undefined;
81
87
  }>;
82
88
  /**
83
89
  * Collection field configuration schema
@@ -293,6 +299,8 @@ declare const ConfigSchema: z.ZodObject<{
293
299
  apiKey: z.ZodString;
294
300
  connectionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
295
301
  retryIntervalSeconds: z.ZodOptional<z.ZodNumber>;
302
+ batchSize: z.ZodOptional<z.ZodNumber>;
303
+ maxConcurrentBatches: z.ZodOptional<z.ZodNumber>;
296
304
  }, "strip", z.ZodTypeAny, {
297
305
  nodes: {
298
306
  host: string;
@@ -303,6 +311,8 @@ declare const ConfigSchema: z.ZodObject<{
303
311
  apiKey: string;
304
312
  connectionTimeoutSeconds?: number | undefined;
305
313
  retryIntervalSeconds?: number | undefined;
314
+ batchSize?: number | undefined;
315
+ maxConcurrentBatches?: number | undefined;
306
316
  }, {
307
317
  nodes: {
308
318
  host: string;
@@ -313,6 +323,8 @@ declare const ConfigSchema: z.ZodObject<{
313
323
  apiKey: string;
314
324
  connectionTimeoutSeconds?: number | undefined;
315
325
  retryIntervalSeconds?: number | undefined;
326
+ batchSize?: number | undefined;
327
+ maxConcurrentBatches?: number | undefined;
316
328
  }>;
317
329
  collection: z.ZodObject<{
318
330
  name: z.ZodString;
@@ -420,6 +432,8 @@ declare const ConfigSchema: z.ZodObject<{
420
432
  apiKey: string;
421
433
  connectionTimeoutSeconds?: number | undefined;
422
434
  retryIntervalSeconds?: number | undefined;
435
+ batchSize?: number | undefined;
436
+ maxConcurrentBatches?: number | undefined;
423
437
  };
424
438
  collection: {
425
439
  name: string;
@@ -449,6 +463,8 @@ declare const ConfigSchema: z.ZodObject<{
449
463
  apiKey: string;
450
464
  connectionTimeoutSeconds?: number | undefined;
451
465
  retryIntervalSeconds?: number | undefined;
466
+ batchSize?: number | undefined;
467
+ maxConcurrentBatches?: number | undefined;
452
468
  };
453
469
  collection: {
454
470
  name: string;
package/dist/index.d.ts CHANGED
@@ -58,6 +58,8 @@ declare const TypesenseConfigSchema: z.ZodObject<{
58
58
  apiKey: z.ZodString;
59
59
  connectionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
60
60
  retryIntervalSeconds: z.ZodOptional<z.ZodNumber>;
61
+ batchSize: z.ZodOptional<z.ZodNumber>;
62
+ maxConcurrentBatches: z.ZodOptional<z.ZodNumber>;
61
63
  }, "strip", z.ZodTypeAny, {
62
64
  nodes: {
63
65
  host: string;
@@ -68,6 +70,8 @@ declare const TypesenseConfigSchema: z.ZodObject<{
68
70
  apiKey: string;
69
71
  connectionTimeoutSeconds?: number | undefined;
70
72
  retryIntervalSeconds?: number | undefined;
73
+ batchSize?: number | undefined;
74
+ maxConcurrentBatches?: number | undefined;
71
75
  }, {
72
76
  nodes: {
73
77
  host: string;
@@ -78,6 +82,8 @@ declare const TypesenseConfigSchema: z.ZodObject<{
78
82
  apiKey: string;
79
83
  connectionTimeoutSeconds?: number | undefined;
80
84
  retryIntervalSeconds?: number | undefined;
85
+ batchSize?: number | undefined;
86
+ maxConcurrentBatches?: number | undefined;
81
87
  }>;
82
88
  /**
83
89
  * Collection field configuration schema
@@ -293,6 +299,8 @@ declare const ConfigSchema: z.ZodObject<{
293
299
  apiKey: z.ZodString;
294
300
  connectionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
295
301
  retryIntervalSeconds: z.ZodOptional<z.ZodNumber>;
302
+ batchSize: z.ZodOptional<z.ZodNumber>;
303
+ maxConcurrentBatches: z.ZodOptional<z.ZodNumber>;
296
304
  }, "strip", z.ZodTypeAny, {
297
305
  nodes: {
298
306
  host: string;
@@ -303,6 +311,8 @@ declare const ConfigSchema: z.ZodObject<{
303
311
  apiKey: string;
304
312
  connectionTimeoutSeconds?: number | undefined;
305
313
  retryIntervalSeconds?: number | undefined;
314
+ batchSize?: number | undefined;
315
+ maxConcurrentBatches?: number | undefined;
306
316
  }, {
307
317
  nodes: {
308
318
  host: string;
@@ -313,6 +323,8 @@ declare const ConfigSchema: z.ZodObject<{
313
323
  apiKey: string;
314
324
  connectionTimeoutSeconds?: number | undefined;
315
325
  retryIntervalSeconds?: number | undefined;
326
+ batchSize?: number | undefined;
327
+ maxConcurrentBatches?: number | undefined;
316
328
  }>;
317
329
  collection: z.ZodObject<{
318
330
  name: z.ZodString;
@@ -420,6 +432,8 @@ declare const ConfigSchema: z.ZodObject<{
420
432
  apiKey: string;
421
433
  connectionTimeoutSeconds?: number | undefined;
422
434
  retryIntervalSeconds?: number | undefined;
435
+ batchSize?: number | undefined;
436
+ maxConcurrentBatches?: number | undefined;
423
437
  };
424
438
  collection: {
425
439
  name: string;
@@ -449,6 +463,8 @@ declare const ConfigSchema: z.ZodObject<{
449
463
  apiKey: string;
450
464
  connectionTimeoutSeconds?: number | undefined;
451
465
  retryIntervalSeconds?: number | undefined;
466
+ batchSize?: number | undefined;
467
+ maxConcurrentBatches?: number | undefined;
452
468
  };
453
469
  collection: {
454
470
  name: string;
package/dist/index.js CHANGED
@@ -52,7 +52,9 @@ var TypesenseConfigSchema = import_zod.z.object({
52
52
  nodes: import_zod.z.array(TypesenseNodeSchema).min(1),
53
53
  apiKey: import_zod.z.string().min(1),
54
54
  connectionTimeoutSeconds: import_zod.z.number().optional(),
55
- retryIntervalSeconds: import_zod.z.number().optional()
55
+ retryIntervalSeconds: import_zod.z.number().optional(),
56
+ batchSize: import_zod.z.number().optional(),
57
+ maxConcurrentBatches: import_zod.z.number().optional()
56
58
  });
57
59
  var CollectionFieldSchema = import_zod.z.object({
58
60
  name: import_zod.z.string(),
package/dist/index.mjs CHANGED
@@ -19,7 +19,9 @@ var TypesenseConfigSchema = z.object({
19
19
  nodes: z.array(TypesenseNodeSchema).min(1),
20
20
  apiKey: z.string().min(1),
21
21
  connectionTimeoutSeconds: z.number().optional(),
22
- retryIntervalSeconds: z.number().optional()
22
+ retryIntervalSeconds: z.number().optional(),
23
+ batchSize: z.number().optional(),
24
+ maxConcurrentBatches: z.number().optional()
23
25
  });
24
26
  var CollectionFieldSchema = z.object({
25
27
  name: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicpages/ghost-typesense-config",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "Configuration types and utilities for Ghost-Typesense integration",
5
5
  "author": "MagicPages",
6
6
  "license": "MIT",