@emeryld/rrroutes-openapi 2.5.21 → 2.6.0
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.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +88 -88
- package/dist/web/v2/components/scheduling/SchedulingDetailModal.d.ts +8 -0
- package/dist/web/v2/pages/SchedulingPage.d.ts +1 -0
- package/dist/web/v2/types/types.scheduling.d.ts +97 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SchedulingType } from '../../types/types.scheduling.js';
|
|
2
|
+
type SchedulingDetailModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
scheduling: SchedulingType | null;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
};
|
|
7
|
+
export default function SchedulingDetailModal({ open, scheduling, onClose, }: SchedulingDetailModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SchedulingPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -36,6 +36,12 @@ export declare const schedulableHandler: z.ZodObject<{
|
|
|
36
36
|
payload: z.ZodString;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
export type SchedulableHandlerType = z.infer<typeof schedulableHandler>;
|
|
39
|
+
export declare const scheduleHandlerBodySchema: z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
payload: z.ZodAny;
|
|
42
|
+
runAt: z.ZodCoercedDate<unknown>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
export type ScheduleHandlerBodyType = z.infer<typeof scheduleHandlerBodySchema>;
|
|
39
45
|
export declare const schedulingLeaves: readonly [{
|
|
40
46
|
readonly method: "get";
|
|
41
47
|
readonly path: "schedulings";
|
|
@@ -411,4 +417,95 @@ export declare const schedulingLeaves: readonly [{
|
|
|
411
417
|
}>>>, "paramsSchema"> & {
|
|
412
418
|
paramsSchema: undefined;
|
|
413
419
|
}>>;
|
|
420
|
+
}, {
|
|
421
|
+
readonly method: "post";
|
|
422
|
+
readonly path: "schedulings/handlers";
|
|
423
|
+
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_2, "feed"> & {
|
|
424
|
+
feed: false;
|
|
425
|
+
}>, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
426
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
|
|
427
|
+
feed: false;
|
|
428
|
+
}>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
|
|
429
|
+
feed: false;
|
|
430
|
+
}>["queryExtensionSchema"] : undefined;
|
|
431
|
+
outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
|
|
432
|
+
feed: false;
|
|
433
|
+
}>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
|
|
434
|
+
feed: false;
|
|
435
|
+
}>["outputMetaSchema"] : undefined;
|
|
436
|
+
}> 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 ? {
|
|
437
|
+
feed: true;
|
|
438
|
+
} : {
|
|
439
|
+
feed?: boolean;
|
|
440
|
+
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
441
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
442
|
+
} : {
|
|
443
|
+
paramsSchema: undefined;
|
|
444
|
+
}) : (WithDefaults["feed"] extends true ? {
|
|
445
|
+
feed: true;
|
|
446
|
+
} : {
|
|
447
|
+
feed?: boolean;
|
|
448
|
+
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
449
|
+
querySchema: WithDefaults["querySchema"];
|
|
450
|
+
} : {
|
|
451
|
+
querySchema?: undefined;
|
|
452
|
+
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
453
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
454
|
+
} : {
|
|
455
|
+
paramsSchema: undefined;
|
|
456
|
+
}))> : 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" | "bodySchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
457
|
+
bodySchema: z.ZodObject<{
|
|
458
|
+
name: z.ZodString;
|
|
459
|
+
payload: z.ZodAny;
|
|
460
|
+
runAt: z.ZodCoercedDate<unknown>;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
outputSchema: z.ZodObject<{
|
|
463
|
+
success: z.ZodBoolean;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
}, "feed"> & {
|
|
466
|
+
feed: false;
|
|
467
|
+
}>, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
468
|
+
queryExtensionSchema: undefined;
|
|
469
|
+
outputMetaSchema: undefined;
|
|
470
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
471
|
+
feed?: boolean;
|
|
472
|
+
} & {
|
|
473
|
+
querySchema?: undefined;
|
|
474
|
+
} & {
|
|
475
|
+
outputSchema: z.ZodObject<{
|
|
476
|
+
out: z.ZodObject<{
|
|
477
|
+
success: z.ZodBoolean;
|
|
478
|
+
}, z.core.$strip>;
|
|
479
|
+
meta: z.ZodOptional<z.ZodString>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
} & {
|
|
482
|
+
paramsSchema: undefined;
|
|
483
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
484
|
+
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
485
|
+
name: string;
|
|
486
|
+
payload: any;
|
|
487
|
+
runAt: Date;
|
|
488
|
+
}, {
|
|
489
|
+
name: string;
|
|
490
|
+
payload: any;
|
|
491
|
+
runAt: unknown;
|
|
492
|
+
}>;
|
|
493
|
+
querySchema: undefined;
|
|
494
|
+
paramsSchema: undefined;
|
|
495
|
+
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
496
|
+
out: {
|
|
497
|
+
success: boolean;
|
|
498
|
+
};
|
|
499
|
+
meta?: string | undefined;
|
|
500
|
+
}, {
|
|
501
|
+
out: {
|
|
502
|
+
success: boolean;
|
|
503
|
+
};
|
|
504
|
+
meta?: string | undefined;
|
|
505
|
+
}>;
|
|
506
|
+
outputMetaSchema: undefined;
|
|
507
|
+
queryExtensionSchema: undefined;
|
|
508
|
+
}>>>, "paramsSchema"> & {
|
|
509
|
+
paramsSchema: undefined;
|
|
510
|
+
}>>;
|
|
414
511
|
}];
|