@redocly/replay 0.28.0-next.0 → 0.28.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.
Files changed (82) hide show
  1. package/dist/replay-AiChatProvider-BWL86hXh.js +6 -0
  2. package/dist/{replay-AiChatProvider-BZUzXfD-.js → replay-AiChatProvider-CY3b_ggu.js} +376 -376
  3. package/dist/{replay-AiChatSqliteDBStorage-CTVtufnx.js → replay-AiChatSqliteDBStorage-BtV53vvj.js} +1 -1
  4. package/dist/{replay-AiChatSqliteDBStorage-JpKE0iGm.js → replay-AiChatSqliteDBStorage-CjzLqUwK.js} +6 -6
  5. package/dist/{replay-AiPanel-DkR-vZTK.js → replay-AiPanel-B3HBaMPh.js} +706 -709
  6. package/dist/replay-AiPanel-BzaoPsXZ.js +742 -0
  7. package/dist/replay-FileWatcher-BFtAqsmL.js +1 -0
  8. package/dist/replay-FileWatcher-d1_qKRfS.js +364 -0
  9. package/dist/{replay-HistorySqliteDBStorage-CtF6-vY8.js → replay-HistorySqliteDBStorage-Bi5vBQ2T.js} +2 -2
  10. package/dist/replay-SemanticSearchService-CTWesmRy.js +1 -0
  11. package/dist/{replay-SemanticSearchService-CSsOmkV_.js → replay-SemanticSearchService-DcR4Q6w6.js} +27 -31
  12. package/dist/{replay-SqliteDBStorage-DpAEbsAQ.js → replay-SqliteDBStorage-BeDAsnlF.js} +1 -1
  13. package/dist/{replay-SqliteDBStorage-BSMAgfUS.js → replay-SqliteDBStorage-BlVDbZhU.js} +49 -49
  14. package/dist/{replay-StepContextSqliteDBStorage-BfAAKDwA.js → replay-StepContextSqliteDBStorage-BkB2NM27.js} +2 -2
  15. package/dist/replay-TauriFileSystemAdapter-B_VaAUfL.js +1 -0
  16. package/dist/replay-TauriFileSystemAdapter-Cu-Q6QS_.js +108 -0
  17. package/dist/replay-TauriRootStorage-Cidjagk-.js +1 -0
  18. package/dist/{replay-TauriRootStorage-g9zf2-FS.js → replay-TauriRootStorage-DVeU3RvV.js} +213 -210
  19. package/dist/{replay-agent-loop-be2meQsN.js → replay-agent-loop-B42P9R-q.js} +1 -1
  20. package/dist/{replay-agent-loop-ClVUvt0C.js → replay-agent-loop-DweKWrQp.js} +5 -5
  21. package/dist/{replay-ai-chat-mappers-JOZvaHV_.js → replay-ai-chat-mappers-Cno0s3T8.js} +1 -1
  22. package/dist/{replay-ai-chat-mappers-CwvRub6i.js → replay-ai-chat-mappers-DusPRQPG.js} +3 -3
  23. package/dist/{replay-ai-message-parts.schema-E9u9-nqr.js → replay-ai-message-parts.schema-DKLf0SiG.js} +1 -1
  24. package/dist/{replay-create-model-rzGPB8KT.js → replay-create-model-CeSlm24x.js} +4 -4
  25. package/dist/{replay-create-model-CJ3dsZg8.js → replay-create-model-DdPq1CIm.js} +3 -3
  26. package/dist/{replay-db-CW7044b2.js → replay-db-Bj8Qpvpw.js} +1 -1
  27. package/dist/{replay-db-zC1KPTH0.js → replay-db-he8XQjrM.js} +1 -1
  28. package/dist/{replay-external-resolver-BDPRz7Xd.js → replay-external-resolver-BRs5F07f.js} +7 -7
  29. package/dist/{replay-external-resolver-Dty0CDYE.js → replay-external-resolver-gQ0egbx7.js} +1 -1
  30. package/dist/{replay-history.schema-5ce6X0R1.js → replay-history.schema-B0lLwmdG.js} +3 -3
  31. package/dist/replay-index-B1qPs-GR.js +4 -0
  32. package/dist/replay-index-C2b91LJZ.js +7013 -0
  33. package/dist/{replay-index--hMZLQs8.js → replay-index-CA6OI1Qg.js} +1 -1
  34. package/dist/replay-index-CYphcClc.js +1 -0
  35. package/dist/{replay-index-F4GEOEUz.js → replay-index-DRb3mixV.js} +65311 -63618
  36. package/dist/replay-index-Dtxwps1s.js +574 -0
  37. package/dist/replay-index-NgGicGfR.js +1 -0
  38. package/dist/{replay-index-DZN7KzbY.js → replay-index-uF3nFq_Y.js} +1 -1
  39. package/dist/{replay-indexes-CfsvVMi_.js → replay-indexes-B3PJtgeh.js} +43 -43
  40. package/dist/replay-lint-C2hyYWRS.js +177 -0
  41. package/dist/{replay-lint-9YeYgRBU.js → replay-lint-gY_wyYPJ.js} +17581 -21140
  42. package/dist/{replay-lint-graphql-Dba0twW-.js → replay-lint-graphql-BA9t8-Ua.js} +1 -1
  43. package/dist/{replay-lint-graphql-BelJUl9-.js → replay-lint-graphql-DDrnrINc.js} +1 -1
  44. package/dist/replay-periodic-revalidation-BbAt74oL.js +21 -0
  45. package/dist/replay-periodic-revalidation-kmD2RQn1.js +1 -0
  46. package/dist/replay-resolve-BJ_AY-Mn.js +47 -0
  47. package/dist/{replay-resolve-RxCCaHXw.js → replay-resolve-_V8uYdTK.js} +470 -468
  48. package/dist/replay-respect-run-CLLZoRh1.js +8392 -0
  49. package/dist/replay-respect-run-qOz91QPQ.js +82 -0
  50. package/dist/replay-step-context.schema-BOprzd6Z.js +21 -0
  51. package/dist/{replay-tauri-path-hGM_JYax.js → replay-tauri-path-lH8t5rdX.js} +1 -1
  52. package/dist/replay-tauri-path-twTA2lKs.js +22 -0
  53. package/dist/replay-useAiChatQueries-BIqM2KQW.js +215 -0
  54. package/dist/{replay-useAiChatQueries-DD84oZan.js → replay-useAiChatQueries-yCsYY1j2.js} +1583 -1371
  55. package/dist/{replay-validate-key-xk-9xmJ6.js → replay-validate-key-Bh41yY9h.js} +2 -2
  56. package/dist/{replay-validate-key-PS5qrafQ.js → replay-validate-key-_oaOw5Jy.js} +1 -1
  57. package/dist/replay.cjs +1 -1
  58. package/dist/replay.d.ts +10 -3
  59. package/dist/replay.js +14 -14
  60. package/package.json +20 -13
  61. package/dist/replay-AiChatProvider-Dllh11wo.js +0 -6
  62. package/dist/replay-AiPanel-DruBN19L.js +0 -742
  63. package/dist/replay-FileWatcher-D3W6TGFC.js +0 -1
  64. package/dist/replay-FileWatcher-v7Qw29PS.js +0 -343
  65. package/dist/replay-SemanticSearchService-Dfx2W4Za.js +0 -1
  66. package/dist/replay-TauriFileSystemAdapter-BLPH1Vx3.js +0 -1
  67. package/dist/replay-TauriFileSystemAdapter-Ddq9xfo1.js +0 -99
  68. package/dist/replay-TauriRootStorage-l_sNXRNW.js +0 -1
  69. package/dist/replay-index-5UkXwLrd.js +0 -504
  70. package/dist/replay-index-9h4E2FR8.js +0 -1
  71. package/dist/replay-index-B7GU_aMu.js +0 -25
  72. package/dist/replay-index-DbWKCsKW.js +0 -6906
  73. package/dist/replay-index-ko78Z8QX.js +0 -1
  74. package/dist/replay-lint-DK6LCpO2.js +0 -184
  75. package/dist/replay-periodic-revalidation-BoyLQHtg.js +0 -1
  76. package/dist/replay-periodic-revalidation-Dsp-n7ui.js +0 -21
  77. package/dist/replay-resolve-CRBvIGPM.js +0 -47
  78. package/dist/replay-respect-run-BP5Q5L8N.js +0 -78
  79. package/dist/replay-respect-run-CRGPD-UQ.js +0 -8200
  80. package/dist/replay-step-context.schema-DBk4jufr.js +0 -21
  81. package/dist/replay-tauri-path-BmHpvlYp.js +0 -22
  82. package/dist/replay-useAiChatQueries-KVveua_P.js +0 -215
@@ -0,0 +1,574 @@
1
+ import { _ as x, $ as f } from "./replay-index-DRb3mixV.js";
2
+ import { k as I, l as T, m as z, t as P, A as V, S as L, N as $, n as M, w as U, R as Y, P as G, o as b, p as D } from "./replay-lint-gY_wyYPJ.js";
3
+ import { q as he, r as ue, s as Ee, u as ve, C as Se, x as xe, y as Te, z as be, B as Oe, E as Re, F as _e, I as Ne, H as Ie, J as Pe, M as De, Q as ke, U as Ce, V as je, W as we, X as Fe, Y as ze, Z as Ve, _ as Le, $ as $e, a0 as Me, a1 as Ue, a2 as Ye, a3 as Ge, a4 as Be, a5 as Ke, a6 as We, a7 as He, a8 as Je, a9 as qe, aa as Xe, ab as Qe, ac as Ze, ad as Ae, ae as es, af as ss, ag as ts, ah as ns, ai as as, aj as os, ak as rs, al as is, am as ls, an as cs, ao as ps, ae as ys, ap as fs } from "./replay-lint-gY_wyYPJ.js";
4
+ import { i as B, B as E, n as K, a as W, m as k } from "./replay-resolve-_V8uYdTK.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 xs, f as Ts, h as bs, j as Os, p as Rs, r as _s, k as Ns, s as Is, u as Ps } from "./replay-resolve-_V8uYdTK.js";
6
+ function re(e) {
7
+ return (x.extname(e) === ".yaml" || x.extname(e) === ".yml") && !1;
8
+ }
9
+ function ie(e) {
10
+ return f(e) && !I(e);
11
+ }
12
+ async function le(e) {
13
+ return new Promise((s) => setTimeout(s, e));
14
+ }
15
+ const v = "type", O = ["api-description", "api-operation", "data-schema"];
16
+ function H(e, s) {
17
+ const { ctx: t } = T("EntityFileDefault", s), { ctx: a, discriminatorResolver: n } = T("EntityFile", e);
18
+ return {
19
+ entityTypes: {
20
+ ...t,
21
+ ...a,
22
+ EntityFileArray: {
23
+ properties: {},
24
+ items: (l) => {
25
+ if (f(l)) {
26
+ const c = l[v];
27
+ if (!c)
28
+ return "Entity";
29
+ const r = n?.(l, c);
30
+ if (r && typeof r == "string")
31
+ return r;
32
+ }
33
+ return "Entity";
34
+ }
35
+ }
36
+ },
37
+ discriminatorResolver: n
38
+ };
39
+ }
40
+ function i(e, s) {
41
+ if (B(s.parent))
42
+ return;
43
+ const t = s.key.toString(), a = e.counts ??= {};
44
+ a[t] = (a[t] ?? 0) + 1;
45
+ }
46
+ function S(e) {
47
+ for (const n of Object.values(e))
48
+ n.items && (n.total = n.items.size);
49
+ const { xExtensions: s } = e, t = s.counts ?? {}, a = Object.keys(t).sort();
50
+ s.total = a.length, s.counts = Object.fromEntries(a.map((n) => [n, t[n]]));
51
+ }
52
+ const ce = (e) => ({
53
+ SpecExtension: {
54
+ enter(s, t) {
55
+ i(e.xExtensions, t);
56
+ }
57
+ },
58
+ XCodeSampleList: {
59
+ enter(s, t) {
60
+ i(e.xExtensions, t);
61
+ }
62
+ },
63
+ ExamplesMap: {
64
+ enter(s, t) {
65
+ t.key.toString() === "x-examples" && i(e.xExtensions, t);
66
+ }
67
+ },
68
+ EnumDescriptions: {
69
+ enter(s, t) {
70
+ i(e.xExtensions, t);
71
+ }
72
+ },
73
+ TagGroups: {
74
+ enter(s, t) {
75
+ i(e.xExtensions, t);
76
+ }
77
+ },
78
+ Logo: {
79
+ enter(s, t) {
80
+ i(e.xExtensions, t);
81
+ }
82
+ },
83
+ XServerList: {
84
+ enter(s, t) {
85
+ i(e.xExtensions, t);
86
+ }
87
+ },
88
+ XUsePkce: {
89
+ enter(s, t) {
90
+ i(e.xExtensions, t);
91
+ }
92
+ },
93
+ Operation: {
94
+ enter(s, t) {
95
+ t.key.toString() === "x-query" && i(e.xExtensions, t);
96
+ }
97
+ },
98
+ ExternalDocs: {
99
+ leave() {
100
+ e.externalDocs.total++;
101
+ }
102
+ },
103
+ ref: {
104
+ enter(s) {
105
+ e.refs.items.add(s.$ref);
106
+ }
107
+ },
108
+ Tag: {
109
+ leave(s) {
110
+ e.tags.items.add(s.name);
111
+ }
112
+ },
113
+ Link: {
114
+ leave(s) {
115
+ e.links.items.add(s.operationId);
116
+ }
117
+ },
118
+ WebhooksMap: {
119
+ enter(s, t) {
120
+ t.key.toString() === "x-webhooks" && i(e.xExtensions, t);
121
+ },
122
+ Operation: {
123
+ leave(s) {
124
+ if (e.webhooks.total++, s.tags)
125
+ for (const t of s.tags)
126
+ e.tags.items.add(t);
127
+ }
128
+ }
129
+ },
130
+ Paths: {
131
+ PathItem: {
132
+ leave() {
133
+ e.pathItems.total++;
134
+ },
135
+ Operation: {
136
+ leave(s) {
137
+ if (e.operations.total++, s.tags)
138
+ for (const t of s.tags)
139
+ e.tags.items.add(t);
140
+ }
141
+ },
142
+ Parameter: {
143
+ leave(s) {
144
+ e.parameters.items.add(s.name);
145
+ }
146
+ }
147
+ }
148
+ },
149
+ NamedSchemas: {
150
+ Schema: {
151
+ leave() {
152
+ e.schemas.total++;
153
+ }
154
+ }
155
+ },
156
+ Root: {
157
+ leave() {
158
+ S(e);
159
+ }
160
+ }
161
+ }), pe = (e) => ({
162
+ SpecExtension: {
163
+ enter(s, t) {
164
+ i(e.xExtensions, t);
165
+ }
166
+ },
167
+ ExternalDocs: {
168
+ leave() {
169
+ e.externalDocs.total++;
170
+ }
171
+ },
172
+ ref: {
173
+ enter(s) {
174
+ e.refs.items.add(s.$ref);
175
+ }
176
+ },
177
+ Tag: {
178
+ leave(s) {
179
+ e.tags.items.add(s.name);
180
+ }
181
+ },
182
+ ChannelMap: {
183
+ Channel: {
184
+ leave() {
185
+ e.channels.total++;
186
+ },
187
+ Operation: {
188
+ leave(s) {
189
+ if (e.operations.total++, s.tags)
190
+ for (const t of s.tags)
191
+ e.tags.items.add(t);
192
+ }
193
+ },
194
+ Parameter: {
195
+ leave(s, { key: t }) {
196
+ e.parameters.items.add(t.toString());
197
+ }
198
+ }
199
+ }
200
+ },
201
+ NamedSchemas: {
202
+ Schema: {
203
+ leave() {
204
+ e.schemas.total++;
205
+ }
206
+ }
207
+ },
208
+ Root: {
209
+ leave() {
210
+ S(e);
211
+ }
212
+ }
213
+ }), ye = (e) => ({
214
+ SpecExtension: {
215
+ enter(s, t) {
216
+ i(e.xExtensions, t);
217
+ }
218
+ },
219
+ ExternalDocs: {
220
+ leave() {
221
+ e.externalDocs.total++;
222
+ }
223
+ },
224
+ ref: {
225
+ enter(s) {
226
+ e.refs.items.add(s.$ref);
227
+ }
228
+ },
229
+ Tag: {
230
+ leave(s) {
231
+ e.tags.items.add(s.name);
232
+ }
233
+ },
234
+ NamedChannels: {
235
+ Channel: {
236
+ leave() {
237
+ e.channels.total++;
238
+ },
239
+ Parameter: {
240
+ leave(s, { key: t }) {
241
+ e.parameters.items.add(t.toString());
242
+ }
243
+ }
244
+ }
245
+ },
246
+ NamedOperations: {
247
+ Operation: {
248
+ leave(s) {
249
+ if (e.operations.total++, s.tags)
250
+ for (const t of s.tags)
251
+ e.tags.items.add(t);
252
+ }
253
+ }
254
+ },
255
+ NamedSchemas: {
256
+ Schema: {
257
+ leave() {
258
+ e.schemas.total++;
259
+ }
260
+ }
261
+ },
262
+ Root: {
263
+ leave() {
264
+ S(e);
265
+ }
266
+ }
267
+ }), J = /^[a-z0-9]+(?:-[a-z0-9]+)*$/, R = 2, _ = 150, q = () => ({
268
+ any(e, { report: s, location: t }) {
269
+ if (f(e) && "key" in e) {
270
+ const a = e.key;
271
+ if (typeof a != "string") {
272
+ s({
273
+ message: "Entity `key` must be a string.",
274
+ location: t.child(["key"])
275
+ });
276
+ return;
277
+ }
278
+ a.length < R && s({
279
+ message: `Entity 'key' must be at least ${R} characters long.`,
280
+ location: t.child(["key"])
281
+ }), a.length > _ && s({
282
+ message: `Entity 'key' must not exceed ${_} characters.`,
283
+ location: t.child(["key"])
284
+ }), J.test(a) || s({
285
+ message: "Entity `key` must contain only lowercase letters, numbers, and hyphens, and cannot start or end with a hyphen.",
286
+ location: t.child(["key"])
287
+ });
288
+ }
289
+ }
290
+ });
291
+ function N(e, s) {
292
+ const a = s.split("-").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join("") + e;
293
+ return Object.values(P).includes(a) ? a : e;
294
+ }
295
+ function X(e, s) {
296
+ const t = {};
297
+ for (const [a, n] of Object.entries(s))
298
+ if (C(a, n)) {
299
+ if (n.severity === "off")
300
+ continue;
301
+ t[a] = {
302
+ ...ee(e, a, n)
303
+ };
304
+ } else
305
+ t[a] = n;
306
+ return t;
307
+ }
308
+ function Q(e) {
309
+ const s = {}, t = {};
310
+ for (const [a, n] of Object.entries(e))
311
+ if (C(a, n)) {
312
+ const o = n;
313
+ A(o) ? s[a] = o : t[a] = o;
314
+ } else
315
+ t[a] = n;
316
+ return { entityRules: s, apiRules: t };
317
+ }
318
+ function Z(e, s, t) {
319
+ if (!f(t.parsed) || !f(t.parsed.components))
320
+ return null;
321
+ const a = t.parsed.components, n = "schemas" in a ? a.schemas : void 0;
322
+ if (!n || !(e in n))
323
+ return null;
324
+ const o = n[e];
325
+ try {
326
+ const l = JSON.parse(s);
327
+ if (z(o, l))
328
+ return o;
329
+ } catch {
330
+ return null;
331
+ }
332
+ return null;
333
+ }
334
+ function C(e, s) {
335
+ return e.startsWith("rule/") && f(s);
336
+ }
337
+ function A(e) {
338
+ return Object.values(P).some((s) => e.subject.type === s);
339
+ }
340
+ function ee(e, s, t) {
341
+ const a = N(t.subject.type, e), n = t.where?.map((o) => ({
342
+ ...o,
343
+ subject: {
344
+ ...o.subject,
345
+ type: N(o.subject.type, e)
346
+ }
347
+ }));
348
+ return {
349
+ assertionId: s,
350
+ subject: {
351
+ ...t.subject,
352
+ type: a
353
+ },
354
+ assertions: t.assertions,
355
+ ...n && { where: n },
356
+ ...t.message && { message: t.message },
357
+ ...t.severity && { severity: t.severity }
358
+ };
359
+ }
360
+ async function se(e) {
361
+ const { document: s, entitySchema: t, entityDefaultSchema: a, severity: n, externalRefResolver: o = new E(), assertionConfig: l = {} } = e, c = {
362
+ problems: [],
363
+ specVersion: "entity",
364
+ visitorsData: {}
365
+ }, { entityTypes: r, discriminatorResolver: m } = H(t, a), p = K(r);
366
+ let y = p.Entity;
367
+ if (Array.isArray(s.parsed))
368
+ y = p.EntityFileArray;
369
+ else if (f(s.parsed)) {
370
+ const h = s.parsed[v];
371
+ if (!h)
372
+ y = p.Entity;
373
+ else {
374
+ const u = m?.(s.parsed, h);
375
+ u && typeof u == "string" && p[u] && (y = p[u]);
376
+ }
377
+ }
378
+ const g = V(l), d = Array.isArray(g) ? g.map((h) => ({
379
+ severity: n || "error",
380
+ ruleId: "entity assertions",
381
+ visitor: h
382
+ })) : [
383
+ {
384
+ severity: n || "error",
385
+ ruleId: "entity assertions",
386
+ visitor: g
387
+ }
388
+ ], j = [
389
+ {
390
+ severity: n || "error",
391
+ ruleId: "entity struct",
392
+ visitor: L()
393
+ },
394
+ {
395
+ severity: n || "error",
396
+ ruleId: "entity no-unresolved-refs",
397
+ visitor: $()
398
+ },
399
+ {
400
+ severity: n || "error",
401
+ ruleId: "entity key-valid",
402
+ visitor: q()
403
+ },
404
+ ...d
405
+ ], w = M(j, p), F = await W({
406
+ rootDocument: s,
407
+ rootType: y,
408
+ externalRefResolver: o
409
+ });
410
+ return U({
411
+ document: s,
412
+ rootType: y,
413
+ normalizedVisitors: w,
414
+ resolvedRefMap: F,
415
+ ctx: c
416
+ }), c.problems;
417
+ }
418
+ async function fe(e, s, t) {
419
+ if (!s.rules)
420
+ throw new Error(`Scorecard level "${s.name}" has no rules defined.`);
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
+ document: n,
423
+ entitySchema: Y,
424
+ entityDefaultSchema: G,
425
+ externalRefResolver: a,
426
+ assertionConfig: c
427
+ });
428
+ if (O.includes(e.type)) {
429
+ if (Object.keys(r).length === 0)
430
+ return m;
431
+ if (!t)
432
+ throw new Error(`Document is required for entity type "${e.type}". Provide the source API document to lint API rules.`);
433
+ if (e.type === "data-schema" && e.metadata?.schema) {
434
+ Object.values(r).forEach((d) => {
435
+ if (f(d) && f(d.subject) && d.subject.type !== "Schema")
436
+ throw new Error(`API rules for "data-schema" entity must target Schema subject, but found "${d.subject.type}".`);
437
+ });
438
+ const y = Z(e.title, e.metadata.schema, t);
439
+ if (!y)
440
+ throw new Error(`Schema "${e.title}" not found in the document. Ensure the schema exists in components.schemas.`);
441
+ const g = await te({
442
+ schema: y,
443
+ schemaKey: e.title,
444
+ config: await b({
445
+ rules: r
446
+ }),
447
+ specType: e.metadata.specType,
448
+ sourceDocument: t,
449
+ externalRefResolver: a
450
+ });
451
+ return [...m, ...g];
452
+ }
453
+ const p = await D({
454
+ document: t,
455
+ externalRefResolver: a,
456
+ config: await b({
457
+ rules: r
458
+ })
459
+ });
460
+ return [...m, ...p];
461
+ } else if (!I(r))
462
+ throw new Error(`API rules are not supported for entity type "${e.type}". Only ${O.join(", ")} support API rules.`);
463
+ return m;
464
+ }
465
+ async function te(e) {
466
+ const { schema: s, schemaKey: t, config: a, sourceDocument: n, specType: o, externalRefResolver: l = new E(a.resolve) } = e, c = n.parsed, r = c[o], m = c.info, p = k(JSON.stringify({
467
+ [o]: r,
468
+ info: m,
469
+ components: {
470
+ schemas: {
471
+ [t]: s
472
+ }
473
+ }
474
+ }, null, 2), n?.source.absoluteRef || `schema:${t}`);
475
+ return (await D({
476
+ document: p,
477
+ config: a,
478
+ externalRefResolver: l
479
+ })).filter((g) => g.location.some((d) => d.pointer?.includes(`/components/schemas/${t}`)));
480
+ }
481
+ class me extends Error {
482
+ }
483
+ export {
484
+ he as Arazzo1Types,
485
+ ue as Arazzo1_1Types,
486
+ Ee as AsyncApi2Types,
487
+ ve as AsyncApi3Types,
488
+ E as BaseResolver,
489
+ Se as CONFIG_BUNDLER_VISITOR_ID,
490
+ xe as CONFIG_FILE_NAME,
491
+ Te as Config,
492
+ be as ConfigTypes,
493
+ Oe as ConfigValidationError,
494
+ Re as DEFAULT_CONFIG,
495
+ _e as DEFAULT_PROJECT_PLUGIN_PATHS,
496
+ me as HandledError,
497
+ Ne as IGNORE_BANNER,
498
+ Ie as IGNORE_FILE,
499
+ Pe as Oas2Types,
500
+ De as Oas3Types,
501
+ ke as Oas3_1Types,
502
+ Ce as Oas3_2Types,
503
+ je as OpenRpcTypes,
504
+ we as Overlay1Types,
505
+ Fe as PLUGINS_COLLECTOR_VISITOR_ID,
506
+ ds as ResolveError,
507
+ gs as Source,
508
+ pe as StatsAsync2,
509
+ ye as StatsAsync3,
510
+ ce as StatsOAS,
511
+ hs as YamlParseError,
512
+ ze as bundle,
513
+ Ve as bundleDocument,
514
+ Le as bundleFromString,
515
+ $e as clearPluginsCache,
516
+ b as createConfig,
517
+ Me as createConfigTypes,
518
+ H as createEntityTypes,
519
+ z as dequal,
520
+ Ue as detectSpec,
521
+ re as doesYamlFileExist,
522
+ us as escapePointerFragment,
523
+ Ye as findConfig,
524
+ Ge as formatProblems,
525
+ Be as getAstNodeByPointer,
526
+ Ke as getCodeframe,
527
+ Es as getDir,
528
+ We as getLineColLocation,
529
+ He as getMajorSpecVersion,
530
+ Je as getPluginCacheVersion,
531
+ qe as getTotals,
532
+ Xe as getTypes,
533
+ vs as isAbsoluteUrl,
534
+ Ss as isBrowser,
535
+ I as isEmptyObject,
536
+ xs as isGraphqlRef,
537
+ Ts as isMappingRef,
538
+ Qe as isNotEmptyArray,
539
+ ie as isNotEmptyObject,
540
+ f as isPlainObject,
541
+ B as isRef,
542
+ Ze as isString,
543
+ bs as isSupportedExtension,
544
+ Os as isTruthy,
545
+ Ae as keysOf,
546
+ es as lint,
547
+ ss as lintConfig,
548
+ D as lintDocument,
549
+ se as lintEntityFile,
550
+ fe as lintEntityWithScorecardLevel,
551
+ ts as lintFromString,
552
+ te as lintSchema,
553
+ ns as loadConfig,
554
+ as as loadIgnoreConfig,
555
+ os as logger,
556
+ k as makeDocumentFromString,
557
+ rs as mapTypeToComponent,
558
+ K as normalizeTypes,
559
+ M as normalizeVisitors,
560
+ Rs as parseYaml,
561
+ le as pause,
562
+ is as pluralize,
563
+ _s as readFileFromUrl,
564
+ ls as regexFromString,
565
+ W as resolveDocument,
566
+ Ns as resolvePath,
567
+ cs as resolvePlugins,
568
+ ps as slash,
569
+ Is as stringifyYaml,
570
+ Ps as unescapePointerFragment,
571
+ ys as validate,
572
+ U as walkDocument,
573
+ fs as xmlEscape
574
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-SemanticSearchService-CTWesmRy.js");exports.getSemanticSearchService=e.getSemanticSearchService;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-DbWKCsKW.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-C2b91LJZ.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;
@@ -1187,56 +1187,56 @@ function Tt(t) {
1187
1187
  return new Y(t, !0);
1188
1188
  }
1189
1189
  export {
1190
- gt as A,
1191
- C as B,
1192
- B as C,
1193
- A as D,
1194
- W as E,
1195
- R as F,
1196
- J as G,
1197
- Q as H,
1198
- Ze as I,
1199
- ke as J,
1200
- He as K,
1201
- Ye as L,
1202
- U as M,
1203
- Xe as N,
1204
- Me as O,
1190
+ lt as A,
1191
+ bt as B,
1192
+ ot as C,
1193
+ st as D,
1194
+ dt as E,
1195
+ gt as F,
1196
+ B as G,
1197
+ C as H,
1198
+ A as I,
1199
+ W as J,
1200
+ R as K,
1201
+ J as L,
1202
+ Q as M,
1203
+ Ze as N,
1204
+ ke as O,
1205
1205
  T as P,
1206
- Ge as Q,
1207
- Bt as R,
1206
+ He as Q,
1207
+ Ye as R,
1208
1208
  m as S,
1209
1209
  d as T,
1210
- Te as U,
1210
+ U,
1211
1211
  N as V,
1212
1212
  We as W,
1213
- Ue as X,
1214
- Nt as Y,
1215
- Tt as Z,
1216
- Qt as a,
1217
- rt as b,
1218
- s as c,
1213
+ Xe as X,
1214
+ Me as Y,
1215
+ Ge as Z,
1216
+ Nt as a,
1217
+ Qt as b,
1218
+ rt as c,
1219
1219
  Lt as d,
1220
1220
  et as e,
1221
- wt as f,
1222
- Re as g,
1223
- St as h,
1224
- u as i,
1225
- pt as j,
1226
- yt as k,
1227
- it as l,
1228
- tt as m,
1221
+ l as f,
1222
+ s as g,
1223
+ u as h,
1224
+ Te as i,
1225
+ Re as j,
1226
+ wt as k,
1227
+ at as l,
1228
+ St as m,
1229
1229
  mt as n,
1230
1230
  nt as o,
1231
- ut as p,
1232
- at as q,
1233
- ht as r,
1234
- l as s,
1235
- ft as t,
1236
- ct as u,
1237
- lt as v,
1238
- bt as w,
1239
- ot as x,
1240
- st as y,
1241
- dt as z
1231
+ pt as p,
1232
+ yt as q,
1233
+ it as r,
1234
+ Bt as s,
1235
+ Ue as t,
1236
+ Tt as u,
1237
+ tt as v,
1238
+ ut as w,
1239
+ ht as x,
1240
+ ft as y,
1241
+ ct as z
1242
1242
  };