@redocly/replay 0.29.0-next.0 → 0.29.0-next.10
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/oauth2-redirect.cjs +1 -1
- package/dist/oauth2-redirect.js +1 -1
- package/dist/{replay-AiChatProvider-DUQ2hsZo.js → replay-AiChatProvider-DpL4VGOi.js} +1 -1
- package/dist/{replay-AiChatProvider-DWj4kzZG.js → replay-AiChatProvider-bepFun5r.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-AwkpaRF3.js → replay-AiChatSqliteDBStorage-CRdPx5Sa.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-C-QR82Oo.js → replay-AiChatSqliteDBStorage-aVd3LDCl.js} +1 -1
- package/dist/{replay-AiPanel-jffKz76q.js → replay-AiPanel--HMLwr6r.js} +2 -2
- package/dist/{replay-AiPanel-DkUjsiBN.js → replay-AiPanel-BKfg7MAs.js} +31 -19
- package/dist/{replay-FileWatcher-DUvCC-PY.js → replay-FileWatcher-3myhktuI.js} +2 -2
- package/dist/replay-FileWatcher-U8tCGJmQ.js +1 -0
- package/dist/{replay-SemanticSearchService-CHkdWIcG.js → replay-SemanticSearchService-CDvBVKCZ.js} +21 -21
- package/dist/{replay-SemanticSearchService-VF6AneJg.js → replay-SemanticSearchService-Cp-wanAz.js} +1 -1
- package/dist/{replay-SqliteDBStorage-CSYBSOEO.js → replay-SqliteDBStorage--jwmX3AT.js} +2 -2
- package/dist/{replay-SqliteDBStorage-EbVgsvZY.js → replay-SqliteDBStorage-Cj5ZIqdg.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-C2Vhu3Ay.js → replay-TauriFileSystemAdapter-AOzk-WNL.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-ZLQv2Jpa.js → replay-TauriFileSystemAdapter-LMZ5eRoj.js} +1 -1
- package/dist/{replay-TauriRootStorage-Bqoz3cld.js → replay-TauriRootStorage-BhvQ6BFn.js} +18 -18
- package/dist/{replay-TauriRootStorage-D8DYLi8t.js → replay-TauriRootStorage-DyTqNU-0.js} +1 -1
- package/dist/{replay-agent-loop-Bm9BCm02.js → replay-agent-loop-DNUWb1DF.js} +1 -1
- package/dist/{replay-agent-loop-De5Qyhy9.js → replay-agent-loop-DThvbk28.js} +5 -5
- package/dist/{replay-ai-chat-mappers-y3wFVHQe.js → replay-ai-chat-mappers-D8OvBATY.js} +1 -1
- package/dist/{replay-ai-chat-mappers-lYbHE7LU.js → replay-ai-chat-mappers-ipRunCfX.js} +1 -1
- package/dist/{replay-create-model-BR_hDMYz.js → replay-create-model-CUvUtbE-.js} +4 -4
- package/dist/{replay-create-model-DeyX2a2A.js → replay-create-model-Dn3cbzAW.js} +3 -3
- package/dist/{replay-db-CmLId87t.js → replay-db-CPZy6PnP.js} +1 -1
- package/dist/{replay-db-8Yfdu1EO.js → replay-db-DY4fjjiR.js} +1 -1
- package/dist/{replay-external-resolver-CkqL8AKf.js → replay-external-resolver-BdGx04jr.js} +1 -1
- package/dist/{replay-external-resolver-BL-garqK.js → replay-external-resolver-CZwjpJeo.js} +2 -2
- package/dist/replay-index-BZjIH-Um.js +4 -0
- package/dist/{replay-index-jkDlU0Lx.js → replay-index-CP1rnqCC.js} +6 -6
- package/dist/{replay-index-BDcjQnps.js → replay-index-CYb9b0_s.js} +55047 -40846
- package/dist/{replay-index-BfiTbks9.js → replay-index-CjqjkFv_.js} +1 -1
- package/dist/replay-index-CwHr913S.js +1 -0
- package/dist/replay-index-D4HNQQF4.js +7219 -0
- package/dist/replay-index-DSQ-8F3e.js +1 -0
- package/dist/{replay-index-BAD7NmvH.js → replay-index-DWjUQcJi.js} +130 -127
- package/dist/{replay-index-DorMJxDL.js → replay-index-DgvAyfxW.js} +1 -1
- package/dist/replay-index-_0zkzi7P.js +1 -0
- package/dist/{replay-index-DiSy_1OY.js → replay-index-pQqtnenT.js} +1 -1
- package/dist/{replay-index-B2_OwIzz.js → replay-index-v2Pf8Cco.js} +1 -1
- package/dist/replay-lint-BP7r4tG0.js +130 -0
- package/dist/replay-lint-QqAHzsqE.js +24688 -0
- package/dist/replay-lint-graphql-CCVEELhe.js +99 -0
- package/dist/replay-lint-graphql-Cyp_8mwt.js +1 -0
- package/dist/replay-oauth2-redirect-handler-BfZRvm6l.js +4 -0
- package/dist/{replay-oauth2-redirect-handler-CqKZB3aV.js → replay-oauth2-redirect-handler-Bq6bpZMm.js} +1 -1
- package/dist/{replay-periodic-revalidation-Dk5I6zpL.js → replay-periodic-revalidation-B6VfUGtP.js} +1 -1
- package/dist/{replay-periodic-revalidation-QN1Nzs5P.js → replay-periodic-revalidation-CUgXefz_.js} +1 -1
- package/dist/{replay-resolve-CiT66v_T.js → replay-resolve-Cw3__dH1.js} +8 -8
- package/dist/{replay-resolve-Bu8MUbb4.js → replay-resolve-D5Egy48_.js} +1 -1
- package/dist/{replay-respect-run-vyQ9167I.js → replay-respect-run-0sGatQSs.js} +3840 -5291
- package/dist/replay-respect-run-BJd-iklq.js +73 -0
- package/dist/{replay-tauri-path-C2_c3UUW.js → replay-tauri-path-BxbpcNzj.js} +1 -1
- package/dist/{replay-tauri-path-nSR1IXTa.js → replay-tauri-path-GA7m-1Yk.js} +2 -2
- package/dist/{replay-useAiChatQueries-Z3RHPc9x.js → replay-useAiChatQueries-5FlnedrO.js} +43 -43
- package/dist/{replay-useAiChatQueries-Di7srepQ.js → replay-useAiChatQueries-DZ38fnMy.js} +461 -461
- package/dist/{replay-validate-key-DTrKCzzp.js → replay-validate-key-BFMbrrwB.js} +1 -1
- package/dist/{replay-validate-key-DCjaZPTw.js → replay-validate-key-DTnhkHza.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +54 -2
- package/dist/replay.js +10 -10
- package/package.json +9 -5
- package/dist/replay-FileWatcher-BuLGLLQr.js +0 -1
- package/dist/replay-core-BJmXmoC5.js +0 -1
- package/dist/replay-core-B_hiOZZr.js +0 -10
- package/dist/replay-index-3lwhSmvi.js +0 -1
- package/dist/replay-index-49ub7kjO.js +0 -4
- package/dist/replay-index-CDhdpEsv.js +0 -1
- package/dist/replay-index-DTg-X2sJ.js +0 -7014
- package/dist/replay-index-Oct6Dygd.js +0 -1
- package/dist/replay-lint-BTpTdc1d.js +0 -30232
- package/dist/replay-lint-DvPtwqB_.js +0 -177
- package/dist/replay-lint-graphql-B9_N8uLm.js +0 -1956
- package/dist/replay-lint-graphql-BE8DlHWF.js +0 -3
- package/dist/replay-oauth2-redirect-handler-Bqw5UUvl.js +0 -4
- package/dist/replay-respect-run-_H2BVClG.js +0 -82
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-D4HNQQF4.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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as B, B as E, n as
|
|
5
|
-
import { R as
|
|
6
|
-
function
|
|
7
|
-
return (
|
|
1
|
+
import { a6 as T, a7 as f } from "./replay-index-CYb9b0_s.js";
|
|
2
|
+
import { a as I, g as x, d as z, t as P, A as L, S as V, N as $, n as U, w as G, x as M, E as Y, c as b, l as D } from "./replay-lint-QqAHzsqE.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, o as Oe, p as Re, D as _e, q as Ne, H as Ie, I as Pe, r as De, O as Ce, s as ke, u as je, v as we, y as Fe, z as ze, P as Le, B as Ve, F as $e, G as Ue, J as Ge, K as Me, L as Ye, M as Be, Q as Ke, R as We, T as He, U as Je, 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 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-QqAHzsqE.js";
|
|
4
|
+
import { i as B, B as E, n as K, a as W, m as C } from "./replay-resolve-Cw3__dH1.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 Rs, j as _s, p as Ns, r as Is, k as Ps, s as Ds, u as Cs } from "./replay-resolve-Cw3__dH1.js";
|
|
6
|
+
function oe(e) {
|
|
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);
|
|
@@ -12,9 +12,12 @@ function ie(e) {
|
|
|
12
12
|
async function le(e) {
|
|
13
13
|
return new Promise((s) => setTimeout(s, e));
|
|
14
14
|
}
|
|
15
|
+
function ce(e) {
|
|
16
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
17
|
+
}
|
|
15
18
|
const v = "type", O = ["api-description", "api-operation", "data-schema"];
|
|
16
|
-
function
|
|
17
|
-
const { ctx: t } =
|
|
19
|
+
function H(e, s) {
|
|
20
|
+
const { ctx: t } = x("EntityFileDefault", s), { ctx: a, discriminatorResolver: n } = x("EntityFile", e);
|
|
18
21
|
return {
|
|
19
22
|
entityTypes: {
|
|
20
23
|
...t,
|
|
@@ -26,9 +29,9 @@ function W(e, s) {
|
|
|
26
29
|
const c = l[v];
|
|
27
30
|
if (!c)
|
|
28
31
|
return "Entity";
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
return
|
|
32
|
+
const o = n?.(l, c);
|
|
33
|
+
if (o && typeof o == "string")
|
|
34
|
+
return o;
|
|
32
35
|
}
|
|
33
36
|
return "Entity";
|
|
34
37
|
}
|
|
@@ -49,7 +52,7 @@ function S(e) {
|
|
|
49
52
|
const { xExtensions: s } = e, t = s.counts ?? {}, a = Object.keys(t).sort();
|
|
50
53
|
s.total = a.length, s.counts = Object.fromEntries(a.map((n) => [n, t[n]]));
|
|
51
54
|
}
|
|
52
|
-
const
|
|
55
|
+
const pe = (e) => ({
|
|
53
56
|
SpecExtension: {
|
|
54
57
|
enter(s, t) {
|
|
55
58
|
i(e.xExtensions, t);
|
|
@@ -158,7 +161,7 @@ const ce = (e) => ({
|
|
|
158
161
|
S(e);
|
|
159
162
|
}
|
|
160
163
|
}
|
|
161
|
-
}),
|
|
164
|
+
}), ye = (e) => ({
|
|
162
165
|
SpecExtension: {
|
|
163
166
|
enter(s, t) {
|
|
164
167
|
i(e.xExtensions, t);
|
|
@@ -210,7 +213,7 @@ const ce = (e) => ({
|
|
|
210
213
|
S(e);
|
|
211
214
|
}
|
|
212
215
|
}
|
|
213
|
-
}),
|
|
216
|
+
}), fe = (e) => ({
|
|
214
217
|
SpecExtension: {
|
|
215
218
|
enter(s, t) {
|
|
216
219
|
i(e.xExtensions, t);
|
|
@@ -264,7 +267,7 @@ const ce = (e) => ({
|
|
|
264
267
|
S(e);
|
|
265
268
|
}
|
|
266
269
|
}
|
|
267
|
-
}),
|
|
270
|
+
}), J = /^[a-z0-9]+(?:-[a-z0-9]+)*$/, R = 2, _ = 150, q = () => ({
|
|
268
271
|
any(e, { report: s, location: t }) {
|
|
269
272
|
if (f(e) && "key" in e) {
|
|
270
273
|
const a = e.key;
|
|
@@ -275,13 +278,13 @@ const ce = (e) => ({
|
|
|
275
278
|
});
|
|
276
279
|
return;
|
|
277
280
|
}
|
|
278
|
-
a.length <
|
|
279
|
-
message: `Entity 'key' must be at least ${
|
|
281
|
+
a.length < R && s({
|
|
282
|
+
message: `Entity 'key' must be at least ${R} characters long.`,
|
|
280
283
|
location: t.child(["key"])
|
|
281
|
-
}), a.length >
|
|
282
|
-
message: `Entity 'key' must not exceed ${
|
|
284
|
+
}), a.length > _ && s({
|
|
285
|
+
message: `Entity 'key' must not exceed ${_} characters.`,
|
|
283
286
|
location: t.child(["key"])
|
|
284
|
-
}),
|
|
287
|
+
}), J.test(a) || s({
|
|
285
288
|
message: "Entity `key` must contain only lowercase letters, numbers, and hyphens, and cannot start or end with a hyphen.",
|
|
286
289
|
location: t.child(["key"])
|
|
287
290
|
});
|
|
@@ -295,7 +298,7 @@ function N(e, s) {
|
|
|
295
298
|
function X(e, s) {
|
|
296
299
|
const t = {};
|
|
297
300
|
for (const [a, n] of Object.entries(s))
|
|
298
|
-
if (
|
|
301
|
+
if (k(a, n)) {
|
|
299
302
|
if (n.severity === "off")
|
|
300
303
|
continue;
|
|
301
304
|
t[a] = {
|
|
@@ -308,9 +311,9 @@ function X(e, s) {
|
|
|
308
311
|
function Q(e) {
|
|
309
312
|
const s = {}, t = {};
|
|
310
313
|
for (const [a, n] of Object.entries(e))
|
|
311
|
-
if (
|
|
312
|
-
const
|
|
313
|
-
A(
|
|
314
|
+
if (k(a, n)) {
|
|
315
|
+
const r = n;
|
|
316
|
+
A(r) ? s[a] = r : t[a] = r;
|
|
314
317
|
} else
|
|
315
318
|
t[a] = n;
|
|
316
319
|
return { entityRules: s, apiRules: t };
|
|
@@ -321,28 +324,28 @@ function Z(e, s, t) {
|
|
|
321
324
|
const a = t.parsed.components, n = "schemas" in a ? a.schemas : void 0;
|
|
322
325
|
if (!n || !(e in n))
|
|
323
326
|
return null;
|
|
324
|
-
const
|
|
327
|
+
const r = n[e];
|
|
325
328
|
try {
|
|
326
329
|
const l = JSON.parse(s);
|
|
327
|
-
if (z(
|
|
328
|
-
return
|
|
330
|
+
if (z(r, l))
|
|
331
|
+
return r;
|
|
329
332
|
} catch {
|
|
330
333
|
return null;
|
|
331
334
|
}
|
|
332
335
|
return null;
|
|
333
336
|
}
|
|
334
|
-
function
|
|
337
|
+
function k(e, s) {
|
|
335
338
|
return e.startsWith("rule/") && f(s);
|
|
336
339
|
}
|
|
337
340
|
function A(e) {
|
|
338
341
|
return Object.values(P).some((s) => e.subject.type === s);
|
|
339
342
|
}
|
|
340
343
|
function ee(e, s, t) {
|
|
341
|
-
const a = N(t.subject.type, e), n = t.where?.map((
|
|
342
|
-
...
|
|
344
|
+
const a = N(t.subject.type, e), n = t.where?.map((r) => ({
|
|
345
|
+
...r,
|
|
343
346
|
subject: {
|
|
344
|
-
...
|
|
345
|
-
type: N(
|
|
347
|
+
...r.subject,
|
|
348
|
+
type: N(r.subject.type, e)
|
|
346
349
|
}
|
|
347
350
|
}));
|
|
348
351
|
return {
|
|
@@ -358,11 +361,11 @@ function ee(e, s, t) {
|
|
|
358
361
|
};
|
|
359
362
|
}
|
|
360
363
|
async function se(e) {
|
|
361
|
-
const { document: s, entitySchema: t, entityDefaultSchema: a, severity: n, externalRefResolver:
|
|
364
|
+
const { document: s, entitySchema: t, entityDefaultSchema: a, severity: n, externalRefResolver: r = new E(), assertionConfig: l = {} } = e, c = {
|
|
362
365
|
problems: [],
|
|
363
366
|
specVersion: "entity",
|
|
364
367
|
visitorsData: {}
|
|
365
|
-
}, { entityTypes:
|
|
368
|
+
}, { entityTypes: o, discriminatorResolver: m } = H(t, a), p = K(o);
|
|
366
369
|
let y = p.Entity;
|
|
367
370
|
if (Array.isArray(s.parsed))
|
|
368
371
|
y = p.EntityFileArray;
|
|
@@ -402,12 +405,12 @@ async function se(e) {
|
|
|
402
405
|
visitor: q()
|
|
403
406
|
},
|
|
404
407
|
...d
|
|
405
|
-
], w =
|
|
408
|
+
], w = U(j, p), F = await W({
|
|
406
409
|
rootDocument: s,
|
|
407
410
|
rootType: y,
|
|
408
|
-
externalRefResolver:
|
|
411
|
+
externalRefResolver: r
|
|
409
412
|
});
|
|
410
|
-
return
|
|
413
|
+
return G({
|
|
411
414
|
document: s,
|
|
412
415
|
rootType: y,
|
|
413
416
|
normalizedVisitors: w,
|
|
@@ -415,23 +418,23 @@ async function se(e) {
|
|
|
415
418
|
ctx: c
|
|
416
419
|
}), c.problems;
|
|
417
420
|
}
|
|
418
|
-
async function
|
|
421
|
+
async function me(e, s, t) {
|
|
419
422
|
if (!s.rules)
|
|
420
423
|
throw new Error(`Scorecard level "${s.name}" has no rules defined.`);
|
|
421
|
-
const a = new E(), n =
|
|
424
|
+
const a = new E(), n = C(JSON.stringify(e, null, 2), "entity"), r = n.parsed[v], l = X(r || "unknown", s.rules), { entityRules: c, apiRules: o } = Q(l), m = await se({
|
|
422
425
|
document: n,
|
|
423
|
-
entitySchema:
|
|
424
|
-
entityDefaultSchema:
|
|
426
|
+
entitySchema: M,
|
|
427
|
+
entityDefaultSchema: Y,
|
|
425
428
|
externalRefResolver: a,
|
|
426
429
|
assertionConfig: c
|
|
427
430
|
});
|
|
428
431
|
if (O.includes(e.type)) {
|
|
429
|
-
if (Object.keys(
|
|
432
|
+
if (Object.keys(o).length === 0)
|
|
430
433
|
return m;
|
|
431
434
|
if (!t)
|
|
432
435
|
throw new Error(`Document is required for entity type "${e.type}". Provide the source API document to lint API rules.`);
|
|
433
436
|
if (e.type === "data-schema" && e.metadata?.schema) {
|
|
434
|
-
Object.values(
|
|
437
|
+
Object.values(o).forEach((d) => {
|
|
435
438
|
if (f(d) && f(d.subject) && d.subject.type !== "Schema")
|
|
436
439
|
throw new Error(`API rules for "data-schema" entity must target Schema subject, but found "${d.subject.type}".`);
|
|
437
440
|
});
|
|
@@ -442,7 +445,7 @@ async function fe(e, s, t) {
|
|
|
442
445
|
schema: y,
|
|
443
446
|
schemaKey: e.title,
|
|
444
447
|
config: await b({
|
|
445
|
-
rules:
|
|
448
|
+
rules: o
|
|
446
449
|
}),
|
|
447
450
|
specType: e.metadata.specType,
|
|
448
451
|
sourceDocument: t,
|
|
@@ -454,17 +457,17 @@ async function fe(e, s, t) {
|
|
|
454
457
|
document: t,
|
|
455
458
|
externalRefResolver: a,
|
|
456
459
|
config: await b({
|
|
457
|
-
rules:
|
|
460
|
+
rules: o
|
|
458
461
|
})
|
|
459
462
|
});
|
|
460
463
|
return [...m, ...p];
|
|
461
|
-
} else if (!I(
|
|
464
|
+
} else if (!I(o))
|
|
462
465
|
throw new Error(`API rules are not supported for entity type "${e.type}". Only ${O.join(", ")} support API rules.`);
|
|
463
466
|
return m;
|
|
464
467
|
}
|
|
465
468
|
async function te(e) {
|
|
466
|
-
const { schema: s, schemaKey: t, config: a, sourceDocument: n, specType:
|
|
467
|
-
[
|
|
469
|
+
const { schema: s, schemaKey: t, config: a, sourceDocument: n, specType: r, externalRefResolver: l = new E(a.resolve) } = e, c = n.parsed, o = c[r], m = c.info, p = C(JSON.stringify({
|
|
470
|
+
[r]: o,
|
|
468
471
|
info: m,
|
|
469
472
|
components: {
|
|
470
473
|
schemas: {
|
|
@@ -478,97 +481,97 @@ async function te(e) {
|
|
|
478
481
|
externalRefResolver: l
|
|
479
482
|
})).filter((g) => g.location.some((d) => d.pointer?.includes(`/components/schemas/${t}`)));
|
|
480
483
|
}
|
|
481
|
-
class me extends Error {
|
|
482
|
-
}
|
|
483
484
|
export {
|
|
484
|
-
he as
|
|
485
|
-
ue as
|
|
486
|
-
Ee as
|
|
487
|
-
ve as
|
|
485
|
+
he as AbortFlowError,
|
|
486
|
+
ue as Arazzo1Types,
|
|
487
|
+
Ee as Arazzo1_1Types,
|
|
488
|
+
ve as AsyncApi2Types,
|
|
489
|
+
Se as AsyncApi3Types,
|
|
488
490
|
E as BaseResolver,
|
|
489
|
-
|
|
491
|
+
Te as CONFIG_BUNDLER_VISITOR_ID,
|
|
490
492
|
xe as CONFIG_FILE_NAME,
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
493
|
+
be as Config,
|
|
494
|
+
Oe as ConfigTypes,
|
|
495
|
+
Re as ConfigValidationError,
|
|
494
496
|
_e as DEFAULT_CONFIG,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
497
|
+
Ne as DEFAULT_PROJECT_PLUGIN_PATHS,
|
|
498
|
+
Ie as HandledError,
|
|
499
|
+
Pe as IGNORE_BANNER,
|
|
500
|
+
De as IGNORE_FILE,
|
|
501
|
+
Ce as Oas2Types,
|
|
502
|
+
ke as Oas3Types,
|
|
503
|
+
je as Oas3_1Types,
|
|
504
|
+
we as Oas3_2Types,
|
|
505
|
+
Fe as OpenRpcTypes,
|
|
506
|
+
ze as Overlay1Types,
|
|
507
|
+
Le as PLUGINS_COLLECTOR_VISITOR_ID,
|
|
508
|
+
hs as ResolveError,
|
|
509
|
+
us as Source,
|
|
510
|
+
ye as StatsAsync2,
|
|
511
|
+
fe as StatsAsync3,
|
|
512
|
+
pe as StatsOAS,
|
|
513
|
+
Es as YamlParseError,
|
|
514
|
+
Ve as bundle,
|
|
515
|
+
$e as bundleDocument,
|
|
516
|
+
Ue as bundleFromString,
|
|
517
|
+
ce as capitalize,
|
|
518
|
+
Ge as clearPluginsCache,
|
|
516
519
|
b as createConfig,
|
|
517
520
|
Me as createConfigTypes,
|
|
518
|
-
|
|
521
|
+
H as createEntityTypes,
|
|
519
522
|
z as dequal,
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
523
|
+
Ye as detectSpec,
|
|
524
|
+
oe as doesYamlFileExist,
|
|
525
|
+
vs as escapePointerFragment,
|
|
526
|
+
Be as findConfig,
|
|
527
|
+
Ke as formatProblems,
|
|
528
|
+
We as getAstNodeByPointer,
|
|
529
|
+
He as getCodeframe,
|
|
530
|
+
Ss as getDir,
|
|
531
|
+
Je as getLineColLocation,
|
|
532
|
+
qe as getMajorSpecVersion,
|
|
533
|
+
Xe as getPluginCacheVersion,
|
|
534
|
+
Qe as getTotals,
|
|
535
|
+
Ze as getTypes,
|
|
536
|
+
Ts as isAbsoluteUrl,
|
|
537
|
+
xs as isBrowser,
|
|
535
538
|
I as isEmptyObject,
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
+
bs as isGraphqlRef,
|
|
540
|
+
Os as isMappingRef,
|
|
541
|
+
Ae as isNotEmptyArray,
|
|
539
542
|
ie as isNotEmptyObject,
|
|
540
543
|
f as isPlainObject,
|
|
541
544
|
B as isRef,
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
545
|
+
es as isString,
|
|
546
|
+
Rs as isSupportedExtension,
|
|
547
|
+
_s as isTruthy,
|
|
548
|
+
ss as keysOf,
|
|
549
|
+
ts as lint,
|
|
550
|
+
ns as lintConfig,
|
|
548
551
|
D as lintDocument,
|
|
549
552
|
se as lintEntityFile,
|
|
550
|
-
|
|
551
|
-
|
|
553
|
+
me as lintEntityWithScorecardLevel,
|
|
554
|
+
as as lintFromString,
|
|
552
555
|
te as lintSchema,
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
556
|
+
rs as loadConfig,
|
|
557
|
+
os as loadIgnoreConfig,
|
|
558
|
+
is as logger,
|
|
559
|
+
C as makeDocumentFromString,
|
|
560
|
+
ls as mapTypeToComponent,
|
|
561
|
+
K as normalizeTypes,
|
|
562
|
+
U as normalizeVisitors,
|
|
563
|
+
Ns as parseYaml,
|
|
561
564
|
le as pause,
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
565
|
+
cs as pluralize,
|
|
566
|
+
Is as readFileFromUrl,
|
|
567
|
+
ps as regexFromString,
|
|
568
|
+
W as resolveDocument,
|
|
569
|
+
Ps as resolvePath,
|
|
570
|
+
ys as resolvePlugins,
|
|
571
|
+
fs as slash,
|
|
572
|
+
Ds as stringifyYaml,
|
|
573
|
+
Cs as unescapePointerFragment,
|
|
574
|
+
ms as validate,
|
|
575
|
+
G as walkDocument,
|
|
576
|
+
ds as xmlEscape
|
|
574
577
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./replay-index-D4HNQQF4.js");var a;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_SUSPENDED="tauri://suspended",e.WINDOW_RESUMED="tauri://resumed",e.WEBVIEW_CREATED="tauri://webview-created",e.DRAG_ENTER="tauri://drag-enter",e.DRAG_OVER="tauri://drag-over",e.DRAG_DROP="tauri://drag-drop",e.DRAG_LEAVE="tauri://drag-leave"})(a||(a={}));async function o(e,r){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(e,r),await n.invoke("plugin:event|unlisten",{event:e,eventId:r})}async function _(e,r,s){var t;const i=(t=void 0)!==null&&t!==void 0?t:{kind:"Any"};return n.invoke("plugin:event|listen",{event:e,target:i,handler:n.transformCallback$1(r)}).then(u=>async()=>o(e,u))}async function D(){return await n.invoke("plugin:deep-link|get_current")}async function l(e){return await _("deep-link://new-url",r=>{e(r.payload)})}exports.getCurrent=D;exports.onOpenUrl=l;
|
|
@@ -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-D4HNQQF4.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;
|