From d50d9d9f0443736f2adbe7a4a7fe1977270b809c Mon Sep 17 00:00:00 2001 From: babayaga Date: Tue, 11 Mar 2025 11:27:54 +0100 Subject: [PATCH] latest --- packages/ai-tools/package-lock.json | 41 +- packages/commons/dist/component.d.ts | 1688 ++++++++++++------------ packages/kbot/package-lock.json | 16 +- packages/media/ref/dist/types.d.ts | 427 +++++- packages/media/ref/dist/types.d.ts.map | 2 +- packages/media/ref/package-lock.json | 826 +++++++++++- packages/media/ref/package.json | 1 + packages/media/ref/src/cli.ts | 14 +- packages/media/ref/src/types.ts | 88 ++ 9 files changed, 2180 insertions(+), 923 deletions(-) diff --git a/packages/ai-tools/package-lock.json b/packages/ai-tools/package-lock.json index 10ae0a95..47379ebc 100644 --- a/packages/ai-tools/package-lock.json +++ b/packages/ai-tools/package-lock.json @@ -80,7 +80,7 @@ }, "../../node_modules/.pnpm/@vercel+style-guide@5.2.0_eslint@8.57.1_prettier@3.2.5_typescript@5.7.3/node_modules/@vercel/style-guide": { "version": "5.2.0", - "dev": true, + "extraneous": true, "license": "MPL-2.0", "dependencies": { "@babel/core": "^7.22.11", @@ -140,7 +140,7 @@ }, "../../node_modules/.pnpm/eslint-config-turbo@2.0.0_eslint@8.57.1/node_modules/eslint-config-turbo": { "version": "2.0.0", - "dev": true, + "extraneous": true, "license": "MIT", "dependencies": { "eslint-plugin-turbo": "2.0.0" @@ -233,7 +233,7 @@ }, "../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@8.57.1/node_modules/eslint-plugin-mdx": { "version": "3.1.5", - "dev": true, + "extraneous": true, "license": "MIT", "dependencies": { "eslint-mdx": "^3.1.5", @@ -258,7 +258,7 @@ }, "../../node_modules/.pnpm/eslint-plugin-only-warn@1.1.0/node_modules/eslint-plugin-only-warn": { "version": "1.1.0", - "dev": true, + "extraneous": true, "license": "MIT", "devDependencies": { "eslint": "^7.31.0", @@ -349,7 +349,7 @@ }, "../../node_modules/.pnpm/eslint-plugin-storybook@0.8.0_eslint@8.57.1_typescript@5.7.3/node_modules/eslint-plugin-storybook": { "version": "0.8.0", - "dev": true, + "extraneous": true, "license": "MIT", "dependencies": { "@storybook/csf": "^0.0.1", @@ -2094,7 +2094,7 @@ "../eslint-config": { "name": "@repo/eslint-config", "version": "0.0.0", - "dev": true, + "extraneous": true, "devDependencies": { "@vercel/style-guide": "^5.2.0", "eslint-config-turbo": "^2.0.0", @@ -2103,26 +2103,6 @@ "eslint-plugin-storybook": "^0.8.0" } }, - "../eslint-config/node_modules/@vercel/style-guide": { - "resolved": "../../node_modules/.pnpm/@vercel+style-guide@5.2.0_eslint@8.57.1_prettier@3.2.5_typescript@5.7.3/node_modules/@vercel/style-guide", - "link": true - }, - "../eslint-config/node_modules/eslint-config-turbo": { - "resolved": "../../node_modules/.pnpm/eslint-config-turbo@2.0.0_eslint@8.57.1/node_modules/eslint-config-turbo", - "link": true - }, - "../eslint-config/node_modules/eslint-plugin-mdx": { - "resolved": "../../node_modules/.pnpm/eslint-plugin-mdx@3.1.5_eslint@8.57.1/node_modules/eslint-plugin-mdx", - "link": true - }, - "../eslint-config/node_modules/eslint-plugin-only-warn": { - "resolved": "../../node_modules/.pnpm/eslint-plugin-only-warn@1.1.0/node_modules/eslint-plugin-only-warn", - "link": true - }, - "../eslint-config/node_modules/eslint-plugin-storybook": { - "resolved": "../../node_modules/.pnpm/eslint-plugin-storybook@0.8.0_eslint@8.57.1_typescript@5.7.3/node_modules/eslint-plugin-storybook", - "link": true - }, "../fs": { "name": "@polymech/fs", "version": "0.13.41", @@ -3081,15 +3061,14 @@ "version": "0.2.6", "license": "BSD", "dependencies": { - "@polymech/core": "link:..\\core", + "@polymech/core": "file:../core", + "@repo/typescript-config": "file:../typescript-config", "tslog": "^3.3.3", "tsup": "^8.3.5", "zod": "^3.24.1" }, "devDependencies": { "@eslint/js": "^9.18.0", - "@repo/eslint-config": "workspace:*", - "@repo/typescript-config": "workspace:*", "@types/node": "^22.10.9", "eslint": "^8.57.1", "eslint-plugin-import": "^2.31.0", @@ -3107,10 +3086,6 @@ "resolved": "../core", "link": true }, - "../log/node_modules/@repo/eslint-config": { - "resolved": "../eslint-config", - "link": true - }, "../log/node_modules/@repo/typescript-config": { "resolved": "../typescript-config", "link": true diff --git a/packages/commons/dist/component.d.ts b/packages/commons/dist/component.d.ts index ae5c4442..b7f77e89 100644 --- a/packages/commons/dist/component.d.ts +++ b/packages/commons/dist/component.d.ts @@ -33,10 +33,10 @@ export declare const ImageMetaSchema: z.ZodObject<{ orientation: z.ZodNumber; exif: z.ZodAny; }, "strip", z.ZodTypeAny, { + height?: number; + width?: number; exif?: any; format?: string; - width?: number; - height?: number; space?: string; channels?: number; depth?: string; @@ -48,10 +48,10 @@ export declare const ImageMetaSchema: z.ZodObject<{ hasAlpha?: boolean; orientation?: number; }, { + height?: number; + width?: number; exif?: any; format?: string; - width?: number; - height?: number; space?: string; channels?: number; depth?: string; @@ -71,15 +71,15 @@ export declare const CADMetaSchema: z.ZodObject<{ model: z.ZodOptional; html: z.ZodOptional; }, "strip", z.ZodTypeAny, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; html?: string; }, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; @@ -148,14 +148,6 @@ export declare const AssetImageSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -165,16 +157,16 @@ export declare const AssetImageSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -184,7 +176,15 @@ export declare const AssetImageSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>; export declare const GalleryConfig: z.ZodObject<{ glob: z.ZodArray; @@ -279,14 +279,6 @@ export declare const AssetsSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -296,16 +288,16 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -315,7 +307,15 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; renderings: z.ZodOptional; @@ -347,14 +347,6 @@ export declare const AssetsSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -364,16 +356,16 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -383,7 +375,15 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; components: z.ZodOptional; @@ -415,14 +415,6 @@ export declare const AssetsSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -432,16 +424,16 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -451,7 +443,15 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; configurations: z.ZodOptional; @@ -483,14 +483,6 @@ export declare const AssetsSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -500,16 +492,16 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -519,7 +511,15 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; showcase: z.ZodOptional; @@ -551,14 +551,6 @@ export declare const AssetsSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -568,16 +560,16 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -587,7 +579,15 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; samples: z.ZodOptional; @@ -619,14 +619,6 @@ export declare const AssetsSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -636,16 +628,16 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -655,18 +647,18 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; }, "strip", z.ZodTypeAny, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -676,17 +668,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -696,17 +688,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -716,17 +708,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -736,17 +728,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -756,17 +748,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -776,18 +768,18 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -797,17 +789,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -817,17 +809,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -837,17 +829,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -857,17 +849,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -877,17 +869,17 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -897,7 +889,15 @@ export declare const AssetsSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }>; export declare const ProductionSchema: z.ZodObject<{ @@ -1012,14 +1012,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1029,16 +1021,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1048,7 +1040,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>>; name: z.ZodString; flags: z.ZodOptional; @@ -1061,15 +1061,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ model: z.ZodOptional; html: z.ZodOptional; }, "strip", z.ZodTypeAny, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; html?: string; }, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; @@ -1142,14 +1142,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1159,16 +1151,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1178,7 +1170,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; renderings: z.ZodOptional; @@ -1210,14 +1210,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1227,16 +1219,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1246,7 +1238,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; components: z.ZodOptional; @@ -1278,14 +1278,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1295,16 +1287,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1314,7 +1306,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; configurations: z.ZodOptional; @@ -1346,14 +1346,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1363,16 +1355,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1382,7 +1374,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; showcase: z.ZodOptional; @@ -1414,14 +1414,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1431,16 +1423,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1450,7 +1442,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; samples: z.ZodOptional; @@ -1482,14 +1482,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1499,16 +1491,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1518,18 +1510,18 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; }, "strip", z.ZodTypeAny, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1539,17 +1531,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1559,17 +1551,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1579,17 +1571,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1599,17 +1591,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1619,17 +1611,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1639,18 +1631,18 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1660,17 +1652,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1680,17 +1672,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1700,17 +1692,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1720,17 +1712,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1740,17 +1732,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1760,7 +1752,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }>>; resources: z.ZodDefault>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1936,16 +1928,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -1955,7 +1947,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>>; name: z.ZodString; flags: z.ZodOptional; @@ -1968,15 +1968,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ model: z.ZodOptional; html: z.ZodOptional; }, "strip", z.ZodTypeAny, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; html?: string; }, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; @@ -2049,14 +2049,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2066,16 +2058,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2085,7 +2077,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; renderings: z.ZodOptional; @@ -2117,14 +2117,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2134,16 +2126,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2153,7 +2145,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; components: z.ZodOptional; @@ -2185,14 +2185,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2202,16 +2194,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2221,7 +2213,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; configurations: z.ZodOptional; @@ -2253,14 +2253,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2270,16 +2262,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2289,7 +2281,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; showcase: z.ZodOptional; @@ -2321,14 +2321,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2338,16 +2330,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2357,7 +2349,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; samples: z.ZodOptional; @@ -2389,14 +2389,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2406,16 +2398,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2425,18 +2417,18 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; }, "strip", z.ZodTypeAny, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2446,17 +2438,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2466,17 +2458,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2486,17 +2478,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2506,17 +2498,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2526,17 +2518,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2546,18 +2538,18 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2567,17 +2559,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2587,17 +2579,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2607,17 +2599,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2627,17 +2619,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2647,17 +2639,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2667,7 +2659,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }>>; resources: z.ZodDefault>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2843,16 +2835,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2862,7 +2854,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>>; name: z.ZodString; flags: z.ZodOptional; @@ -2875,15 +2875,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ model: z.ZodOptional; html: z.ZodOptional; }, "strip", z.ZodTypeAny, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; html?: string; }, { - file?: string; name?: string; + file?: string; configuration?: string; step?: string; model?: string; @@ -2956,14 +2956,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2973,16 +2965,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -2992,7 +2984,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; renderings: z.ZodOptional; @@ -3024,14 +3024,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3041,16 +3033,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3060,7 +3052,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; components: z.ZodOptional; @@ -3092,14 +3092,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3109,16 +3101,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3128,7 +3120,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; configurations: z.ZodOptional; @@ -3160,14 +3160,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3177,16 +3169,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3196,7 +3188,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; showcase: z.ZodOptional; @@ -3228,14 +3228,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3245,16 +3237,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3264,7 +3256,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; samples: z.ZodOptional; @@ -3296,14 +3296,6 @@ export declare const ComponentConfigSchema: z.ZodObject<{ gps?: any; }>>; }, "strip", z.ZodTypeAny, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3313,16 +3305,16 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }, { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3332,18 +3324,18 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }>, "many">>; }, "strip", z.ZodTypeAny, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3353,17 +3345,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3373,17 +3365,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3393,17 +3385,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3413,17 +3405,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3433,17 +3425,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3453,18 +3445,18 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }, { gallery?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3474,17 +3466,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; renderings?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3494,17 +3486,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; components?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3514,17 +3506,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; configurations?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3534,17 +3526,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; showcase?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3554,17 +3546,17 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; samples?: { - exif?: { - file?: any; - jfif?: any; - exif?: any; - gps?: any; - }; - width?: number; - height?: number; name?: string; url?: string; thumb?: string; @@ -3574,7 +3566,15 @@ export declare const ComponentConfigSchema: z.ZodObject<{ description?: string; alt?: string; title?: string; + height?: number; + width?: number; order?: number; + exif?: { + file?: any; + jfif?: any; + exif?: any; + gps?: any; + }; }[]; }>>; resources: z.ZodDefault; extraArgs: z.ZodOptional>; }, "strip", z.ZodTypeAny, { - format?: string | undefined; - output?: string | undefined; - quiet?: boolean | undefined; - verbose?: boolean | undefined; - audioFormat?: "mp3" | "best" | "aac" | "flac" | "m4a" | "opus" | "vorbis" | "wav" | undefined; executablePath?: string | undefined; + output?: string | undefined; + format?: string | undefined; formatSort?: string | undefined; mergeOutputFormat?: "mp4" | "flv" | "webm" | "mkv" | "avi" | undefined; limit?: number | undefined; @@ -60,9 +57,12 @@ export declare const YtDlpOptionsSchema: z.ZodObject<{ playlistEnd?: number | undefined; playlistItems?: string | undefined; extractAudio?: boolean | undefined; + audioFormat?: "best" | "aac" | "flac" | "mp3" | "m4a" | "opus" | "vorbis" | "wav" | undefined; audioQuality?: string | undefined; remuxVideo?: "mp4" | "flv" | "webm" | "mkv" | "avi" | "mov" | undefined; recodeVideo?: "mp4" | "flv" | "webm" | "mkv" | "avi" | undefined; + quiet?: boolean | undefined; + verbose?: boolean | undefined; noWarnings?: boolean | undefined; simulate?: boolean | undefined; noCheckCertificates?: boolean | undefined; @@ -70,12 +70,9 @@ export declare const YtDlpOptionsSchema: z.ZodObject<{ userAgent?: string | undefined; extraArgs?: string[] | undefined; }, { - format?: string | undefined; - output?: string | undefined; - quiet?: boolean | undefined; - verbose?: boolean | undefined; - audioFormat?: "mp3" | "best" | "aac" | "flac" | "m4a" | "opus" | "vorbis" | "wav" | undefined; executablePath?: string | undefined; + output?: string | undefined; + format?: string | undefined; formatSort?: string | undefined; mergeOutputFormat?: "mp4" | "flv" | "webm" | "mkv" | "avi" | undefined; limit?: number | undefined; @@ -95,9 +92,12 @@ export declare const YtDlpOptionsSchema: z.ZodObject<{ playlistEnd?: number | undefined; playlistItems?: string | undefined; extractAudio?: boolean | undefined; + audioFormat?: "best" | "aac" | "flac" | "mp3" | "m4a" | "opus" | "vorbis" | "wav" | undefined; audioQuality?: string | undefined; remuxVideo?: "mp4" | "flv" | "webm" | "mkv" | "avi" | "mov" | undefined; recodeVideo?: "mp4" | "flv" | "webm" | "mkv" | "avi" | undefined; + quiet?: boolean | undefined; + verbose?: boolean | undefined; noWarnings?: boolean | undefined; simulate?: boolean | undefined; noCheckCertificates?: boolean | undefined; @@ -192,12 +192,12 @@ export declare const VideoInfoSchema: z.ZodObject<{ tbr?: number | undefined; }[]; webpage_url: string; - description?: string | undefined; thumbnails?: { url: string; height?: number | undefined; width?: number | undefined; }[] | undefined; + description?: string | undefined; upload_date?: string | undefined; uploader?: string | undefined; uploader_id?: string | undefined; @@ -232,12 +232,12 @@ export declare const VideoInfoSchema: z.ZodObject<{ tbr?: number | undefined; }[]; webpage_url: string; - description?: string | undefined; thumbnails?: { url: string; height?: number | undefined; width?: number | undefined; }[] | undefined; + description?: string | undefined; upload_date?: string | undefined; uploader?: string | undefined; uploader_id?: string | undefined; @@ -345,12 +345,12 @@ export declare const DownloadResultSchema: z.ZodObject<{ tbr?: number | undefined; }[]; webpage_url: string; - description?: string | undefined; thumbnails?: { url: string; height?: number | undefined; width?: number | undefined; }[] | undefined; + description?: string | undefined; upload_date?: string | undefined; uploader?: string | undefined; uploader_id?: string | undefined; @@ -385,12 +385,12 @@ export declare const DownloadResultSchema: z.ZodObject<{ tbr?: number | undefined; }[]; webpage_url: string; - description?: string | undefined; thumbnails?: { url: string; height?: number | undefined; width?: number | undefined; }[] | undefined; + description?: string | undefined; upload_date?: string | undefined; uploader?: string | undefined; uploader_id?: string | undefined; @@ -433,12 +433,12 @@ export declare const DownloadResultSchema: z.ZodObject<{ tbr?: number | undefined; }[]; webpage_url: string; - description?: string | undefined; thumbnails?: { url: string; height?: number | undefined; width?: number | undefined; }[] | undefined; + description?: string | undefined; upload_date?: string | undefined; uploader?: string | undefined; uploader_id?: string | undefined; @@ -460,10 +460,10 @@ export declare const DownloadResultSchema: z.ZodObject<{ }; filePath: string; success: boolean; - error?: string | undefined; downloadedBytes?: number | undefined; elapsedTime?: number | undefined; averageSpeed?: number | undefined; + error?: string | undefined; }, { videoInfo: { id: string; @@ -481,12 +481,12 @@ export declare const DownloadResultSchema: z.ZodObject<{ tbr?: number | undefined; }[]; webpage_url: string; - description?: string | undefined; thumbnails?: { url: string; height?: number | undefined; width?: number | undefined; }[] | undefined; + description?: string | undefined; upload_date?: string | undefined; uploader?: string | undefined; uploader_id?: string | undefined; @@ -508,10 +508,10 @@ export declare const DownloadResultSchema: z.ZodObject<{ }; filePath: string; success: boolean; - error?: string | undefined; downloadedBytes?: number | undefined; elapsedTime?: number | undefined; averageSpeed?: number | undefined; + error?: string | undefined; }>; export type DownloadResult = z.infer; export declare const CommandResultSchema: z.ZodObject<{ @@ -521,15 +521,15 @@ export declare const CommandResultSchema: z.ZodObject<{ success: z.ZodBoolean; exitCode: z.ZodNumber; }, "strip", z.ZodTypeAny, { - stdout: string; success: boolean; command: string; + stdout: string; stderr: string; exitCode: number; }, { - stdout: string; success: boolean; command: string; + stdout: string; stderr: string; exitCode: number; }>; @@ -576,13 +576,13 @@ export declare const YtDlpErrorSchema: z.ZodObject<{ details: z.ZodOptional>; command: z.ZodOptional; }, "strip", z.ZodTypeAny, { - type: YtDlpErrorType; message: string; + type: YtDlpErrorType; command?: string | undefined; details?: Record | undefined; }, { - type: YtDlpErrorType; message: string; + type: YtDlpErrorType; command?: string | undefined; details?: Record | undefined; }>; @@ -599,20 +599,20 @@ export declare const DownloadOptionsSchema: z.ZodObject<{ additionalArgs: z.ZodOptional>; }, "strip", z.ZodTypeAny, { format?: string | undefined; + audioFormat?: string | undefined; outputDir?: string | undefined; outputTemplate?: string | undefined; audioOnly?: boolean | undefined; - audioFormat?: string | undefined; subtitles?: boolean | string[] | undefined; maxFileSize?: number | undefined; rateLimit?: string | undefined; additionalArgs?: string[] | undefined; }, { format?: string | undefined; + audioFormat?: string | undefined; outputDir?: string | undefined; outputTemplate?: string | undefined; audioOnly?: boolean | undefined; - audioFormat?: string | undefined; subtitles?: boolean | string[] | undefined; maxFileSize?: number | undefined; rateLimit?: string | undefined; @@ -663,11 +663,11 @@ export declare const VideoFormatSchema: z.ZodObject<{ protocol: string; vcodec: string; acodec: string; - url?: string | undefined; resolution?: string | undefined; fps?: number | undefined; filesize?: number | undefined; tbr?: number | undefined; + url?: string | undefined; height?: number | undefined; width?: number | undefined; format_note?: string | undefined; @@ -681,11 +681,11 @@ export declare const VideoFormatSchema: z.ZodObject<{ protocol: string; vcodec: string; acodec: string; - url?: string | undefined; resolution?: string | undefined; fps?: number | undefined; filesize?: number | undefined; tbr?: number | undefined; + url?: string | undefined; height?: number | undefined; width?: number | undefined; format_note?: string | undefined; @@ -694,4 +694,379 @@ export declare const VideoFormatSchema: z.ZodObject<{ preference?: number | undefined; }>; export type VideoFormat = z.infer; +export declare const TikTokMetadataOptionsSchema: z.ZodObject<{ + url: z.ZodString; + outputPath: z.ZodString; + format: z.ZodDefault>>; + includeComments: z.ZodDefault>; + timeout: z.ZodDefault>; + userAgent: z.ZodOptional; + proxy: z.ZodOptional; +}, "strip", z.ZodTypeAny, { + format: "json" | "pretty"; + url: string; + outputPath: string; + includeComments: boolean; + timeout: number; + userAgent?: string | undefined; + proxy?: string | undefined; +}, { + url: string; + outputPath: string; + format?: "json" | "pretty" | undefined; + userAgent?: string | undefined; + includeComments?: boolean | undefined; + timeout?: number | undefined; + proxy?: string | undefined; +}>; +export type TikTokMetadataOptions = z.infer; +export declare const TikTokMetadataSchema: z.ZodObject<{ + id: z.ZodString; + url: z.ZodString; + timestamp: z.ZodNumber; + scrapedAt: z.ZodString; + author: z.ZodObject<{ + id: z.ZodString; + uniqueId: z.ZodString; + nickname: z.ZodString; + avatarUrl: z.ZodOptional; + verified: z.ZodOptional; + secUid: z.ZodOptional; + following: z.ZodOptional; + followers: z.ZodOptional; + likes: z.ZodOptional; + profileUrl: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + id: string; + uniqueId: string; + nickname: string; + avatarUrl?: string | undefined; + verified?: boolean | undefined; + secUid?: string | undefined; + following?: number | undefined; + followers?: number | undefined; + likes?: number | undefined; + profileUrl?: string | undefined; + }, { + id: string; + uniqueId: string; + nickname: string; + avatarUrl?: string | undefined; + verified?: boolean | undefined; + secUid?: string | undefined; + following?: number | undefined; + followers?: number | undefined; + likes?: number | undefined; + profileUrl?: string | undefined; + }>; + video: z.ZodObject<{ + id: z.ZodString; + description: z.ZodString; + createTime: z.ZodNumber; + width: z.ZodNumber; + height: z.ZodNumber; + duration: z.ZodNumber; + ratio: z.ZodOptional; + coverUrl: z.ZodOptional; + playUrl: z.ZodOptional; + downloadUrl: z.ZodOptional; + shareCount: z.ZodOptional; + commentCount: z.ZodOptional; + likeCount: z.ZodOptional; + viewCount: z.ZodOptional; + hashTags: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + id: string; + name: string; + title?: string | undefined; + }, { + id: string; + name: string; + title?: string | undefined; + }>, "many">>; + mentions: z.ZodOptional>; + musicInfo: z.ZodOptional; + title: z.ZodOptional; + authorName: z.ZodOptional; + coverUrl: z.ZodOptional; + playUrl: z.ZodOptional; + duration: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + id?: string | undefined; + title?: string | undefined; + duration?: number | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + authorName?: string | undefined; + }, { + id?: string | undefined; + title?: string | undefined; + duration?: number | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + authorName?: string | undefined; + }>>; + }, "strip", z.ZodTypeAny, { + id: string; + height: number; + width: number; + description: string; + duration: number; + createTime: number; + ratio?: string | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + downloadUrl?: string | undefined; + shareCount?: number | undefined; + commentCount?: number | undefined; + likeCount?: number | undefined; + viewCount?: number | undefined; + hashTags?: { + id: string; + name: string; + title?: string | undefined; + }[] | undefined; + mentions?: string[] | undefined; + musicInfo?: { + id?: string | undefined; + title?: string | undefined; + duration?: number | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + authorName?: string | undefined; + } | undefined; + }, { + id: string; + height: number; + width: number; + description: string; + duration: number; + createTime: number; + ratio?: string | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + downloadUrl?: string | undefined; + shareCount?: number | undefined; + commentCount?: number | undefined; + likeCount?: number | undefined; + viewCount?: number | undefined; + hashTags?: { + id: string; + name: string; + title?: string | undefined; + }[] | undefined; + mentions?: string[] | undefined; + musicInfo?: { + id?: string | undefined; + title?: string | undefined; + duration?: number | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + authorName?: string | undefined; + } | undefined; + }>; + comments: z.ZodOptional; + replies: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + }, { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + }>, "many">>; + }, "strip", z.ZodTypeAny, { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + replies?: { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + }[] | undefined; + }, { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + replies?: { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + }[] | undefined; + }>, "many">>; +}, "strip", z.ZodTypeAny, { + id: string; + url: string; + timestamp: number; + scrapedAt: string; + author: { + id: string; + uniqueId: string; + nickname: string; + avatarUrl?: string | undefined; + verified?: boolean | undefined; + secUid?: string | undefined; + following?: number | undefined; + followers?: number | undefined; + likes?: number | undefined; + profileUrl?: string | undefined; + }; + video: { + id: string; + height: number; + width: number; + description: string; + duration: number; + createTime: number; + ratio?: string | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + downloadUrl?: string | undefined; + shareCount?: number | undefined; + commentCount?: number | undefined; + likeCount?: number | undefined; + viewCount?: number | undefined; + hashTags?: { + id: string; + name: string; + title?: string | undefined; + }[] | undefined; + mentions?: string[] | undefined; + musicInfo?: { + id?: string | undefined; + title?: string | undefined; + duration?: number | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + authorName?: string | undefined; + } | undefined; + }; + comments?: { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + replies?: { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + }[] | undefined; + }[] | undefined; +}, { + id: string; + url: string; + timestamp: number; + scrapedAt: string; + author: { + id: string; + uniqueId: string; + nickname: string; + avatarUrl?: string | undefined; + verified?: boolean | undefined; + secUid?: string | undefined; + following?: number | undefined; + followers?: number | undefined; + likes?: number | undefined; + profileUrl?: string | undefined; + }; + video: { + id: string; + height: number; + width: number; + description: string; + duration: number; + createTime: number; + ratio?: string | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + downloadUrl?: string | undefined; + shareCount?: number | undefined; + commentCount?: number | undefined; + likeCount?: number | undefined; + viewCount?: number | undefined; + hashTags?: { + id: string; + name: string; + title?: string | undefined; + }[] | undefined; + mentions?: string[] | undefined; + musicInfo?: { + id?: string | undefined; + title?: string | undefined; + duration?: number | undefined; + coverUrl?: string | undefined; + playUrl?: string | undefined; + authorName?: string | undefined; + } | undefined; + }; + comments?: { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + replies?: { + id: string; + createTime: number; + likeCount: number; + authorName: string; + text: string; + authorId: string; + authorAvatar?: string | undefined; + }[] | undefined; + }[] | undefined; +}>; +export type TikTokMetadata = z.infer; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/media/ref/dist/types.d.ts.map b/packages/media/ref/dist/types.d.ts.map index c4fdca50..fbc73b51 100644 --- a/packages/media/ref/dist/types.d.ts.map +++ b/packages/media/ref/dist/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0D7B,CAAC;AAGH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4C1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGlE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGlE,oBAAY,cAAc;IACxB,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAGD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAK3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAG1D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGhE,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAItE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0D7B,CAAC;AAGH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4C1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGlE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGlE,oBAAY,cAAc;IACxB,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAGD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAK3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAG1D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGhE,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAItE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAG5D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAGhF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"} \ No newline at end of file diff --git a/packages/media/ref/package-lock.json b/packages/media/ref/package-lock.json index a58d8ae0..d89d59cf 100644 --- a/packages/media/ref/package-lock.json +++ b/packages/media/ref/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@types/node": "^22.13.10", "@types/yargs": "^17.0.33", + "puppeteer": "^24.4.0", "ts-node": "^10.9.2", "tslog": "^4.9.3", "typescript": "^5.8.2", @@ -46,6 +47,20 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-string-parser": { "version": "7.25.9", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", @@ -60,7 +75,6 @@ "version": "7.25.9", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -671,6 +685,27 @@ "dev": true, "license": "MIT" }, + "node_modules/@puppeteer/browsers": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.8.0.tgz", + "integrity": "sha512-yTwt2KWRmCQAfhvbCRjebaSX8pV1//I0Y3g+A7f/eS7gf0l4eRJoUCvcYdVtboeU4CTOZQuqYbZNS8aBYb8ROQ==", + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.4.0", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.5.0", + "semver": "^7.7.1", + "tar-fs": "^3.0.8", + "yargs": "^17.7.2" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@rollup/rollup-android-arm-eabi": { "version": "4.35.0", "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.35.0.tgz", @@ -937,6 +972,12 @@ "win32" ] }, + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "license": "MIT" + }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", @@ -1021,6 +1062,16 @@ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", "license": "MIT" }, + "node_modules/@types/yauzl": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@vitest/coverage-v8": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-3.0.8.tgz", @@ -1435,6 +1486,15 @@ "node": ">=0.4.0" } }, + "node_modules/agent-base": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -1515,6 +1575,12 @@ "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", "license": "MIT" }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, "node_modules/assertion-error": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", @@ -1525,6 +1591,24 @@ "node": ">=12" } }, + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/b4a": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", + "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "license": "Apache-2.0" + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1532,6 +1616,79 @@ "dev": true, "license": "MIT" }, + "node_modules/bare-events": { + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz", + "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==", + "license": "Apache-2.0", + "optional": true + }, + "node_modules/bare-fs": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.0.1.tgz", + "integrity": "sha512-ilQs4fm/l9eMfWY2dY0WCIUplSUp7U0CT1vrqMg1MUdeZl4fypu5UP0XcDBK5WBQPJAKP1b7XEodISmekH/CEg==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-events": "^2.0.0", + "bare-path": "^3.0.0", + "bare-stream": "^2.0.0" + }, + "engines": { + "bare": ">=1.7.0" + } + }, + "node_modules/bare-os": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.5.1.tgz", + "integrity": "sha512-LvfVNDcWLw2AnIw5f2mWUgumW3I3N/WYGiWeimhQC1Ybt71n2FjlS9GJKeCnFeg1MKZHxzIFmpFnBXDI+sBeFg==", + "license": "Apache-2.0", + "optional": true, + "engines": { + "bare": ">=1.14.0" + } + }, + "node_modules/bare-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", + "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-os": "^3.0.1" + } + }, + "node_modules/bare-stream": { + "version": "2.6.5", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.5.tgz", + "integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "streamx": "^2.21.0" + }, + "peerDependencies": { + "bare-buffer": "*", + "bare-events": "*" + }, + "peerDependenciesMeta": { + "bare-buffer": { + "optional": true + }, + "bare-events": { + "optional": true + } + } + }, + "node_modules/basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -1588,6 +1745,15 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -1605,6 +1771,15 @@ "node": ">=8" } }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/caniuse-lite": { "version": "1.0.30001703", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001703.tgz", @@ -1696,6 +1871,19 @@ "node": ">=6.0" } }, + "node_modules/chromium-bidi": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-2.1.2.tgz", + "integrity": "sha512-vtRWBK2uImo5/W2oG6/cDkkHSm+2t6VHgnj+Rcwhb0pP74OoUb4GipyRX/T/y39gYQPhioP0DPShn+A7P6CHNw==", + "license": "Apache-2.0", + "dependencies": { + "mitt": "^3.0.1", + "zod": "^3.24.1" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -1830,6 +2018,32 @@ "dev": true, "license": "MIT" }, + "node_modules/cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", @@ -1851,11 +2065,19 @@ "node": ">= 8" } }, + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/debug": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", - "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -1879,6 +2101,26 @@ "node": ">=6" } }, + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "license": "MIT", + "dependencies": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/devtools-protocol": { + "version": "0.0.1413902", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1413902.tgz", + "integrity": "sha512-yRtvFD8Oyk7C9Os3GmnFZLu53yAfsnyw1s+mLmHHUK0GQEc9zthHWvS1r67Zqzm5t7v56PILHIVZ7kmFMaL2yQ==", + "license": "BSD-3-Clause" + }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -1909,6 +2151,15 @@ "dev": true, "license": "MIT" }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, "node_modules/enhanced-resolve": { "version": "5.18.1", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz", @@ -1923,6 +2174,15 @@ "node": ">=10.13.0" } }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/envinfo": { "version": "7.14.0", "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.14.0.tgz", @@ -1936,6 +2196,15 @@ "node": ">=4" } }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, "node_modules/es-module-lexer": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.6.0.tgz", @@ -1993,6 +2262,46 @@ "node": ">=6" } }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/escodegen/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -2007,6 +2316,19 @@ "node": ">=8.0.0" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -2050,6 +2372,15 @@ "@types/estree": "^1.0.0" } }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/events": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", @@ -2070,6 +2401,26 @@ "node": ">=12.0.0" } }, + "node_modules/extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "license": "BSD-2-Clause", + "dependencies": { + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" + }, + "engines": { + "node": ">= 10.17.0" + }, + "optionalDependencies": { + "@types/yauzl": "^2.9.1" + } + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -2077,6 +2428,12 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "license": "MIT" + }, "node_modules/fast-uri": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", @@ -2104,6 +2461,15 @@ "node": ">= 4.9.1" } }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, "node_modules/fdir": { "version": "6.4.3", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", @@ -2221,6 +2587,35 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-uri": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", + "license": "MIT", + "dependencies": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -2286,6 +2681,57 @@ "dev": true, "license": "MIT" }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/import-local": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", @@ -2316,6 +2762,25 @@ "node": ">=10.13.0" } }, + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "license": "MIT" + }, "node_modules/is-core-module": { "version": "2.16.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", @@ -2482,11 +2947,34 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "license": "MIT" + }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true, "license": "MIT" }, "node_modules/json-schema-traverse": { @@ -2506,6 +2994,12 @@ "node": ">=0.10.0" } }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "license": "MIT" + }, "node_modules/loader-runner": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", @@ -2670,6 +3164,12 @@ "node": ">=16 || 14 >=14.17" } }, + "node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "license": "MIT" + }, "node_modules/mrmime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", @@ -2684,7 +3184,6 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, "license": "MIT" }, "node_modules/nanoid": { @@ -2713,6 +3212,15 @@ "dev": true, "license": "MIT" }, + "node_modules/netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/node-releases": { "version": "2.0.19", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", @@ -2720,6 +3228,15 @@ "dev": true, "license": "MIT" }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -2759,6 +3276,38 @@ "node": ">=6" } }, + "node_modules/pac-proxy-agent": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", + "license": "MIT", + "dependencies": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.6", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.5" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "license": "MIT", + "dependencies": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/package-json-from-dist": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", @@ -2766,6 +3315,36 @@ "dev": true, "license": "BlueOak-1.0.0" }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -2827,11 +3406,16 @@ "node": ">= 14.16" } }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "license": "MIT" + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true, "license": "ISC" }, "node_modules/picomatch": { @@ -2889,6 +3473,97 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/proxy-agent": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.6", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.1.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.5" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/proxy-agent/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, + "node_modules/pump": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/puppeteer": { + "version": "24.4.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.4.0.tgz", + "integrity": "sha512-E4JhJzjS8AAI+6N/b+Utwarhz6zWl3+MR725fal+s3UlOlX2eWdsvYYU+Q5bXMjs9eZEGkNQroLkn7j11s2k1Q==", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@puppeteer/browsers": "2.8.0", + "chromium-bidi": "2.1.2", + "cosmiconfig": "^9.0.0", + "devtools-protocol": "0.0.1413902", + "puppeteer-core": "24.4.0", + "typed-query-selector": "^2.12.0" + }, + "bin": { + "puppeteer": "lib/cjs/puppeteer/node/cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/puppeteer-core": { + "version": "24.4.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.4.0.tgz", + "integrity": "sha512-eFw66gCnWo0X8Hyf9KxxJtms7a61NJVMiSaWfItsFPzFBsjsWdmcNlBdsA1WVwln6neoHhsG+uTVesKmTREn/g==", + "license": "Apache-2.0", + "dependencies": { + "@puppeteer/browsers": "2.8.0", + "chromium-bidi": "2.1.2", + "debug": "^4.4.0", + "devtools-protocol": "0.0.1413902", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.1" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -3059,7 +3734,6 @@ "version": "7.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", - "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -3149,6 +3823,44 @@ "node": ">=18" } }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", + "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", + "license": "MIT", + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/source-map": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", @@ -3190,6 +3902,12 @@ "node": ">=0.10.0" } }, + "node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", + "license": "BSD-3-Clause" + }, "node_modules/stackback": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", @@ -3204,6 +3922,19 @@ "dev": true, "license": "MIT" }, + "node_modules/streamx": { + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.0.tgz", + "integrity": "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==", + "license": "MIT", + "dependencies": { + "fast-fifo": "^1.3.2", + "text-decoder": "^1.1.0" + }, + "optionalDependencies": { + "bare-events": "^2.2.0" + } + }, "node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", @@ -3344,6 +4075,31 @@ "node": ">=6" } }, + "node_modules/tar-fs": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", + "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + }, + "optionalDependencies": { + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0" + } + }, + "node_modules/tar-stream": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "license": "MIT", + "dependencies": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" + } + }, "node_modules/terser": { "version": "5.39.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.0.tgz", @@ -3413,6 +4169,15 @@ "node": ">=18" } }, + "node_modules/text-decoder": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", + "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.6.4" + } + }, "node_modules/tinybench": { "version": "2.9.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", @@ -3561,6 +4326,12 @@ } } }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, "node_modules/tslog": { "version": "4.9.3", "resolved": "https://registry.npmjs.org/tslog/-/tslog-4.9.3.tgz", @@ -3573,6 +4344,12 @@ "url": "https://github.com/fullstack-build/tslog?sponsor=1" } }, + "node_modules/typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "license": "MIT" + }, "node_modules/typescript": { "version": "5.8.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", @@ -4071,6 +4848,33 @@ "node": ">=8" } }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/ws": { + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -4148,6 +4952,16 @@ "node": ">=8" } }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "node_modules/yn": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", diff --git a/packages/media/ref/package.json b/packages/media/ref/package.json index 272cabd5..44f9d7c5 100644 --- a/packages/media/ref/package.json +++ b/packages/media/ref/package.json @@ -37,6 +37,7 @@ "dependencies": { "@types/node": "^22.13.10", "@types/yargs": "^17.0.33", + "puppeteer": "^24.4.0", "ts-node": "^10.9.2", "tslog": "^4.9.3", "typescript": "^5.8.2", diff --git a/packages/media/ref/src/cli.ts b/packages/media/ref/src/cli.ts index 85398f20..813d8242 100644 --- a/packages/media/ref/src/cli.ts +++ b/packages/media/ref/src/cli.ts @@ -3,11 +3,12 @@ import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; import { YtDlp } from './ytdlp.js'; import { logger } from './logger.js'; -import { FormatOptionsSchema, VideoInfoOptionsSchema, DownloadOptionsSchema } from './types.js'; +import { FormatOptionsSchema, VideoInfoOptionsSchema, DownloadOptionsSchema, TikTokMetadataOptionsSchema } from './types.js'; import { z } from 'zod'; import { exec } from 'node:child_process'; import { promisify } from 'node:util'; + const execAsync = promisify(exec); const ytdlp = new YtDlp(); @@ -20,9 +21,10 @@ function printHelp() { console.log(" ytdlp-ts [options] \n"); console.log("COMMANDS:"); - console.log(" download [url] Download a video from the specified URL"); - console.log(" info [url] Get information about a video"); - console.log(" formats [url] List available formats for a video\n"); + console.log(" download [url] Download a video from the specified URL"); + console.log(" info [url] Get information about a video"); + console.log(" formats [url] List available formats for a video"); + console.log(" tiktok:meta [url] Scrape metadata from a TikTok video and save as JSON\n"); console.log("DOWNLOAD OPTIONS:"); console.log(" --format, -f Specify video format code"); @@ -268,6 +270,10 @@ yargs(hideBin(process.argv)) '$0 formats https://www.youtube.com/watch?v=_oVI0GW-Xd4 --all', 'List all available video and audio formats for a YouTube video' ) + .example( + '$0 tiktok:meta https://www.tiktok.com/@username/video/1234567890 -o metadata.json', + 'Scrape metadata from a TikTok video and save it to metadata.json' + ) .demandCommand(1, 'You need to specify a command') .strict() .help() diff --git a/packages/media/ref/src/types.ts b/packages/media/ref/src/types.ts index 58a7e4d5..5b0a3ce9 100644 --- a/packages/media/ref/src/types.ts +++ b/packages/media/ref/src/types.ts @@ -223,5 +223,93 @@ export const VideoFormatSchema = z.object({ export type VideoFormat = z.infer; +// TikTok metadata options schema +export const TikTokMetadataOptionsSchema = z.object({ + url: z.string().url(), + outputPath: z.string(), + format: z.enum(['json', 'pretty']).optional().default('json'), + includeComments: z.boolean().optional().default(false), + timeout: z.number().int().positive().optional().default(30000), + userAgent: z.string().optional(), + proxy: z.string().optional(), +}); + +export type TikTokMetadataOptions = z.infer; + +// TikTok metadata schema +export const TikTokMetadataSchema = z.object({ + id: z.string(), + url: z.string().url(), + timestamp: z.number(), + scrapedAt: z.string().datetime(), + author: z.object({ + id: z.string(), + uniqueId: z.string(), // username + nickname: z.string(), + avatarUrl: z.string().url().optional(), + verified: z.boolean().optional(), + secUid: z.string().optional(), + following: z.number().optional(), + followers: z.number().optional(), + likes: z.number().optional(), + profileUrl: z.string().url().optional(), + }), + video: z.object({ + id: z.string(), + description: z.string(), + createTime: z.number(), + width: z.number(), + height: z.number(), + duration: z.number(), + ratio: z.string().optional(), + coverUrl: z.string().url().optional(), + playUrl: z.string().url().optional(), + downloadUrl: z.string().url().optional(), + shareCount: z.number().optional(), + commentCount: z.number().optional(), + likeCount: z.number().optional(), + viewCount: z.number().optional(), + hashTags: z.array( + z.object({ + id: z.string(), + name: z.string(), + title: z.string().optional(), + }) + ).optional(), + mentions: z.array(z.string()).optional(), + musicInfo: z.object({ + id: z.string().optional(), + title: z.string().optional(), + authorName: z.string().optional(), + coverUrl: z.string().url().optional(), + playUrl: z.string().url().optional(), + duration: z.number().optional(), + }).optional(), + }), + comments: z.array( + z.object({ + id: z.string(), + text: z.string(), + createTime: z.number(), + likeCount: z.number(), + authorId: z.string(), + authorName: z.string(), + authorAvatar: z.string().url().optional(), + replies: z.array( + z.object({ + id: z.string(), + text: z.string(), + createTime: z.number(), + likeCount: z.number(), + authorId: z.string(), + authorName: z.string(), + authorAvatar: z.string().url().optional(), + }) + ).optional(), + }) + ).optional(), +}); + +export type TikTokMetadata = z.infer;