@emeryld/rrroutes-openapi 2.2.25 → 2.2.26
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/docs/LeafDocsPage.d.ts +4 -1
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +12 -3
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +11 -11
- package/dist/web/app.d.ts +2 -1
- package/dist/web/components/PlaygroundOverlay.d.ts +5 -3
- package/dist/web/components/PresetsView.d.ts +2 -1
- package/dist/web/historyStore.d.ts +2 -1
- package/package.json +1 -1
package/dist/web/app.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { SerializablePreset } from '../docs/presets.js';
|
|
2
2
|
import type { SerializableLeaf } from '../docs/serializer.js';
|
|
3
|
-
export declare function DocsApp({ initialLeaves, presets, basePath, }: {
|
|
3
|
+
export declare function DocsApp({ initialLeaves, presets, basePath, baseUrlSuffix, }: {
|
|
4
4
|
initialLeaves: SerializableLeaf[];
|
|
5
5
|
presets: SerializablePreset[];
|
|
6
6
|
basePath?: string;
|
|
7
|
+
baseUrlSuffix?: string;
|
|
7
8
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,14 +11,15 @@ export type PlaygroundInputs = {
|
|
|
11
11
|
queryRows: QueryRow[];
|
|
12
12
|
bodyText: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function createDefaultPlaygroundInputs(leaf: SerializableLeaf): PlaygroundInputs;
|
|
15
|
-
export declare function createInputsFromPreset(leaf: SerializableLeaf, preset?: SerializablePresetOperation): PlaygroundInputs;
|
|
16
|
-
export declare function PlaygroundOverlay({ leaf, onClose, inputs, onInputsChange, onClearInputs, }: {
|
|
14
|
+
export declare function createDefaultPlaygroundInputs(leaf: SerializableLeaf, baseUrlSuffix?: string): PlaygroundInputs;
|
|
15
|
+
export declare function createInputsFromPreset(leaf: SerializableLeaf, preset?: SerializablePresetOperation, baseUrlSuffix?: string): PlaygroundInputs;
|
|
16
|
+
export declare function PlaygroundOverlay({ leaf, onClose, inputs, onInputsChange, onClearInputs, baseUrlSuffix, }: {
|
|
17
17
|
leaf: SerializableLeaf | null;
|
|
18
18
|
onClose: () => void;
|
|
19
19
|
inputs?: PlaygroundInputs;
|
|
20
20
|
onInputsChange: (state: PlaygroundInputs) => void;
|
|
21
21
|
onClearInputs: (next: PlaygroundInputs) => void;
|
|
22
|
+
baseUrlSuffix?: string;
|
|
22
23
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
23
24
|
export declare function PlaygroundPanel(props: PlaygroundPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
type PlaygroundPanelProps = {
|
|
@@ -29,5 +30,6 @@ type PlaygroundPanelProps = {
|
|
|
29
30
|
onClose?: () => void;
|
|
30
31
|
headingNote?: string;
|
|
31
32
|
exposeSendRef?: (send: (() => Promise<void>) | null) => void;
|
|
33
|
+
baseUrlSuffix?: string;
|
|
32
34
|
};
|
|
33
35
|
export {};
|
|
@@ -3,7 +3,8 @@ import type { SerializableLeaf } from '../../docs/serializer.js';
|
|
|
3
3
|
type PresetsViewProps = {
|
|
4
4
|
presets: SerializablePreset[];
|
|
5
5
|
leaves: SerializableLeaf[];
|
|
6
|
+
baseUrlSuffix?: string;
|
|
6
7
|
onBackToRoutes: () => void;
|
|
7
8
|
};
|
|
8
|
-
export declare function PresetsView({ presets, leaves, onBackToRoutes }: PresetsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function PresetsView({ presets, leaves, baseUrlSuffix, onBackToRoutes }: PresetsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -19,7 +19,8 @@ export type HistoryFilters = {
|
|
|
19
19
|
path: string;
|
|
20
20
|
minDurationMs: number | null;
|
|
21
21
|
maxDurationMs: number | null;
|
|
22
|
-
|
|
22
|
+
includeErrors: boolean;
|
|
23
|
+
includeSuccesses: boolean;
|
|
23
24
|
sortBy: HistorySortKey;
|
|
24
25
|
sortDir: HistorySortDirection;
|
|
25
26
|
};
|