@scalar/api-client 2.3.22 → 2.3.24
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/CHANGELOG.md +37 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +1 -1
- package/dist/components/IconSelector.vue.js +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.js +12 -11
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +6 -6
- package/dist/layouts/Modal/create-api-client-modal.d.ts +14 -14
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +6 -6
- package/dist/libs/create-client.d.ts +6 -6
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +52 -52
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
- package/dist/views/Collection/CollectionInfoForm.vue2.js +1 -1
- package/dist/views/Collection/CollectionNavigation.vue.js +1 -1
- package/dist/views/Environment/Environment.vue2.js +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.3.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3cb857d: fix: updates import collection modal transition style
|
|
8
|
+
- 3cb857d: fix: updates web layout background style target
|
|
9
|
+
- Updated dependencies [17e7d02]
|
|
10
|
+
- Updated dependencies [2b61d8e]
|
|
11
|
+
- Updated dependencies [49f1297]
|
|
12
|
+
- Updated dependencies [ab4cf5a]
|
|
13
|
+
- @scalar/types@0.1.9
|
|
14
|
+
- @scalar/components@0.13.51
|
|
15
|
+
- @scalar/use-hooks@0.1.43
|
|
16
|
+
- @scalar/icons@0.3.0
|
|
17
|
+
- @scalar/oas-utils@0.2.134
|
|
18
|
+
- @scalar/openapi-parser@0.10.16
|
|
19
|
+
- @scalar/snippetz@0.2.19
|
|
20
|
+
- @scalar/themes@0.10.1
|
|
21
|
+
- @scalar/use-codemirror@0.11.96
|
|
22
|
+
- @scalar/import@0.3.17
|
|
23
|
+
- @scalar/postman-to-openapi@0.2.7
|
|
24
|
+
|
|
25
|
+
## 2.3.23
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- 363276e: feat(icons): add Phosphor icons to @scalar/icons
|
|
30
|
+
- 85163e7: fix: accidental collection creation on paste in codemirror
|
|
31
|
+
- 301cf13: fix: prevents paste event from code mirrro instance
|
|
32
|
+
- 85163e7: fix: incorrect stream reader
|
|
33
|
+
- Updated dependencies [363276e]
|
|
34
|
+
- Updated dependencies [a9f232a]
|
|
35
|
+
- @scalar/icons@0.2.0
|
|
36
|
+
- @scalar/components@0.13.50
|
|
37
|
+
- @scalar/use-hooks@0.1.42
|
|
38
|
+
- @scalar/use-codemirror@0.11.95
|
|
39
|
+
|
|
3
40
|
## 2.3.22
|
|
4
41
|
|
|
5
42
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, ref as u, openBlock as b, createBlock as _, withCtx as l, createVNode as r, unref as c, createTextVNode as k } from "vue";
|
|
2
2
|
import { ScalarButton as C } from "@scalar/components";
|
|
3
|
-
import { LibraryIcon as V } from "@scalar/icons";
|
|
3
|
+
import { LibraryIcon as V } from "@scalar/icons/library";
|
|
4
4
|
import { useToasts as x } from "@scalar/use-toasts";
|
|
5
5
|
import N from "../IconSelector.vue.js";
|
|
6
6
|
import { useActiveEntities as B } from "../../store/active-entities.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, computed as V, openBlock as s, createBlock as n, unref as e, withCtx as o, createVNode as a, createElementVNode as u, renderSlot as d, createTextVNode as p, createElementBlock as k, Fragment as y, renderList as _, toDisplayString as w } from "vue";
|
|
2
2
|
import { RadioGroup as S, RadioGroupLabel as m, RadioGroupOption as C } from "@headlessui/vue";
|
|
3
3
|
import { ScalarPopover as I } from "@scalar/components";
|
|
4
|
-
import { libraryIcons as h, LibraryIcon as B } from "@scalar/icons";
|
|
4
|
+
import { libraryIcons as h, LibraryIcon as B } from "@scalar/icons/library";
|
|
5
5
|
const G = { class: "flex text-sm" }, L = { class: "bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1" }, $ = /* @__PURE__ */ g({
|
|
6
6
|
__name: "IconSelector",
|
|
7
7
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasteEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/PasteEventListener.vue"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"PasteEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/PasteEventListener.vue"],"names":[],"mappings":";;;;;AAwJA,wBAMG"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as c, onMounted as m, onBeforeUnmount as u } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ c({
|
|
3
3
|
__name: "PasteEventListener",
|
|
4
4
|
emits: ["input"],
|
|
5
|
-
setup(
|
|
6
|
-
const
|
|
7
|
-
|
|
5
|
+
setup(d, { emit: s }) {
|
|
6
|
+
const i = s;
|
|
7
|
+
m(() => {
|
|
8
8
|
document.addEventListener("paste", n);
|
|
9
|
-
}),
|
|
9
|
+
}), u(() => {
|
|
10
10
|
document.removeEventListener("paste", n);
|
|
11
11
|
});
|
|
12
12
|
async function n(e) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
var a;
|
|
14
|
+
const t = e.target, r = !!((a = document.activeElement) != null && a.classList.contains("cm-content"));
|
|
15
|
+
if (!(t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable || r)) && e.clipboardData) {
|
|
16
|
+
const o = e.clipboardData.getData("text");
|
|
17
|
+
o && i("input", o, null, "paste");
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
return (e, t) => null;
|
|
20
21
|
}
|
|
21
22
|
});
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
l as default
|
|
24
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, ref as u, openBlock as f, createBlock as v, withCtx as n, createElementVNode as m, createVNode as l, unref as s } from "vue";
|
|
2
2
|
import { ScalarButton as x, ScalarTextInput as V } from "@scalar/components";
|
|
3
|
-
import { LibraryIcon as _ } from "@scalar/icons";
|
|
3
|
+
import { LibraryIcon as _ } from "@scalar/icons/library";
|
|
4
4
|
import b from "../../IconSelector.vue.js";
|
|
5
5
|
import S from "./SidebarListElementForm.vue.js";
|
|
6
6
|
const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspect-square" }, $ = /* @__PURE__ */ p({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as O, reactive as W, ref as D, computed as L, watch as I, onMounted as K, onBeforeUnmount as q, openBlock as p, createElementBlock as g, createElementVNode as h, createVNode as r, unref as i, withCtx as m, createBlock as k, createCommentVNode as F, toDisplayString as H, createTextVNode as U, Fragment as G, renderList as J } from "vue";
|
|
2
2
|
import { ScalarContextMenu as P, ScalarIcon as C, ScalarFloating as Q, ScalarDropdownMenu as X, ScalarDropdownButton as A } from "@scalar/components";
|
|
3
|
-
import { LibraryIcon as Y } from "@scalar/icons";
|
|
3
|
+
import { LibraryIcon as Y } from "@scalar/icons/library";
|
|
4
4
|
import { useClipboard as Z } from "@scalar/use-hooks/useClipboard";
|
|
5
5
|
import { useRouter as ee } from "vue-router";
|
|
6
6
|
import te from "../ScalarHotkey.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TopNavItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const r = /* @__PURE__ */
|
|
3
|
+
import a from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ a(o, [["__scopeId", "data-v-ada738af"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, openBlock as a, createBlock as r, unref as t, withCtx as l, createVNode as o, createElementVNode as c, normalizeClass as f, toDisplayString as u, createCommentVNode as g, createTextVNode as m } from "vue";
|
|
2
2
|
import { ScalarContextMenu as y, ScalarTooltip as C, ScalarIcon as n, ScalarFloating as b, ScalarDropdownMenu as v, ScalarDropdownButton as p, ScalarDropdownDivider as T } from "@scalar/components";
|
|
3
|
-
import { LibraryIcon as $ } from "@scalar/icons";
|
|
3
|
+
import { LibraryIcon as $ } from "@scalar/icons/library";
|
|
4
4
|
import k from "../ScalarHotkey.vue.js";
|
|
5
5
|
const w = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, z = { class: "custom-scroll nav-item-copy text-xs" }, V = /* @__PURE__ */ d({
|
|
6
6
|
__name: "TopNavItem",
|
|
@@ -434,10 +434,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
434
434
|
integration?: string | null | undefined;
|
|
435
435
|
useCollectionSecurity?: boolean | undefined;
|
|
436
436
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
437
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
437
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
438
438
|
useCollectionSecurity?: boolean;
|
|
439
439
|
shouldLoad?: boolean;
|
|
440
|
-
} & Pick<import("@scalar/types
|
|
440
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
441
441
|
error: false;
|
|
442
442
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
443
443
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -486,10 +486,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
486
486
|
integration?: string | null | undefined;
|
|
487
487
|
useCollectionSecurity?: boolean | undefined;
|
|
488
488
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
489
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
489
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
490
490
|
useCollectionSecurity?: boolean;
|
|
491
491
|
shouldLoad?: boolean;
|
|
492
|
-
} & Pick<import("@scalar/types
|
|
492
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
493
493
|
uid?: string | undefined;
|
|
494
494
|
type?: "collection" | undefined;
|
|
495
495
|
externalDocs?: {
|
|
@@ -528,10 +528,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
528
528
|
integration?: string | null | undefined;
|
|
529
529
|
useCollectionSecurity?: boolean | undefined;
|
|
530
530
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
531
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
531
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
532
532
|
useCollectionSecurity?: boolean;
|
|
533
533
|
shouldLoad?: boolean;
|
|
534
|
-
} & Pick<import("@scalar/types
|
|
534
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
535
535
|
error: false;
|
|
536
536
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
537
537
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -6,7 +6,7 @@ import { type CreateApiClientParams } from '../../libs';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const createApiClientModal: ({ el, configuration, mountOnInitialize, store, }: Partial<Pick<CreateApiClientParams, "el" | "configuration" | "mountOnInitialize" | "store">>) => Promise<{
|
|
8
8
|
app: import("vue").App<Element>;
|
|
9
|
-
updateConfig: (_newConfig: Partial<import("@scalar/types
|
|
9
|
+
updateConfig: (_newConfig: Partial<import("@scalar/types").ApiClientConfiguration>) => Promise<void>;
|
|
10
10
|
updateServer: (serverUrl: string) => void;
|
|
11
11
|
onUpdateServer: (callback: (url: string) => void) => void;
|
|
12
12
|
updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/types/entities").SecurityScheme>>({ nameKey, propertyKey, value, }: {
|
|
@@ -436,10 +436,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
436
436
|
integration?: string | null | undefined;
|
|
437
437
|
useCollectionSecurity?: boolean | undefined;
|
|
438
438
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
439
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
439
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
440
440
|
useCollectionSecurity?: boolean;
|
|
441
441
|
shouldLoad?: boolean;
|
|
442
|
-
} & Pick<import("@scalar/types
|
|
442
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
443
443
|
error: false;
|
|
444
444
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
445
445
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -488,10 +488,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
488
488
|
integration?: string | null | undefined;
|
|
489
489
|
useCollectionSecurity?: boolean | undefined;
|
|
490
490
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
491
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
491
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
492
492
|
useCollectionSecurity?: boolean;
|
|
493
493
|
shouldLoad?: boolean;
|
|
494
|
-
} & Pick<import("@scalar/types
|
|
494
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
495
495
|
uid?: string | undefined;
|
|
496
496
|
type?: "collection" | undefined;
|
|
497
497
|
externalDocs?: {
|
|
@@ -530,10 +530,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
530
530
|
integration?: string | null | undefined;
|
|
531
531
|
useCollectionSecurity?: boolean | undefined;
|
|
532
532
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
533
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
533
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
534
534
|
useCollectionSecurity?: boolean;
|
|
535
535
|
shouldLoad?: boolean;
|
|
536
|
-
} & Pick<import("@scalar/types
|
|
536
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
537
537
|
error: false;
|
|
538
538
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
539
539
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -3740,7 +3740,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3740
3740
|
*/
|
|
3741
3741
|
export declare const createApiClientModalSync: ({ el, configuration, mountOnInitialize, store, }: Partial<Pick<CreateApiClientParams, "el" | "configuration" | "mountOnInitialize" | "store">>) => {
|
|
3742
3742
|
app: import("vue").App<Element>;
|
|
3743
|
-
updateConfig: (_newConfig: Partial<import("@scalar/types
|
|
3743
|
+
updateConfig: (_newConfig: Partial<import("@scalar/types").ApiClientConfiguration>) => Promise<void>;
|
|
3744
3744
|
updateServer: (serverUrl: string) => void;
|
|
3745
3745
|
onUpdateServer: (callback: (url: string) => void) => void;
|
|
3746
3746
|
updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/types/entities").SecurityScheme>>({ nameKey, propertyKey, value, }: {
|
|
@@ -4170,10 +4170,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4170
4170
|
integration?: string | null | undefined;
|
|
4171
4171
|
useCollectionSecurity?: boolean | undefined;
|
|
4172
4172
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4173
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
4173
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
4174
4174
|
useCollectionSecurity?: boolean;
|
|
4175
4175
|
shouldLoad?: boolean;
|
|
4176
|
-
} & Pick<import("@scalar/types
|
|
4176
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
4177
4177
|
error: false;
|
|
4178
4178
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
4179
4179
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -4222,10 +4222,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4222
4222
|
integration?: string | null | undefined;
|
|
4223
4223
|
useCollectionSecurity?: boolean | undefined;
|
|
4224
4224
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4225
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
4225
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
4226
4226
|
useCollectionSecurity?: boolean;
|
|
4227
4227
|
shouldLoad?: boolean;
|
|
4228
|
-
} & Pick<import("@scalar/types
|
|
4228
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
4229
4229
|
uid?: string | undefined;
|
|
4230
4230
|
type?: "collection" | undefined;
|
|
4231
4231
|
externalDocs?: {
|
|
@@ -4264,10 +4264,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4264
4264
|
integration?: string | null | undefined;
|
|
4265
4265
|
useCollectionSecurity?: boolean | undefined;
|
|
4266
4266
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4267
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
4267
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
4268
4268
|
useCollectionSecurity?: boolean;
|
|
4269
4269
|
shouldLoad?: boolean;
|
|
4270
|
-
} & Pick<import("@scalar/types
|
|
4270
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
4271
4271
|
error: false;
|
|
4272
4272
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
4273
4273
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientWeb.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Web/ApiClientWeb.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ApiClientWeb.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Web/ApiClientWeb.vue"],"names":[],"mappings":";AA6RA,wBAKG"}
|
|
@@ -434,10 +434,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
434
434
|
integration?: string | null | undefined;
|
|
435
435
|
useCollectionSecurity?: boolean | undefined;
|
|
436
436
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
437
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
437
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
438
438
|
useCollectionSecurity?: boolean;
|
|
439
439
|
shouldLoad?: boolean;
|
|
440
|
-
} & Pick<import("@scalar/types
|
|
440
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
441
441
|
error: false;
|
|
442
442
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
443
443
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -486,10 +486,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
486
486
|
integration?: string | null | undefined;
|
|
487
487
|
useCollectionSecurity?: boolean | undefined;
|
|
488
488
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
489
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
489
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
490
490
|
useCollectionSecurity?: boolean;
|
|
491
491
|
shouldLoad?: boolean;
|
|
492
|
-
} & Pick<import("@scalar/types
|
|
492
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
493
493
|
uid?: string | undefined;
|
|
494
494
|
type?: "collection" | undefined;
|
|
495
495
|
externalDocs?: {
|
|
@@ -528,10 +528,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
528
528
|
integration?: string | null | undefined;
|
|
529
529
|
useCollectionSecurity?: boolean | undefined;
|
|
530
530
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
531
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
531
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
532
532
|
useCollectionSecurity?: boolean;
|
|
533
533
|
shouldLoad?: boolean;
|
|
534
|
-
} & Pick<import("@scalar/types
|
|
534
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
535
535
|
error: false;
|
|
536
536
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
537
537
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -513,10 +513,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
513
513
|
integration?: string | null | undefined;
|
|
514
514
|
useCollectionSecurity?: boolean | undefined;
|
|
515
515
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
516
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
516
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
517
517
|
useCollectionSecurity?: boolean;
|
|
518
518
|
shouldLoad?: boolean;
|
|
519
|
-
} & Pick<import("@scalar/types
|
|
519
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
520
520
|
error: false;
|
|
521
521
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
522
522
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -565,10 +565,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
565
565
|
integration?: string | null | undefined;
|
|
566
566
|
useCollectionSecurity?: boolean | undefined;
|
|
567
567
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
568
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
568
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
569
569
|
useCollectionSecurity?: boolean;
|
|
570
570
|
shouldLoad?: boolean;
|
|
571
|
-
} & Pick<import("@scalar/types
|
|
571
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("./errors").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
572
572
|
uid?: string | undefined;
|
|
573
573
|
type?: "collection" | undefined;
|
|
574
574
|
externalDocs?: {
|
|
@@ -607,10 +607,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
607
607
|
integration?: string | null | undefined;
|
|
608
608
|
useCollectionSecurity?: boolean | undefined;
|
|
609
609
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
610
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types
|
|
610
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
|
|
611
611
|
useCollectionSecurity?: boolean;
|
|
612
612
|
shouldLoad?: boolean;
|
|
613
|
-
} & Pick<import("@scalar/types
|
|
613
|
+
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
614
614
|
error: false;
|
|
615
615
|
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
616
616
|
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-request-operation.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,aAAa,EAAkB,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,uGAAuG;AACvG,KAAK,mBAAmB,GAAG,OAAO,CAChC,aAAa,CAAC;IACZ,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC,CACH,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE/D,0BAA0B;AAC1B,eAAO,MAAM,sBAAsB,6HAUhC;IACD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,SAAS,CAAA;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,SAAS,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAA;CACjC,KAAG,aAAa,CAAC;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,MAAM,mBAAmB,CAAA;IACtC,OAAO,EAAE,OAAO,CAAA;CACjB,
|
|
1
|
+
{"version":3,"file":"create-request-operation.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,aAAa,EAAkB,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,uGAAuG;AACvG,KAAK,mBAAmB,GAAG,OAAO,CAChC,aAAa,CAAC;IACZ,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC,CACH,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE/D,0BAA0B;AAC1B,eAAO,MAAM,sBAAsB,6HAUhC;IACD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,SAAS,CAAA;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,SAAS,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAA;CACjC,KAAG,aAAa,CAAC;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,MAAM,mBAAmB,CAAA;IACtC,OAAO,EAAE,OAAO,CAAA;CACjB,CA0MA,CAAA"}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { ERRORS as
|
|
2
|
-
import { normalizeHeaders as
|
|
3
|
-
import { createFetchBody as
|
|
4
|
-
import { createFetchHeaders as
|
|
5
|
-
import { createFetchQueryParams as
|
|
6
|
-
import { decodeBuffer as
|
|
7
|
-
import { setRequestCookies as
|
|
1
|
+
import { ERRORS as R, normalizeError as C } from "../errors.js";
|
|
2
|
+
import { normalizeHeaders as Q } from "../normalize-headers.js";
|
|
3
|
+
import { createFetchBody as V } from "./create-fetch-body.js";
|
|
4
|
+
import { createFetchHeaders as X } from "./create-fetch-headers.js";
|
|
5
|
+
import { createFetchQueryParams as K } from "./create-fetch-query-params.js";
|
|
6
|
+
import { decodeBuffer as M } from "./decode-buffer.js";
|
|
7
|
+
import { setRequestCookies as Y, getCookieHeader as G } from "./set-request-cookies.js";
|
|
8
8
|
import { replaceTemplateVariables as d } from "../string-template.js";
|
|
9
|
-
import { isDefined as
|
|
10
|
-
import { buildRequestSecurity as
|
|
11
|
-
const
|
|
12
|
-
environment:
|
|
9
|
+
import { isDefined as J, mergeUrls as N, shouldUseProxy as P, redirectToProxy as Z } from "@scalar/oas-utils/helpers";
|
|
10
|
+
import { buildRequestSecurity as $ } from "./build-request-security.js";
|
|
11
|
+
const he = ({
|
|
12
|
+
environment: T,
|
|
13
13
|
example: s,
|
|
14
|
-
globalCookies:
|
|
15
|
-
proxyUrl:
|
|
14
|
+
globalCookies: q,
|
|
15
|
+
proxyUrl: m,
|
|
16
16
|
request: c,
|
|
17
|
-
securitySchemes:
|
|
18
|
-
selectedSecuritySchemeUids:
|
|
17
|
+
securitySchemes: H,
|
|
18
|
+
selectedSecuritySchemeUids: U = [],
|
|
19
19
|
server: i,
|
|
20
20
|
status: r
|
|
21
21
|
}) => {
|
|
22
22
|
try {
|
|
23
|
-
const t =
|
|
24
|
-
let a =
|
|
23
|
+
const t = T ?? {}, y = new AbortController(), b = s.parameters.path.reduce((o, n) => (n.enabled && (o[n.key] = d(n.value, t)), o), {}), D = d((i == null ? void 0 : i.url) ?? "", t), h = d(c.path, b);
|
|
24
|
+
let a = D || h;
|
|
25
25
|
if (!a)
|
|
26
|
-
throw
|
|
26
|
+
throw R.URL_EMPTY;
|
|
27
27
|
Object.entries((i == null ? void 0 : i.variables) ?? {}).forEach(([o, n]) => {
|
|
28
28
|
a = d(a, {
|
|
29
|
-
[o]:
|
|
29
|
+
[o]: b[o] || n.default
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
|
-
const
|
|
32
|
+
const E = K(s, t), L = X(s, t), { body: z } = V(c.method, s, t), { cookieParams: F } = Y({
|
|
33
33
|
example: s,
|
|
34
34
|
env: t,
|
|
35
|
-
globalCookies:
|
|
35
|
+
globalCookies: q,
|
|
36
36
|
serverUrl: a,
|
|
37
|
-
proxyUrl:
|
|
38
|
-
}),
|
|
39
|
-
(o, [n,
|
|
37
|
+
proxyUrl: m
|
|
38
|
+
}), _ = U.flat().map((o) => H[o]).filter(J), f = $(_, t), l = { ...Object.entries(f.headers).reduce(
|
|
39
|
+
(o, [n, u]) => (o[n.toLowerCase()] = u, o),
|
|
40
40
|
{}
|
|
41
|
-
), ...
|
|
42
|
-
a =
|
|
43
|
-
const
|
|
44
|
-
|
|
41
|
+
), ...L }, B = [...F, ...f.cookies], O = new URLSearchParams([...E, ...f.urlParams]);
|
|
42
|
+
a = N(a, h, O);
|
|
43
|
+
const p = d(G(B, l.Cookie), t);
|
|
44
|
+
p && (P(m, a) ? (console.warn(
|
|
45
45
|
"We’re using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons."
|
|
46
|
-
), l["X-Scalar-Cookie"] =
|
|
46
|
+
), l["X-Scalar-Cookie"] = p) : (console.warn(
|
|
47
47
|
`We’re trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it’s not working, that’s probably why. Here are the requirements for it to work:
|
|
48
48
|
|
|
49
49
|
- The browser URL must be on the same domain as the server URL.
|
|
50
50
|
- The connection must be made over HTTPS.
|
|
51
51
|
`
|
|
52
|
-
), l.Cookie =
|
|
53
|
-
const
|
|
52
|
+
), l.Cookie = p));
|
|
53
|
+
const W = Z(m, a), S = new Request(W, {
|
|
54
54
|
method: c.method.toUpperCase(),
|
|
55
|
-
body:
|
|
55
|
+
body: z ?? null,
|
|
56
56
|
headers: l
|
|
57
57
|
});
|
|
58
58
|
return [
|
|
59
59
|
null,
|
|
60
60
|
{
|
|
61
|
-
request:
|
|
61
|
+
request: S,
|
|
62
62
|
sendRequest: async () => {
|
|
63
|
-
var n;
|
|
63
|
+
var n, u;
|
|
64
64
|
r == null || r.emit("start");
|
|
65
65
|
const o = Date.now();
|
|
66
66
|
try {
|
|
67
|
-
const e = await fetch(
|
|
68
|
-
signal:
|
|
69
|
-
}),
|
|
67
|
+
const e = await fetch(S, {
|
|
68
|
+
signal: y.signal
|
|
69
|
+
}), j = (n = e.headers.get("content-type")) == null ? void 0 : n.includes("stream");
|
|
70
70
|
r == null || r.emit("stop");
|
|
71
|
-
const
|
|
72
|
-
if (
|
|
71
|
+
const w = Q(e.headers, P(m, a)), A = e.headers.get("content-type") ?? "text/plain;charset=UTF-8", g = "getSetCookie" in e.headers && typeof e.headers.getSetCookie == "function" ? e.headers.getSetCookie() : [];
|
|
72
|
+
if (j && e.body)
|
|
73
73
|
return [
|
|
74
74
|
null,
|
|
75
75
|
{
|
|
@@ -77,17 +77,17 @@ const me = ({
|
|
|
77
77
|
request: s,
|
|
78
78
|
response: {
|
|
79
79
|
...e,
|
|
80
|
-
headers:
|
|
81
|
-
cookieHeaderKeys:
|
|
82
|
-
reader: (
|
|
80
|
+
headers: w,
|
|
81
|
+
cookieHeaderKeys: g,
|
|
82
|
+
reader: (u = e.body) == null ? void 0 : u.getReader(),
|
|
83
83
|
duration: Date.now() - o,
|
|
84
84
|
method: c.method,
|
|
85
85
|
status: e.status,
|
|
86
|
-
path:
|
|
86
|
+
path: h
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
];
|
|
90
|
-
const
|
|
90
|
+
const k = await e.arrayBuffer(), I = M(k, A);
|
|
91
91
|
return [
|
|
92
92
|
null,
|
|
93
93
|
{
|
|
@@ -95,22 +95,22 @@ const me = ({
|
|
|
95
95
|
request: s,
|
|
96
96
|
response: {
|
|
97
97
|
...e,
|
|
98
|
-
headers:
|
|
99
|
-
cookieHeaderKeys:
|
|
100
|
-
data:
|
|
101
|
-
size:
|
|
98
|
+
headers: w,
|
|
99
|
+
cookieHeaderKeys: g,
|
|
100
|
+
data: I,
|
|
101
|
+
size: k.byteLength,
|
|
102
102
|
duration: Date.now() - o,
|
|
103
103
|
method: c.method,
|
|
104
104
|
status: e.status,
|
|
105
|
-
path:
|
|
105
|
+
path: h
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
];
|
|
109
109
|
} catch (e) {
|
|
110
|
-
return r == null || r.emit("abort"), [C(e,
|
|
110
|
+
return r == null || r.emit("abort"), [C(e, R.REQUEST_FAILED), null];
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
controller:
|
|
113
|
+
controller: y
|
|
114
114
|
}
|
|
115
115
|
];
|
|
116
116
|
} catch (t) {
|
|
@@ -118,5 +118,5 @@ const me = ({
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
export {
|
|
121
|
-
|
|
121
|
+
he as createRequestOperation
|
|
122
122
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-request-operation.test.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.test.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAElB,oBAAoB,EAIrB,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAS5B,eAAO,MAAM,QAAQ,0BAAkC,CAAA;AAEvD,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,KAAK,kBAAkB,GAAG;IACxB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,qDAAqD;AACrD,eAAO,MAAM,oBAAoB,wBAAwB,kBAAkB;;;sBAu7B5D,EAAG,KAAK;;;+CAGZ,EAAG,KAAK,gCAA+B,EAAG,KAAK;qCAEtD,EAAA,KACJ;2BACyC,EAAG,KAC5C;4BAAsC,EAAG,KAAK;;;;;;uBAQlC,CAAZ;;;;;;;;;;;;;uBAUqD,CAAC;mBAE1C,CAAV;kBACU,CAAC;mBAEC,CAAC;iBAAwB,CAAC;oBAMlB,CAAC;qBAAgD,CAAC;uBAE7C,CAAC;;;;;;;iBAKhB,CAAC;gBACP,CAAH;;;;iBAIsC,CAAC;gBAC/B,CAAC;;;;iBAIF,CAAN;gBAAkC,CAAC;;;;;;;
|
|
1
|
+
{"version":3,"file":"create-request-operation.test.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.test.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAElB,oBAAoB,EAIrB,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAS5B,eAAO,MAAM,QAAQ,0BAAkC,CAAA;AAEvD,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,KAAK,kBAAkB,GAAG;IACxB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,qDAAqD;AACrD,eAAO,MAAM,oBAAoB,wBAAwB,kBAAkB;;;sBAu7B5D,EAAG,KAAK;;;+CAGZ,EAAG,KAAK,gCAA+B,EAAG,KAAK;qCAEtD,EAAA,KACJ;2BACyC,EAAG,KAC5C;4BAAsC,EAAG,KAAK;;;;;;uBAQlC,CAAZ;;;;;;;;;;;;;uBAUqD,CAAC;mBAE1C,CAAV;kBACU,CAAC;mBAEC,CAAC;iBAAwB,CAAC;oBAMlB,CAAC;qBAAgD,CAAC;uBAE7C,CAAC;;;;;;;iBAKhB,CAAC;gBACP,CAAH;;;;iBAIsC,CAAC;gBAC/B,CAAC;;;;iBAIF,CAAN;gBAAkC,CAAC;;;;;;;sBAkF2rT,EAAG,KAAK;;;;;oBAA0I,CAAC;;;;;2BAA8I,CAAC;wBAA0C,CAAC;2BAAwD,CAAC;+BAAiD,CAAC;2BAA6C,CAAC;4BAA+B,CAAC;4BAA+C,CAAC;0BAA8C,CAAC;wBAA0C,CAAC;wBAA4C,CAAC;4BAA+B,CAAC;;;;kBAA+H,CAAC;eAA+B,CAAC;;;wBAA2I,CAAC;;;;;;;;uBAA2L,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA0J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;+BAAqE,EAAG,KAAK;;;;sBAj1Bl/Z,EAAG,KAAK;;;;iBAGI,CAAC;uBAG5C,CAAJ;mBAAqC,CAAC;gBAChC,CAAL;;;;;CA9NA,CAAA"}
|