@redocly/replay 0.22.0-next.6 → 0.22.0-next.8
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/{replay-index-C3y7x59B.js → replay-index-B0v6JiVD.js} +1 -1
- package/dist/{replay-index-2-WYQ2Sk.js → replay-index-BIAgJWpm.js} +1 -1
- package/dist/replay-index-BOSi2_8y.js +6421 -0
- package/dist/{replay-index-C2Vpdzun.js → replay-index-Bw56v_oA.js} +49264 -76626
- package/dist/replay-index-C6SJPGDO.js +23 -0
- package/dist/replay-index-CUs62_1f.js +1 -0
- package/dist/{replay-index-DZu-s2J_.js → replay-respect-run-CVKj9P6m.js} +66 -63
- package/dist/{replay-index-a6d3BHVk.js → replay-respect-run-rO80Zpka.js} +4552 -3824
- package/dist/{replay-tauri-path-GDISESnM.js → replay-tauri-path-D6_uYcMz.js} +1 -1
- package/dist/{replay-tauri-path-K7amcLaC.js → replay-tauri-path-Du9AnoXs.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +3 -7
- package/dist/replay.js +1 -1
- package/package.json +9 -6
- package/dist/replay-index-Bif1zEXI.js +0 -1
- package/dist/replay-index-CXQ4uInb.js +0 -21
- package/dist/replay-index-CYIkBu8t.js +0 -6288
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-BOSi2_8y.js");async function u(r,n){const t=e.sep(),l=await e.resolve(r),c=await e.resolve(n),a=l.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),i=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),m=Math.min(a.length,i.length);let s=0;for(let o=0;o<m&&a[o]===i[o];o++)s++;const p=a.slice(s).map(()=>".."),f=i.slice(s);return[...p,...f].join(t)}async function g(r){const n=await e.extname(r);return n?`.${n}`:""}exports.dirname=e.dirname;exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.extname=g;exports.relative=u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as h, r as i, e as x } from "./replay-index-
|
|
2
|
-
import { d as j, a as b, j as d } from "./replay-index-
|
|
1
|
+
import { s as h, r as i, e as x } from "./replay-index-Bw56v_oA.js";
|
|
2
|
+
import { d as j, a as b, j as d } from "./replay-index-Bw56v_oA.js";
|
|
3
3
|
async function u(n, e) {
|
|
4
4
|
const t = h(), l = await i(n), c = await i(e), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), r = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), m = Math.min(o.length, r.length);
|
|
5
5
|
let s = 0;
|
package/dist/replay.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-BOSi2_8y.js"),t=require("./replay-oauth2-redirect-handler-Bqw5UUvl.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;Object.defineProperty(exports,"SpanStatusCode",{enumerable:!0,get:()=>e.SpanStatusCode});exports.TelemetryClient=e.TelemetryClient;exports.applyThemeToDOM=e.applyThemeToDOM;exports.getCurrentTheme=e.getCurrentTheme;exports.resolveTheme=e.resolveTheme;exports.useTelemetry=e.useTelemetry;exports.useTelemetryClient=e.useTelemetryClient;exports.OAuth2Error=t.OAuth2Error;exports.handleOAuth2Redirect=t.handleOAuth2Redirect;
|
package/dist/replay.d.ts
CHANGED
|
@@ -71,7 +71,6 @@ declare type ImplicitOAuthFlowsObject = {
|
|
|
71
71
|
|
|
72
72
|
declare type InputSettings = {
|
|
73
73
|
corsProxyUrl?: string;
|
|
74
|
-
mockServer?: MockServer;
|
|
75
74
|
disableCollectionsTab?: boolean;
|
|
76
75
|
disableDraft?: boolean;
|
|
77
76
|
oAuth2RedirectURI?: string | null;
|
|
@@ -88,6 +87,7 @@ declare type InputSettings = {
|
|
|
88
87
|
onRequestReset?: () => void;
|
|
89
88
|
telemetry?: TelemetryConfig;
|
|
90
89
|
hideOtherSecuritySchemes?: boolean;
|
|
90
|
+
aiEnabled?: boolean;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
declare type MediaType = {
|
|
@@ -111,12 +111,6 @@ declare type MediaTypes = {
|
|
|
111
111
|
[name: string]: MediaType;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
declare type MockServer = {
|
|
115
|
-
url: string;
|
|
116
|
-
position: 'first' | 'last' | 'replace' | 'off';
|
|
117
|
-
description: string;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
114
|
export declare const Modal: NamedExoticComponent<ModalProps>;
|
|
121
115
|
|
|
122
116
|
declare type ModalProps = {
|
|
@@ -127,6 +121,8 @@ declare type ModalProps = {
|
|
|
127
121
|
content: ReactElement;
|
|
128
122
|
mountId?: string;
|
|
129
123
|
className?: string;
|
|
124
|
+
fixedTop?: boolean;
|
|
125
|
+
topOffset?: number;
|
|
130
126
|
};
|
|
131
127
|
|
|
132
128
|
export declare class OAuth2Error extends Error {
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as s, M as r, R as t,
|
|
1
|
+
import { E as s, M as r, R as t, w as l, S as m, T as o, y, z as p, x as T, B as d, C as h } from "./replay-index-Bw56v_oA.js";
|
|
2
2
|
import { O as n, h as C } from "./replay-oauth2-redirect-handler-CqKZB3aV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as EmbeddedReplay,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.22.0-next.
|
|
3
|
+
"version": "0.22.0-next.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -20,9 +20,11 @@
|
|
|
20
20
|
"react-dom": "^19.2.4",
|
|
21
21
|
"react-router-dom": "^6.30.3",
|
|
22
22
|
"styled-components": "^5.3.11",
|
|
23
|
-
"@redocly/theme": "0.63.0-next.
|
|
23
|
+
"@redocly/theme": "0.63.0-next.6"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
+
"@ai-sdk/provider": "3.0.0",
|
|
27
|
+
"@ai-sdk/google": "3.0.1",
|
|
26
28
|
"@codemirror/autocomplete": "^6.15.0",
|
|
27
29
|
"@codemirror/lang-html": "^6.4.7",
|
|
28
30
|
"@codemirror/lang-java": "^6.0.2",
|
|
@@ -45,8 +47,8 @@
|
|
|
45
47
|
"@opentelemetry/api": "1.9.0",
|
|
46
48
|
"@redocly/hookstate-core": "^4.2.1",
|
|
47
49
|
"@redocly/hookstate-devtools": "^4.2.0",
|
|
48
|
-
"@redocly/openapi-core": "2.20.
|
|
49
|
-
"@redocly/respect-core": "2.20.
|
|
50
|
+
"@redocly/openapi-core": "2.20.5",
|
|
51
|
+
"@redocly/respect-core": "2.20.5",
|
|
50
52
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
51
53
|
"@tauri-apps/api": "2.4.1",
|
|
52
54
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|
|
@@ -54,6 +56,7 @@
|
|
|
54
56
|
"@tauri-apps/plugin-opener": "^2.5.2",
|
|
55
57
|
"@uiw/codemirror-theme-material": "^4.21.20",
|
|
56
58
|
"@uiw/react-codemirror": "^4.21.20",
|
|
59
|
+
"ai": "6.0.111",
|
|
57
60
|
"dayjs": "^1.11.7",
|
|
58
61
|
"fast-xml-parser": "5.4.1",
|
|
59
62
|
"js-yaml": "4.1.1",
|
|
@@ -67,10 +70,10 @@
|
|
|
67
70
|
"react-resizable-panels": "^3.0.6",
|
|
68
71
|
"react-select": "5.10.1",
|
|
69
72
|
"shellwords": "^1.1.1",
|
|
70
|
-
"styled-components": "^5.3.11",
|
|
71
73
|
"usehooks-ts": "^3.1.1",
|
|
72
74
|
"drizzle-orm": "^0.36.4",
|
|
73
|
-
"idb": "^8.0.2"
|
|
75
|
+
"idb": "^8.0.2",
|
|
76
|
+
"zod": "^3.25.76"
|
|
74
77
|
},
|
|
75
78
|
"devDependencies": {
|
|
76
79
|
"@babel/preset-env": "7.26.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-CYIkBu8t.js");async function t(e,n){await i.invoke("plugin:opener|open_url",{url:e,with:n})}async function o(e,n){await i.invoke("plugin:opener|open_path",{path:e,with:n})}async function r(e){const n=typeof e=="string"?[e]:e;return i.invoke("plugin:opener|reveal_item_in_dir",{paths:n})}exports.openPath=o;exports.openUrl=t;exports.revealItemInDir=r;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { i } from "./replay-index-C2Vpdzun.js";
|
|
2
|
-
async function o(n, e) {
|
|
3
|
-
await i("plugin:opener|open_url", {
|
|
4
|
-
url: n,
|
|
5
|
-
with: e
|
|
6
|
-
});
|
|
7
|
-
}
|
|
8
|
-
async function r(n, e) {
|
|
9
|
-
await i("plugin:opener|open_path", {
|
|
10
|
-
path: n,
|
|
11
|
-
with: e
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
async function p(n) {
|
|
15
|
-
return i("plugin:opener|reveal_item_in_dir", { paths: typeof n == "string" ? [n] : n });
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
r as openPath,
|
|
19
|
-
o as openUrl,
|
|
20
|
-
p as revealItemInDir
|
|
21
|
-
};
|