@caido/sdk-frontend 0.48.2-beta.1 → 0.48.2-beta.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/src/types/replay.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Extension } from "@codemirror/state";
|
|
1
2
|
import { type ButtonSlotContent, type CommandSlotContent, type CustomSlotContent, type DefineAddToSlotFn } from "./slots";
|
|
2
3
|
import type { ID } from "./utils";
|
|
3
4
|
export declare const ReplaySlot: {
|
|
@@ -125,4 +126,9 @@ export type ReplaySDK = {
|
|
|
125
126
|
addToSlot: DefineAddToSlotFn<{
|
|
126
127
|
[ReplaySlot.SessionToolbar]: ButtonSlotContent | CustomSlotContent | CommandSlotContent;
|
|
127
128
|
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Add an extension to the request editor.
|
|
131
|
+
* @param extension The extension to add.
|
|
132
|
+
*/
|
|
133
|
+
addRequestEditorExtension: (extension: Extension) => void;
|
|
128
134
|
};
|