Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

speakeasy method override

Kiran Keeb579854bf0
diff --git a/apps/web/app/api/links/[linkId]/route.ts b/apps/web/app/api/links/[linkId]/route.ts
index 8794e752d9..d6a3d3bf77 100644
--- a/apps/web/app/api/links/[linkId]/route.ts
+++ b/apps/web/app/api/links/[linkId]/route.ts
@@ -98,8 +98,15 @@ export const PUT = withAuth(async ({ req, headers, workspace, link }) => {
// DELETE /api/links/[linkId] – delete a link
export const DELETE = withAuth(async ({ headers, link }) => {
- const response = await deleteLink(link!.id);
- return NextResponse.json(response[0], {
- headers,
- });
+ await deleteLink(link!.id);
+
+ // TODO:
+ // Check if this change breaks the UI
+
+ return NextResponse.json(
+ { id: link?.id },
+ {
+ headers,
+ },
+ );
});
diff --git a/apps/web/app/api/workspaces/route.ts b/apps/web/app/api/workspaces/route.ts
index b1bdd8269c..4de8511db1 100644
--- a/apps/web/app/api/workspaces/route.ts
+++ b/apps/web/app/api/workspaces/route.ts
@@ -29,6 +29,7 @@ export const GET = withSession(async ({ session }) => {
role: true,
},
},
+ domains: true,
},
});
return NextResponse.json(
@@ -113,6 +114,11 @@ export const POST = withSession(async ({ req, session }) => {
},
include: {
domains: true,
+ users: {
+ select: {
+ role: true,
+ },
+ },
},
}),
domain && addDomainToVercel(domain),
diff --git a/apps/web/lib/api/links/utils.ts b/apps/web/lib/api/links/utils.ts
index 4893e11f59..3493f9ba41 100644
--- a/apps/web/lib/api/links/utils.ts
+++ b/apps/web/lib/api/links/utils.ts
@@ -126,7 +126,7 @@ export async function dubLinkChecks(link: SimpleLinkProps) {
// Transform link with additional properties
export const transformLink = (link: LinkWithTags) => {
- const tags = link.tags.map(({ tag }) => tag);
+ const tags = (link.tags || []).map(({ tag }) => tag);
const shortLink = linkConstructor({
domain: link.domain,
diff --git a/apps/web/lib/openapi/analytics/browser.ts b/apps/web/lib/openapi/analytics/browser.ts
index 2a657bdeec..4fc45b9ce2 100644
--- a/apps/web/lib/openapi/analytics/browser.ts
+++ b/apps/web/lib/openapi/analytics/browser.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getBrowserAnalytics: ZodOpenApiOperationObject = {
operationId: "getBrowserAnalytics",
+ "x-speakeasy-name-override": "browsers",
summary: "Retrieve browser analytics",
description:
"Retrieve the top browsers by number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/city.ts b/apps/web/lib/openapi/analytics/city.ts
index 3c48e1517b..d93a58067e 100644
--- a/apps/web/lib/openapi/analytics/city.ts
+++ b/apps/web/lib/openapi/analytics/city.ts
@@ -6,6 +6,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getCityAnalytics: ZodOpenApiOperationObject = {
operationId: "getCityAnalytics",
+ "x-speakeasy-name-override": "cities",
summary: "Retrieve city analytics",
description:
"Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/clicks.ts b/apps/web/lib/openapi/analytics/clicks.ts
index c4a96364ca..c00f6eaf84 100644
--- a/apps/web/lib/openapi/analytics/clicks.ts
+++ b/apps/web/lib/openapi/analytics/clicks.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getClicksAnalytics: ZodOpenApiOperationObject = {
operationId: "getClicksAnalytics",
+ "x-speakeasy-name-override": "clicks",
summary: "Retrieve clicks analytics",
description:
"Retrieve the number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/country.ts b/apps/web/lib/openapi/analytics/country.ts
index 45449ff97b..204afbb9c7 100644
--- a/apps/web/lib/openapi/analytics/country.ts
+++ b/apps/web/lib/openapi/analytics/country.ts
@@ -6,6 +6,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getCountryAnalytics: ZodOpenApiOperationObject = {
operationId: "getCountryAnalytics",
+ "x-speakeasy-name-override": "countries",
summary: "Retrieve country analytics",
description:
"Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/device.ts b/apps/web/lib/openapi/analytics/device.ts
index 519d0e770d..4520f26d95 100644
--- a/apps/web/lib/openapi/analytics/device.ts
+++ b/apps/web/lib/openapi/analytics/device.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getDeviceAnalytics: ZodOpenApiOperationObject = {
operationId: "getDeviceAnalytics",
+ "x-speakeasy-name-override": "devices",
summary: "Retrieve device analytics",
description:
"Retrieve the top devices by number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/os.ts b/apps/web/lib/openapi/analytics/os.ts
index 35aa5d8d07..a43f580d53 100644
--- a/apps/web/lib/openapi/analytics/os.ts
+++ b/apps/web/lib/openapi/analytics/os.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getOSAnalytics: ZodOpenApiOperationObject = {
operationId: "getOSAnalytics",
+ "x-speakeasy-name-override": "os",
summary: "Retrieve OS analytics",
description:
"Retrieve the top OS by number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/referer.ts b/apps/web/lib/openapi/analytics/referer.ts
index 357ff7428b..ede8700006 100644
--- a/apps/web/lib/openapi/analytics/referer.ts
+++ b/apps/web/lib/openapi/analytics/referer.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getRefererAnalytics: ZodOpenApiOperationObject = {
operationId: "getRefererAnalytics",
+ "x-speakeasy-name-override": "referers",
summary: "Retrieve referer analytics",
description:
"Retrieve the top referers by number of clicks for a link, a domain, or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/timeseries.ts b/apps/web/lib/openapi/analytics/timeseries.ts
index f20247eca1..9ee4338d55 100644
--- a/apps/web/lib/openapi/analytics/timeseries.ts
+++ b/apps/web/lib/openapi/analytics/timeseries.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getTimeseriesAnalytics: ZodOpenApiOperationObject = {
operationId: "getTimeseriesAnalytics",
+ "x-speakeasy-name-override": "timeseries",
summary: "Retrieve timeseries analytics",
description:
"Retrieve the number of clicks for a link, a domain, or the authenticated workspace over a period of time.",
diff --git a/apps/web/lib/openapi/analytics/top-links.ts b/apps/web/lib/openapi/analytics/top-links.ts
index a76263d262..6e8f8c21c5 100644
--- a/apps/web/lib/openapi/analytics/top-links.ts
+++ b/apps/web/lib/openapi/analytics/top-links.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getTopLinks: ZodOpenApiOperationObject = {
operationId: "getTopLinks",
+ "x-speakeasy-name-override": "topLinks",
summary: "Retrieve top links",
description:
"Retrieve the top links by number of clicks for a domain or the authenticated workspace.",
diff --git a/apps/web/lib/openapi/analytics/top-urls.ts b/apps/web/lib/openapi/analytics/top-urls.ts
index 5240dbf53b..f81706fcd8 100644
--- a/apps/web/lib/openapi/analytics/top-urls.ts
+++ b/apps/web/lib/openapi/analytics/top-urls.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getTopURLs: ZodOpenApiOperationObject = {
operationId: "getTopURLs",
+ "x-speakeasy-name-override": "topUrls",
summary: "Retrieve top URLs",
description:
"Retrieve the top URLs by number of clicks for a given short link.",
diff --git a/apps/web/lib/openapi/links/delete-link.ts b/apps/web/lib/openapi/links/delete-link.ts
index b37e85f15b..32927774ef 100644
--- a/apps/web/lib/openapi/links/delete-link.ts
+++ b/apps/web/lib/openapi/links/delete-link.ts
@@ -2,11 +2,11 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
import { openApiErrorResponses } from "@/lib/openapi/responses";
import z from "@/lib/zod";
-import { LinkSchema } from "@/lib/zod/schemas/links";
export const deleteLink: ZodOpenApiOperationObject = {
operationId: "deleteLink",
"x-speakeasy-name-override": "delete",
+ "x-speakeasy-max-method-params": 1,
summary: "Delete a link",
description: "Delete a link for the authenticated workspace.",
requestParams: {
@@ -27,7 +27,9 @@ export const deleteLink: ZodOpenApiOperationObject = {
description: "The deleted link",
content: {
"application/json": {
- schema: LinkSchema,
+ schema: z.object({
+ id: z.string().openapi({ description: "The ID of the link." }),
+ }),
},
},
},
diff --git a/apps/web/lib/openapi/links/edit-link.ts b/apps/web/lib/openapi/links/edit-link.ts
index 82450de018..353fd51ffb 100644
--- a/apps/web/lib/openapi/links/edit-link.ts
+++ b/apps/web/lib/openapi/links/edit-link.ts
@@ -7,6 +7,7 @@ import { LinkSchema, createLinkBodySchema } from "@/lib/zod/schemas/links";
export const editLink: ZodOpenApiOperationObject = {
operationId: "editLink",
"x-speakeasy-name-override": "update",
+ "x-speakeasy-max-method-params": 2,
summary: "Edit a link",
description: "Edit a link for the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/links/get-links-count.ts b/apps/web/lib/openapi/links/get-links-count.ts
index 9ac8fbc242..ac1d3a5376 100644
--- a/apps/web/lib/openapi/links/get-links-count.ts
+++ b/apps/web/lib/openapi/links/get-links-count.ts
@@ -1,6 +1,6 @@
import { openApiErrorResponses } from "@/lib/openapi/responses";
import z from "@/lib/zod";
-import { getLinksCountQuerySchema, LinkSchema } from "@/lib/zod/schemas/links";
+import { getLinksCountQuerySchema } from "@/lib/zod/schemas/links";
import { ZodOpenApiOperationObject } from "zod-openapi";
export const getLinksCount: ZodOpenApiOperationObject = {
@@ -23,7 +23,9 @@ export const getLinksCount: ZodOpenApiOperationObject = {
description: "A list of links",
content: {
"application/json": {
- schema: z.array(LinkSchema),
+ schema: z.number().openapi({
+ description: "The number of links matching the query.",
+ }),
},
},
},
diff --git a/apps/web/lib/openapi/qr/get-qr.ts b/apps/web/lib/openapi/qr/get-qr.ts
index 1547a1bb3e..59daf1c542 100644
--- a/apps/web/lib/openapi/qr/get-qr.ts
+++ b/apps/web/lib/openapi/qr/get-qr.ts
@@ -5,6 +5,7 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
export const getQRCode: ZodOpenApiOperationObject = {
operationId: "getQRCode",
+ "x-speakeasy-name-override": "get",
summary: "Retrieve a QR code",
description: "Retrieve a QR code for a link.",
requestParams: {
diff --git a/apps/web/lib/openapi/tags/create-tag.ts b/apps/web/lib/openapi/tags/create-tag.ts
index a23558f7b4..8d51787ea3 100644
--- a/apps/web/lib/openapi/tags/create-tag.ts
+++ b/apps/web/lib/openapi/tags/create-tag.ts
@@ -6,6 +6,7 @@ import { createTagBodySchema, TagSchema } from "@/lib/zod/schemas/tags";
export const createTag: ZodOpenApiOperationObject = {
operationId: "createTag",
+ "x-speakeasy-name-override": "create",
summary: "Create a new tag",
description: "Create a new tag for the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/tags/get-tags.ts b/apps/web/lib/openapi/tags/get-tags.ts
index c323733ece..4b644f10ae 100644
--- a/apps/web/lib/openapi/tags/get-tags.ts
+++ b/apps/web/lib/openapi/tags/get-tags.ts
@@ -6,6 +6,7 @@ import { TagSchema } from "@/lib/zod/schemas/tags";
export const getTags: ZodOpenApiOperationObject = {
operationId: "getTags",
+ "x-speakeasy-name-override": "list",
summary: "Retrieve a list of tags",
description: "Retrieve a list of tags for the authenticated workspace.",
requestParams: {
diff --git a/apps/web/lib/openapi/workspaces/create-workspace.ts b/apps/web/lib/openapi/workspaces/create-workspace.ts
index 358571ef40..085a1fa2b7 100644
--- a/apps/web/lib/openapi/workspaces/create-workspace.ts
+++ b/apps/web/lib/openapi/workspaces/create-workspace.ts
@@ -6,6 +6,7 @@ import {
export const createWorkspace = {
operationId: "createWorkspace",
+ "x-speakeasy-name-override": "create",
summary: "Create a workspace",
description: "Create a new workspace for the authenticated user.",
requestBody: {
diff --git a/apps/web/lib/openapi/workspaces/get-workspace-info.ts b/apps/web/lib/openapi/workspaces/get-workspace-info.ts
index 5d165ae07c..c599a533df 100644
--- a/apps/web/lib/openapi/workspaces/get-workspace-info.ts
+++ b/apps/web/lib/openapi/workspaces/get-workspace-info.ts
@@ -6,6 +6,7 @@ import { WorkspaceSchema } from "@/lib/zod/schemas/workspaces";
export const getWorkspaceInfo: ZodOpenApiOperationObject = {
operationId: "getWorkspace",
+ "x-speakeasy-name-override": "get",
summary: "Retrieve a workspace",
description: "Retrieve a workspace for the authenticated user.",
requestParams: {
diff --git a/apps/web/lib/openapi/workspaces/get-workspaces.ts b/apps/web/lib/openapi/workspaces/get-workspaces.ts
index 4be4248904..ca43f58b7e 100644
--- a/apps/web/lib/openapi/workspaces/get-workspaces.ts
+++ b/apps/web/lib/openapi/workspaces/get-workspaces.ts
@@ -6,6 +6,7 @@ import { WorkspaceSchema } from "@/lib/zod/schemas/workspaces";
export const getWorkspaces: ZodOpenApiOperationObject = {
operationId: "getWorkspaces",
+ "x-speakeasy-name-override": "list",
summary: "Retrieve a list of workspaces",
description: "Retrieve a list of workspaces for the authenticated user.",
responses: {
diff --git a/apps/web/lib/zod/schemas/workspaces.ts b/apps/web/lib/zod/schemas/workspaces.ts
index 26b5cd65d8..fedba049f5 100644
--- a/apps/web/lib/zod/schemas/workspaces.ts
+++ b/apps/web/lib/zod/schemas/workspaces.ts
@@ -42,6 +42,9 @@ export const WorkspaceSchema = z
}),
)
.describe("The role of the authenticated user in the workspace."),
+
+ // TODO:
+ // Update the domains schema to include the domain object
domains: z
.array(
z.object({
diff --git a/apps/web/old-sdk-test.ts b/apps/web/old-sdk-test.ts
new file mode 100644
index 0000000000..8002970b94
--- /dev/null
+++ b/apps/web/old-sdk-test.ts
@@ -0,0 +1,31 @@
+import Dub from "dub";
+
+const dub = new Dub({ baseURL: "/api/v1", token: "my-token" });
+
+const testMethods = async () => {
+ // Create link
+ await dub.links.create({ url: "https://example.com" });
+
+ // Get link
+ // .info() not available in the SDK
+ // await dub.links.info()
+
+ // This expression is not callable.
+ // Type 'Info' has no call signatures.
+
+ // Update link
+ await dub.links.update("my-link-id", { url: "https://example.com" });
+
+ // Delete link
+ await dub.links.deleteLink("my-link-id", { projectSlug: "my-project-slug" });
+
+ // List links
+ await dub.links.list({ projectSlug: "my-project-slug" });
+
+ // Bulk create links
+ // .bulk() not available in the SDK
+ // await dub.links.bulk([
+ // { url: "https://example.com" },
+ // { url: "https://example.com" },
+ // ]);
+};
diff --git a/apps/web/package.json b/apps/web/package.json
index be8aa689e2..e8a34a524e 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -50,6 +50,7 @@
"concurrently": "^8.0.1",
"crisp-sdk-web": "^1.0.19",
"d3-array": "^3.2.4",
+ "dub": "^0.10.0",
"framer-motion": "^10.16.16",
"fuse.js": "^6.6.2",
"github-slugger": "^2.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f03092ed8d..131fe6d870 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -151,6 +151,9 @@ importers:
d3-array:
specifier: ^3.2.4
version: 3.2.4
+ dub:
+ specifier: ^0.10.0
+ version: 0.10.0
framer-motion:
specifier: ^10.16.16
@@ -6983,9 +6986,22 @@ packages:
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
+ resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==}
+ dependencies:
+ '@types/node': 18.11.9
+ form-data: 4.0.0
+ dev: false
+
resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==}
+ resolution: {integrity: sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA==}
+ dependencies:
+ undici-types: 5.26.5
+ dev: false
+
resolution: {integrity: sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A==}
dev: false
@@ -6997,6 +7013,10 @@ packages:
resolution: {integrity: sha512-kMpQpfZKSCBqltAJwskgePRaYRFukDkm1oItcAbC3gNELR20XIBcN9VRgg4+m8DKsTfkWeA4m4Imp4DDuWy7FQ==}
+ resolution: {integrity: sha512-5khscbd3SwWMhFqylJBLQ0zIu7c1K6Vz0uBIt915BI3zV0q1nfjRQD3RqSBcPaO6PHEF4ov/t9y89fSiyThlPA==}
+ dev: false
+
resolution: {integrity: sha512-V835xgdSVmyQmI1KLV2BEIUgqEuinxp9O4G6g3FqO/SqLac049E53aysv0oEFD2kHfejeKU+ZqL2bcFWj9gLAQ==}
dependencies:
@@ -7587,6 +7607,13 @@ packages:
- supports-color
dev: false
+ resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==}
+ engines: {node: '>= 8.0.0'}
+ dependencies:
+ humanize-ms: 1.2.1
+ dev: false
+
resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
peerDependencies:
@@ -7932,6 +7959,10 @@ packages:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+ resolution: {integrity: sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA==}
+ dev: false
+
resolution: {integrity: sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw==}
engines: {node: '>= 0.4'}
@@ -8179,6 +8210,10 @@ packages:
resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
dev: false
+ resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==}
+ dev: false
+
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
engines: {node: '>= 8.10.0'}
@@ -8525,6 +8560,10 @@ packages:
shebang-command: 2.0.0
which: 2.0.2
+ resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==}
+ dev: false
+
resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
dev: false
@@ -8856,6 +8895,13 @@ packages:
engines: {node: '>=0.3.1'}
dev: false
+ resolution: {integrity: sha512-CGJuv6iKNM7QyZlM2T3sPAdZWd/p9zQiRNS9G+9COUCwzWFTs0Xp8NF5iePx7wtvhDykReiRRrSeNb4oMmB8lA==}
+ dependencies:
+ base-64: 0.1.0
+ md5: 2.3.0
+ dev: false
+
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
engines: {node: '>=8'}
@@ -8924,6 +8970,24 @@ packages:
resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-VUsukqEmPEEAxTGoWKbmwfgFFvVQgdhcFRTx9HzGvExn6M5ZQz/NjqDgYAlrSkXZiXQ1PXVKav88rE17TzBBJw==}
+ dependencies:
+ '@types/node': 18.19.31
+ '@types/node-fetch': 2.6.11
+ '@types/qs': 6.9.14
+ abort-controller: 3.0.0
+ agentkeepalive: 4.5.0
+ digest-fetch: 1.3.0
+ form-data-encoder: 1.7.2
+ formdata-node: 4.4.1
+ node-fetch: 2.7.0([email protected])
+ qs: 6.11.2
+ web-streams-polyfill: 3.3.3
+ transitivePeerDependencies:
+ - encoding
+ dev: false
+
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
dev: false
@@ -9753,6 +9817,10 @@ packages:
signal-exit: 4.1.0
dev: false
+ resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==}
+ dev: false
+
resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}
engines: {node: '>= 6'}
@@ -9762,6 +9830,14 @@ packages:
mime-types: 2.1.35
dev: false
+ resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==}
+ engines: {node: '>= 12.20'}
+ dependencies:
+ node-domexception: 1.0.0
+ web-streams-polyfill: 4.0.0-beta.3
+ dev: false
+
resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==}
@@ -10281,6 +10357,12 @@ packages:
resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
engines: {node: '>=10.17.0'}
+ resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}
+ dependencies:
+ ms: 2.1.3
+ dev: false
+
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
engines: {node: '>=0.10.0'}
@@ -10410,6 +10492,10 @@ packages:
has-tostringtag: 1.0.0
dev: false
+ resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
+ dev: false
+
resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==}
engines: {node: '>=4'}
@@ -11183,6 +11269,14 @@ packages:
resolution: {integrity: sha512-4vRUvPyxdO8cWULGTh9dZWL2tZK6LDBvj+OGHBER7poH9Qdt7kXEoj20wiz4lQUbUXQZFjPbe5mVDo9nutizCw==}
dev: false
+ resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==}
+ dependencies:
+ charenc: 0.0.2
+ crypt: 0.0.2
+ is-buffer: 1.1.6
+ dev: false
+
resolution: {integrity: sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==}
dependencies:
@@ -12294,6 +12388,11 @@ packages:
minimatch: 3.1.2
dev: false
+ resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}
+ engines: {node: '>=10.5.0'}
+ dev: false
+
resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
engines: {node: 4.x || >=6.0.0}
@@ -13056,7 +13155,7 @@ packages:
optional: true
dependencies:
prettier: 3.2.5
- prettier-plugin-organize-imports: 3.2.4([email protected])([email protected])
+ prettier-plugin-organize-imports: 3.2.4([email protected])([email protected])
dev: true
@@ -15245,6 +15344,10 @@ packages:
which-boxed-primitive: 1.0.2
dev: false
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: false
+
resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==}
engines: {node: '>=4'}
@@ -15551,6 +15654,16 @@ packages:
defaults: 1.0.4
dev: false
+ resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}
+ engines: {node: '>= 8'}
+ dev: false
+
+ resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==}
+ engines: {node: '>= 14'}
+ dev: false
+
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
dev: false