mirror of
https://github.com/immich-app/static-pages.git
synced 2026-09-30 13:23:05 +08:00
fix(deps): update typescript-projects (#300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
co-authored by
Daniel Dietzler
parent
ebc749b293
commit
1a853cea5b
@@ -33,7 +33,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
"tailwindcss": "^4.1.13",
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.1",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^15.16.1",
|
||||
"svelte-highlight": "^7.8.4",
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<script lang="ts">
|
||||
import { ApiPage } from '$lib';
|
||||
import ApiTagSummary from '$lib/components/ApiTagSummary.svelte';
|
||||
import { Button, type CommandItem, CommandPaletteContext, Heading, Icon, Stack, Text } from '@immich/ui';
|
||||
import { Button, CommandPaletteContext, Heading, Icon, Stack, Text, type ActionItem } from '@immich/ui';
|
||||
import { mdiArrowLeft, mdiArrowRight } from '@mdi/js';
|
||||
import { type PageData } from './$types';
|
||||
import { goto } from '$app/navigation';
|
||||
|
||||
type Props = {
|
||||
data: PageData;
|
||||
@@ -17,25 +18,27 @@
|
||||
{#key tag.name}
|
||||
<CommandPaletteContext
|
||||
commands={[
|
||||
tag.previous && {
|
||||
{
|
||||
icon: mdiArrowLeft,
|
||||
title: 'Previous tag',
|
||||
type: 'Navigation',
|
||||
iconClass: '',
|
||||
text: 'previous',
|
||||
href: tag.previous.href,
|
||||
$if: () => !!tag.previous,
|
||||
onAction: () => goto(tag.previous!.href),
|
||||
shortcuts: { key: 'ArrowLeft' },
|
||||
},
|
||||
tag.next && {
|
||||
{
|
||||
icon: mdiArrowRight,
|
||||
title: 'Next tag',
|
||||
type: 'Navigation',
|
||||
iconClass: '',
|
||||
text: 'next',
|
||||
href: tag.next.href,
|
||||
$if: () => !!tag.next,
|
||||
onAction: () => goto(tag.next!.href),
|
||||
shortcuts: { key: 'ArrowRight' },
|
||||
},
|
||||
].filter(Boolean) as CommandItem[]}
|
||||
].filter(Boolean) as ActionItem[]}
|
||||
/>
|
||||
{/key}
|
||||
|
||||
|
||||
@@ -10,9 +10,10 @@
|
||||
import ApiSharedLinkRouteBadge from '$lib/components/ApiSharedLinkRouteBadge.svelte';
|
||||
import ApiState from '$lib/components/ApiState.svelte';
|
||||
import { getEndpointColor, getOpenApi, isRef } from '$lib/services/open-api';
|
||||
import { Button, CommandPaletteContext, Heading, Icon, Stack, Text, type CommandItem } from '@immich/ui';
|
||||
import { Button, CommandPaletteContext, Heading, Icon, Stack, Text, type ActionItem } from '@immich/ui';
|
||||
import { mdiArrowLeft, mdiArrowRight } from '@mdi/js';
|
||||
import { type PageData } from './$types';
|
||||
import { goto } from '$app/navigation';
|
||||
|
||||
type Props = {
|
||||
data: PageData;
|
||||
@@ -29,25 +30,27 @@
|
||||
{#key endpoint.operationId}
|
||||
<CommandPaletteContext
|
||||
commands={[
|
||||
endpoint.previous && {
|
||||
{
|
||||
icon: mdiArrowLeft,
|
||||
title: 'Previous endpoint',
|
||||
type: 'Navigation',
|
||||
iconClass: '',
|
||||
text: 'previous',
|
||||
href: endpoint.previous.href,
|
||||
$if: () => !!endpoint.previous,
|
||||
onAction: () => goto(endpoint.previous!.href),
|
||||
shortcuts: { key: 'ArrowLeft' },
|
||||
},
|
||||
endpoint.next && {
|
||||
{
|
||||
icon: mdiArrowRight,
|
||||
title: 'Next endpoint',
|
||||
type: 'Navigation',
|
||||
iconClass: '',
|
||||
text: 'next',
|
||||
href: endpoint.next.href,
|
||||
$if: () => !!endpoint.next,
|
||||
onAction: () => goto(endpoint.next!.href),
|
||||
shortcuts: { key: 'ArrowRight' },
|
||||
},
|
||||
].filter(Boolean) as CommandItem[]}
|
||||
].filter(Boolean) as ActionItem[]}
|
||||
/>
|
||||
{/key}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { page } from '$app/state';
|
||||
import { ApiPage } from '$lib';
|
||||
import '$lib/app.css';
|
||||
@@ -13,7 +14,7 @@
|
||||
siteCommands,
|
||||
Theme,
|
||||
theme,
|
||||
type CommandItem,
|
||||
type ActionItem,
|
||||
} from '@immich/ui';
|
||||
import { mdiApi, mdiScriptText, mdiSend, mdiTag, mdiTagMultiple } from '@mdi/js';
|
||||
import { type Snippet } from 'svelte';
|
||||
@@ -33,7 +34,7 @@
|
||||
|
||||
commandPaletteManager.enable();
|
||||
|
||||
const commands = $state<CommandItem[]>([]);
|
||||
const commands = $state<ActionItem[]>([]);
|
||||
|
||||
try {
|
||||
const { tags, models } = getOpenApi();
|
||||
@@ -44,8 +45,7 @@
|
||||
iconClass: 'text-pink-700 dark:text-pink-200',
|
||||
type: 'Tag',
|
||||
title: tag.name,
|
||||
href: tag.href,
|
||||
text: asText(tag.name),
|
||||
onAction: () => goto(tag.href),
|
||||
});
|
||||
|
||||
for (const endpoint of tag.endpoints) {
|
||||
@@ -55,8 +55,8 @@
|
||||
iconClass: 'text-indigo-700 dark:text-indigo-200',
|
||||
title: endpoint.operationId,
|
||||
description: endpoint.description,
|
||||
href: endpoint.href,
|
||||
text: asText(endpoint.operationId, endpoint.name, endpoint.description),
|
||||
onAction: () => goto(endpoint.href),
|
||||
searchText: asText(endpoint.operationId, endpoint.name, endpoint.description),
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -68,8 +68,8 @@
|
||||
type: 'Model',
|
||||
title: model.name,
|
||||
description: model.description,
|
||||
href: model.href,
|
||||
text: asText(model.name, model.title, model.description),
|
||||
onAction: () => goto(model.href),
|
||||
searchText: asText(model.name, model.title, model.description),
|
||||
});
|
||||
}
|
||||
} catch {
|
||||
@@ -82,56 +82,50 @@
|
||||
title: 'Introduction',
|
||||
description: 'Overview of Immich API',
|
||||
href: ApiPage.Introduction,
|
||||
text: asText('introduction'),
|
||||
},
|
||||
{
|
||||
title: 'Getting started',
|
||||
description: 'Learn how to get started with Immich API',
|
||||
href: ApiPage.GettingStarted,
|
||||
text: asText('getting', 'started'),
|
||||
},
|
||||
{
|
||||
title: 'Authentication',
|
||||
description: 'Learn how authentication works in the Immich API',
|
||||
href: ApiPage.Authentication,
|
||||
text: asText('authentication', 'authorization'),
|
||||
},
|
||||
{
|
||||
title: 'Permissions',
|
||||
description: 'Learn how permissions work with the Immich API',
|
||||
href: ApiPage.Permissions,
|
||||
text: asText('permissions'),
|
||||
},
|
||||
{
|
||||
title: 'SDK',
|
||||
description: 'Learn about the @immich/sdk generated client',
|
||||
href: ApiPage.Sdk,
|
||||
text: asText('@immich/sdk'),
|
||||
},
|
||||
{
|
||||
title: 'Endpoints',
|
||||
description: 'A list of all the endpoints in the Immich API',
|
||||
href: ApiPage.Endpoints,
|
||||
text: asText('overview', 'endpoints'),
|
||||
},
|
||||
{
|
||||
title: 'Models',
|
||||
description: 'A list of all the models in the Immich API',
|
||||
href: ApiPage.Models,
|
||||
text: asText('overview', 'models'),
|
||||
},
|
||||
].map((item) => ({
|
||||
].map(({ href, ...item }) => ({
|
||||
icon: mdiScriptText,
|
||||
iconClass: 'text-teal-800 dark:text-teal-200',
|
||||
type: 'Page',
|
||||
onAction: () => goto(href),
|
||||
...item,
|
||||
})),
|
||||
...[
|
||||
{
|
||||
title: 'Toggle theme',
|
||||
description: 'Toggle between light and dark theme',
|
||||
action: () => handleToggleTheme(),
|
||||
text: asText('theme', 'toggle', 'dark', 'light'),
|
||||
onAction: () => handleToggleTheme(),
|
||||
searchText: asText('theme', 'toggle', 'dark', 'light'),
|
||||
},
|
||||
].map((item) => ({
|
||||
icon: mdiSend,
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"simple-icons": "^15.16.1",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
@@ -48,7 +48,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.1",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
"tailwindcss": "^4.1.13",
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.1",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^15.16.1",
|
||||
"svelte-highlight": "^7.8.4"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"wrangler": "^4.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.0",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@tsndr/cloudflare-worker-jwt": "^3.2.0",
|
||||
"class-transformer": "^0.5.1",
|
||||
"class-validator": "^0.14.2",
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
"tailwindcss": "^4.1.13",
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.0",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"exifreader": "^4.32.0",
|
||||
"p-limit": "^7.1.1",
|
||||
|
||||
@@ -124,8 +124,8 @@
|
||||
<span>
|
||||
I agree to release the uploaded assets under the
|
||||
<a href="https://creativecommons.org/public-domain/cc0/" target="_blank" class="text-primary">CC0 license</a>
|
||||
into the public domain. In addition, the files have not been modified in any way that would alter their original
|
||||
content or metadata.
|
||||
into the public domain. In addition, the files have not been modified in any way that would alter their original content
|
||||
or metadata.
|
||||
</span>
|
||||
|
||||
<div class="flex gap-4">
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
<ProjectCard icon={mdiCameraEnhance} title="EXIF Dataset" href="/projects/exif">
|
||||
{#snippet description()}
|
||||
<Text
|
||||
><Link href="https://en.wikipedia.org/wiki/Exif">EXIF</Link> stands for Exchangeable Image File Format. It
|
||||
is a standard that specifies the metadata that can be embedded in image files, especially those captured by
|
||||
digital cameras and smartphones.</Text
|
||||
><Link href="https://en.wikipedia.org/wiki/Exif">EXIF</Link> stands for Exchangeable Image File Format. It is
|
||||
a standard that specifies the metadata that can be embedded in image files, especially those captured by digital
|
||||
cameras and smartphones.</Text
|
||||
>
|
||||
|
||||
<Text
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
"tailwindcss": "^4.1.13",
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.1",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^15.16.1",
|
||||
"svelte-highlight": "^7.8.4"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
"tailwindcss": "^4.1.13",
|
||||
@@ -44,7 +44,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.1",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"simple-icons": "^15.16.1",
|
||||
"svelte-highlight": "^7.8.4"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"playwright": "^1.55.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-svelte": "^3.4.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"simple-icons": "^15.16.1",
|
||||
"svelte": "^5.39.5",
|
||||
"svelte-check": "^4.3.2",
|
||||
@@ -49,7 +49,7 @@
|
||||
"vitest-browser-svelte": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@immich/ui": "^0.45.1",
|
||||
"@immich/ui": "^0.49.0",
|
||||
"@mdi/js": "^7.4.47",
|
||||
"feed": "^5.1.0",
|
||||
"front-matter": "^4.0.2",
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
<section class="flex flex-col gap-2">
|
||||
<Heading tag="h2">3. Use of Your Information</Heading>
|
||||
<Text>
|
||||
<strong>Tax Calculation:</strong> The country of origin and postal code (for users from Canada or the United
|
||||
States) are collected solely for determining the applicable tax rates on your purchase.
|
||||
<strong>Tax Calculation:</strong> The country of origin and postal code (for users from Canada or the United States)
|
||||
are collected solely for determining the applicable tax rates on your purchase.
|
||||
</Text>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "../../"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "Monorepo for static sites",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@10.23.0+sha512.21c4e5698002ade97e4efe8b8b4a89a8de3c85a37919f957e7a0f30f38fbc5bbdd05980ffe29179b2fb6e6e691242e098d945d1601772cad0fef5fb6411e2a4b",
|
||||
"packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a",
|
||||
"engines": {
|
||||
"pnpm": ">=10.0.0"
|
||||
}
|
||||
|
||||
Generated
+394
-513
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user