aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/sdk/.gitignore1
-rw-r--r--packages/sdk/.npmignore4
-rw-r--r--packages/sdk/package.json47
-rw-r--r--packages/sdk/src/hoarder-api.d.ts1135
-rw-r--r--packages/sdk/src/index.ts5
-rw-r--r--packages/sdk/tsconfig.json15
-rw-r--r--packages/sdk/vite.config.mts18
-rw-r--r--pnpm-lock.yaml571
8 files changed, 1742 insertions, 54 deletions
diff --git a/packages/sdk/.gitignore b/packages/sdk/.gitignore
new file mode 100644
index 00000000..1521c8b7
--- /dev/null
+++ b/packages/sdk/.gitignore
@@ -0,0 +1 @@
+dist
diff --git a/packages/sdk/.npmignore b/packages/sdk/.npmignore
new file mode 100644
index 00000000..18a504f5
--- /dev/null
+++ b/packages/sdk/.npmignore
@@ -0,0 +1,4 @@
+.turbo/**
+src/**
+vite.config.mts
+tsconfig.json
diff --git a/packages/sdk/package.json b/packages/sdk/package.json
new file mode 100644
index 00000000..326f55b3
--- /dev/null
+++ b/packages/sdk/package.json
@@ -0,0 +1,47 @@
+{
+ "$schema": "https://json.schemastore.org/package.json",
+ "name": "@hoarderapp/sdk",
+ "version": "0.20.0",
+ "description": "Typescript SDK for Hoarder",
+ "license": "GNU Affero General Public License version 3",
+ "keywords": [
+ "hoarder",
+ "sdk"
+ ],
+ "exports": "./dist/index.mjs",
+ "types": "./dist/index.d.ts",
+ "devDependencies": {
+ "@hoarder/eslint-config": "workspace:^0.2.0",
+ "@hoarder/prettier-config": "workspace:^0.1.0",
+ "@hoarder/tsconfig": "workspace:^0.1.0",
+ "@tsconfig/node21": "^21.0.1",
+ "tsx": "^4.7.1",
+ "vite": "^5.1.0",
+ "vite-plugin-dts": "^4.4.0"
+ },
+ "scripts": {
+ "build": "vite build",
+ "run": "tsx src/index.ts",
+ "lint": "eslint .",
+ "format": "prettier . --ignore-path ../../.prettierignore",
+ "typecheck": "tsc --noEmit"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/hoarder-app/hoarder.git",
+ "directory": "packages/sdk"
+ },
+ "eslintConfig": {
+ "root": true,
+ "extends": [
+ "@hoarder/eslint-config/base"
+ ],
+ "ignorePatterns": [
+ "src/hoarder-api.d.ts"
+ ]
+ },
+ "prettier": "@hoarder/prettier-config",
+ "dependencies": {
+ "openapi-fetch": "^0.13.3"
+ }
+}
diff --git a/packages/sdk/src/hoarder-api.d.ts b/packages/sdk/src/hoarder-api.d.ts
new file mode 100644
index 00000000..72f3717e
--- /dev/null
+++ b/packages/sdk/src/hoarder-api.d.ts
@@ -0,0 +1,1135 @@
+/**
+ * This file was auto-generated by openapi-typescript.
+ * Do not make direct changes to the file.
+ */
+
+export interface paths {
+ "/bookmarks": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get all bookmarks
+ * @description Get all bookmarks
+ */
+ get: {
+ parameters: {
+ query?: {
+ archived?: boolean;
+ favourited?: boolean;
+ limit?: number;
+ cursor?: components["schemas"]["Cursor"];
+ };
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with all bookmarks data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["PaginatedBookmarks"];
+ };
+ };
+ };
+ };
+ put?: never;
+ /**
+ * Create a new bookmark
+ * @description Create a new bookmark
+ */
+ post: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /** @description The bookmark to create */
+ requestBody?: {
+ content: {
+ "application/json": {
+ title?: string | null;
+ archived?: boolean;
+ favourited?: boolean;
+ note?: string;
+ summary?: string;
+ createdAt?: string | null;
+ } & (
+ | {
+ /** @enum {string} */
+ type: "link";
+ /** Format: uri */
+ url: string;
+ }
+ | {
+ /** @enum {string} */
+ type: "text";
+ text: string;
+ sourceUrl?: string;
+ }
+ | {
+ /** @enum {string} */
+ type: "asset";
+ /** @enum {string} */
+ assetType: "image" | "pdf";
+ assetId: string;
+ fileName?: string;
+ sourceUrl?: string;
+ }
+ );
+ };
+ };
+ responses: {
+ /** @description The created bookmark */
+ 201: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Bookmark"];
+ };
+ };
+ };
+ };
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/bookmarks/{bookmarkId}": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get a single bookmark
+ * @description Get bookmark by its id
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with bookmark data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Bookmark"];
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ /**
+ * Delete a bookmark
+ * @description Delete bookmark by its id
+ */
+ delete: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description No content - the bookmark was deleted */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content?: never;
+ };
+ };
+ };
+ options?: never;
+ head?: never;
+ /**
+ * Update a bookmark
+ * @description Update bookmark by its id
+ */
+ patch: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ /** @description The data to update. Only the fields you want to update need to be provided. */
+ requestBody?: {
+ content: {
+ "application/json": {
+ archived?: boolean;
+ favourited?: boolean;
+ summary?: string | null;
+ note?: string;
+ title?: string | null;
+ createdAt?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description The updated bookmark */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ id: string;
+ createdAt: string;
+ title?: string | null;
+ archived: boolean;
+ favourited: boolean;
+ /** @enum {string|null} */
+ taggingStatus: "success" | "failure" | "pending" | null;
+ note?: string | null;
+ summary?: string | null;
+ };
+ };
+ };
+ };
+ };
+ trace?: never;
+ };
+ "/bookmarks/{bookmarkId}/tags": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ get?: never;
+ put?: never;
+ /**
+ * Attach tags to a bookmark
+ * @description Attach tags to a bookmark
+ */
+ post: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ /** @description The tags to attach. */
+ requestBody?: {
+ content: {
+ "application/json": {
+ tags: {
+ tagId?: string;
+ tagName?: string;
+ }[];
+ };
+ };
+ };
+ responses: {
+ /** @description The list of attached tag ids */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ attached: components["schemas"]["TagId"][];
+ };
+ };
+ };
+ };
+ };
+ /**
+ * Detach tags from a bookmark
+ * @description Detach tags from a bookmark
+ */
+ delete: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ /** @description The tags to detach. */
+ requestBody?: {
+ content: {
+ "application/json": {
+ tags: {
+ tagId?: string;
+ tagName?: string;
+ }[];
+ };
+ };
+ };
+ responses: {
+ /** @description The list of detached tag ids */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ detached: components["schemas"]["TagId"][];
+ };
+ };
+ };
+ };
+ };
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/bookmarks/{bookmarkId}/highlights": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get highlights of a bookmark
+ * @description Get highlights of a bookmark
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description The list of highlights */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ highlights: components["schemas"]["Highlight"][];
+ };
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/lists": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get all lists
+ * @description Get all lists
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with all lists data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ lists: components["schemas"]["List"][];
+ };
+ };
+ };
+ };
+ };
+ put?: never;
+ /**
+ * Create a new list
+ * @description Create a new list
+ */
+ post: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /** @description The list to create */
+ requestBody?: {
+ content: {
+ "application/json": {
+ name: string;
+ icon: string;
+ parentId?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description The created list */
+ 201: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["List"];
+ };
+ };
+ };
+ };
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/lists/{listId}": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get a single list
+ * @description Get list by its id
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ listId: components["parameters"]["ListId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with list data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["List"];
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ /**
+ * Delete a list
+ * @description Delete list by its id
+ */
+ delete: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ listId: components["parameters"]["ListId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description No content - the bookmark was deleted */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content?: never;
+ };
+ };
+ };
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/list/{listId}": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ get?: never;
+ put?: never;
+ post?: never;
+ delete?: never;
+ options?: never;
+ head?: never;
+ /**
+ * Update a list
+ * @description Update list by its id
+ */
+ patch: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ listId: components["parameters"]["ListId"];
+ };
+ cookie?: never;
+ };
+ /** @description The data to update. Only the fields you want to update need to be provided. */
+ requestBody?: {
+ content: {
+ "application/json": {
+ name?: string;
+ icon?: string;
+ parentId?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description The updated list */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["List"];
+ };
+ };
+ };
+ };
+ trace?: never;
+ };
+ "/lists/{listId}/bookmarks": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get a bookmarks in a list
+ * @description Get the bookmarks in a list
+ */
+ get: {
+ parameters: {
+ query?: {
+ limit?: number;
+ cursor?: components["schemas"]["Cursor"];
+ };
+ header?: never;
+ path: {
+ listId: components["parameters"]["ListId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with list data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["PaginatedBookmarks"];
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/lists/{listId}/bookmarks/{bookmarkId}": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ get?: never;
+ /**
+ * Add a bookmark to a list
+ * @description Add the bookmarks to a list
+ */
+ put: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ listId: components["parameters"]["ListId"];
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description No content - the bookmark was added */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content?: never;
+ };
+ };
+ };
+ post?: never;
+ /**
+ * Remove a bookmark from a list
+ * @description Remove the bookmarks from a list
+ */
+ delete: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ listId: components["parameters"]["ListId"];
+ bookmarkId: components["parameters"]["BookmarkId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description No content - the bookmark was added */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content?: never;
+ };
+ };
+ };
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/tags": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get all tags
+ * @description Get all tags
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with all tags data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ tags: components["schemas"]["Tag"][];
+ };
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/tags/{tagId}": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get a single tag
+ * @description Get tag by its id
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ tagId: components["parameters"]["TagId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with list data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Tag"];
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ /**
+ * Delete a tag
+ * @description Delete tag by its id
+ */
+ delete: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ tagId: components["parameters"]["TagId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description No content - the bookmark was deleted */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content?: never;
+ };
+ };
+ };
+ options?: never;
+ head?: never;
+ /**
+ * Update a tag
+ * @description Update tag by its id
+ */
+ patch: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ tagId: components["parameters"]["TagId"];
+ };
+ cookie?: never;
+ };
+ /** @description The data to update. Only the fields you want to update need to be provided. */
+ requestBody?: {
+ content: {
+ "application/json": {
+ name?: string;
+ };
+ };
+ };
+ responses: {
+ /** @description The updated tag */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Tag"];
+ };
+ };
+ };
+ };
+ trace?: never;
+ };
+ "/tags/{tagId}/bookmarks": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get a bookmarks with the tag
+ * @description Get the bookmarks with the tag
+ */
+ get: {
+ parameters: {
+ query?: {
+ limit?: number;
+ cursor?: components["schemas"]["Cursor"];
+ };
+ header?: never;
+ path: {
+ tagId: components["parameters"]["TagId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with list data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["PaginatedBookmarks"];
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/highlights": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get all highlights
+ * @description Get all highlights
+ */
+ get: {
+ parameters: {
+ query?: {
+ limit?: number;
+ cursor?: components["schemas"]["Cursor"];
+ };
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with all highlights data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["PaginatedHighlights"];
+ };
+ };
+ };
+ };
+ put?: never;
+ /**
+ * Create a new highlight
+ * @description Create a new highlight
+ */
+ post: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /** @description The highlight to create */
+ requestBody?: {
+ content: {
+ "application/json": {
+ bookmarkId: string;
+ startOffset: number;
+ endOffset: number;
+ /**
+ * @default yellow
+ * @enum {string}
+ */
+ color?: "yellow" | "red" | "green" | "blue";
+ text: string | null;
+ note: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description The created highlight */
+ 201: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Highlight"];
+ };
+ };
+ };
+ };
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
+ "/highlights/{highlightId}": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ /**
+ * Get a single highlight
+ * @description Get highlight by its id
+ */
+ get: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ highlightId: components["parameters"]["HighlightId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Object with highlight data. */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Highlight"];
+ };
+ };
+ };
+ };
+ put?: never;
+ post?: never;
+ /**
+ * Delete a highlight
+ * @description Delete highlight by its id
+ */
+ delete: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ highlightId: components["parameters"]["HighlightId"];
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description The deleted highlight */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Highlight"];
+ };
+ };
+ };
+ };
+ options?: never;
+ head?: never;
+ /**
+ * Update a highlight
+ * @description Update highlight by its id
+ */
+ patch: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ highlightId: components["parameters"]["HighlightId"];
+ };
+ cookie?: never;
+ };
+ /** @description The data to update. Only the fields you want to update need to be provided. */
+ requestBody?: {
+ content: {
+ "application/json": {
+ /** @enum {string} */
+ color?: "yellow" | "red" | "green" | "blue";
+ };
+ };
+ };
+ responses: {
+ /** @description The updated highlight */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["Highlight"];
+ };
+ };
+ };
+ };
+ trace?: never;
+ };
+}
+export type webhooks = Record<string, never>;
+export interface components {
+ schemas: {
+ /** @example ieidlxygmwj87oxz5hxttoc8 */
+ BookmarkId: string;
+ /** @example ieidlxygmwj87oxz5hxttoc8 */
+ ListId: string;
+ /** @example ieidlxygmwj87oxz5hxttoc8 */
+ TagId: string;
+ /** @example ieidlxygmwj87oxz5hxttoc8 */
+ HighlightId: string;
+ Bookmark: {
+ id: string;
+ createdAt: string;
+ title?: string | null;
+ archived: boolean;
+ favourited: boolean;
+ /** @enum {string|null} */
+ taggingStatus: "success" | "failure" | "pending" | null;
+ note?: string | null;
+ summary?: string | null;
+ tags: {
+ id: string;
+ name: string;
+ /** @enum {string} */
+ attachedBy: "ai" | "human";
+ }[];
+ content:
+ | {
+ /** @enum {string} */
+ type: "link";
+ url: string;
+ title?: string | null;
+ description?: string | null;
+ imageUrl?: string | null;
+ imageAssetId?: string | null;
+ screenshotAssetId?: string | null;
+ fullPageArchiveAssetId?: string | null;
+ videoAssetId?: string | null;
+ favicon?: string | null;
+ htmlContent?: string | null;
+ crawledAt?: string | null;
+ }
+ | {
+ /** @enum {string} */
+ type: "text";
+ text: string;
+ sourceUrl?: string | null;
+ }
+ | {
+ /** @enum {string} */
+ type: "asset";
+ /** @enum {string} */
+ assetType: "image" | "pdf";
+ assetId: string;
+ fileName?: string | null;
+ sourceUrl?: string | null;
+ }
+ | {
+ /** @enum {string} */
+ type: "unknown";
+ };
+ assets: {
+ id: string;
+ /** @enum {string} */
+ assetType:
+ | "screenshot"
+ | "bannerImage"
+ | "fullPageArchive"
+ | "video"
+ | "bookmarkAsset"
+ | "unknown";
+ }[];
+ };
+ PaginatedBookmarks: {
+ bookmarks: components["schemas"]["Bookmark"][];
+ nextCursor: string | null;
+ };
+ Cursor: string;
+ Highlight: {
+ bookmarkId: string;
+ startOffset: number;
+ endOffset: number;
+ /**
+ * @default yellow
+ * @enum {string}
+ */
+ color: "yellow" | "red" | "green" | "blue";
+ text: string | null;
+ note: string | null;
+ id: string;
+ userId: string;
+ createdAt: string;
+ };
+ List: {
+ id: string;
+ name: string;
+ icon: string;
+ parentId: string | null;
+ };
+ Tag: {
+ id: string;
+ name: string;
+ numBookmarks: number;
+ numBookmarksByAttachedType: {
+ ai?: number;
+ human?: number;
+ };
+ };
+ PaginatedHighlights: {
+ highlights: components["schemas"]["Highlight"][];
+ nextCursor: string | null;
+ };
+ };
+ responses: never;
+ parameters: {
+ BookmarkId: components["schemas"]["BookmarkId"];
+ ListId: components["schemas"]["ListId"];
+ TagId: components["schemas"]["TagId"];
+ HighlightId: components["schemas"]["HighlightId"];
+ };
+ requestBodies: never;
+ headers: never;
+ pathItems: never;
+}
+export type $defs = Record<string, never>;
+export type operations = Record<string, never>;
diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts
new file mode 100644
index 00000000..7b148cc6
--- /dev/null
+++ b/packages/sdk/src/index.ts
@@ -0,0 +1,5 @@
+import createClient from "openapi-fetch";
+
+import type { paths } from "./hoarder-api.d.ts";
+
+export const createHoarderClient = createClient<paths>;
diff --git a/packages/sdk/tsconfig.json b/packages/sdk/tsconfig.json
new file mode 100644
index 00000000..bf344404
--- /dev/null
+++ b/packages/sdk/tsconfig.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "extends": "@hoarder/tsconfig/node.json",
+ "include": ["src", "vite.config.mts"],
+ "exclude": ["node_modules", "dist"],
+ "compilerOptions": {
+ "baseUrl": ".",
+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
+ "strictNullChecks": true,
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+ "types": ["vite/client"]
+ }
+}
diff --git a/packages/sdk/vite.config.mts b/packages/sdk/vite.config.mts
new file mode 100644
index 00000000..0bcccbd2
--- /dev/null
+++ b/packages/sdk/vite.config.mts
@@ -0,0 +1,18 @@
+// This file is shamelessly copied from immich's CLI vite config
+// https://github.com/immich-app/immich/blob/main/cli/vite.config.ts
+import { defineConfig } from "vite";
+import dts from "vite-plugin-dts";
+import tsconfigPaths from "vite-tsconfig-paths";
+
+export default defineConfig({
+ build: {
+ rollupOptions: {
+ input: "src/index.ts",
+ output: {
+ dir: "dist",
+ },
+ },
+ ssr: true,
+ },
+ plugins: [tsconfigPaths(), dts({ rollupTypes: true, copyDtsFiles: true })],
+});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f7bd727f..92b55477 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -955,6 +955,34 @@ importers:
specifier: ^4.7.1
version: 4.7.1
+ packages/sdk:
+ dependencies:
+ openapi-fetch:
+ specifier: ^0.13.3
+ version: 0.13.3
+ devDependencies:
+ '@hoarder/eslint-config':
+ specifier: workspace:^0.2.0
+ version: link:../../tooling/eslint
+ '@hoarder/prettier-config':
+ specifier: workspace:^0.1.0
+ version: link:../../tooling/prettier
+ '@hoarder/tsconfig':
+ specifier: workspace:^0.1.0
+ version: link:../../tooling/typescript
+ '@tsconfig/node21':
+ specifier: ^21.0.1
+ version: 21.0.1
+ tsx:
+ specifier: ^4.7.1
+ version: 4.7.1
+ vite:
+ specifier: ^5.1.0
+ version: 5.1.4(@types/node@20.11.20)
+ vite-plugin-dts:
+ specifier: ^4.4.0
+ version: 4.4.0(@types/node@20.11.20)(typescript@5.3.3)(vite@5.1.4(@types/node@20.11.20))
+
packages/shared:
dependencies:
glob:
@@ -3287,6 +3315,19 @@ packages:
resolution: {integrity: sha512-9fOXBEgxdiBedT1qB1obDCHqkU5hmqoJ/xr7CqI0u1h54zPe845Kj4ZQgMqSoF+Azg3fe43AAV1R9MwQlko3Mw==}
engines: {node: '>= 16'}
+ '@microsoft/api-extractor-model@7.30.1':
+ resolution: {integrity: sha512-CTS2PlASJHxVY8hqHORVb1HdECWOEMcMnM6/kDkPr0RZapAFSIHhg9D4jxuE8g+OWYHtPc10LCpmde5pylTRlA==}
+
+ '@microsoft/api-extractor@7.48.1':
+ resolution: {integrity: sha512-HN9Osa1WxqLM66RaqB5nPAadx+nTIQmY/XtkFdaJvusjG8Tus++QqZtD7KPZDSkhEMGHsYeSyeU8qUzCDUXPjg==}
+ hasBin: true
+
+ '@microsoft/tsdoc-config@0.17.1':
+ resolution: {integrity: sha512-UtjIFe0C6oYgTnad4q1QP4qXwLhe6tIpNTRStJ2RZEPIkqQPREAwE5spzVxsdn9UaEMUqhh0AqSx3X4nWAKXWw==}
+
+ '@microsoft/tsdoc@0.15.1':
+ resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==}
+
'@monaco-editor/loader@1.4.0':
resolution: {integrity: sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg==}
peerDependencies:
@@ -4228,6 +4269,15 @@ packages:
resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
engines: {node: '>= 8.0.0'}
+ '@rollup/pluginutils@5.1.4':
+ resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
'@rollup/rollup-android-arm-eabi@4.12.0':
resolution: {integrity: sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==}
cpu: [arm]
@@ -4293,6 +4343,28 @@ packages:
cpu: [x64]
os: [win32]
+ '@rushstack/node-core-library@5.10.1':
+ resolution: {integrity: sha512-BSb/KcyBHmUQwINrgtzo6jiH0HlGFmrUy33vO6unmceuVKTEyL2q+P0fQq2oB5hvXVWOEUhxB2QvlkZluvUEmg==}
+ peerDependencies:
+ '@types/node': '*'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@rushstack/rig-package@0.5.3':
+ resolution: {integrity: sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==}
+
+ '@rushstack/terminal@0.14.4':
+ resolution: {integrity: sha512-NxACqERW0PHq8Rpq1V6v5iTHEwkRGxenjEW+VWqRYQ8T9puUzgmGHmEZUaUEDHAe9Qyvp0/Ew04sAiQw9XjhJg==}
+ peerDependencies:
+ '@types/node': '*'
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+
+ '@rushstack/ts-command-line@4.23.2':
+ resolution: {integrity: sha512-JJ7XZX5K3ThBBva38aomgsPv1L7FV6XmSOcR6HtM7HDFZJkepqT65imw26h9ggGqMjsY0R9jcl30tzKcVj9aOQ==}
+
'@sec-ant/readable-stream@0.4.1':
resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
@@ -4572,6 +4644,9 @@ packages:
'@types/acorn@4.0.6':
resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==}
+ '@types/argparse@1.0.38':
+ resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==}
+
'@types/babel__core@7.20.5':
resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}
@@ -5009,6 +5084,35 @@ packages:
'@vitest/utils@1.3.1':
resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==}
+ '@volar/language-core@2.4.11':
+ resolution: {integrity: sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg==}
+
+ '@volar/source-map@2.4.11':
+ resolution: {integrity: sha512-ZQpmafIGvaZMn/8iuvCFGrW3smeqkq/IIh9F1SdSx9aUl0J4Iurzd6/FhmjNO5g2ejF3rT45dKskgXWiofqlZQ==}
+
+ '@volar/typescript@2.4.11':
+ resolution: {integrity: sha512-2DT+Tdh88Spp5PyPbqhyoYavYCPDsqbHLFwcUI9K1NlY1YgUJvujGdrqUp0zWxnW7KWNTr3xSpMuv2WnaTKDAw==}
+
+ '@vue/compiler-core@3.5.13':
+ resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==}
+
+ '@vue/compiler-dom@3.5.13':
+ resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==}
+
+ '@vue/compiler-vue2@2.7.16':
+ resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
+
+ '@vue/language-core@2.1.10':
+ resolution: {integrity: sha512-DAI289d0K3AB5TUG3xDp9OuQ71CnrujQwJrQnfuZDwo6eGNf0UoRlPuaVNO+Zrn65PC3j0oB2i7mNmVPggeGeQ==}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
+ '@vue/shared@3.5.13':
+ resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==}
+
'@web3-storage/multipart-parser@1.0.0':
resolution: {integrity: sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==}
@@ -5113,6 +5217,11 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
+ acorn@8.14.0:
+ resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
address@1.2.2:
resolution: {integrity: sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==}
engines: {node: '>= 10.0.0'}
@@ -5133,6 +5242,14 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
+ ajv-draft-04@1.0.0:
+ resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==}
+ peerDependencies:
+ ajv: ^8.5.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+
ajv-formats@2.1.1:
resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
peerDependencies:
@@ -5141,6 +5258,14 @@ packages:
ajv:
optional: true
+ ajv-formats@3.0.1:
+ resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}
+ peerDependencies:
+ ajv: ^8.0.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+
ajv-keywords@3.5.2:
resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
peerDependencies:
@@ -5163,6 +5288,9 @@ packages:
ajv@8.12.0:
resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
+ ajv@8.13.0:
+ resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==}
+
ajv@8.17.1:
resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==}
@@ -5174,6 +5302,9 @@ packages:
algoliasearch@4.22.1:
resolution: {integrity: sha512-jwydKFQJKIx9kIZ8Jm44SdpigFwRGPESaxZBaHSV0XWN2yBJAOT4mT7ppvlrpA4UGzz92pqFnVKr/kaZXrcreg==}
+ alien-signals@0.2.2:
+ resolution: {integrity: sha512-cZIRkbERILsBOXTQmMrxc9hgpxglstn69zm+F1ARf4aPAzdAFYd6sBq87ErO0Fj3DV94tglcyHG5kQz9nDC/8A==}
+
anser@1.4.10:
resolution: {integrity: sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==}
@@ -6017,6 +6148,9 @@ packages:
commondir@1.0.1:
resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
+ compare-versions@6.1.1:
+ resolution: {integrity: sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==}
+
component-emitter@1.3.1:
resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==}
@@ -6038,6 +6172,9 @@ packages:
resolution: {integrity: sha512-Ath9o58/0rxZXbyoy3zZgrVMoIemi30sukG/btuMKCLyqfQt3dNOWc9N3EHEMa2Q3i0tXQPDJluYFLwy7pJuQw==}
engines: {node: '>=8'}
+ confbox@0.1.8:
+ resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}
+
config-chain@1.1.13:
resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==}
@@ -6327,6 +6464,9 @@ packages:
dayjs@1.11.10:
resolution: {integrity: sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==}
+ de-indent@1.0.2:
+ resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==}
+
debounce@1.2.1:
resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==}
@@ -6364,6 +6504,15 @@ packages:
supports-color:
optional: true
+ debug@4.4.0:
+ resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}
+ engines: {node: '>=6.0'}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+
decamelize@1.2.0:
resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==}
engines: {node: '>=0.10.0'}
@@ -7724,6 +7873,10 @@ packages:
resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==}
engines: {node: '>=14.14'}
+ fs-extra@7.0.1:
+ resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==}
+ engines: {node: '>=6 <7 || >=8'}
+
fs-extra@8.1.0:
resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==}
engines: {node: '>=6 <7 || >=8'}
@@ -8731,6 +8884,9 @@ packages:
resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==}
hasBin: true
+ jju@1.4.0:
+ resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==}
+
joi@17.12.2:
resolution: {integrity: sha512-RonXAIzCiHLc8ss3Ibuz45u28GOsWE1UpfDXLbN/9NKbL4tCJf8TWYVKsoYuuh+sAUt7fsSNpA+r2+TBA6Wjmw==}
@@ -8883,6 +9039,9 @@ packages:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'}
+ kolorist@1.8.0:
+ resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==}
+
kuler@2.0.0:
resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}
@@ -9030,6 +9189,10 @@ packages:
resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==}
engines: {node: '>=14'}
+ local-pkg@0.5.1:
+ resolution: {integrity: sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==}
+ engines: {node: '>=14'}
+
locate-path@3.0.0:
resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==}
engines: {node: '>=6'}
@@ -9160,6 +9323,9 @@ packages:
magic-string@0.30.13:
resolution: {integrity: sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==}
+ magic-string@0.30.17:
+ resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
+
magic-string@0.30.7:
resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==}
engines: {node: '>=12'}
@@ -9642,6 +9808,9 @@ packages:
resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==}
engines: {node: 20 || >=22}
+ minimatch@3.0.8:
+ resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==}
+
minimatch@3.1.2:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
@@ -9722,6 +9891,9 @@ packages:
mlly@1.6.1:
resolution: {integrity: sha512-vLgaHvaeunuOXHSmEbZ9izxPx3USsk8KCQ8iC+aTlp5sKRSoZvwhHh5L9VbKSaVC6sJDqbyohIS76E2VmHIPAA==}
+ mlly@1.7.3:
+ resolution: {integrity: sha512-xUsx5n/mN0uQf4V548PKQ+YShA4/IW0KI1dZhrNrPCLG+xizETbHTkOa1f8/xut9JRPp8kQuMnz0oqwkTiLo/A==}
+
monaco-editor@0.31.1:
resolution: {integrity: sha512-FYPwxGZAeP6mRRyrr5XTGHD9gRXVjy7GUzF4IPChnyt3fS5WrNxIkS8DNujWf6EQy0Zlzpxw8oTVE+mWI2/D1Q==}
@@ -9742,6 +9914,9 @@ packages:
ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+ muggle-string@0.4.1:
+ resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==}
+
multicast-dns@7.2.5:
resolution: {integrity: sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==}
hasBin: true
@@ -10093,11 +10268,17 @@ packages:
zod:
optional: true
+ openapi-fetch@0.13.3:
+ resolution: {integrity: sha512-M1THnPkNOXUPsQKZfqunhW/wqH8l3/W3Vlj4lemQynf4mTaTwBTvL2pgjBe0zerL/GFT5ttCHu9fYvanUI3tOw==}
+
openapi-to-postmanv2@1.2.7:
resolution: {integrity: sha512-oG3PZfAAljy5ebot8DZGLFDNNmDZ/qWqI/dboWlgg5hRj6dSSrXeiyXL6VQpcGDalxVX4jSChufOq2eDsFXp4w==}
engines: {node: '>=4'}
hasBin: true
+ openapi-typescript-helpers@0.0.15:
+ resolution: {integrity: sha512-opyTPaunsklCBpTK8JGef6mfPhLSnyy5a0IN9vKtx3+4aExf+KxEqYwIy3hqkedXIB97u357uLMJsOnm3GVjsw==}
+
openapi3-ts@4.4.0:
resolution: {integrity: sha512-9asTNB9IkKEzWMcHmVZE7Ts3kC9G7AFHfs8i7caD8HbI76gEjdkId4z/AkP83xdZsH7PLAnnbl47qZkXuxpArw==}
@@ -10370,6 +10551,10 @@ packages:
resolution: {integrity: sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==}
engines: {node: '>=10'}
+ picomatch@4.0.2:
+ resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
+ engines: {node: '>=12'}
+
pify@2.3.0:
resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
engines: {node: '>=0.10.0'}
@@ -10405,6 +10590,9 @@ packages:
pkg-types@1.0.3:
resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==}
+ pkg-types@1.3.0:
+ resolution: {integrity: sha512-kS7yWjVFCkIw9hqdJBoMxDdzEngmkr5FXeWZZfQ6GoYacjVnsW6l2CcYW/0ThD0vF4LPJgVYnrg4d0uuhwYQbg==}
+
pkg-up@3.1.0:
resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==}
engines: {node: '>=8'}
@@ -11641,11 +11829,6 @@ packages:
peerDependencies:
rollup: ^2.0.0
- rollup@2.79.1:
- resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==}
- engines: {node: '>=10.0.0'}
- hasBin: true
-
rollup@2.79.2:
resolution: {integrity: sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==}
engines: {node: '>=10.0.0'}
@@ -11766,6 +11949,11 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ semver@7.5.4:
+ resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
semver@7.6.0:
resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==}
engines: {node: '>=10'}
@@ -12078,6 +12266,10 @@ packages:
resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==}
engines: {node: '>=4'}
+ string-argv@0.3.2:
+ resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==}
+ engines: {node: '>=0.6.19'}
+
string-width@4.2.3:
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
@@ -12590,6 +12782,11 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
+ typescript@5.4.2:
+ resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
ua-parser-js@1.0.37:
resolution: {integrity: sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==}
@@ -12599,6 +12796,9 @@ packages:
ufo@1.4.0:
resolution: {integrity: sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==}
+ ufo@1.5.4:
+ resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==}
+
unbox-primitive@1.0.2:
resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}
@@ -12861,6 +13061,16 @@ packages:
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
+ vite-plugin-dts@4.4.0:
+ resolution: {integrity: sha512-CJ6phvnnPLF+aFk8Jz2ZcMBLleJ4gKJOXb9We5Kzmsp5bPuD+uMDeVefjFNYSXZ+wdcqnf+Yp2P7oA5hBKQTlQ==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ peerDependencies:
+ typescript: '*'
+ vite: '*'
+ peerDependenciesMeta:
+ vite:
+ optional: true
+
vite-tsconfig-paths@4.3.1:
resolution: {integrity: sha512-cfgJwcGOsIxXOLU/nELPny2/LUD/lcf1IbfyeKTv2bsupVbTH/xpFtdQlBmIP1GEK2CjjLxYhFfB+QODFAx5aw==}
peerDependencies:
@@ -12929,6 +13139,9 @@ packages:
resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
engines: {node: '>=0.10.0'}
+ vscode-uri@3.0.8:
+ resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==}
+
w3c-xmlserializer@5.0.0:
resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==}
engines: {node: '>=18'}
@@ -16603,13 +16816,12 @@ snapshots:
'@jridgewell/sourcemap-codec@1.4.15': {}
- '@jridgewell/sourcemap-codec@1.5.0':
- dev: true
+ '@jridgewell/sourcemap-codec@1.5.0': {}
'@jridgewell/trace-mapping@0.3.23':
dependencies:
'@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.4.15
+ '@jridgewell/sourcemap-codec': 1.5.0
'@jridgewell/trace-mapping@0.3.25':
dependencies:
@@ -16882,6 +17094,45 @@ snapshots:
- utf-8-validate
dev: false
+ '@microsoft/api-extractor-model@7.30.1(@types/node@20.11.20)':
+ dependencies:
+ '@microsoft/tsdoc': 0.15.1
+ '@microsoft/tsdoc-config': 0.17.1
+ '@rushstack/node-core-library': 5.10.1(@types/node@20.11.20)
+ transitivePeerDependencies:
+ - '@types/node'
+ dev: true
+
+ '@microsoft/api-extractor@7.48.1(@types/node@20.11.20)':
+ dependencies:
+ '@microsoft/api-extractor-model': 7.30.1(@types/node@20.11.20)
+ '@microsoft/tsdoc': 0.15.1
+ '@microsoft/tsdoc-config': 0.17.1
+ '@rushstack/node-core-library': 5.10.1(@types/node@20.11.20)
+ '@rushstack/rig-package': 0.5.3
+ '@rushstack/terminal': 0.14.4(@types/node@20.11.20)
+ '@rushstack/ts-command-line': 4.23.2(@types/node@20.11.20)
+ lodash: 4.17.21
+ minimatch: 3.0.8
+ resolve: 1.22.8
+ semver: 7.5.4
+ source-map: 0.6.1
+ typescript: 5.4.2
+ transitivePeerDependencies:
+ - '@types/node'
+ dev: true
+
+ '@microsoft/tsdoc-config@0.17.1':
+ dependencies:
+ '@microsoft/tsdoc': 0.15.1
+ ajv: 8.12.0
+ jju: 1.4.0
+ resolve: 1.22.8
+ dev: true
+
+ '@microsoft/tsdoc@0.15.1':
+ dev: true
+
'@monaco-editor/loader@1.4.0(monaco-editor@0.31.1)':
dependencies:
monaco-editor: 0.31.1
@@ -17958,40 +18209,40 @@ snapshots:
'@remusao/trie@1.4.1':
dev: false
- '@rollup/plugin-babel@5.3.1(@babel/core@7.26.0)(rollup@2.79.1)':
+ '@rollup/plugin-babel@5.3.1(@babel/core@7.26.0)(rollup@2.79.2)':
dependencies:
'@babel/core': 7.26.0
'@babel/helper-module-imports': 7.25.9
- '@rollup/pluginutils': 3.1.0(rollup@2.79.1)
- rollup: 2.79.1
+ '@rollup/pluginutils': 3.1.0(rollup@2.79.2)
+ rollup: 2.79.2
transitivePeerDependencies:
- supports-color
dev: false
- '@rollup/plugin-node-resolve@11.2.1(rollup@2.79.1)':
+ '@rollup/plugin-node-resolve@11.2.1(rollup@2.79.2)':
dependencies:
- '@rollup/pluginutils': 3.1.0(rollup@2.79.1)
+ '@rollup/pluginutils': 3.1.0(rollup@2.79.2)
'@types/resolve': 1.17.1
builtin-modules: 3.3.0
deepmerge: 4.3.1
is-module: 1.0.0
resolve: 1.22.8
- rollup: 2.79.1
+ rollup: 2.79.2
dev: false
- '@rollup/plugin-replace@2.4.2(rollup@2.79.1)':
+ '@rollup/plugin-replace@2.4.2(rollup@2.79.2)':
dependencies:
- '@rollup/pluginutils': 3.1.0(rollup@2.79.1)
+ '@rollup/pluginutils': 3.1.0(rollup@2.79.2)
magic-string: 0.25.9
- rollup: 2.79.1
+ rollup: 2.79.2
dev: false
- '@rollup/pluginutils@3.1.0(rollup@2.79.1)':
+ '@rollup/pluginutils@3.1.0(rollup@2.79.2)':
dependencies:
'@types/estree': 0.0.39
estree-walker: 1.0.1
picomatch: 2.3.1
- rollup: 2.79.1
+ rollup: 2.79.2
dev: false
'@rollup/pluginutils@4.2.1':
@@ -18000,6 +18251,13 @@ snapshots:
picomatch: 2.3.1
dev: true
+ '@rollup/pluginutils@5.1.4':
+ dependencies:
+ '@types/estree': 1.0.5
+ estree-walker: 2.0.2
+ picomatch: 4.0.2
+ dev: true
+
'@rollup/rollup-android-arm-eabi@4.12.0':
dev: true
optional: true
@@ -18052,6 +18310,42 @@ snapshots:
dev: true
optional: true
+ '@rushstack/node-core-library@5.10.1(@types/node@20.11.20)':
+ dependencies:
+ '@types/node': 20.11.20
+ ajv: 8.13.0
+ ajv-draft-04: 1.0.0(ajv@8.13.0)
+ ajv-formats: 3.0.1(ajv@8.13.0)
+ fs-extra: 7.0.1
+ import-lazy: 4.0.0
+ jju: 1.4.0
+ resolve: 1.22.8
+ semver: 7.5.4
+ dev: true
+
+ '@rushstack/rig-package@0.5.3':
+ dependencies:
+ resolve: 1.22.8
+ strip-json-comments: 3.1.1
+ dev: true
+
+ '@rushstack/terminal@0.14.4(@types/node@20.11.20)':
+ dependencies:
+ '@rushstack/node-core-library': 5.10.1(@types/node@20.11.20)
+ '@types/node': 20.11.20
+ supports-color: 8.1.1
+ dev: true
+
+ '@rushstack/ts-command-line@4.23.2(@types/node@20.11.20)':
+ dependencies:
+ '@rushstack/terminal': 0.14.4(@types/node@20.11.20)
+ '@types/argparse': 1.0.38
+ argparse: 1.0.10
+ string-argv: 0.3.2
+ transitivePeerDependencies:
+ - '@types/node'
+ dev: true
+
'@sec-ant/readable-stream@0.4.1':
dev: false
@@ -18364,6 +18658,9 @@ snapshots:
dependencies:
'@types/estree': 1.0.5
+ '@types/argparse@1.0.38':
+ dev: true
+
'@types/babel__core@7.20.5':
dependencies:
'@babel/parser': 7.26.2
@@ -18997,7 +19294,7 @@ snapshots:
'@vitest/snapshot@1.3.1':
dependencies:
- magic-string: 0.30.7
+ magic-string: 0.30.13
pathe: 1.1.2
pretty-format: 29.7.0
dev: true
@@ -19015,6 +19312,58 @@ snapshots:
pretty-format: 29.7.0
dev: true
+ '@volar/language-core@2.4.11':
+ dependencies:
+ '@volar/source-map': 2.4.11
+ dev: true
+
+ '@volar/source-map@2.4.11':
+ dev: true
+
+ '@volar/typescript@2.4.11':
+ dependencies:
+ '@volar/language-core': 2.4.11
+ path-browserify: 1.0.1
+ vscode-uri: 3.0.8
+ dev: true
+
+ '@vue/compiler-core@3.5.13':
+ dependencies:
+ '@babel/parser': 7.26.2
+ '@vue/shared': 3.5.13
+ entities: 4.5.0
+ estree-walker: 2.0.2
+ source-map-js: 1.2.1
+ dev: true
+
+ '@vue/compiler-dom@3.5.13':
+ dependencies:
+ '@vue/compiler-core': 3.5.13
+ '@vue/shared': 3.5.13
+ dev: true
+
+ '@vue/compiler-vue2@2.7.16':
+ dependencies:
+ de-indent: 1.0.2
+ he: 1.2.0
+ dev: true
+
+ '@vue/language-core@2.1.10(typescript@5.3.3)':
+ dependencies:
+ '@volar/language-core': 2.4.11
+ '@vue/compiler-dom': 3.5.13
+ '@vue/compiler-vue2': 2.7.16
+ '@vue/shared': 3.5.13
+ alien-signals: 0.2.2
+ minimatch: 9.0.4
+ muggle-string: 0.4.1
+ path-browserify: 1.0.1
+ typescript: 5.3.3
+ dev: true
+
+ '@vue/shared@3.5.13':
+ dev: true
+
'@web3-storage/multipart-parser@1.0.0':
dev: false
@@ -19141,6 +19490,9 @@ snapshots:
acorn@8.11.3: {}
+ acorn@8.14.0:
+ dev: true
+
address@1.2.2:
dev: false
@@ -19170,11 +19522,21 @@ snapshots:
indent-string: 4.0.0
dev: false
+ ajv-draft-04@1.0.0(ajv@8.13.0):
+ dependencies:
+ ajv: 8.13.0
+ dev: true
+
ajv-formats@2.1.1(ajv@8.17.1):
dependencies:
ajv: 8.17.1
dev: false
+ ajv-formats@3.0.1(ajv@8.13.0):
+ dependencies:
+ ajv: 8.13.0
+ dev: true
+
ajv-keywords@3.5.2(ajv@6.12.6):
dependencies:
ajv: 6.12.6
@@ -19216,6 +19578,14 @@ snapshots:
uri-js: 4.4.1
dev: true
+ ajv@8.13.0:
+ dependencies:
+ fast-deep-equal: 3.1.3
+ json-schema-traverse: 1.0.0
+ require-from-string: 2.0.2
+ uri-js: 4.4.1
+ dev: true
+
ajv@8.17.1:
dependencies:
fast-deep-equal: 3.1.3
@@ -19248,6 +19618,9 @@ snapshots:
'@algolia/transporter': 4.22.1
dev: false
+ alien-signals@0.2.2:
+ dev: true
+
anser@1.4.10:
dev: false
@@ -19310,7 +19683,6 @@ snapshots:
argparse@1.0.10:
dependencies:
sprintf-js: 1.0.3
- dev: false
argparse@2.0.1: {}
@@ -20387,6 +20759,9 @@ snapshots:
commondir@1.0.1:
dev: false
+ compare-versions@6.1.1:
+ dev: true
+
component-emitter@1.3.1:
dev: false
@@ -20416,6 +20791,9 @@ snapshots:
condense-whitespace@2.0.0:
dev: false
+ confbox@0.1.8:
+ dev: true
+
config-chain@1.1.13:
dependencies:
ini: 1.3.8
@@ -20786,6 +21164,9 @@ snapshots:
dayjs@1.11.10:
dev: false
+ de-indent@1.0.2:
+ dev: true
+
debounce@1.2.1:
dev: false
@@ -20806,6 +21187,11 @@ snapshots:
dependencies:
ms: 2.1.3
+ debug@4.4.0:
+ dependencies:
+ ms: 2.1.3
+ dev: true
+
decamelize@1.2.0:
dev: false
@@ -22618,6 +23004,13 @@ snapshots:
universalify: 2.0.1
dev: false
+ fs-extra@7.0.1:
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 4.0.0
+ universalify: 0.1.2
+ dev: true
+
fs-extra@8.1.0:
dependencies:
graceful-fs: 4.2.11
@@ -23105,8 +23498,7 @@ snapshots:
space-separated-tokens: 2.0.2
dev: false
- he@1.2.0:
- dev: false
+ he@1.2.0: {}
hermes-estree@0.23.1:
dev: false
@@ -23436,8 +23828,7 @@ snapshots:
parent-module: 1.0.1
resolve-from: 4.0.0
- import-lazy@4.0.0:
- dev: false
+ import-lazy@4.0.0: {}
imurmurhash@0.1.4: {}
@@ -23937,6 +24328,9 @@ snapshots:
jiti@1.21.0: {}
+ jju@1.4.0:
+ dev: true
+
joi@17.12.2:
dependencies:
'@hapi/hoek': 9.3.0
@@ -24124,7 +24518,6 @@ snapshots:
jsonfile@4.0.0:
optionalDependencies:
graceful-fs: 4.2.11
- dev: false
jsonfile@6.1.0:
dependencies:
@@ -24161,6 +24554,9 @@ snapshots:
kleur@3.0.3:
dev: false
+ kolorist@1.8.0:
+ dev: true
+
kuler@2.0.0:
dev: false
@@ -24337,6 +24733,12 @@ snapshots:
pkg-types: 1.0.3
dev: true
+ local-pkg@0.5.1:
+ dependencies:
+ mlly: 1.7.3
+ pkg-types: 1.3.0
+ dev: true
+
locate-path@3.0.0:
dependencies:
p-locate: 3.0.0
@@ -24396,8 +24798,7 @@ snapshots:
lodash@4.17.20:
dev: false
- lodash@4.17.21:
- dev: false
+ lodash@4.17.21: {}
log-symbols@2.2.0:
dependencies:
@@ -24454,7 +24855,6 @@ snapshots:
lru-cache@6.0.0:
dependencies:
yallist: 4.0.0
- dev: false
lru-cache@7.18.3:
dev: false
@@ -24481,6 +24881,11 @@ snapshots:
'@jridgewell/sourcemap-codec': 1.5.0
dev: true
+ magic-string@0.30.17:
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.0
+ dev: true
+
magic-string@0.30.7:
dependencies:
'@jridgewell/sourcemap-codec': 1.4.15
@@ -25514,6 +25919,11 @@ snapshots:
brace-expansion: 2.0.1
dev: false
+ minimatch@3.0.8:
+ dependencies:
+ brace-expansion: 1.1.11
+ dev: true
+
minimatch@3.1.2:
dependencies:
brace-expansion: 1.1.11
@@ -25610,6 +26020,14 @@ snapshots:
ufo: 1.4.0
dev: true
+ mlly@1.7.3:
+ dependencies:
+ acorn: 8.14.0
+ pathe: 1.1.2
+ pkg-types: 1.3.0
+ ufo: 1.5.4
+ dev: true
+
monaco-editor@0.31.1:
dev: false
@@ -25626,6 +26044,9 @@ snapshots:
ms@2.1.3: {}
+ muggle-string@0.4.1:
+ dev: true
+
multicast-dns@7.2.5:
dependencies:
dns-packet: 5.6.1
@@ -26093,6 +26514,11 @@ snapshots:
- encoding
dev: false
+ openapi-fetch@0.13.3:
+ dependencies:
+ openapi-typescript-helpers: 0.0.15
+ dev: false
+
openapi-to-postmanv2@1.2.7:
dependencies:
ajv: 6.12.3
@@ -26106,6 +26532,9 @@ snapshots:
yaml: 1.8.3
dev: false
+ openapi-typescript-helpers@0.0.15:
+ dev: false
+
openapi3-ts@4.4.0:
dependencies:
yaml: 2.6.0
@@ -26331,8 +26760,7 @@ snapshots:
cross-spawn: 7.0.3
dev: false
- path-browserify@1.0.1:
- dev: false
+ path-browserify@1.0.1: {}
path-exists@3.0.0:
dev: false
@@ -26443,6 +26871,9 @@ snapshots:
picomatch@3.0.1:
dev: false
+ picomatch@4.0.2:
+ dev: true
+
pify@2.3.0: {}
pify@4.0.1:
@@ -26480,6 +26911,13 @@ snapshots:
pathe: 1.1.2
dev: true
+ pkg-types@1.3.0:
+ dependencies:
+ confbox: 0.1.8
+ mlly: 1.7.3
+ pathe: 1.1.2
+ dev: true
+
pkg-up@3.1.0:
dependencies:
find-up: 3.0.0
@@ -26802,7 +27240,6 @@ snapshots:
nanoid: 3.3.7
picocolors: 1.1.1
source-map-js: 1.2.1
- dev: false
postman-code-generators@1.14.0:
dependencies:
@@ -28139,24 +28576,18 @@ snapshots:
dependencies:
glob: 7.2.3
- rollup-plugin-terser@7.0.2(rollup@2.79.1):
+ rollup-plugin-terser@7.0.2(rollup@2.79.2):
dependencies:
'@babel/code-frame': 7.26.2
jest-worker: 26.6.2
- rollup: 2.79.1
+ rollup: 2.79.2
serialize-javascript: 4.0.0
terser: 5.28.1
dev: false
- rollup@2.79.1:
- optionalDependencies:
- fsevents: 2.3.3
- dev: false
-
rollup@2.79.2:
optionalDependencies:
fsevents: 2.3.3
- dev: true
rollup@4.12.0:
dependencies:
@@ -28327,6 +28758,11 @@ snapshots:
semver@7.3.2:
dev: false
+ semver@7.5.4:
+ dependencies:
+ lru-cache: 6.0.0
+ dev: true
+
semver@7.6.0:
dependencies:
lru-cache: 6.0.0
@@ -28643,8 +29079,7 @@ snapshots:
source-map-js@1.0.2: {}
- source-map-js@1.2.1:
- dev: false
+ source-map-js@1.2.1: {}
source-map-support@0.5.21:
dependencies:
@@ -28702,8 +29137,7 @@ snapshots:
through: 2.3.8
dev: false
- sprintf-js@1.0.3:
- dev: false
+ sprintf-js@1.0.3: {}
sprintf-js@1.1.3:
dev: false
@@ -28772,6 +29206,9 @@ snapshots:
strict-uri-encode@2.0.0:
dev: false
+ string-argv@0.3.2:
+ dev: true
+
string-width@4.2.3:
dependencies:
emoji-regex: 8.0.0
@@ -29417,6 +29854,9 @@ snapshots:
typescript@5.3.3: {}
+ typescript@5.4.2:
+ dev: true
+
ua-parser-js@1.0.37:
dev: false
@@ -29426,6 +29866,9 @@ snapshots:
ufo@1.4.0:
dev: true
+ ufo@1.5.4:
+ dev: true
+
unbox-primitive@1.0.2:
dependencies:
call-bind: 1.0.7
@@ -29523,8 +29966,7 @@ snapshots:
unist-util-is: 6.0.0
unist-util-visit-parents: 6.0.1
- universalify@0.1.2:
- dev: false
+ universalify@0.1.2: {}
universalify@0.2.0:
dev: false
@@ -29738,6 +30180,25 @@ snapshots:
- terser
dev: true
+ vite-plugin-dts@4.4.0(@types/node@20.11.20)(typescript@5.3.3)(vite@5.1.4(@types/node@20.11.20)):
+ dependencies:
+ '@microsoft/api-extractor': 7.48.1(@types/node@20.11.20)
+ '@rollup/pluginutils': 5.1.4
+ '@volar/typescript': 2.4.11
+ '@vue/language-core': 2.1.10(typescript@5.3.3)
+ compare-versions: 6.1.1
+ debug: 4.4.0
+ kolorist: 1.8.0
+ local-pkg: 0.5.1
+ magic-string: 0.30.17
+ typescript: 5.3.3
+ vite: 5.1.4(@types/node@20.11.20)
+ transitivePeerDependencies:
+ - '@types/node'
+ - rollup
+ - supports-color
+ dev: true
+
vite-tsconfig-paths@4.3.1(typescript@5.3.3):
dependencies:
debug: 4.3.4
@@ -29752,7 +30213,7 @@ snapshots:
dependencies:
'@types/node': 20.11.20
esbuild: 0.19.12
- postcss: 8.4.35
+ postcss: 8.4.47
rollup: 4.12.0
optionalDependencies:
fsevents: 2.3.3
@@ -29797,6 +30258,9 @@ snapshots:
void-elements@3.1.0:
dev: false
+ vscode-uri@3.0.8:
+ dev: true
+
w3c-xmlserializer@5.0.0:
dependencies:
xml-name-validator: 5.0.0
@@ -30147,9 +30611,9 @@ snapshots:
'@babel/core': 7.26.0
'@babel/preset-env': 7.24.0(@babel/core@7.26.0)
'@babel/runtime': 7.26.0
- '@rollup/plugin-babel': 5.3.1(@babel/core@7.26.0)(rollup@2.79.1)
- '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1)
- '@rollup/plugin-replace': 2.4.2(rollup@2.79.1)
+ '@rollup/plugin-babel': 5.3.1(@babel/core@7.26.0)(rollup@2.79.2)
+ '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.2)
+ '@rollup/plugin-replace': 2.4.2(rollup@2.79.2)
'@surma/rollup-plugin-off-main-thread': 2.2.3
ajv: 8.17.1
common-tags: 1.8.2
@@ -30158,8 +30622,8 @@ snapshots:
glob: 7.2.3
lodash: 4.17.21
pretty-bytes: 5.6.0
- rollup: 2.79.1
- rollup-plugin-terser: 7.0.2(rollup@2.79.1)
+ rollup: 2.79.2
+ rollup-plugin-terser: 7.0.2(rollup@2.79.2)
source-map: 0.8.0-beta.0
stringify-object: 3.3.0
strip-comments: 2.0.1
@@ -30383,8 +30847,7 @@ snapshots:
yallist@3.1.1: {}
- yallist@4.0.0:
- dev: false
+ yallist@4.0.0: {}
yaml@1.10.2:
dev: false