@emeryld/rrroutes-openapi 2.5.14 → 2.5.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.
@@ -2,23 +2,20 @@ import z from 'zod';
2
2
  import { paginationSchema } from './types.base';
3
3
  export declare const CACHE_OPERATIONS: readonly ["hit", "miss", "set", "delete"];
4
4
  export type CacheOperation = (typeof CACHE_OPERATIONS)[number];
5
- export declare const cacheTraceSchema: z.ZodObject<{
5
+ export declare const cacheLogSchema: z.ZodObject<{
6
6
  id: z.ZodString;
7
- timestamp: z.ZodNumber;
8
- operation: z.ZodEnum<{
9
- delete: "delete";
10
- hit: "hit";
11
- miss: "miss";
12
- set: "set";
13
- }>;
14
- key: z.ZodString;
7
+ name: z.ZodString;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ createdAt: z.ZodNumber;
11
+ updatedAt: z.ZodNumber;
12
+ value: z.ZodNullable<z.ZodAny>;
15
13
  size: z.ZodOptional<z.ZodNumber>;
16
- durationMs: z.ZodOptional<z.ZodNumber>;
17
- groupId: z.ZodOptional<z.ZodString>;
18
- type: z.ZodOptional<z.ZodString>;
14
+ setAt: z.ZodOptional<z.ZodNumber>;
15
+ ttlMs: z.ZodOptional<z.ZodNumber>;
19
16
  }, z.core.$strip>;
20
- export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
21
- export declare const cacheTraceQuerySchema: z.ZodObject<{
17
+ export type CacheLogType = z.infer<typeof cacheLogSchema>;
18
+ export declare const cacheLogQuerySchema: z.ZodObject<{
22
19
  beforeDate: z.ZodOptional<z.ZodString>;
23
20
  afterDate: z.ZodOptional<z.ZodString>;
24
21
  orderBy: z.ZodOptional<z.ZodString>;
@@ -31,23 +28,27 @@ export declare const cacheTraceQuerySchema: z.ZodObject<{
31
28
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
29
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
30
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
33
  }, z.core.$strip>;
35
- export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema>;
36
- export declare const cacheLogSchema: z.ZodObject<{
34
+ export type CacheLogsFilter = z.infer<typeof cacheLogQuerySchema> & z.infer<typeof paginationSchema>;
35
+ export declare const cacheTraceSchema: z.ZodObject<{
37
36
  id: z.ZodString;
38
- name: z.ZodString;
39
- description: z.ZodOptional<z.ZodString>;
40
- groupId: z.ZodOptional<z.ZodString>;
41
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
- createdAt: z.ZodNumber;
43
- updatedAt: z.ZodNumber;
44
- value: z.ZodNullable<z.ZodAny>;
37
+ timestamp: z.ZodNumber;
38
+ operation: z.ZodEnum<{
39
+ delete: "delete";
40
+ hit: "hit";
41
+ miss: "miss";
42
+ set: "set";
43
+ }>;
44
+ key: z.ZodString;
45
45
  size: z.ZodOptional<z.ZodNumber>;
46
- setAt: z.ZodOptional<z.ZodNumber>;
47
- ttlMs: z.ZodOptional<z.ZodNumber>;
46
+ durationMs: z.ZodOptional<z.ZodNumber>;
47
+ groupId: z.ZodOptional<z.ZodString>;
48
+ type: z.ZodOptional<z.ZodString>;
48
49
  }, z.core.$strip>;
49
- export type CacheLogType = z.infer<typeof cacheLogSchema>;
50
- export declare const cacheLogQuerySchema: z.ZodObject<{
50
+ export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
51
+ export declare const cacheTraceQuerySchema: z.ZodObject<{
51
52
  beforeDate: z.ZodOptional<z.ZodString>;
52
53
  afterDate: z.ZodOptional<z.ZodString>;
53
54
  orderBy: z.ZodOptional<z.ZodString>;
@@ -62,8 +63,20 @@ export declare const cacheLogQuerySchema: z.ZodObject<{
62
63
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
64
  keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
65
  keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
67
+ delete: "delete";
68
+ hit: "hit";
69
+ miss: "miss";
70
+ set: "set";
71
+ }>>>;
72
+ operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
73
+ delete: "delete";
74
+ hit: "hit";
75
+ miss: "miss";
76
+ set: "set";
77
+ }>>>;
65
78
  }, z.core.$strip>;
66
- export type CacheLogsFilter = z.infer<typeof cacheLogQuerySchema> & z.infer<typeof paginationSchema>;
79
+ export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema>;
67
80
  export declare const cacheLeaves: readonly [{
68
81
  readonly method: "get";
69
82
  readonly path: "cache";
@@ -96,7 +109,6 @@ export declare const cacheLeaves: readonly [{
96
109
  id: z.ZodString;
97
110
  name: z.ZodString;
98
111
  description: z.ZodOptional<z.ZodString>;
99
- groupId: z.ZodOptional<z.ZodString>;
100
112
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
113
  createdAt: z.ZodNumber;
102
114
  updatedAt: z.ZodNumber;
@@ -146,7 +158,6 @@ export declare const cacheLeaves: readonly [{
146
158
  id: z.ZodString;
147
159
  name: z.ZodString;
148
160
  description: z.ZodOptional<z.ZodString>;
149
- groupId: z.ZodOptional<z.ZodString>;
150
161
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
151
162
  createdAt: z.ZodNumber;
152
163
  updatedAt: z.ZodNumber;
@@ -194,7 +205,6 @@ export declare const cacheLeaves: readonly [{
194
205
  id: z.ZodString;
195
206
  name: z.ZodString;
196
207
  description: z.ZodOptional<z.ZodString>;
197
- groupId: z.ZodOptional<z.ZodString>;
198
208
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
199
209
  createdAt: z.ZodNumber;
200
210
  updatedAt: z.ZodNumber;
@@ -252,7 +262,6 @@ export declare const cacheLeaves: readonly [{
252
262
  updatedAt: number;
253
263
  value: any;
254
264
  description?: string | undefined;
255
- groupId?: string | undefined;
256
265
  tags?: string[] | undefined;
257
266
  size?: number | undefined;
258
267
  setAt?: number | undefined;
@@ -270,7 +279,6 @@ export declare const cacheLeaves: readonly [{
270
279
  updatedAt: number;
271
280
  value: any;
272
281
  description?: string | undefined;
273
- groupId?: string | undefined;
274
282
  tags?: string[] | undefined;
275
283
  size?: number | undefined;
276
284
  setAt?: number | undefined;
@@ -296,10 +304,166 @@ export declare const cacheLeaves: readonly [{
296
304
  pageSize?: unknown;
297
305
  }>;
298
306
  }>>>;
307
+ }, {
308
+ readonly method: "post";
309
+ readonly path: "cache/clear";
310
+ readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
311
+ feed: false;
312
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
313
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
314
+ feed: false;
315
+ }>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
316
+ feed: false;
317
+ }>["queryExtensionSchema"] : undefined;
318
+ outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
319
+ feed: false;
320
+ }>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
321
+ feed: false;
322
+ }>["outputMetaSchema"] : undefined;
323
+ }> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
324
+ feed: true;
325
+ } : {
326
+ feed?: boolean;
327
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
328
+ paramsSchema: WithDefaults["paramsSchema"];
329
+ } : {
330
+ paramsSchema: undefined;
331
+ }) : (WithDefaults["feed"] extends true ? {
332
+ feed: true;
333
+ } : {
334
+ feed?: boolean;
335
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
336
+ querySchema: WithDefaults["querySchema"];
337
+ } : {
338
+ querySchema?: undefined;
339
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
340
+ paramsSchema: WithDefaults["paramsSchema"];
341
+ } : {
342
+ paramsSchema: undefined;
343
+ }))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
344
+ outputSchema: z.ZodObject<{
345
+ success: z.ZodBoolean;
346
+ }, z.core.$strip>;
347
+ querySchema: z.ZodObject<{
348
+ beforeDate: z.ZodOptional<z.ZodString>;
349
+ afterDate: z.ZodOptional<z.ZodString>;
350
+ orderBy: z.ZodOptional<z.ZodString>;
351
+ orderDirection: z.ZodOptional<z.ZodEnum<{
352
+ asc: "asc";
353
+ desc: "desc";
354
+ }>>;
355
+ searchQuery: z.ZodOptional<z.ZodString>;
356
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
357
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
358
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
359
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
360
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
361
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
362
+ }, z.core.$strip>;
363
+ }, "feed"> & {
364
+ feed: false;
365
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
366
+ queryExtensionSchema: undefined;
367
+ outputMetaSchema: undefined;
368
+ }>, "querySchema" | "outputSchema" | "feed">> & {
369
+ feed?: boolean;
370
+ } & {
371
+ querySchema: z.ZodObject<{
372
+ beforeDate: z.ZodOptional<z.ZodString>;
373
+ afterDate: z.ZodOptional<z.ZodString>;
374
+ orderBy: z.ZodOptional<z.ZodString>;
375
+ orderDirection: z.ZodOptional<z.ZodEnum<{
376
+ asc: "asc";
377
+ desc: "desc";
378
+ }>>;
379
+ searchQuery: z.ZodOptional<z.ZodString>;
380
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
381
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
382
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
383
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
384
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
385
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
386
+ }, z.core.$strip>;
387
+ } & {
388
+ outputSchema: z.ZodObject<{
389
+ out: z.ZodObject<{
390
+ success: z.ZodBoolean;
391
+ }, z.core.$strip>;
392
+ meta: z.ZodOptional<z.ZodString>;
393
+ }, z.core.$strip>;
394
+ } & {
395
+ paramsSchema: undefined;
396
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
397
+ bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
398
+ querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
399
+ beforeDate?: string | undefined;
400
+ afterDate?: string | undefined;
401
+ orderBy?: string | undefined;
402
+ orderDirection?: "asc" | "desc" | undefined;
403
+ searchQuery?: string | undefined;
404
+ groupsInclude?: string[] | undefined;
405
+ groupsExclude?: string[] | undefined;
406
+ tagsInclude?: string[] | undefined;
407
+ tagsExclude?: string[] | undefined;
408
+ keysInclude?: string[] | undefined;
409
+ keysExclude?: string[] | undefined;
410
+ }, {
411
+ beforeDate?: string | undefined;
412
+ afterDate?: string | undefined;
413
+ orderBy?: string | undefined;
414
+ orderDirection?: "asc" | "desc" | undefined;
415
+ searchQuery?: string | undefined;
416
+ groupsInclude?: string[] | undefined;
417
+ groupsExclude?: string[] | undefined;
418
+ tagsInclude?: string[] | undefined;
419
+ tagsExclude?: string[] | undefined;
420
+ keysInclude?: string[] | undefined;
421
+ keysExclude?: string[] | undefined;
422
+ }>;
423
+ paramsSchema: undefined;
424
+ outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
425
+ out: {
426
+ success: boolean;
427
+ };
428
+ meta?: string | undefined;
429
+ }, {
430
+ out: {
431
+ success: boolean;
432
+ };
433
+ meta?: string | undefined;
434
+ }>;
435
+ outputMetaSchema: undefined;
436
+ queryExtensionSchema: undefined;
437
+ }>>>, "paramsSchema"> & {
438
+ paramsSchema: undefined;
439
+ }>>;
299
440
  }, {
300
441
  readonly method: "get";
301
- readonly path: "cache/:cacheKey";
302
- readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "description" | "tags" | "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | "bodyFiles" | "feed" | "summary" | "docsGroup" | "deprecated" | "stability" | "docsHidden" | "docsMeta"> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
442
+ readonly path: "cache/trace";
443
+ readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "queryExtensionSchema" | "outputMetaSchema"> & {
444
+ queryExtensionSchema: C_2["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_2["queryExtensionSchema"] : undefined;
445
+ outputMetaSchema: C_2["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_2["outputMetaSchema"] : undefined;
446
+ }> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
447
+ feed: true;
448
+ } : {
449
+ feed?: boolean;
450
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
451
+ paramsSchema: WithDefaults["paramsSchema"];
452
+ } : {
453
+ paramsSchema: undefined;
454
+ }) : (WithDefaults["feed"] extends true ? {
455
+ feed: true;
456
+ } : {
457
+ feed?: boolean;
458
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
459
+ querySchema: WithDefaults["querySchema"];
460
+ } : {
461
+ querySchema?: undefined;
462
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
463
+ paramsSchema: WithDefaults["paramsSchema"];
464
+ } : {
465
+ paramsSchema: undefined;
466
+ }))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
303
467
  feed: true;
304
468
  outputSchema: z.ZodArray<z.ZodObject<{
305
469
  id: z.ZodString;
@@ -316,10 +480,6 @@ export declare const cacheLeaves: readonly [{
316
480
  groupId: z.ZodOptional<z.ZodString>;
317
481
  type: z.ZodOptional<z.ZodString>;
318
482
  }, z.core.$strip>>;
319
- queryExtensionSchema: z.ZodObject<{
320
- cursor: z.ZodOptional<z.ZodString>;
321
- pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
322
- }, z.core.$strip>;
323
483
  querySchema: z.ZodObject<{
324
484
  beforeDate: z.ZodOptional<z.ZodString>;
325
485
  afterDate: z.ZodOptional<z.ZodString>;
@@ -333,11 +493,29 @@ export declare const cacheLeaves: readonly [{
333
493
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
494
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
335
495
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
496
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
497
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
498
+ operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
499
+ delete: "delete";
500
+ hit: "hit";
501
+ miss: "miss";
502
+ set: "set";
503
+ }>>>;
504
+ operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
505
+ delete: "delete";
506
+ hit: "hit";
507
+ miss: "miss";
508
+ set: "set";
509
+ }>>>;
336
510
  }, z.core.$strip>;
337
511
  outputMetaSchema: z.ZodObject<{
338
512
  totalCount: z.ZodOptional<z.ZodNumber>;
339
513
  nextCursor: z.ZodOptional<z.ZodString>;
340
514
  }, z.core.$strip>;
515
+ queryExtensionSchema: z.ZodObject<{
516
+ cursor: z.ZodOptional<z.ZodString>;
517
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
518
+ }, z.core.$strip>;
341
519
  }, "queryExtensionSchema" | "outputMetaSchema"> & {
342
520
  queryExtensionSchema: z.ZodObject<{
343
521
  cursor: z.ZodOptional<z.ZodString>;
@@ -366,10 +544,6 @@ export declare const cacheLeaves: readonly [{
366
544
  groupId: z.ZodOptional<z.ZodString>;
367
545
  type: z.ZodOptional<z.ZodString>;
368
546
  }, z.core.$strip>>;
369
- queryExtensionSchema: z.ZodObject<{
370
- cursor: z.ZodOptional<z.ZodString>;
371
- pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
372
- }, z.core.$strip>;
373
547
  querySchema: z.ZodObject<{
374
548
  beforeDate: z.ZodOptional<z.ZodString>;
375
549
  afterDate: z.ZodOptional<z.ZodString>;
@@ -383,11 +557,29 @@ export declare const cacheLeaves: readonly [{
383
557
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
384
558
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
385
559
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
560
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
561
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
562
+ operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
563
+ delete: "delete";
564
+ hit: "hit";
565
+ miss: "miss";
566
+ set: "set";
567
+ }>>>;
568
+ operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
569
+ delete: "delete";
570
+ hit: "hit";
571
+ miss: "miss";
572
+ set: "set";
573
+ }>>>;
386
574
  }, z.core.$strip>;
387
575
  outputMetaSchema: z.ZodObject<{
388
576
  totalCount: z.ZodOptional<z.ZodNumber>;
389
577
  nextCursor: z.ZodOptional<z.ZodString>;
390
578
  }, z.core.$strip>;
579
+ queryExtensionSchema: z.ZodObject<{
580
+ cursor: z.ZodOptional<z.ZodString>;
581
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
582
+ }, z.core.$strip>;
391
583
  }, "queryExtensionSchema" | "outputMetaSchema"> & {
392
584
  queryExtensionSchema: z.ZodObject<{
393
585
  cursor: z.ZodOptional<z.ZodString>;
@@ -420,9 +612,7 @@ export declare const cacheLeaves: readonly [{
420
612
  }, z.core.$strip>;
421
613
  }, z.core.$strip>;
422
614
  } & {
423
- paramsSchema: z.ZodObject<{
424
- cacheKey: z.ZodString;
425
- }, z.core.$strip>;
615
+ paramsSchema: undefined;
426
616
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
427
617
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
428
618
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
@@ -435,6 +625,10 @@ export declare const cacheLeaves: readonly [{
435
625
  groupsExclude?: string[] | undefined;
436
626
  tagsInclude?: string[] | undefined;
437
627
  tagsExclude?: string[] | undefined;
628
+ keysInclude?: string[] | undefined;
629
+ keysExclude?: string[] | undefined;
630
+ operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
631
+ operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
438
632
  } & {
439
633
  cursor?: string | undefined;
440
634
  pageSize?: number | undefined;
@@ -448,15 +642,15 @@ export declare const cacheLeaves: readonly [{
448
642
  groupsExclude?: string[] | undefined;
449
643
  tagsInclude?: string[] | undefined;
450
644
  tagsExclude?: string[] | undefined;
645
+ keysInclude?: string[] | undefined;
646
+ keysExclude?: string[] | undefined;
647
+ operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
648
+ operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
451
649
  } & {
452
650
  cursor?: string | undefined;
453
651
  pageSize?: unknown;
454
652
  }>;
455
- paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
456
- cacheKey: string;
457
- }, {
458
- cacheKey: string;
459
- }>;
653
+ paramsSchema: undefined;
460
654
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
461
655
  out: {
462
656
  id: string;
@@ -502,143 +696,6 @@ export declare const cacheLeaves: readonly [{
502
696
  cursor?: string | undefined;
503
697
  pageSize?: unknown;
504
698
  }>;
505
- }>>>, "paramsSchema"> & {
506
- paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
507
- cacheKey: string;
508
- }, {
509
- cacheKey: string;
510
- }>;
511
- }>>;
512
- }, {
513
- readonly method: "post";
514
- readonly path: "cache/clear";
515
- readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
516
- feed: false;
517
- }>, "queryExtensionSchema" | "outputMetaSchema"> & {
518
- queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
519
- feed: false;
520
- }>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
521
- feed: false;
522
- }>["queryExtensionSchema"] : undefined;
523
- outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
524
- feed: false;
525
- }>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
526
- feed: false;
527
- }>["outputMetaSchema"] : undefined;
528
- }> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
529
- feed: true;
530
- } : {
531
- feed?: boolean;
532
- }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
533
- paramsSchema: WithDefaults["paramsSchema"];
534
- } : {
535
- paramsSchema: undefined;
536
- }) : (WithDefaults["feed"] extends true ? {
537
- feed: true;
538
- } : {
539
- feed?: boolean;
540
- }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
541
- querySchema: WithDefaults["querySchema"];
542
- } : {
543
- querySchema?: undefined;
544
- }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
545
- paramsSchema: WithDefaults["paramsSchema"];
546
- } : {
547
- paramsSchema: undefined;
548
- }))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
549
- outputSchema: z.ZodObject<{
550
- success: z.ZodBoolean;
551
- }, z.core.$strip>;
552
- querySchema: z.ZodObject<{
553
- beforeDate: z.ZodOptional<z.ZodString>;
554
- afterDate: z.ZodOptional<z.ZodString>;
555
- orderBy: z.ZodOptional<z.ZodString>;
556
- orderDirection: z.ZodOptional<z.ZodEnum<{
557
- asc: "asc";
558
- desc: "desc";
559
- }>>;
560
- searchQuery: z.ZodOptional<z.ZodString>;
561
- groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
562
- groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
563
- tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
- tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
565
- keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
566
- keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
567
- }, z.core.$strip>;
568
- }, "feed"> & {
569
- feed: false;
570
- }>, "queryExtensionSchema" | "outputMetaSchema"> & {
571
- queryExtensionSchema: undefined;
572
- outputMetaSchema: undefined;
573
- }>, "querySchema" | "outputSchema" | "feed">> & {
574
- feed?: boolean;
575
- } & {
576
- querySchema: z.ZodObject<{
577
- beforeDate: z.ZodOptional<z.ZodString>;
578
- afterDate: z.ZodOptional<z.ZodString>;
579
- orderBy: z.ZodOptional<z.ZodString>;
580
- orderDirection: z.ZodOptional<z.ZodEnum<{
581
- asc: "asc";
582
- desc: "desc";
583
- }>>;
584
- searchQuery: z.ZodOptional<z.ZodString>;
585
- groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
586
- groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
587
- tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
588
- tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
589
- keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
590
- keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
591
- }, z.core.$strip>;
592
- } & {
593
- outputSchema: z.ZodObject<{
594
- out: z.ZodObject<{
595
- success: z.ZodBoolean;
596
- }, z.core.$strip>;
597
- meta: z.ZodOptional<z.ZodString>;
598
- }, z.core.$strip>;
599
- } & {
600
- paramsSchema: undefined;
601
- }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
602
- bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
603
- querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
604
- beforeDate?: string | undefined;
605
- afterDate?: string | undefined;
606
- orderBy?: string | undefined;
607
- orderDirection?: "asc" | "desc" | undefined;
608
- searchQuery?: string | undefined;
609
- groupsInclude?: string[] | undefined;
610
- groupsExclude?: string[] | undefined;
611
- tagsInclude?: string[] | undefined;
612
- tagsExclude?: string[] | undefined;
613
- keysInclude?: string[] | undefined;
614
- keysExclude?: string[] | undefined;
615
- }, {
616
- beforeDate?: string | undefined;
617
- afterDate?: string | undefined;
618
- orderBy?: string | undefined;
619
- orderDirection?: "asc" | "desc" | undefined;
620
- searchQuery?: string | undefined;
621
- groupsInclude?: string[] | undefined;
622
- groupsExclude?: string[] | undefined;
623
- tagsInclude?: string[] | undefined;
624
- tagsExclude?: string[] | undefined;
625
- keysInclude?: string[] | undefined;
626
- keysExclude?: string[] | undefined;
627
- }>;
628
- paramsSchema: undefined;
629
- outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
630
- out: {
631
- success: boolean;
632
- };
633
- meta?: string | undefined;
634
- }, {
635
- out: {
636
- success: boolean;
637
- };
638
- meta?: string | undefined;
639
- }>;
640
- outputMetaSchema: undefined;
641
- queryExtensionSchema: undefined;
642
699
  }>>>, "paramsSchema"> & {
643
700
  paramsSchema: undefined;
644
701
  }>>;