@redocly/replay 0.29.0-next.2 → 0.29.0-next.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/{replay-AiChatProvider-CRI2UTsZ.js → replay-AiChatProvider-Bnz0LDFD.js} +52 -52
- package/dist/{replay-AiChatProvider-6XfGmlMO.js → replay-AiChatProvider-C5p3nTV1.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-DA-eJh6c.js → replay-AiChatSqliteDBStorage-DYxoSZak.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-BlEocJgY.js → replay-AiChatSqliteDBStorage-Dfbp6Mt_.js} +1 -1
- package/dist/{replay-AiPanel-DYVgRVdG.js → replay-AiPanel-BSg5Bap4.js} +1 -1
- package/dist/{replay-AiPanel-ZrR1tDqo.js → replay-AiPanel-C0E1A47H.js} +4 -4
- package/dist/{replay-FileWatcher-BNFHO596.js → replay-FileWatcher-Ba9Ob_Sy.js} +1 -1
- package/dist/{replay-FileWatcher-CELEsith.js → replay-FileWatcher-BiAGOR1Z.js} +2 -2
- package/dist/{replay-SemanticSearchService-Dooeje9n.js → replay-SemanticSearchService-IInvoSoP.js} +1 -1
- package/dist/{replay-SemanticSearchService-BEk_dTbd.js → replay-SemanticSearchService-sIjG5Wxe.js} +20 -20
- package/dist/{replay-SqliteDBStorage-CLSBc7bS.js → replay-SqliteDBStorage-C-ovuJna.js} +1 -1
- package/dist/{replay-SqliteDBStorage-3K7IPlJU.js → replay-SqliteDBStorage-DMoeVRXU.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-D-IrcgXM.js → replay-TauriFileSystemAdapter-CB9S1PNT.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-BvJ1azsj.js → replay-TauriFileSystemAdapter-DDo2h7gX.js} +1 -1
- package/dist/{replay-TauriRootStorage-DylcqkvS.js → replay-TauriRootStorage-BX-XrEN-.js} +1 -1
- package/dist/{replay-TauriRootStorage-b3tjVs4a.js → replay-TauriRootStorage-CR1PyBgZ.js} +12 -12
- package/dist/{replay-agent-loop-Dev3mG-o.js → replay-agent-loop-4YtdgkDh.js} +5 -5
- package/dist/{replay-agent-loop-DgP7lcS9.js → replay-agent-loop-BmoYEhOB.js} +1 -1
- package/dist/{replay-ai-chat-mappers-B6nh9aAX.js → replay-ai-chat-mappers-42FEVsfw.js} +1 -1
- package/dist/{replay-ai-chat-mappers-f3kvLmAu.js → replay-ai-chat-mappers-CgjhiNr7.js} +1 -1
- package/dist/{replay-create-model-CKCKpcry.js → replay-create-model-4Yknbfme.js} +3 -3
- package/dist/{replay-create-model-DWPoobaj.js → replay-create-model-kF4veQPK.js} +4 -4
- package/dist/{replay-db-C5zt3C9P.js → replay-db-B3tQE-B9.js} +6 -6
- package/dist/{replay-db-B6aY7_xq.js → replay-db-_hwn1n5t.js} +1 -1
- package/dist/{replay-external-resolver-vQRj5DBT.js → replay-external-resolver-DS7qAi0G.js} +2 -2
- package/dist/{replay-external-resolver-CnBhw18p.js → replay-external-resolver-DX5JrdGB.js} +1 -1
- package/dist/replay-index-BDRC1QoR.js +7199 -0
- package/dist/{replay-index-qjs9VMHC.js → replay-index-BYEUJTGe.js} +1 -1
- package/dist/{replay-index-CG98QK-s.js → replay-index-Bwbd4CsO.js} +31 -31
- package/dist/replay-index-CHdCQ_zw.js +4 -0
- package/dist/{replay-index-_gr2NUI6.js → replay-index-CtxNTrRQ.js} +1 -1
- package/dist/{replay-index-kTnSyklR.js → replay-index-DD1leCQo.js} +1 -1
- package/dist/{replay-index-DK7gbiWU.js → replay-index-KN9FLfwz.js} +54006 -39937
- package/dist/{replay-index-D5Z0mNdH.js → replay-index-r6bsSAe6.js} +1 -1
- package/dist/replay-lint-BvndGL38.js +121 -0
- package/dist/replay-lint-C3ireP5A.js +22803 -0
- package/dist/replay-lint-graphql-CK8-ZL5Q.js +1 -0
- package/dist/replay-lint-graphql-DKP9oX8y.js +99 -0
- package/dist/{replay-periodic-revalidation--AI8Odct.js → replay-periodic-revalidation-BcWBqn6g.js} +1 -1
- package/dist/{replay-periodic-revalidation-B3_dehdk.js → replay-periodic-revalidation-chHSyw20.js} +1 -1
- package/dist/{replay-resolve-CF2p-q2m.js → replay-resolve-B1Kvf3fM.js} +1 -1
- package/dist/{replay-resolve-CVaipzl1.js → replay-resolve-DC-rmKvK.js} +1 -1
- package/dist/{replay-respect-run-CMwBljW2.js → replay-respect-run-C24QylJ-.js} +1 -1
- package/dist/{replay-respect-run-D8MFUbGR.js → replay-respect-run-DDZ9eF0k.js} +3 -3
- package/dist/{replay-tauri-path-00tVitOG.js → replay-tauri-path-Bz_q3KUG.js} +2 -2
- package/dist/{replay-tauri-path-CNqnykPe.js → replay-tauri-path-DBSmio5_.js} +1 -1
- package/dist/{replay-useAiChatQueries-1FXgtUM0.js → replay-useAiChatQueries-C_GZ_b68.js} +1 -1
- package/dist/{replay-useAiChatQueries-B1lLdezQ.js → replay-useAiChatQueries-DQks2tVS.js} +4 -4
- package/dist/{replay-validate-key-BY6-63zj.js → replay-validate-key-DScTTPU4.js} +1 -1
- package/dist/{replay-validate-key-CQrY8WaE.js → replay-validate-key-c2nCLxiG.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +11 -11
- package/package.json +5 -2
- package/dist/replay-index-CucrJtfX.js +0 -7026
- package/dist/replay-index-Ea2twOHC.js +0 -4
- package/dist/replay-lint-B27guSWl.js +0 -30232
- package/dist/replay-lint-BMx3SufP.js +0 -177
- package/dist/replay-lint-graphql-Ddb-P1_x.js +0 -1956
- package/dist/replay-lint-graphql-DttNVvr_.js +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as B, B as E, n as
|
|
5
|
-
import { R as ds, S as gs, Y as hs, e as us, g as Es, b as vs, c as Ss, d as
|
|
1
|
+
import { a4 as T, a5 as f } from "./replay-index-KN9FLfwz.js";
|
|
2
|
+
import { a as I, g as x, d as L, t as P, A as z, S as V, N as $, n as G, w as M, J as U, L as Y, c as b, l as D } from "./replay-lint-C3ireP5A.js";
|
|
3
|
+
import { b as he, e as ue, f as Ee, h as ve, C as Se, j as Te, k as xe, m as be, o as Oe, D as _e, p as Re, I as Ne, q as Ie, O as Pe, r as De, s as ke, u as Ce, v as je, x as we, P as Fe, y as Le, z as ze, B as Ve, E as $e, F as Ge, G as Me, H as Ue, K as Ye, M as Be, Q as Ke, R as Je, T as We, U as He, V as qe, W as Xe, X as Qe, Y as Ze, Z as Ae, _ as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as os, a4 as rs, a5 as is, a6 as ls, a7 as cs, a8 as ps, _ as ys, a9 as fs } from "./replay-lint-C3ireP5A.js";
|
|
4
|
+
import { i as B, B as E, n as K, a as J, m as k } from "./replay-resolve-DC-rmKvK.js";
|
|
5
|
+
import { R as ds, S as gs, Y as hs, e as us, g as Es, b as vs, c as Ss, d as Ts, f as xs, h as bs, j as Os, p as _s, r as Rs, k as Ns, s as Is, u as Ps } from "./replay-resolve-DC-rmKvK.js";
|
|
6
6
|
function re(e) {
|
|
7
|
-
return (
|
|
7
|
+
return (T.extname(e) === ".yaml" || T.extname(e) === ".yml") && !1;
|
|
8
8
|
}
|
|
9
9
|
function ie(e) {
|
|
10
10
|
return f(e) && !I(e);
|
|
@@ -14,7 +14,7 @@ async function le(e) {
|
|
|
14
14
|
}
|
|
15
15
|
const v = "type", O = ["api-description", "api-operation", "data-schema"];
|
|
16
16
|
function W(e, s) {
|
|
17
|
-
const { ctx: t } =
|
|
17
|
+
const { ctx: t } = x("EntityFileDefault", s), { ctx: a, discriminatorResolver: n } = x("EntityFile", e);
|
|
18
18
|
return {
|
|
19
19
|
entityTypes: {
|
|
20
20
|
...t,
|
|
@@ -324,7 +324,7 @@ function Z(e, s, t) {
|
|
|
324
324
|
const o = n[e];
|
|
325
325
|
try {
|
|
326
326
|
const l = JSON.parse(s);
|
|
327
|
-
if (
|
|
327
|
+
if (L(o, l))
|
|
328
328
|
return o;
|
|
329
329
|
} catch {
|
|
330
330
|
return null;
|
|
@@ -362,7 +362,7 @@ async function se(e) {
|
|
|
362
362
|
problems: [],
|
|
363
363
|
specVersion: "entity",
|
|
364
364
|
visitorsData: {}
|
|
365
|
-
}, { entityTypes: r, discriminatorResolver: m } = W(t, a), p =
|
|
365
|
+
}, { entityTypes: r, discriminatorResolver: m } = W(t, a), p = K(r);
|
|
366
366
|
let y = p.Entity;
|
|
367
367
|
if (Array.isArray(s.parsed))
|
|
368
368
|
y = p.EntityFileArray;
|
|
@@ -375,7 +375,7 @@ async function se(e) {
|
|
|
375
375
|
u && typeof u == "string" && p[u] && (y = p[u]);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
const g =
|
|
378
|
+
const g = z(l), d = Array.isArray(g) ? g.map((h) => ({
|
|
379
379
|
severity: n || "error",
|
|
380
380
|
ruleId: "entity assertions",
|
|
381
381
|
visitor: h
|
|
@@ -402,12 +402,12 @@ async function se(e) {
|
|
|
402
402
|
visitor: q()
|
|
403
403
|
},
|
|
404
404
|
...d
|
|
405
|
-
], w =
|
|
405
|
+
], w = G(j, p), F = await J({
|
|
406
406
|
rootDocument: s,
|
|
407
407
|
rootType: y,
|
|
408
408
|
externalRefResolver: o
|
|
409
409
|
});
|
|
410
|
-
return
|
|
410
|
+
return M({
|
|
411
411
|
document: s,
|
|
412
412
|
rootType: y,
|
|
413
413
|
normalizedVisitors: w,
|
|
@@ -420,8 +420,8 @@ async function fe(e, s, t) {
|
|
|
420
420
|
throw new Error(`Scorecard level "${s.name}" has no rules defined.`);
|
|
421
421
|
const a = new E(), n = k(JSON.stringify(e, null, 2), "entity"), o = n.parsed[v], l = X(o || "unknown", s.rules), { entityRules: c, apiRules: r } = Q(l), m = await se({
|
|
422
422
|
document: n,
|
|
423
|
-
entitySchema:
|
|
424
|
-
entityDefaultSchema:
|
|
423
|
+
entitySchema: U,
|
|
424
|
+
entityDefaultSchema: Y,
|
|
425
425
|
externalRefResolver: a,
|
|
426
426
|
assertionConfig: c
|
|
427
427
|
});
|
|
@@ -487,8 +487,8 @@ export {
|
|
|
487
487
|
ve as AsyncApi3Types,
|
|
488
488
|
E as BaseResolver,
|
|
489
489
|
Se as CONFIG_BUNDLER_VISITOR_ID,
|
|
490
|
-
|
|
491
|
-
|
|
490
|
+
Te as CONFIG_FILE_NAME,
|
|
491
|
+
xe as Config,
|
|
492
492
|
be as ConfigTypes,
|
|
493
493
|
Oe as ConfigValidationError,
|
|
494
494
|
_e as DEFAULT_CONFIG,
|
|
@@ -509,23 +509,23 @@ export {
|
|
|
509
509
|
ye as StatsAsync3,
|
|
510
510
|
ce as StatsOAS,
|
|
511
511
|
hs as YamlParseError,
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
Le as bundle,
|
|
513
|
+
ze as bundleDocument,
|
|
514
514
|
Ve as bundleFromString,
|
|
515
515
|
$e as clearPluginsCache,
|
|
516
516
|
b as createConfig,
|
|
517
|
-
|
|
517
|
+
Ge as createConfigTypes,
|
|
518
518
|
W as createEntityTypes,
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
L as dequal,
|
|
520
|
+
Me as detectSpec,
|
|
521
521
|
re as doesYamlFileExist,
|
|
522
522
|
us as escapePointerFragment,
|
|
523
|
-
|
|
524
|
-
|
|
523
|
+
Ue as findConfig,
|
|
524
|
+
Ye as formatProblems,
|
|
525
525
|
Be as getAstNodeByPointer,
|
|
526
|
-
|
|
526
|
+
Ke as getCodeframe,
|
|
527
527
|
Es as getDir,
|
|
528
|
-
|
|
528
|
+
Je as getLineColLocation,
|
|
529
529
|
We as getMajorSpecVersion,
|
|
530
530
|
He as getPluginCacheVersion,
|
|
531
531
|
qe as getTotals,
|
|
@@ -533,8 +533,8 @@ export {
|
|
|
533
533
|
vs as isAbsoluteUrl,
|
|
534
534
|
Ss as isBrowser,
|
|
535
535
|
I as isEmptyObject,
|
|
536
|
-
|
|
537
|
-
|
|
536
|
+
Ts as isGraphqlRef,
|
|
537
|
+
xs as isMappingRef,
|
|
538
538
|
Qe as isNotEmptyArray,
|
|
539
539
|
ie as isNotEmptyObject,
|
|
540
540
|
f as isPlainObject,
|
|
@@ -555,20 +555,20 @@ export {
|
|
|
555
555
|
os as logger,
|
|
556
556
|
k as makeDocumentFromString,
|
|
557
557
|
rs as mapTypeToComponent,
|
|
558
|
-
|
|
559
|
-
|
|
558
|
+
K as normalizeTypes,
|
|
559
|
+
G as normalizeVisitors,
|
|
560
560
|
_s as parseYaml,
|
|
561
561
|
le as pause,
|
|
562
562
|
is as pluralize,
|
|
563
563
|
Rs as readFileFromUrl,
|
|
564
564
|
ls as regexFromString,
|
|
565
|
-
|
|
565
|
+
J as resolveDocument,
|
|
566
566
|
Ns as resolvePath,
|
|
567
567
|
cs as resolvePlugins,
|
|
568
568
|
ps as slash,
|
|
569
569
|
Is as stringifyYaml,
|
|
570
570
|
Ps as unescapePointerFragment,
|
|
571
571
|
ys as validate,
|
|
572
|
-
|
|
572
|
+
M as walkDocument,
|
|
573
573
|
fs as xmlEscape
|
|
574
574
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-SemanticSearchService-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-SemanticSearchService-IInvoSoP.js");exports.getSemanticSearchService=e.getSemanticSearchService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-BDRC1QoR.js");async function a(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|open",{options:t})}async function o(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|save",{options:t})}async function l(t,n){const e=typeof n=="string"?{title:n}:n;await i.invoke("plugin:dialog|message",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()})}async function r(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|ask",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Yes",cancelButtonLabel:e?.cancelLabel?.toString()??"No"})}async function c(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|confirm",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Ok",cancelButtonLabel:e?.cancelLabel?.toString()??"Cancel"})}exports.ask=r;exports.confirm=c;exports.message=l;exports.open=a;exports.save=o;
|