@emeryld/rrroutes-openapi 2.5.10 → 2.5.13

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.
Files changed (48) hide show
  1. package/dist/index.cjs +64 -126
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.ts +3 -2
  4. package/dist/index.mjs +63 -125
  5. package/dist/index.mjs.map +1 -1
  6. package/dist/public/assets/docs.js +113 -113
  7. package/dist/web/v2/types/types.base.d.ts +1 -6
  8. package/dist/web/v2/types/types.cacheLog.d.ts +61 -670
  9. package/dist/web/v2/types/types.d.ts +3 -1
  10. package/dist/web/v2/types/types.endpoint.d.ts +5 -20
  11. package/dist/web/v2/types/types.log.d.ts +5 -20
  12. package/dist/web/v2/types/types.preset.d.ts +5 -20
  13. package/dist/web/v2/types/types.requestLog.d.ts +5 -20
  14. package/dist/web/v2/types/types.scheduling.d.ts +408 -0
  15. package/dist/web/v2/types/types.socket.d.ts +5 -20
  16. package/dist/web/v2/utils/dates.d.ts +4 -0
  17. package/dist/web/v2/utils/sizeFormat.d.ts +0 -1
  18. package/package.json +3 -3
  19. package/dist/web/v2/components/logs/cache/common/CacheSummaryStat.d.ts +0 -7
  20. package/dist/web/v2/components/logs/cache/common/CacheTraceDialog.d.ts +0 -8
  21. package/dist/web/v2/components/logs/cache/common/CacheValueDialog.d.ts +0 -8
  22. package/dist/web/v2/components/logs/cache/common/DetailField.d.ts +0 -7
  23. package/dist/web/v2/components/logs/cache/common/MutedText.d.ts +0 -4
  24. package/dist/web/v2/components/logs/cache/insights/CacheInsights.d.ts +0 -10
  25. package/dist/web/v2/components/logs/cache/insights/CacheInsightsKeySection.d.ts +0 -7
  26. package/dist/web/v2/components/logs/cache/insights/CacheInsightsKpiRow.d.ts +0 -8
  27. package/dist/web/v2/components/logs/cache/insights/CacheInsightsOverview.d.ts +0 -8
  28. package/dist/web/v2/components/logs/cache/insights/CacheInsightsTagSection.d.ts +0 -7
  29. package/dist/web/v2/components/logs/cache/insights/CacheProblemPanels.d.ts +0 -7
  30. package/dist/web/v2/components/logs/cache/insights/CacheTagInsights.d.ts +0 -20
  31. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailActions.d.ts +0 -12
  32. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailLogsTab.d.ts +0 -3
  33. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailModal.d.ts +0 -18
  34. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailSummary.d.ts +0 -17
  35. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTimelineTab.d.ts +0 -7
  36. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTracesTab.d.ts +0 -3
  37. package/dist/web/v2/components/logs/cache/logs/CacheDataCard.d.ts +0 -30
  38. package/dist/web/v2/components/logs/cache/logs/CacheFiltersCard.d.ts +0 -15
  39. package/dist/web/v2/components/logs/cache/logs/CacheLogsSection.d.ts +0 -1
  40. package/dist/web/v2/components/logs/cache/logs/CacheLogsTable.d.ts +0 -7
  41. package/dist/web/v2/components/logs/cache/logs/CacheSummaryTable.d.ts +0 -8
  42. package/dist/web/v2/components/logs/cache/modals/CacheTagDetailModal.d.ts +0 -11
  43. package/dist/web/v2/hooks/useCacheInsights.d.ts +0 -308
  44. package/dist/web/v2/utils/cache/cacheInsightsMappers.d.ts +0 -6
  45. package/dist/web/v2/utils/cache/cacheInsightsMetrics.d.ts +0 -24
  46. package/dist/web/v2/utils/cache/cacheTraceInsights.d.ts +0 -35
  47. package/dist/web/v2/utils/cacheFormat.d.ts +0 -7
  48. package/dist/web/v2/utils/cacheUtils.d.ts +0 -2
@@ -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
  ];
@@ -57,12 +57,7 @@ export type EndpointType = z.output<typeof endpointSchema>;
57
57
  export declare const endpointFilterSchema: z.ZodObject<{
58
58
  beforeDate: z.ZodOptional<z.ZodString>;
59
59
  afterDate: z.ZodOptional<z.ZodString>;
60
- orderBy: z.ZodOptional<z.ZodEnum<{
61
- timestamp: "timestamp";
62
- duration: "duration";
63
- level: "level";
64
- path: "path";
65
- }>>;
60
+ orderBy: z.ZodOptional<z.ZodString>;
66
61
  orderDirection: z.ZodOptional<z.ZodEnum<{
67
62
  asc: "asc";
68
63
  desc: "desc";
@@ -240,12 +235,7 @@ export declare const endpointLeaves: readonly [{
240
235
  querySchema: z.ZodObject<{
241
236
  beforeDate: z.ZodOptional<z.ZodString>;
242
237
  afterDate: z.ZodOptional<z.ZodString>;
243
- orderBy: z.ZodOptional<z.ZodEnum<{
244
- timestamp: "timestamp";
245
- duration: "duration";
246
- level: "level";
247
- path: "path";
248
- }>>;
238
+ orderBy: z.ZodOptional<z.ZodString>;
249
239
  orderDirection: z.ZodOptional<z.ZodEnum<{
250
240
  asc: "asc";
251
241
  desc: "desc";
@@ -348,12 +338,7 @@ export declare const endpointLeaves: readonly [{
348
338
  querySchema: z.ZodObject<{
349
339
  beforeDate: z.ZodOptional<z.ZodString>;
350
340
  afterDate: z.ZodOptional<z.ZodString>;
351
- orderBy: z.ZodOptional<z.ZodEnum<{
352
- timestamp: "timestamp";
353
- duration: "duration";
354
- level: "level";
355
- path: "path";
356
- }>>;
341
+ orderBy: z.ZodOptional<z.ZodString>;
357
342
  orderDirection: z.ZodOptional<z.ZodEnum<{
358
343
  asc: "asc";
359
344
  desc: "desc";
@@ -502,7 +487,7 @@ export declare const endpointLeaves: readonly [{
502
487
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
503
488
  beforeDate?: string | undefined;
504
489
  afterDate?: string | undefined;
505
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
490
+ orderBy?: string | undefined;
506
491
  orderDirection?: "asc" | "desc" | undefined;
507
492
  searchQuery?: string | undefined;
508
493
  groupsInclude?: string[] | undefined;
@@ -520,7 +505,7 @@ export declare const endpointLeaves: readonly [{
520
505
  }, {
521
506
  beforeDate?: string | undefined;
522
507
  afterDate?: string | undefined;
523
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
508
+ orderBy?: string | undefined;
524
509
  orderDirection?: "asc" | "desc" | undefined;
525
510
  searchQuery?: string | undefined;
526
511
  groupsInclude?: string[] | undefined;
@@ -15,12 +15,7 @@ export type LogType = z.infer<typeof logSchema>;
15
15
  export declare const logQuerySchema: z.ZodObject<{
16
16
  beforeDate: z.ZodOptional<z.ZodString>;
17
17
  afterDate: z.ZodOptional<z.ZodString>;
18
- orderBy: z.ZodOptional<z.ZodEnum<{
19
- timestamp: "timestamp";
20
- duration: "duration";
21
- level: "level";
22
- path: "path";
23
- }>>;
18
+ orderBy: z.ZodOptional<z.ZodString>;
24
19
  orderDirection: z.ZodOptional<z.ZodEnum<{
25
20
  asc: "asc";
26
21
  desc: "desc";
@@ -76,12 +71,7 @@ export declare const logLeaves: readonly [{
76
71
  querySchema: z.ZodObject<{
77
72
  beforeDate: z.ZodOptional<z.ZodString>;
78
73
  afterDate: z.ZodOptional<z.ZodString>;
79
- orderBy: z.ZodOptional<z.ZodEnum<{
80
- timestamp: "timestamp";
81
- duration: "duration";
82
- level: "level";
83
- path: "path";
84
- }>>;
74
+ orderBy: z.ZodOptional<z.ZodString>;
85
75
  orderDirection: z.ZodOptional<z.ZodEnum<{
86
76
  asc: "asc";
87
77
  desc: "desc";
@@ -131,12 +121,7 @@ export declare const logLeaves: readonly [{
131
121
  querySchema: z.ZodObject<{
132
122
  beforeDate: z.ZodOptional<z.ZodString>;
133
123
  afterDate: z.ZodOptional<z.ZodString>;
134
- orderBy: z.ZodOptional<z.ZodEnum<{
135
- timestamp: "timestamp";
136
- duration: "duration";
137
- level: "level";
138
- path: "path";
139
- }>>;
124
+ orderBy: z.ZodOptional<z.ZodString>;
140
125
  orderDirection: z.ZodOptional<z.ZodEnum<{
141
126
  asc: "asc";
142
127
  desc: "desc";
@@ -194,7 +179,7 @@ export declare const logLeaves: readonly [{
194
179
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
195
180
  beforeDate?: string | undefined;
196
181
  afterDate?: string | undefined;
197
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
182
+ orderBy?: string | undefined;
198
183
  orderDirection?: "asc" | "desc" | undefined;
199
184
  searchQuery?: string | undefined;
200
185
  groupsInclude?: string[] | undefined;
@@ -209,7 +194,7 @@ export declare const logLeaves: readonly [{
209
194
  }, {
210
195
  beforeDate?: string | undefined;
211
196
  afterDate?: string | undefined;
212
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
197
+ orderBy?: string | undefined;
213
198
  orderDirection?: "asc" | "desc" | undefined;
214
199
  searchQuery?: string | undefined;
215
200
  groupsInclude?: string[] | undefined;
@@ -30,12 +30,7 @@ export type PresetType = z.infer<typeof presetSchema>;
30
30
  declare const presetQuerySchema: z.ZodObject<{
31
31
  beforeDate: z.ZodOptional<z.ZodString>;
32
32
  afterDate: z.ZodOptional<z.ZodString>;
33
- orderBy: z.ZodOptional<z.ZodEnum<{
34
- timestamp: "timestamp";
35
- duration: "duration";
36
- level: "level";
37
- path: "path";
38
- }>>;
33
+ orderBy: z.ZodOptional<z.ZodString>;
39
34
  orderDirection: z.ZodOptional<z.ZodEnum<{
40
35
  asc: "asc";
41
36
  desc: "desc";
@@ -80,12 +75,7 @@ export declare const presetLeaves: readonly [{
80
75
  querySchema: z.ZodObject<{
81
76
  beforeDate: z.ZodOptional<z.ZodString>;
82
77
  afterDate: z.ZodOptional<z.ZodString>;
83
- orderBy: z.ZodOptional<z.ZodEnum<{
84
- timestamp: "timestamp";
85
- duration: "duration";
86
- level: "level";
87
- path: "path";
88
- }>>;
78
+ orderBy: z.ZodOptional<z.ZodString>;
89
79
  orderDirection: z.ZodOptional<z.ZodEnum<{
90
80
  asc: "asc";
91
81
  desc: "desc";
@@ -148,12 +138,7 @@ export declare const presetLeaves: readonly [{
148
138
  querySchema: z.ZodObject<{
149
139
  beforeDate: z.ZodOptional<z.ZodString>;
150
140
  afterDate: z.ZodOptional<z.ZodString>;
151
- orderBy: z.ZodOptional<z.ZodEnum<{
152
- timestamp: "timestamp";
153
- duration: "duration";
154
- level: "level";
155
- path: "path";
156
- }>>;
141
+ orderBy: z.ZodOptional<z.ZodString>;
157
142
  orderDirection: z.ZodOptional<z.ZodEnum<{
158
143
  asc: "asc";
159
144
  desc: "desc";
@@ -249,7 +234,7 @@ export declare const presetLeaves: readonly [{
249
234
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
250
235
  beforeDate?: string | undefined;
251
236
  afterDate?: string | undefined;
252
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
237
+ orderBy?: string | undefined;
253
238
  orderDirection?: "asc" | "desc" | undefined;
254
239
  searchQuery?: string | undefined;
255
240
  groupsInclude?: string[] | undefined;
@@ -264,7 +249,7 @@ export declare const presetLeaves: readonly [{
264
249
  }, {
265
250
  beforeDate?: string | undefined;
266
251
  afterDate?: string | undefined;
267
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
252
+ orderBy?: string | undefined;
268
253
  orderDirection?: "asc" | "desc" | undefined;
269
254
  searchQuery?: string | undefined;
270
255
  groupsInclude?: string[] | undefined;
@@ -34,12 +34,7 @@ export type RequestLogType = z.infer<typeof requestSchema>;
34
34
  export declare const requestQuerySchema: z.ZodObject<{
35
35
  beforeDate: z.ZodOptional<z.ZodString>;
36
36
  afterDate: z.ZodOptional<z.ZodString>;
37
- orderBy: z.ZodOptional<z.ZodEnum<{
38
- timestamp: "timestamp";
39
- duration: "duration";
40
- level: "level";
41
- path: "path";
42
- }>>;
37
+ orderBy: z.ZodOptional<z.ZodString>;
43
38
  orderDirection: z.ZodOptional<z.ZodEnum<{
44
39
  asc: "asc";
45
40
  desc: "desc";
@@ -131,12 +126,7 @@ export declare const requestLogLeaves: readonly [{
131
126
  querySchema: z.ZodObject<{
132
127
  beforeDate: z.ZodOptional<z.ZodString>;
133
128
  afterDate: z.ZodOptional<z.ZodString>;
134
- orderBy: z.ZodOptional<z.ZodEnum<{
135
- timestamp: "timestamp";
136
- duration: "duration";
137
- level: "level";
138
- path: "path";
139
- }>>;
129
+ orderBy: z.ZodOptional<z.ZodString>;
140
130
  orderDirection: z.ZodOptional<z.ZodEnum<{
141
131
  asc: "asc";
142
132
  desc: "desc";
@@ -220,12 +210,7 @@ export declare const requestLogLeaves: readonly [{
220
210
  querySchema: z.ZodObject<{
221
211
  beforeDate: z.ZodOptional<z.ZodString>;
222
212
  afterDate: z.ZodOptional<z.ZodString>;
223
- orderBy: z.ZodOptional<z.ZodEnum<{
224
- timestamp: "timestamp";
225
- duration: "duration";
226
- level: "level";
227
- path: "path";
228
- }>>;
213
+ orderBy: z.ZodOptional<z.ZodString>;
229
214
  orderDirection: z.ZodOptional<z.ZodEnum<{
230
215
  asc: "asc";
231
216
  desc: "desc";
@@ -316,7 +301,7 @@ export declare const requestLogLeaves: readonly [{
316
301
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
317
302
  beforeDate?: string | undefined;
318
303
  afterDate?: string | undefined;
319
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
304
+ orderBy?: string | undefined;
320
305
  orderDirection?: "asc" | "desc" | undefined;
321
306
  searchQuery?: string | undefined;
322
307
  groupsInclude?: string[] | undefined;
@@ -336,7 +321,7 @@ export declare const requestLogLeaves: readonly [{
336
321
  }, {
337
322
  beforeDate?: string | undefined;
338
323
  afterDate?: string | undefined;
339
- orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
324
+ orderBy?: string | undefined;
340
325
  orderDirection?: "asc" | "desc" | undefined;
341
326
  searchQuery?: string | undefined;
342
327
  groupsInclude?: string[] | undefined;
@@ -0,0 +1,408 @@
1
+ import z from 'zod';
2
+ export declare const schedulingSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ groupId: z.ZodOptional<z.ZodString>;
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ createdAt: z.ZodNumber;
9
+ updatedAt: z.ZodNumber;
10
+ scheduledAt: z.ZodOptional<z.ZodNumber>;
11
+ startedAt: z.ZodOptional<z.ZodNumber>;
12
+ completedAt: z.ZodOptional<z.ZodNumber>;
13
+ status: z.ZodString;
14
+ }, z.core.$strip>;
15
+ export declare const schedulingQuerySchema: z.ZodObject<{
16
+ beforeDate: z.ZodOptional<z.ZodString>;
17
+ afterDate: z.ZodOptional<z.ZodString>;
18
+ orderBy: z.ZodOptional<z.ZodString>;
19
+ orderDirection: z.ZodOptional<z.ZodEnum<{
20
+ asc: "asc";
21
+ desc: "desc";
22
+ }>>;
23
+ searchQuery: z.ZodOptional<z.ZodString>;
24
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ }, z.core.$strip>;
30
+ export type SchedulingType = z.infer<typeof schedulingSchema>;
31
+ export type SchedulingFilter = z.infer<typeof schedulingQuerySchema>;
32
+ export declare const schedulableHandler: z.ZodObject<{
33
+ name: z.ZodString;
34
+ payload: z.ZodString;
35
+ }, z.core.$strip>;
36
+ export type SchedulableHandlerType = z.infer<typeof schedulableHandler>;
37
+ export declare const schedulingLeaves: readonly [{
38
+ readonly method: "get";
39
+ readonly path: "schedulings";
40
+ readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C, "queryExtensionSchema" | "outputMetaSchema"> & {
41
+ queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
42
+ outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
43
+ }> 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 ? {
44
+ feed: true;
45
+ } : {
46
+ feed?: boolean;
47
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
48
+ paramsSchema: WithDefaults["paramsSchema"];
49
+ } : {
50
+ paramsSchema: undefined;
51
+ }) : (WithDefaults["feed"] extends true ? {
52
+ feed: true;
53
+ } : {
54
+ feed?: boolean;
55
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
56
+ querySchema: WithDefaults["querySchema"];
57
+ } : {
58
+ querySchema?: undefined;
59
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
60
+ paramsSchema: WithDefaults["paramsSchema"];
61
+ } : {
62
+ paramsSchema: undefined;
63
+ }))> : 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<{
64
+ feed: true;
65
+ outputSchema: z.ZodArray<z.ZodObject<{
66
+ id: z.ZodString;
67
+ name: z.ZodString;
68
+ description: z.ZodOptional<z.ZodString>;
69
+ groupId: z.ZodOptional<z.ZodString>;
70
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ createdAt: z.ZodNumber;
72
+ updatedAt: z.ZodNumber;
73
+ scheduledAt: z.ZodOptional<z.ZodNumber>;
74
+ startedAt: z.ZodOptional<z.ZodNumber>;
75
+ completedAt: z.ZodOptional<z.ZodNumber>;
76
+ status: z.ZodString;
77
+ }, z.core.$strip>>;
78
+ querySchema: z.ZodObject<{
79
+ beforeDate: z.ZodOptional<z.ZodString>;
80
+ afterDate: z.ZodOptional<z.ZodString>;
81
+ orderBy: z.ZodOptional<z.ZodString>;
82
+ orderDirection: z.ZodOptional<z.ZodEnum<{
83
+ asc: "asc";
84
+ desc: "desc";
85
+ }>>;
86
+ searchQuery: z.ZodOptional<z.ZodString>;
87
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
88
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
89
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
92
+ }, z.core.$strip>;
93
+ outputMetaSchema: z.ZodObject<{
94
+ totalCount: z.ZodOptional<z.ZodNumber>;
95
+ nextCursor: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strip>;
97
+ queryExtensionSchema: z.ZodObject<{
98
+ cursor: z.ZodOptional<z.ZodString>;
99
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
100
+ }, z.core.$strip>;
101
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
102
+ queryExtensionSchema: z.ZodObject<{
103
+ cursor: z.ZodOptional<z.ZodString>;
104
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
105
+ }, z.core.$strip>;
106
+ outputMetaSchema: z.ZodObject<{
107
+ totalCount: z.ZodOptional<z.ZodNumber>;
108
+ nextCursor: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strip>;
110
+ }>, "querySchema" | "outputSchema" | "feed">> & {
111
+ feed: true;
112
+ } & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
113
+ feed: true;
114
+ outputSchema: z.ZodArray<z.ZodObject<{
115
+ id: z.ZodString;
116
+ name: z.ZodString;
117
+ description: z.ZodOptional<z.ZodString>;
118
+ groupId: z.ZodOptional<z.ZodString>;
119
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
120
+ createdAt: z.ZodNumber;
121
+ updatedAt: z.ZodNumber;
122
+ scheduledAt: z.ZodOptional<z.ZodNumber>;
123
+ startedAt: z.ZodOptional<z.ZodNumber>;
124
+ completedAt: z.ZodOptional<z.ZodNumber>;
125
+ status: z.ZodString;
126
+ }, z.core.$strip>>;
127
+ querySchema: z.ZodObject<{
128
+ beforeDate: z.ZodOptional<z.ZodString>;
129
+ afterDate: z.ZodOptional<z.ZodString>;
130
+ orderBy: z.ZodOptional<z.ZodString>;
131
+ orderDirection: z.ZodOptional<z.ZodEnum<{
132
+ asc: "asc";
133
+ desc: "desc";
134
+ }>>;
135
+ searchQuery: z.ZodOptional<z.ZodString>;
136
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
+ }, z.core.$strip>;
142
+ outputMetaSchema: z.ZodObject<{
143
+ totalCount: z.ZodOptional<z.ZodNumber>;
144
+ nextCursor: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$strip>;
146
+ queryExtensionSchema: z.ZodObject<{
147
+ cursor: z.ZodOptional<z.ZodString>;
148
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
149
+ }, z.core.$strip>;
150
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
151
+ queryExtensionSchema: z.ZodObject<{
152
+ cursor: z.ZodOptional<z.ZodString>;
153
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
154
+ }, z.core.$strip>;
155
+ outputMetaSchema: z.ZodObject<{
156
+ totalCount: z.ZodOptional<z.ZodNumber>;
157
+ nextCursor: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$strip>;
159
+ }>> & {
160
+ outputSchema: z.ZodObject<{
161
+ out: z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ name: z.ZodString;
164
+ description: z.ZodOptional<z.ZodString>;
165
+ groupId: z.ZodOptional<z.ZodString>;
166
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
+ createdAt: z.ZodNumber;
168
+ updatedAt: z.ZodNumber;
169
+ scheduledAt: z.ZodOptional<z.ZodNumber>;
170
+ startedAt: z.ZodOptional<z.ZodNumber>;
171
+ completedAt: z.ZodOptional<z.ZodNumber>;
172
+ status: z.ZodString;
173
+ }, z.core.$strip>>;
174
+ meta: z.ZodObject<{
175
+ totalCount: z.ZodOptional<z.ZodNumber>;
176
+ nextCursor: z.ZodOptional<z.ZodString>;
177
+ }, z.core.$strip>;
178
+ }, z.core.$strip>;
179
+ } & {
180
+ paramsSchema: undefined;
181
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
182
+ bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
183
+ querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
184
+ beforeDate?: string | undefined;
185
+ afterDate?: string | undefined;
186
+ orderBy?: string | undefined;
187
+ orderDirection?: "asc" | "desc" | undefined;
188
+ searchQuery?: string | undefined;
189
+ groupsInclude?: string[] | undefined;
190
+ groupsExclude?: string[] | undefined;
191
+ tagsInclude?: string[] | undefined;
192
+ tagsExclude?: string[] | undefined;
193
+ status?: string[] | undefined;
194
+ } & {
195
+ cursor?: string | undefined;
196
+ pageSize?: number | undefined;
197
+ }, {
198
+ beforeDate?: string | undefined;
199
+ afterDate?: string | undefined;
200
+ orderBy?: string | undefined;
201
+ orderDirection?: "asc" | "desc" | undefined;
202
+ searchQuery?: string | undefined;
203
+ groupsInclude?: string[] | undefined;
204
+ groupsExclude?: string[] | undefined;
205
+ tagsInclude?: string[] | undefined;
206
+ tagsExclude?: string[] | undefined;
207
+ status?: string[] | undefined;
208
+ } & {
209
+ cursor?: string | undefined;
210
+ pageSize?: unknown;
211
+ }>;
212
+ paramsSchema: undefined;
213
+ outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
214
+ out: {
215
+ id: string;
216
+ name: string;
217
+ createdAt: number;
218
+ updatedAt: number;
219
+ status: string;
220
+ description?: string | undefined;
221
+ groupId?: string | undefined;
222
+ tags?: string[] | undefined;
223
+ scheduledAt?: number | undefined;
224
+ startedAt?: number | undefined;
225
+ completedAt?: number | undefined;
226
+ }[];
227
+ meta: {
228
+ totalCount?: number | undefined;
229
+ nextCursor?: string | undefined;
230
+ };
231
+ }, {
232
+ out: {
233
+ id: string;
234
+ name: string;
235
+ createdAt: number;
236
+ updatedAt: number;
237
+ status: string;
238
+ description?: string | undefined;
239
+ groupId?: string | undefined;
240
+ tags?: string[] | undefined;
241
+ scheduledAt?: number | undefined;
242
+ startedAt?: number | undefined;
243
+ completedAt?: number | undefined;
244
+ }[];
245
+ meta: {
246
+ totalCount?: number | undefined;
247
+ nextCursor?: string | undefined;
248
+ };
249
+ }>;
250
+ outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
251
+ totalCount?: number | undefined;
252
+ nextCursor?: string | undefined;
253
+ }, {
254
+ totalCount?: number | undefined;
255
+ nextCursor?: string | undefined;
256
+ }>;
257
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
258
+ cursor?: string | undefined;
259
+ pageSize?: number | undefined;
260
+ }, {
261
+ cursor?: string | undefined;
262
+ pageSize?: unknown;
263
+ }>;
264
+ }>>>;
265
+ }, {
266
+ readonly method: "get";
267
+ readonly path: "schedulings/handlers";
268
+ 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_1, "queryExtensionSchema" | "outputMetaSchema"> & {
269
+ queryExtensionSchema: C_1["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["queryExtensionSchema"] : undefined;
270
+ outputMetaSchema: C_1["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["outputMetaSchema"] : undefined;
271
+ }> 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 ? {
272
+ feed: true;
273
+ } : {
274
+ feed?: boolean;
275
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
276
+ paramsSchema: WithDefaults["paramsSchema"];
277
+ } : {
278
+ paramsSchema: undefined;
279
+ }) : (WithDefaults["feed"] extends true ? {
280
+ feed: true;
281
+ } : {
282
+ feed?: boolean;
283
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
284
+ querySchema: WithDefaults["querySchema"];
285
+ } : {
286
+ querySchema?: undefined;
287
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
288
+ paramsSchema: WithDefaults["paramsSchema"];
289
+ } : {
290
+ paramsSchema: undefined;
291
+ }))> : 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<{
292
+ feed: true;
293
+ outputSchema: z.ZodArray<z.ZodObject<{
294
+ name: z.ZodString;
295
+ payload: z.ZodString;
296
+ }, z.core.$strip>>;
297
+ querySchema: z.ZodObject<{
298
+ name: z.ZodOptional<z.ZodString>;
299
+ }, z.core.$strip>;
300
+ outputMetaSchema: z.ZodObject<{
301
+ totalCount: z.ZodOptional<z.ZodNumber>;
302
+ nextCursor: z.ZodOptional<z.ZodString>;
303
+ }, z.core.$strip>;
304
+ queryExtensionSchema: z.ZodObject<{
305
+ cursor: z.ZodOptional<z.ZodString>;
306
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
307
+ }, z.core.$strip>;
308
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
309
+ queryExtensionSchema: z.ZodObject<{
310
+ cursor: z.ZodOptional<z.ZodString>;
311
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
312
+ }, z.core.$strip>;
313
+ outputMetaSchema: z.ZodObject<{
314
+ totalCount: z.ZodOptional<z.ZodNumber>;
315
+ nextCursor: z.ZodOptional<z.ZodString>;
316
+ }, z.core.$strip>;
317
+ }>, "querySchema" | "outputSchema" | "feed">> & {
318
+ feed: true;
319
+ } & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
320
+ feed: true;
321
+ outputSchema: z.ZodArray<z.ZodObject<{
322
+ name: z.ZodString;
323
+ payload: z.ZodString;
324
+ }, z.core.$strip>>;
325
+ querySchema: z.ZodObject<{
326
+ name: z.ZodOptional<z.ZodString>;
327
+ }, z.core.$strip>;
328
+ outputMetaSchema: z.ZodObject<{
329
+ totalCount: z.ZodOptional<z.ZodNumber>;
330
+ nextCursor: z.ZodOptional<z.ZodString>;
331
+ }, z.core.$strip>;
332
+ queryExtensionSchema: z.ZodObject<{
333
+ cursor: z.ZodOptional<z.ZodString>;
334
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
335
+ }, z.core.$strip>;
336
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
337
+ queryExtensionSchema: z.ZodObject<{
338
+ cursor: z.ZodOptional<z.ZodString>;
339
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
340
+ }, z.core.$strip>;
341
+ outputMetaSchema: z.ZodObject<{
342
+ totalCount: z.ZodOptional<z.ZodNumber>;
343
+ nextCursor: z.ZodOptional<z.ZodString>;
344
+ }, z.core.$strip>;
345
+ }>> & {
346
+ outputSchema: z.ZodObject<{
347
+ out: z.ZodArray<z.ZodObject<{
348
+ name: z.ZodString;
349
+ payload: z.ZodString;
350
+ }, z.core.$strip>>;
351
+ meta: z.ZodObject<{
352
+ totalCount: z.ZodOptional<z.ZodNumber>;
353
+ nextCursor: z.ZodOptional<z.ZodString>;
354
+ }, z.core.$strip>;
355
+ }, z.core.$strip>;
356
+ } & {
357
+ paramsSchema: undefined;
358
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
359
+ bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
360
+ querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
361
+ name?: string | undefined;
362
+ } & {
363
+ cursor?: string | undefined;
364
+ pageSize?: number | undefined;
365
+ }, {
366
+ name?: string | undefined;
367
+ } & {
368
+ cursor?: string | undefined;
369
+ pageSize?: unknown;
370
+ }>;
371
+ paramsSchema: undefined;
372
+ outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
373
+ out: {
374
+ name: string;
375
+ payload: string;
376
+ }[];
377
+ meta: {
378
+ totalCount?: number | undefined;
379
+ nextCursor?: string | undefined;
380
+ };
381
+ }, {
382
+ out: {
383
+ name: string;
384
+ payload: string;
385
+ }[];
386
+ meta: {
387
+ totalCount?: number | undefined;
388
+ nextCursor?: string | undefined;
389
+ };
390
+ }>;
391
+ outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
392
+ totalCount?: number | undefined;
393
+ nextCursor?: string | undefined;
394
+ }, {
395
+ totalCount?: number | undefined;
396
+ nextCursor?: string | undefined;
397
+ }>;
398
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
399
+ cursor?: string | undefined;
400
+ pageSize?: number | undefined;
401
+ }, {
402
+ cursor?: string | undefined;
403
+ pageSize?: unknown;
404
+ }>;
405
+ }>>>, "paramsSchema"> & {
406
+ paramsSchema: undefined;
407
+ }>>;
408
+ }];