@emeryld/rrroutes-openapi 2.6.1 → 2.6.3
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 +19 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +19 -20
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/Add.js +1 -0
- package/dist/public/assets/Autocomplete.js +1 -0
- package/dist/public/assets/BaseFilterBar.js +1 -0
- package/dist/public/assets/BentoGrid.js +1 -0
- package/dist/public/assets/CacheLogsPage.js +1 -0
- package/dist/public/assets/DeleteOutline.js +1 -0
- package/dist/public/assets/DiffPage.js +7 -0
- package/dist/public/assets/Download.js +1 -0
- package/dist/public/assets/EndpointDetailPage.js +1 -0
- package/dist/public/assets/EndpointDetailPanel.js +1 -0
- package/dist/public/assets/EndpointPlaygroundPage.js +1 -0
- package/dist/public/assets/ExpandLess.js +1 -0
- package/dist/public/assets/ExportButton.js +2 -0
- package/dist/public/assets/FlowBuilderPage.js +20 -0
- package/dist/public/assets/HistoryPage.js +1 -0
- package/dist/public/assets/LogsPage.js +1 -0
- package/dist/public/assets/PageContainer.js +3 -0
- package/dist/public/assets/PlayArrow.js +1 -0
- package/dist/public/assets/PresetsPage.js +4 -0
- package/dist/public/assets/RoutesPage.js +1 -0
- package/dist/public/assets/SchedulingPage.js +1 -0
- package/dist/public/assets/SchemaTreeView.js +1 -0
- package/dist/public/assets/SettingsPage.js +1 -0
- package/dist/public/assets/SocketsPage.js +1 -0
- package/dist/public/assets/docs.css +1 -1
- package/dist/public/assets/docs.js +95 -177
- package/dist/public/assets/filterTypes.js +1 -0
- package/dist/public/assets/getValidReactChildren.js +1 -0
- package/dist/public/assets/kvRowAdapters.js +1 -0
- package/dist/public/assets/schemaDefaults.js +1 -0
- package/dist/public/assets/useEndpointOptions.js +1 -0
- package/dist/public/assets/useQueryState.js +1 -0
- package/dist/public/assets/vendor-recharts.js +99 -0
- package/dist/public/assets/vendor-xyflow.js +15 -0
- package/dist/web/v2/AppShell.d.ts +1 -3
- package/dist/web/v2/components/diff/DiffViewer.d.ts +7 -0
- package/dist/web/v2/components/diff/RequestDiffSelector.d.ts +15 -0
- package/dist/web/v2/components/diff/SchemaDiffViewer.d.ts +7 -0
- package/dist/web/v2/components/feedback/CopyAsMenu.d.ts +10 -0
- package/dist/web/v2/components/feedback/CopySnackbar.d.ts +1 -0
- package/dist/web/v2/components/flows/FlowCanvas.d.ts +13 -0
- package/dist/web/v2/components/flows/FlowNodeEditor.d.ts +8 -0
- package/dist/web/v2/components/flows/FlowRunProgress.d.ts +7 -0
- package/dist/web/v2/components/flows/FlowVariablePanel.d.ts +7 -0
- package/dist/web/v2/components/flows/nodes/ConditionNode.d.ts +7 -0
- package/dist/web/v2/components/flows/nodes/DelayNode.d.ts +7 -0
- package/dist/web/v2/components/flows/nodes/ExtractNode.d.ts +8 -0
- package/dist/web/v2/components/flows/nodes/RequestNode.d.ts +10 -0
- package/dist/web/v2/components/layout/ActivityBar.d.ts +1 -0
- package/dist/web/v2/components/layout/BentoGrid.d.ts +17 -0
- package/dist/web/v2/components/layout/ContentArea.d.ts +1 -0
- package/dist/web/v2/components/layout/PanelRegistry.d.ts +17 -0
- package/dist/web/v2/components/request/LastRunPanel.d.ts +5 -0
- package/dist/web/v2/components/request/TimingBreakdown.d.ts +11 -0
- package/dist/web/v2/components/requests/timeline/TimelinePhaseBar.d.ts +13 -0
- package/dist/web/v2/components/requests/timeline/TimelineWaterfall.d.ts +12 -0
- package/dist/web/v2/hooks/useLeafEndpoint.d.ts +2 -2
- package/dist/web/v2/pages/DiffPage.d.ts +1 -0
- package/dist/web/v2/pages/FlowBuilderPage.d.ts +1 -0
- package/dist/web/v2/stores/flowStore.d.ts +70 -0
- package/dist/web/v2/stores/layoutStore.d.ts +13 -0
- package/dist/web/v2/stores/playgroundSettingsStore.d.ts +10 -0
- package/dist/web/v2/stores/snackbarStore.d.ts +17 -0
- package/dist/web/v2/types/types.cacheLog.d.ts +138 -52
- package/dist/web/v2/types/types.d.ts +8 -10
- package/dist/web/v2/types/types.endpoint.d.ts +197 -141
- package/dist/web/v2/types/types.log.d.ts +49 -20
- package/dist/web/v2/types/types.preset.d.ts +171 -87
- package/dist/web/v2/types/types.requestLog.d.ts +137 -92
- package/dist/web/v2/types/types.scheduling.d.ts +90 -40
- package/dist/web/v2/types/types.socket.d.ts +71 -35
- package/dist/web/v2/utils/codeGeneration.d.ts +12 -0
- package/dist/web/v2/utils/diffUtils.d.ts +11 -0
- package/dist/web/v2/utils/flowRunner.d.ts +17 -0
- package/dist/web/v2/utils/templateResolver.d.ts +4 -0
- package/package.json +15 -12
|
@@ -6,6 +6,7 @@ export type SerializableSchema = {
|
|
|
6
6
|
optional?: boolean;
|
|
7
7
|
nullable?: boolean;
|
|
8
8
|
description?: string;
|
|
9
|
+
example?: unknown;
|
|
9
10
|
properties?: Record<string, SerializableSchema>;
|
|
10
11
|
element?: SerializableSchema;
|
|
11
12
|
union?: SerializableSchema[];
|
|
@@ -206,7 +207,7 @@ export declare const endpointSchemaWithStats: z.ZodObject<{
|
|
|
206
207
|
export type EndpointDetailData = z.infer<typeof endpointSchemaWithStats>;
|
|
207
208
|
export declare const endpointLeaves: readonly [{
|
|
208
209
|
readonly method: "get";
|
|
209
|
-
readonly path: "endpoints";
|
|
210
|
+
readonly path: "/endpoints";
|
|
210
211
|
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"> & {
|
|
211
212
|
queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
|
|
212
213
|
outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
|
|
@@ -434,53 +435,108 @@ export declare const endpointLeaves: readonly [{
|
|
|
434
435
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
435
436
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
436
437
|
}, z.core.$strip>;
|
|
437
|
-
}>> & {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
438
|
+
}>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
439
|
+
feed: true;
|
|
440
|
+
querySchema: z.ZodObject<{
|
|
441
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
442
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
443
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
444
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
asc: "asc";
|
|
446
|
+
desc: "desc";
|
|
447
|
+
}>>;
|
|
448
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
449
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
450
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
451
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
453
|
+
methodsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
454
|
+
get: "get";
|
|
455
|
+
post: "post";
|
|
456
|
+
put: "put";
|
|
457
|
+
patch: "patch";
|
|
458
|
+
delete: "delete";
|
|
459
|
+
}>>>;
|
|
460
|
+
methodsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
461
|
+
get: "get";
|
|
462
|
+
post: "post";
|
|
463
|
+
put: "put";
|
|
464
|
+
patch: "patch";
|
|
465
|
+
delete: "delete";
|
|
466
|
+
}>>>;
|
|
467
|
+
path: z.ZodOptional<z.ZodString>;
|
|
468
|
+
stabilityInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
469
|
+
unknown: "unknown";
|
|
470
|
+
deprecated: "deprecated";
|
|
471
|
+
experimental: "experimental";
|
|
472
|
+
beta: "beta";
|
|
473
|
+
stable: "stable";
|
|
474
|
+
}>>>;
|
|
475
|
+
stabilityExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
476
|
+
unknown: "unknown";
|
|
477
|
+
deprecated: "deprecated";
|
|
478
|
+
experimental: "experimental";
|
|
479
|
+
beta: "beta";
|
|
480
|
+
stable: "stable";
|
|
481
|
+
}>>>;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
484
|
+
id: z.ZodString;
|
|
485
|
+
name: z.ZodString;
|
|
486
|
+
description: z.ZodOptional<z.ZodString>;
|
|
487
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
488
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
489
|
+
createdAt: z.ZodNumber;
|
|
490
|
+
updatedAt: z.ZodNumber;
|
|
491
|
+
method: z.ZodEnum<{
|
|
492
|
+
get: "get";
|
|
493
|
+
post: "post";
|
|
494
|
+
put: "put";
|
|
495
|
+
patch: "patch";
|
|
496
|
+
delete: "delete";
|
|
497
|
+
}>;
|
|
498
|
+
path: z.ZodString;
|
|
499
|
+
contract: z.ZodObject<{
|
|
500
|
+
body: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
501
|
+
query: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
502
|
+
output: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
503
|
+
params: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
504
|
+
bodyFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
505
|
+
name: z.ZodString;
|
|
506
|
+
maxCount: z.ZodNumber;
|
|
507
|
+
}, z.core.$strip>>>;
|
|
481
508
|
}, z.core.$strip>;
|
|
509
|
+
feed: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
511
|
+
stability: z.ZodEnum<{
|
|
512
|
+
unknown: "unknown";
|
|
513
|
+
deprecated: "deprecated";
|
|
514
|
+
experimental: "experimental";
|
|
515
|
+
beta: "beta";
|
|
516
|
+
stable: "stable";
|
|
517
|
+
}>;
|
|
518
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
519
|
+
meta: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
520
|
+
implemented: z.ZodOptional<z.ZodBoolean>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
522
|
+
outputMetaSchema: z.ZodObject<{
|
|
523
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
482
525
|
}, z.core.$strip>;
|
|
483
|
-
|
|
526
|
+
queryExtensionSchema: z.ZodObject<{
|
|
527
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
528
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
529
|
+
}, z.core.$strip>;
|
|
530
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
531
|
+
queryExtensionSchema: z.ZodObject<{
|
|
532
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
533
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
outputMetaSchema: z.ZodObject<{
|
|
536
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
537
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
538
|
+
}, z.core.$strip>;
|
|
539
|
+
}>> & {
|
|
484
540
|
paramsSchema: undefined;
|
|
485
541
|
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
486
542
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
@@ -604,7 +660,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
604
660
|
}>>>;
|
|
605
661
|
}, {
|
|
606
662
|
readonly method: "get";
|
|
607
|
-
readonly path: "endpoints/:endpointId";
|
|
663
|
+
readonly path: "/endpoints/:endpointId";
|
|
608
664
|
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"> & {
|
|
609
665
|
queryExtensionSchema: C_1["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["queryExtensionSchema"] : z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
610
666
|
outputMetaSchema: C_1["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["outputMetaSchema"] : z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -745,9 +801,46 @@ export declare const endpointLeaves: readonly [{
|
|
|
745
801
|
feed?: boolean;
|
|
746
802
|
} & {
|
|
747
803
|
querySchema?: undefined;
|
|
748
|
-
} & {
|
|
804
|
+
} & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
749
805
|
outputSchema: z.ZodObject<{
|
|
750
|
-
|
|
806
|
+
id: z.ZodString;
|
|
807
|
+
name: z.ZodString;
|
|
808
|
+
description: z.ZodOptional<z.ZodString>;
|
|
809
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
810
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
811
|
+
createdAt: z.ZodNumber;
|
|
812
|
+
updatedAt: z.ZodNumber;
|
|
813
|
+
method: z.ZodEnum<{
|
|
814
|
+
get: "get";
|
|
815
|
+
post: "post";
|
|
816
|
+
put: "put";
|
|
817
|
+
patch: "patch";
|
|
818
|
+
delete: "delete";
|
|
819
|
+
}>;
|
|
820
|
+
path: z.ZodString;
|
|
821
|
+
contract: z.ZodObject<{
|
|
822
|
+
body: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
823
|
+
query: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
824
|
+
output: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
825
|
+
params: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
826
|
+
bodyFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
|
+
name: z.ZodString;
|
|
828
|
+
maxCount: z.ZodNumber;
|
|
829
|
+
}, z.core.$strip>>>;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
feed: z.ZodOptional<z.ZodBoolean>;
|
|
832
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
833
|
+
stability: z.ZodEnum<{
|
|
834
|
+
unknown: "unknown";
|
|
835
|
+
deprecated: "deprecated";
|
|
836
|
+
experimental: "experimental";
|
|
837
|
+
beta: "beta";
|
|
838
|
+
stable: "stable";
|
|
839
|
+
}>;
|
|
840
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
841
|
+
meta: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
842
|
+
implemented: z.ZodOptional<z.ZodBoolean>;
|
|
843
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
751
844
|
id: z.ZodString;
|
|
752
845
|
name: z.ZodString;
|
|
753
846
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -755,6 +848,10 @@ export declare const endpointLeaves: readonly [{
|
|
|
755
848
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
756
849
|
createdAt: z.ZodNumber;
|
|
757
850
|
updatedAt: z.ZodNumber;
|
|
851
|
+
status: z.ZodNumber;
|
|
852
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
853
|
+
fullUrl: z.ZodString;
|
|
854
|
+
path: z.ZodString;
|
|
758
855
|
method: z.ZodEnum<{
|
|
759
856
|
get: "get";
|
|
760
857
|
post: "post";
|
|
@@ -762,99 +859,58 @@ export declare const endpointLeaves: readonly [{
|
|
|
762
859
|
patch: "patch";
|
|
763
860
|
delete: "delete";
|
|
764
861
|
}>;
|
|
862
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
863
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
864
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
865
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
866
|
+
error: z.ZodOptional<z.ZodString>;
|
|
867
|
+
durationMs: z.ZodNumber;
|
|
868
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
869
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
870
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
871
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
872
|
+
}, z.core.$strip>>;
|
|
873
|
+
volumeTS: z.ZodArray<z.ZodObject<{
|
|
874
|
+
timestamp: z.ZodNumber;
|
|
875
|
+
count: z.ZodNumber;
|
|
876
|
+
}, z.core.$strip>>;
|
|
877
|
+
averageDurationMs: z.ZodNumber;
|
|
878
|
+
successRate: z.ZodNumber;
|
|
879
|
+
latestErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
880
|
+
id: z.ZodString;
|
|
881
|
+
name: z.ZodString;
|
|
882
|
+
description: z.ZodOptional<z.ZodString>;
|
|
883
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
884
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
|
+
createdAt: z.ZodNumber;
|
|
886
|
+
updatedAt: z.ZodNumber;
|
|
887
|
+
status: z.ZodNumber;
|
|
888
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
889
|
+
fullUrl: z.ZodString;
|
|
765
890
|
path: z.ZodString;
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
name: z.ZodString;
|
|
773
|
-
maxCount: z.ZodNumber;
|
|
774
|
-
}, z.core.$strip>>>;
|
|
775
|
-
}, z.core.$strip>;
|
|
776
|
-
feed: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
778
|
-
stability: z.ZodEnum<{
|
|
779
|
-
unknown: "unknown";
|
|
780
|
-
deprecated: "deprecated";
|
|
781
|
-
experimental: "experimental";
|
|
782
|
-
beta: "beta";
|
|
783
|
-
stable: "stable";
|
|
891
|
+
method: z.ZodEnum<{
|
|
892
|
+
get: "get";
|
|
893
|
+
post: "post";
|
|
894
|
+
put: "put";
|
|
895
|
+
patch: "patch";
|
|
896
|
+
delete: "delete";
|
|
784
897
|
}>;
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
status: z.ZodNumber;
|
|
797
|
-
body: z.ZodOptional<z.ZodAny>;
|
|
798
|
-
fullUrl: z.ZodString;
|
|
799
|
-
path: z.ZodString;
|
|
800
|
-
method: z.ZodEnum<{
|
|
801
|
-
get: "get";
|
|
802
|
-
post: "post";
|
|
803
|
-
put: "put";
|
|
804
|
-
patch: "patch";
|
|
805
|
-
delete: "delete";
|
|
806
|
-
}>;
|
|
807
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
808
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
809
|
-
output: z.ZodOptional<z.ZodAny>;
|
|
810
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
811
|
-
error: z.ZodOptional<z.ZodString>;
|
|
812
|
-
durationMs: z.ZodNumber;
|
|
813
|
-
ip: z.ZodOptional<z.ZodString>;
|
|
814
|
-
userAgent: z.ZodOptional<z.ZodString>;
|
|
815
|
-
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
816
|
-
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
817
|
-
}, z.core.$strip>>;
|
|
818
|
-
volumeTS: z.ZodArray<z.ZodObject<{
|
|
819
|
-
timestamp: z.ZodNumber;
|
|
820
|
-
count: z.ZodNumber;
|
|
821
|
-
}, z.core.$strip>>;
|
|
822
|
-
averageDurationMs: z.ZodNumber;
|
|
823
|
-
successRate: z.ZodNumber;
|
|
824
|
-
latestErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
|
-
id: z.ZodString;
|
|
826
|
-
name: z.ZodString;
|
|
827
|
-
description: z.ZodOptional<z.ZodString>;
|
|
828
|
-
groupId: z.ZodOptional<z.ZodString>;
|
|
829
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
830
|
-
createdAt: z.ZodNumber;
|
|
831
|
-
updatedAt: z.ZodNumber;
|
|
832
|
-
status: z.ZodNumber;
|
|
833
|
-
body: z.ZodOptional<z.ZodAny>;
|
|
834
|
-
fullUrl: z.ZodString;
|
|
835
|
-
path: z.ZodString;
|
|
836
|
-
method: z.ZodEnum<{
|
|
837
|
-
get: "get";
|
|
838
|
-
post: "post";
|
|
839
|
-
put: "put";
|
|
840
|
-
patch: "patch";
|
|
841
|
-
delete: "delete";
|
|
842
|
-
}>;
|
|
843
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
844
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
845
|
-
output: z.ZodOptional<z.ZodAny>;
|
|
846
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
847
|
-
error: z.ZodOptional<z.ZodString>;
|
|
848
|
-
durationMs: z.ZodNumber;
|
|
849
|
-
ip: z.ZodOptional<z.ZodString>;
|
|
850
|
-
userAgent: z.ZodOptional<z.ZodString>;
|
|
851
|
-
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
852
|
-
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
853
|
-
}, z.core.$strip>>>;
|
|
854
|
-
}, z.core.$strip>;
|
|
855
|
-
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
898
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
899
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
900
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
901
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
902
|
+
error: z.ZodOptional<z.ZodString>;
|
|
903
|
+
durationMs: z.ZodNumber;
|
|
904
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
905
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
906
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
907
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
908
|
+
}, z.core.$strip>>>;
|
|
856
909
|
}, z.core.$strip>;
|
|
857
|
-
} & {
|
|
910
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
911
|
+
queryExtensionSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
912
|
+
outputMetaSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
913
|
+
}>> & {
|
|
858
914
|
paramsSchema: z.ZodObject<{
|
|
859
915
|
endpointId: z.ZodString;
|
|
860
916
|
}, z.core.$strip>;
|
|
@@ -948,7 +1004,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
948
1004
|
responseSize?: number | undefined;
|
|
949
1005
|
}[] | undefined;
|
|
950
1006
|
};
|
|
951
|
-
meta
|
|
1007
|
+
meta?: string | undefined;
|
|
952
1008
|
}, {
|
|
953
1009
|
out: {
|
|
954
1010
|
id: string;
|
|
@@ -1031,7 +1087,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
1031
1087
|
responseSize?: number | undefined;
|
|
1032
1088
|
}[] | undefined;
|
|
1033
1089
|
};
|
|
1034
|
-
meta
|
|
1090
|
+
meta?: string | undefined;
|
|
1035
1091
|
}>;
|
|
1036
1092
|
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
1037
1093
|
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
@@ -31,7 +31,7 @@ export declare const logQuerySchema: z.ZodObject<{
|
|
|
31
31
|
export type ApplicationLogsFilter = z.infer<typeof logQuerySchema> & z.infer<typeof paginationSchema>;
|
|
32
32
|
export declare const logLeaves: readonly [{
|
|
33
33
|
readonly method: "get";
|
|
34
|
-
readonly path: "logs";
|
|
34
|
+
readonly path: "/logs";
|
|
35
35
|
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"> & {
|
|
36
36
|
queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
|
|
37
37
|
outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
|
|
@@ -153,26 +153,55 @@ export declare const logLeaves: readonly [{
|
|
|
153
153
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
154
154
|
levels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
|
-
}>> & {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
156
|
+
}>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
157
|
+
feed: true;
|
|
158
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
name: z.ZodString;
|
|
161
|
+
description: z.ZodOptional<z.ZodString>;
|
|
162
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
163
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
createdAt: z.ZodNumber;
|
|
165
|
+
updatedAt: z.ZodNumber;
|
|
166
|
+
level: z.ZodString;
|
|
167
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
|
+
querySchema: z.ZodObject<{
|
|
170
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
171
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
172
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
173
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
174
|
+
asc: "asc";
|
|
175
|
+
desc: "desc";
|
|
176
|
+
}>>;
|
|
177
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
178
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
181
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
|
+
levelsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
|
+
levelsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
outputMetaSchema: z.ZodObject<{
|
|
186
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
188
|
+
levels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
queryExtensionSchema: z.ZodObject<{
|
|
191
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
192
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
195
|
+
queryExtensionSchema: z.ZodObject<{
|
|
196
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
197
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
174
198
|
}, z.core.$strip>;
|
|
175
|
-
|
|
199
|
+
outputMetaSchema: z.ZodObject<{
|
|
200
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
202
|
+
levels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}>> & {
|
|
176
205
|
paramsSchema: undefined;
|
|
177
206
|
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
178
207
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|