@redocly/replay 0.30.0-next.6 → 0.30.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-AiChatProvider-C3qDrsGk.js → replay-AiChatProvider-BlVxTT7y.js} +1 -1
- package/dist/{replay-AiChatProvider-DoRCY0EW.js → replay-AiChatProvider-pjWvX-qB.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-diN4PlB2.js → replay-AiChatSqliteDBStorage-B7MnHWqG.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-wwTMmol9.js → replay-AiChatSqliteDBStorage-Bi_XJJGo.js} +1 -1
- package/dist/{replay-AiPanel-PzteJq_7.js → replay-AiPanel-BhuA1Ka6.js} +1 -1
- package/dist/{replay-AiPanel-DZYI1gxl.js → replay-AiPanel-fAfbqWyu.js} +4 -4
- package/dist/{replay-FileWatcher-V3WDtOcM.js → replay-FileWatcher-D1NJ1oZN.js} +2 -2
- package/dist/{replay-FileWatcher-C_6jy3Wh.js → replay-FileWatcher-PFXJ2jy5.js} +1 -1
- package/dist/{replay-SemanticSearchService-AmeM3LJw.js → replay-SemanticSearchService-BNO9pdFc.js} +1 -1
- package/dist/{replay-SemanticSearchService-D2inCMQ3.js → replay-SemanticSearchService-Biaz-fIw.js} +1 -1
- package/dist/{replay-SqliteDBStorage-CInxoFxc.js → replay-SqliteDBStorage-Br7VURQN.js} +1 -1
- package/dist/{replay-SqliteDBStorage--5fINH4H.js → replay-SqliteDBStorage-CgsrhzVO.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-DCsSYZBB.js → replay-TauriFileSystemAdapter-BAUUL8oI.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-A_qqPM6T.js → replay-TauriFileSystemAdapter-KW8wHpXe.js} +1 -1
- package/dist/{replay-TauriRootStorage-CIMNjNWA.js → replay-TauriRootStorage-B4hLhQqR.js} +1 -1
- package/dist/{replay-TauriRootStorage-B_sv-ME6.js → replay-TauriRootStorage-qfk4gIXv.js} +2 -2
- package/dist/{replay-agent-loop-uNRsrxPP.js → replay-agent-loop-CFaio_rY.js} +3 -3
- package/dist/{replay-agent-loop-BeQ_YIIx.js → replay-agent-loop-CGZBPgaN.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BBXGbAOR.js → replay-ai-chat-mappers-BeNFhJ26.js} +1 -1
- package/dist/{replay-ai-chat-mappers-DNtt_SPh.js → replay-ai-chat-mappers-DLit0XXG.js} +1 -1
- package/dist/{replay-create-model-AY_iX35Q.js → replay-create-model-CL2Tsd2z.js} +3 -3
- package/dist/{replay-create-model-CtOtNyrw.js → replay-create-model-CSpBrZMr.js} +3 -3
- package/dist/{replay-db-uDj6nNNy.js → replay-db-B3iXh1_V.js} +1 -1
- package/dist/{replay-db-D-XadOSV.js → replay-db-CMVHMNS6.js} +1 -1
- package/dist/{replay-external-resolver-CsrESo8u.js → replay-external-resolver-Br-cGwfm.js} +2 -2
- package/dist/{replay-external-resolver-DrlxaL8f.js → replay-external-resolver-D-q2Dc-T.js} +1 -1
- package/dist/{replay-index-dTSk_oL0.js → replay-index-B78513Xf.js} +1 -1
- package/dist/{replay-index-BPpkDtwi.js → replay-index-BJYfax9z.js} +1 -1
- package/dist/{replay-index-ChYZ25aj.js → replay-index-BkUG85dJ.js} +20670 -20408
- package/dist/{replay-index-ESb8_grh.js → replay-index-BtSv0o_B.js} +1 -1
- package/dist/{replay-index-CM6Nx3oe.js → replay-index-C-R5BGI5.js} +1 -1
- package/dist/{replay-index-vwbyGRlg.js → replay-index-C0Ck62dx.js} +1 -1
- package/dist/{replay-index-vCUeMo-a.js → replay-index-CcH6g0qX.js} +1 -1
- package/dist/{replay-index-r7LIobSc.js → replay-index-Cz0-sCwc.js} +1300 -1184
- package/dist/{replay-index-DUUea7Dh.js → replay-index-DR_IKi1K.js} +1 -1
- package/dist/{replay-index--7gH3kdD.js → replay-index-DuAxQQQk.js} +1 -1
- package/dist/replay-index-JTgggU0Q.js +4 -0
- package/dist/{replay-index-DwIgVIgf.js → replay-index-ZJdoLrgJ.js} +22 -22
- package/dist/{replay-lint-BC0x90Al.js → replay-lint-BvRmCOZq.js} +39 -39
- package/dist/{replay-lint-BtZoplmt.js → replay-lint-CsodRy23.js} +2497 -2495
- package/dist/{replay-lint-graphql-B3l8e2SW.js → replay-lint-graphql-8tVp5_k5.js} +1 -1
- package/dist/{replay-lint-graphql-DauCPK72.js → replay-lint-graphql-B0dzYyp_.js} +2 -2
- package/dist/{replay-periodic-revalidation-DvYq4LBE.js → replay-periodic-revalidation-BobY47wa.js} +1 -1
- package/dist/{replay-periodic-revalidation-CzWLzx7V.js → replay-periodic-revalidation-m5wz2FN0.js} +1 -1
- package/dist/replay-resolve-86MVZrqd.js +3879 -0
- package/dist/replay-resolve-CitjafrX.js +53 -0
- package/dist/{replay-respect-run-D5Greqj8.js → replay-respect-run-DRkeJyyj.js} +110 -110
- package/dist/{replay-respect-run-DMbPJCHl.js → replay-respect-run-DgHM6naD.js} +1 -1
- package/dist/{replay-tauri-path-DFiAydTm.js → replay-tauri-path-CGIOgvoJ.js} +1 -1
- package/dist/{replay-tauri-path-DSX6AiF8.js → replay-tauri-path-Cmr3dHgv.js} +2 -2
- package/dist/{replay-useAiChatQueries-P9UVQTUB.js → replay-useAiChatQueries-BbkSX7Jo.js} +4 -4
- package/dist/{replay-useAiChatQueries-C6kn5QUT.js → replay-useAiChatQueries-BxiLihgk.js} +1 -1
- package/dist/{replay-validate-key-BHt9qPog.js → replay-validate-key--Ww_IryH.js} +2 -2
- package/dist/{replay-validate-key-Lp6NCJGM.js → replay-validate-key-CdmwsZGm.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +3 -0
- package/dist/replay.js +1 -1
- package/package.json +4 -4
- package/dist/replay-index-tLBGijHm.js +0 -4
- package/dist/replay-resolve-B51mYb48.js +0 -47
- package/dist/replay-resolve-DSJCGK18.js +0 -3739
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as t, x as D } from "./replay-index-
|
|
1
|
+
import { i as t, x as D } from "./replay-index-BkUG85dJ.js";
|
|
2
2
|
var a;
|
|
3
3
|
(function(r) {
|
|
4
4
|
r.WINDOW_RESIZED = "tauri://resize", r.WINDOW_MOVED = "tauri://move", r.WINDOW_CLOSE_REQUESTED = "tauri://close-requested", r.WINDOW_DESTROYED = "tauri://destroyed", r.WINDOW_FOCUS = "tauri://focus", r.WINDOW_BLUR = "tauri://blur", r.WINDOW_SCALE_FACTOR_CHANGED = "tauri://scale-change", r.WINDOW_THEME_CHANGED = "tauri://theme-changed", r.WINDOW_CREATED = "tauri://window-created", r.WINDOW_SUSPENDED = "tauri://suspended", r.WINDOW_RESUMED = "tauri://resumed", r.WEBVIEW_CREATED = "tauri://webview-created", r.DRAG_ENTER = "tauri://drag-enter", r.DRAG_OVER = "tauri://drag-over", r.DRAG_DROP = "tauri://drag-drop", r.DRAG_LEAVE = "tauri://drag-leave";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a6 as T, a7 as f } from "./replay-index-
|
|
2
|
-
import { a as I, g as x, d as z, o as P, A as L, S as V, N as $, n as U, w as G,
|
|
3
|
-
import {
|
|
4
|
-
import { i as B, B as E, n as K, a as W, m as C } from "./replay-resolve-
|
|
5
|
-
import { R as hs, S as us, Y as Es, e as vs, g as Ss, b as Ts, c as xs, d as bs, f as Os, h as
|
|
1
|
+
import { a6 as T, a7 as f } from "./replay-index-BkUG85dJ.js";
|
|
2
|
+
import { a as I, g as x, d as z, o as P, A as L, S as V, N as $, n as U, w as G, D as M, _ as Y, c as b, l as D } from "./replay-lint-CsodRy23.js";
|
|
3
|
+
import { b as he, e as ue, f as Ee, h as ve, j as Se, C as Te, k as xe, m as be, p as Oe, q as _e, r as Re, s as Ne, H as Ie, I as Pe, t as De, O as Ce, u as ke, v as je, x as we, y as Fe, z as ze, P as Le, B as Ve, E as $e, F as Ue, G as Ge, J as Me, K as Ye, L as Be, M as Ke, Q as We, R as He, T as Je, U as qe, V as Xe, W as Qe, X as Ze, Y as Ae, Z as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as rs, a4 as os, a5 as is, a6 as ls, a7 as cs, a8 as ps, a9 as ys, aa as fs, a0 as ms, ab as ds } from "./replay-lint-CsodRy23.js";
|
|
4
|
+
import { i as B, B as E, n as K, a as W, m as C } from "./replay-resolve-86MVZrqd.js";
|
|
5
|
+
import { R as hs, S as us, Y as Es, e as vs, g as Ss, b as Ts, c as xs, d as bs, f as Os, h as _s, j as Rs, p as Ns, r as Is, k as Ps, s as Ds, u as Cs } from "./replay-resolve-86MVZrqd.js";
|
|
6
6
|
function oe(e) {
|
|
7
7
|
return (T.extname(e) === ".yaml" || T.extname(e) === ".yml") && !1;
|
|
8
8
|
}
|
|
@@ -16,7 +16,7 @@ function ce(e) {
|
|
|
16
16
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
17
17
|
}
|
|
18
18
|
const v = "type", O = ["api-description", "api-operation", "data-schema"];
|
|
19
|
-
function
|
|
19
|
+
function H(e, s) {
|
|
20
20
|
const { ctx: t } = x("EntityFileDefault", s), { ctx: a, discriminatorResolver: n } = x("EntityFile", e);
|
|
21
21
|
return {
|
|
22
22
|
entityTypes: {
|
|
@@ -267,7 +267,7 @@ const pe = (e) => ({
|
|
|
267
267
|
S(e);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
}),
|
|
270
|
+
}), J = /^[a-z0-9]+(?:-[a-z0-9]+)*$/, _ = 2, R = 150, q = () => ({
|
|
271
271
|
any(e, { report: s, location: t }) {
|
|
272
272
|
if (f(e) && "key" in e) {
|
|
273
273
|
const a = e.key;
|
|
@@ -278,13 +278,13 @@ const pe = (e) => ({
|
|
|
278
278
|
});
|
|
279
279
|
return;
|
|
280
280
|
}
|
|
281
|
-
a.length <
|
|
282
|
-
message: `Entity 'key' must be at least ${
|
|
281
|
+
a.length < _ && s({
|
|
282
|
+
message: `Entity 'key' must be at least ${_} characters long.`,
|
|
283
283
|
location: t.child(["key"])
|
|
284
|
-
}), a.length >
|
|
285
|
-
message: `Entity 'key' must not exceed ${
|
|
284
|
+
}), a.length > R && s({
|
|
285
|
+
message: `Entity 'key' must not exceed ${R} characters.`,
|
|
286
286
|
location: t.child(["key"])
|
|
287
|
-
}),
|
|
287
|
+
}), J.test(a) || s({
|
|
288
288
|
message: "Entity `key` must contain only lowercase letters, numbers, and hyphens, and cannot start or end with a hyphen.",
|
|
289
289
|
location: t.child(["key"])
|
|
290
290
|
});
|
|
@@ -365,7 +365,7 @@ async function se(e) {
|
|
|
365
365
|
problems: [],
|
|
366
366
|
specVersion: "entity",
|
|
367
367
|
visitorsData: {}
|
|
368
|
-
}, { entityTypes: o, discriminatorResolver: m } =
|
|
368
|
+
}, { entityTypes: o, discriminatorResolver: m } = H(t, a), p = K(o);
|
|
369
369
|
let y = p.Entity;
|
|
370
370
|
if (Array.isArray(s.parsed))
|
|
371
371
|
y = p.EntityFileArray;
|
|
@@ -402,7 +402,7 @@ async function se(e) {
|
|
|
402
402
|
{
|
|
403
403
|
severity: n || "error",
|
|
404
404
|
ruleId: "entity key-valid",
|
|
405
|
-
visitor:
|
|
405
|
+
visitor: q()
|
|
406
406
|
},
|
|
407
407
|
...d
|
|
408
408
|
], w = U(j, p), F = await W({
|
|
@@ -492,8 +492,8 @@ export {
|
|
|
492
492
|
xe as CONFIG_FILE_NAME,
|
|
493
493
|
be as Config,
|
|
494
494
|
Oe as ConfigTypes,
|
|
495
|
-
|
|
496
|
-
|
|
495
|
+
_e as ConfigValidationError,
|
|
496
|
+
Re as DEFAULT_CONFIG,
|
|
497
497
|
Ne as DEFAULT_PROJECT_PLUGIN_PATHS,
|
|
498
498
|
Ie as HandledError,
|
|
499
499
|
Pe as IGNORE_BANNER,
|
|
@@ -518,7 +518,7 @@ export {
|
|
|
518
518
|
Ge as clearPluginsCache,
|
|
519
519
|
b as createConfig,
|
|
520
520
|
Me as createConfigTypes,
|
|
521
|
-
|
|
521
|
+
H as createEntityTypes,
|
|
522
522
|
z as dequal,
|
|
523
523
|
Ye as detectSpec,
|
|
524
524
|
oe as doesYamlFileExist,
|
|
@@ -526,10 +526,10 @@ export {
|
|
|
526
526
|
Be as findConfig,
|
|
527
527
|
Ke as formatProblems,
|
|
528
528
|
We as getAstNodeByPointer,
|
|
529
|
-
|
|
529
|
+
He as getCodeframe,
|
|
530
530
|
Ss as getDir,
|
|
531
|
-
|
|
532
|
-
|
|
531
|
+
Je as getLineColLocation,
|
|
532
|
+
qe as getMajorSpecVersion,
|
|
533
533
|
Xe as getPluginCacheVersion,
|
|
534
534
|
Qe as getTotals,
|
|
535
535
|
Ze as getTypes,
|
|
@@ -543,8 +543,8 @@ export {
|
|
|
543
543
|
f as isPlainObject,
|
|
544
544
|
B as isRef,
|
|
545
545
|
es as isString,
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
_s as isSupportedExtension,
|
|
547
|
+
Rs as isTruthy,
|
|
548
548
|
ss as keysOf,
|
|
549
549
|
ts as lint,
|
|
550
550
|
ns as lintConfig,
|