@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.
@@ -1,4 +1,5 @@
1
1
  import z from 'zod';
2
+ import { paginationSchema } from './types.base';
2
3
  export declare const schedulingSchema: z.ZodObject<{
3
4
  id: z.ZodString;
4
5
  name: z.ZodString;
@@ -7,7 +8,7 @@ export declare const schedulingSchema: z.ZodObject<{
7
8
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
9
  createdAt: z.ZodNumber;
9
10
  updatedAt: z.ZodNumber;
10
- scheduledAt: z.ZodOptional<z.ZodNumber>;
11
+ scheduledAt: z.ZodNumber;
11
12
  startedAt: z.ZodOptional<z.ZodNumber>;
12
13
  completedAt: z.ZodOptional<z.ZodNumber>;
13
14
  status: z.ZodString;
@@ -25,10 +26,11 @@ export declare const schedulingQuerySchema: z.ZodObject<{
25
26
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
27
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
28
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
- status: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ statusesInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ statusesExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
31
  }, z.core.$strip>;
30
32
  export type SchedulingType = z.infer<typeof schedulingSchema>;
31
- export type SchedulingFilter = z.infer<typeof schedulingQuerySchema>;
33
+ export type SchedulingFilter = z.infer<typeof schedulingQuerySchema> & z.infer<typeof paginationSchema>;
32
34
  export declare const schedulableHandler: z.ZodObject<{
33
35
  name: z.ZodString;
34
36
  payload: z.ZodString;
@@ -70,7 +72,7 @@ export declare const schedulingLeaves: readonly [{
70
72
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
73
  createdAt: z.ZodNumber;
72
74
  updatedAt: z.ZodNumber;
73
- scheduledAt: z.ZodOptional<z.ZodNumber>;
75
+ scheduledAt: z.ZodNumber;
74
76
  startedAt: z.ZodOptional<z.ZodNumber>;
75
77
  completedAt: z.ZodOptional<z.ZodNumber>;
76
78
  status: z.ZodString;
@@ -88,7 +90,8 @@ export declare const schedulingLeaves: readonly [{
88
90
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
89
91
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
92
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
- status: z.ZodOptional<z.ZodArray<z.ZodString>>;
93
+ statusesInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
+ statusesExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
92
95
  }, z.core.$strip>;
93
96
  outputMetaSchema: z.ZodObject<{
94
97
  totalCount: z.ZodOptional<z.ZodNumber>;
@@ -119,7 +122,7 @@ export declare const schedulingLeaves: readonly [{
119
122
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
120
123
  createdAt: z.ZodNumber;
121
124
  updatedAt: z.ZodNumber;
122
- scheduledAt: z.ZodOptional<z.ZodNumber>;
125
+ scheduledAt: z.ZodNumber;
123
126
  startedAt: z.ZodOptional<z.ZodNumber>;
124
127
  completedAt: z.ZodOptional<z.ZodNumber>;
125
128
  status: z.ZodString;
@@ -137,7 +140,8 @@ export declare const schedulingLeaves: readonly [{
137
140
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
141
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
142
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
- status: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
+ statusesInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
+ statusesExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
145
  }, z.core.$strip>;
142
146
  outputMetaSchema: z.ZodObject<{
143
147
  totalCount: z.ZodOptional<z.ZodNumber>;
@@ -166,7 +170,7 @@ export declare const schedulingLeaves: readonly [{
166
170
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
171
  createdAt: z.ZodNumber;
168
172
  updatedAt: z.ZodNumber;
169
- scheduledAt: z.ZodOptional<z.ZodNumber>;
173
+ scheduledAt: z.ZodNumber;
170
174
  startedAt: z.ZodOptional<z.ZodNumber>;
171
175
  completedAt: z.ZodOptional<z.ZodNumber>;
172
176
  status: z.ZodString;
@@ -190,7 +194,8 @@ export declare const schedulingLeaves: readonly [{
190
194
  groupsExclude?: string[] | undefined;
191
195
  tagsInclude?: string[] | undefined;
192
196
  tagsExclude?: string[] | undefined;
193
- status?: string[] | undefined;
197
+ statusesInclude?: string[] | undefined;
198
+ statusesExclude?: string[] | undefined;
194
199
  } & {
195
200
  cursor?: string | undefined;
196
201
  pageSize?: number | undefined;
@@ -204,7 +209,8 @@ export declare const schedulingLeaves: readonly [{
204
209
  groupsExclude?: string[] | undefined;
205
210
  tagsInclude?: string[] | undefined;
206
211
  tagsExclude?: string[] | undefined;
207
- status?: string[] | undefined;
212
+ statusesInclude?: string[] | undefined;
213
+ statusesExclude?: string[] | undefined;
208
214
  } & {
209
215
  cursor?: string | undefined;
210
216
  pageSize?: unknown;
@@ -216,11 +222,11 @@ export declare const schedulingLeaves: readonly [{
216
222
  name: string;
217
223
  createdAt: number;
218
224
  updatedAt: number;
225
+ scheduledAt: number;
219
226
  status: string;
220
227
  description?: string | undefined;
221
228
  groupId?: string | undefined;
222
229
  tags?: string[] | undefined;
223
- scheduledAt?: number | undefined;
224
230
  startedAt?: number | undefined;
225
231
  completedAt?: number | undefined;
226
232
  }[];
@@ -234,11 +240,11 @@ export declare const schedulingLeaves: readonly [{
234
240
  name: string;
235
241
  createdAt: number;
236
242
  updatedAt: number;
243
+ scheduledAt: number;
237
244
  status: string;
238
245
  description?: string | undefined;
239
246
  groupId?: string | undefined;
240
247
  tags?: string[] | undefined;
241
- scheduledAt?: number | undefined;
242
248
  startedAt?: number | undefined;
243
249
  completedAt?: number | undefined;
244
250
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-openapi",
3
- "version": "2.5.14",
3
+ "version": "2.5.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -1,21 +0,0 @@
1
- import type { CacheTraceQuery, CacheTraceType } from '../types/types.cacheLog.js';
2
- type CacheTraceFeedFilters = CacheTraceQuery & {
3
- cursor?: string;
4
- pageSize?: number;
5
- };
6
- export type UseCacheTraceOptions = CacheTraceFeedFilters & {
7
- cacheKey: string;
8
- };
9
- type UseCacheTraceResult = {
10
- traces: CacheTraceType[];
11
- data: any;
12
- isLoading: boolean;
13
- isFetching: boolean;
14
- error: unknown;
15
- refetch: () => Promise<unknown>;
16
- fetchNextPage: () => Promise<unknown>;
17
- hasNextPage?: boolean;
18
- isFetchingNextPage?: boolean;
19
- };
20
- export declare function useCacheTrace(options: UseCacheTraceOptions | null): UseCacheTraceResult;
21
- export {};