@emeryld/rrroutes-openapi 2.5.10 → 2.5.12

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.
@@ -1,5 +1,5 @@
1
- import type { CacheLogType, CacheLogsFilter } from '../../../../types/types.cacheLog.js';
2
1
  import { FilterMode, SelectionState } from '../../../../types/filterTypes.js';
2
+ import type { CacheLogsFilter } from '../../../../types/types.cacheLog.js';
3
3
  type CacheFiltersCardProps = {
4
4
  filters: CacheLogsFilter;
5
5
  cacheKeyOptions: string[];
@@ -8,8 +8,8 @@ type CacheFiltersCardProps = {
8
8
  onRefresh: () => void;
9
9
  onClearCache: () => void;
10
10
  onUpdateFilters: (updater: (prev: CacheLogsFilter) => CacheLogsFilter) => void;
11
- getOperationState: (operation: CacheLogType['operation']) => SelectionState;
12
- onToggleOperation: (operation: CacheLogType['operation'], mode: FilterMode) => void;
11
+ getOperationState: () => SelectionState;
12
+ onToggleOperation: (mode: FilterMode) => void;
13
13
  };
14
14
  export default function CacheFiltersCard({ filters, cacheKeyOptions, refreshing, clearError, onRefresh, onClearCache, onUpdateFilters, getOperationState, onToggleOperation, }: CacheFiltersCardProps): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -17,27 +17,7 @@ export declare const cacheTraceSchema: z.ZodObject<{
17
17
  groupId: z.ZodOptional<z.ZodString>;
18
18
  type: z.ZodOptional<z.ZodString>;
19
19
  }, z.core.$strip>;
20
- export declare const cacheLogSchema: z.ZodObject<{
21
- id: z.ZodString;
22
- name: z.ZodString;
23
- description: z.ZodOptional<z.ZodString>;
24
- groupId: z.ZodOptional<z.ZodString>;
25
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
- createdAt: z.ZodNumber;
27
- updatedAt: z.ZodNumber;
28
- value: z.ZodNullable<z.ZodAny>;
29
- size: z.ZodOptional<z.ZodNumber>;
30
- operation: z.ZodOptional<z.ZodEnum<{
31
- delete: "delete";
32
- hit: "hit";
33
- miss: "miss";
34
- set: "set";
35
- }>>;
36
- lastSet: z.ZodNullable<z.ZodNumber>;
37
- lastHit: z.ZodNullable<z.ZodNumber>;
38
- lastMiss: z.ZodNullable<z.ZodNumber>;
39
- lastDelete: z.ZodNullable<z.ZodNumber>;
40
- }, z.core.$strip>;
20
+ export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
41
21
  export declare const cacheTraceQuerySchema: z.ZodObject<{
42
22
  beforeDate: z.ZodOptional<z.ZodString>;
43
23
  afterDate: z.ZodOptional<z.ZodString>;
@@ -56,23 +36,21 @@ export declare const cacheTraceQuerySchema: z.ZodObject<{
56
36
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
37
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
38
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
- operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
60
- delete: "delete";
61
- hit: "hit";
62
- miss: "miss";
63
- set: "set";
64
- }>>>;
65
- operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
66
- delete: "delete";
67
- hit: "hit";
68
- miss: "miss";
69
- set: "set";
70
- }>>>;
71
- keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
- keySearch: z.ZodOptional<z.ZodString>;
73
39
  }, z.core.$strip>;
74
- export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
75
40
  export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema>;
41
+ export declare const cacheLogSchema: z.ZodObject<{
42
+ id: z.ZodString;
43
+ name: z.ZodString;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ groupId: z.ZodOptional<z.ZodString>;
46
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
+ createdAt: z.ZodNumber;
48
+ updatedAt: z.ZodNumber;
49
+ value: z.ZodNullable<z.ZodAny>;
50
+ size: z.ZodOptional<z.ZodNumber>;
51
+ setAt: z.ZodOptional<z.ZodNumber>;
52
+ ttlMs: z.ZodOptional<z.ZodNumber>;
53
+ }, z.core.$strip>;
76
54
  export type CacheLogType = z.infer<typeof cacheLogSchema>;
77
55
  export declare const cacheLogQuerySchema: z.ZodObject<{
78
56
  beforeDate: z.ZodOptional<z.ZodString>;
@@ -264,16 +242,8 @@ export declare const cacheLeaves: readonly [{
264
242
  updatedAt: z.ZodNumber;
265
243
  value: z.ZodNullable<z.ZodAny>;
266
244
  size: z.ZodOptional<z.ZodNumber>;
267
- operation: z.ZodOptional<z.ZodEnum<{
268
- delete: "delete";
269
- hit: "hit";
270
- miss: "miss";
271
- set: "set";
272
- }>>;
273
- lastSet: z.ZodNullable<z.ZodNumber>;
274
- lastHit: z.ZodNullable<z.ZodNumber>;
275
- lastMiss: z.ZodNullable<z.ZodNumber>;
276
- lastDelete: z.ZodNullable<z.ZodNumber>;
245
+ setAt: z.ZodOptional<z.ZodNumber>;
246
+ ttlMs: z.ZodOptional<z.ZodNumber>;
277
247
  }, z.core.$strip>>;
278
248
  querySchema: z.ZodObject<{
279
249
  beforeDate: z.ZodOptional<z.ZodString>;
@@ -339,16 +309,8 @@ export declare const cacheLeaves: readonly [{
339
309
  updatedAt: z.ZodNumber;
340
310
  value: z.ZodNullable<z.ZodAny>;
341
311
  size: z.ZodOptional<z.ZodNumber>;
342
- operation: z.ZodOptional<z.ZodEnum<{
343
- delete: "delete";
344
- hit: "hit";
345
- miss: "miss";
346
- set: "set";
347
- }>>;
348
- lastSet: z.ZodNullable<z.ZodNumber>;
349
- lastHit: z.ZodNullable<z.ZodNumber>;
350
- lastMiss: z.ZodNullable<z.ZodNumber>;
351
- lastDelete: z.ZodNullable<z.ZodNumber>;
312
+ setAt: z.ZodOptional<z.ZodNumber>;
313
+ ttlMs: z.ZodOptional<z.ZodNumber>;
352
314
  }, z.core.$strip>>;
353
315
  querySchema: z.ZodObject<{
354
316
  beforeDate: z.ZodOptional<z.ZodString>;
@@ -412,16 +374,8 @@ export declare const cacheLeaves: readonly [{
412
374
  updatedAt: z.ZodNumber;
413
375
  value: z.ZodNullable<z.ZodAny>;
414
376
  size: z.ZodOptional<z.ZodNumber>;
415
- operation: z.ZodOptional<z.ZodEnum<{
416
- delete: "delete";
417
- hit: "hit";
418
- miss: "miss";
419
- set: "set";
420
- }>>;
421
- lastSet: z.ZodNullable<z.ZodNumber>;
422
- lastHit: z.ZodNullable<z.ZodNumber>;
423
- lastMiss: z.ZodNullable<z.ZodNumber>;
424
- lastDelete: z.ZodNullable<z.ZodNumber>;
377
+ setAt: z.ZodOptional<z.ZodNumber>;
378
+ ttlMs: z.ZodOptional<z.ZodNumber>;
425
379
  }, z.core.$strip>>;
426
380
  meta: z.ZodObject<{
427
381
  totalCount: z.ZodOptional<z.ZodNumber>;
@@ -475,15 +429,12 @@ export declare const cacheLeaves: readonly [{
475
429
  createdAt: number;
476
430
  updatedAt: number;
477
431
  value: any;
478
- lastSet: number | null;
479
- lastHit: number | null;
480
- lastMiss: number | null;
481
- lastDelete: number | null;
482
432
  description?: string | undefined;
483
433
  groupId?: string | undefined;
484
434
  tags?: string[] | undefined;
485
435
  size?: number | undefined;
486
- operation?: "delete" | "hit" | "miss" | "set" | undefined;
436
+ setAt?: number | undefined;
437
+ ttlMs?: number | undefined;
487
438
  }[];
488
439
  meta: {
489
440
  totalCount?: number | undefined;
@@ -496,15 +447,12 @@ export declare const cacheLeaves: readonly [{
496
447
  createdAt: number;
497
448
  updatedAt: number;
498
449
  value: any;
499
- lastSet: number | null;
500
- lastHit: number | null;
501
- lastMiss: number | null;
502
- lastDelete: number | null;
503
450
  description?: string | undefined;
504
451
  groupId?: string | undefined;
505
452
  tags?: string[] | undefined;
506
453
  size?: number | undefined;
507
- operation?: "delete" | "hit" | "miss" | "set" | undefined;
454
+ setAt?: number | undefined;
455
+ ttlMs?: number | undefined;
508
456
  }[];
509
457
  meta: {
510
458
  totalCount?: number | undefined;
@@ -568,20 +516,6 @@ export declare const cacheLeaves: readonly [{
568
516
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
569
517
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
518
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
571
- operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
572
- delete: "delete";
573
- hit: "hit";
574
- miss: "miss";
575
- set: "set";
576
- }>>>;
577
- operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
578
- delete: "delete";
579
- hit: "hit";
580
- miss: "miss";
581
- set: "set";
582
- }>>>;
583
- keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
584
- keySearch: z.ZodOptional<z.ZodString>;
585
519
  }, z.core.$strip>;
586
520
  outputMetaSchema: z.ZodObject<{
587
521
  totalCount: z.ZodOptional<z.ZodNumber>;
@@ -637,20 +571,6 @@ export declare const cacheLeaves: readonly [{
637
571
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
638
572
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
639
573
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
640
- operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
641
- delete: "delete";
642
- hit: "hit";
643
- miss: "miss";
644
- set: "set";
645
- }>>>;
646
- operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
647
- delete: "delete";
648
- hit: "hit";
649
- miss: "miss";
650
- set: "set";
651
- }>>>;
652
- keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
653
- keySearch: z.ZodOptional<z.ZodString>;
654
574
  }, z.core.$strip>;
655
575
  outputMetaSchema: z.ZodObject<{
656
576
  totalCount: z.ZodOptional<z.ZodNumber>;
@@ -703,10 +623,6 @@ export declare const cacheLeaves: readonly [{
703
623
  groupsExclude?: string[] | undefined;
704
624
  tagsInclude?: string[] | undefined;
705
625
  tagsExclude?: string[] | undefined;
706
- operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
707
- operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
708
- keys?: string[] | undefined;
709
- keySearch?: string | undefined;
710
626
  } & {
711
627
  cursor?: string | undefined;
712
628
  pageSize?: number | undefined;
@@ -720,10 +636,6 @@ export declare const cacheLeaves: readonly [{
720
636
  groupsExclude?: string[] | undefined;
721
637
  tagsInclude?: string[] | undefined;
722
638
  tagsExclude?: string[] | undefined;
723
- operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
724
- operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
725
- keys?: string[] | undefined;
726
- keySearch?: string | undefined;
727
639
  } & {
728
640
  cursor?: string | undefined;
729
641
  pageSize?: unknown;
@@ -4,6 +4,7 @@ import { endpointLeaves } from './types.endpoint.js';
4
4
  import { logLeaves } from './types.log.js';
5
5
  import { presetLeaves } from './types.preset.js';
6
6
  import { requestLogLeaves } from './types.requestLog.js';
7
+ import { schedulingLeaves } from './types.scheduling.js';
7
8
  import { socketLeaves } from './types.socket.js';
8
9
  type AllLeaves = readonly [
9
10
  ...MergeAugmentedCollections<'', undefined, readonly [
@@ -13,7 +14,8 @@ type AllLeaves = readonly [
13
14
  typeof logLeaves,
14
15
  typeof cacheLeaves,
15
16
  typeof presetLeaves,
16
- typeof socketLeaves
17
+ typeof socketLeaves,
18
+ typeof schedulingLeaves
17
19
  ]>
18
20
  ]>
19
21
  ];