Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

downloads page

jonmatthisaf2c67d1489c
diff --git a/freemocap-docs/src/components/download/DownloadPage.tsx b/freemocap-docs/src/components/download/DownloadPage.tsx
index 63f914ff..5f58df58 100644
--- a/freemocap-docs/src/components/download/DownloadPage.tsx
+++ b/freemocap-docs/src/components/download/DownloadPage.tsx
@@ -1,5 +1,5 @@
import { useState, useMemo, useEffect } from 'react';
-import type { OsType, ArchType } from './data/downloads';
+import type { OsType, ArchType } from './downloads';
import {
DEFAULT_VERSION,
getReleaseBaseUrl,
@@ -9,11 +9,11 @@ import {
matchesExpectedPattern,
stripVersionPrefix,
OS_NOTES,
-} from './data/downloads';
+} from './downloads';
import {
getAppInstallInstructions,
getServerInstallInstructions,
-} from './data/installInstructions';
+} from './installInstructions';
import { useSystemDetection } from './hooks/useSystemDetection';
import { useReleaseVersions } from './hooks/useReleaseVersions';
diff --git a/freemocap-docs/src/components/download/components/AllPlatformsSection.tsx b/freemocap-docs/src/components/download/components/AllPlatformsSection.tsx
index 49a876d5..e142b28f 100644
--- a/freemocap-docs/src/components/download/components/AllPlatformsSection.tsx
+++ b/freemocap-docs/src/components/download/components/AllPlatformsSection.tsx
@@ -1,4 +1,4 @@
-import type { DownloadEntry } from '../data/downloads';
+import type { DownloadEntry } from '../downloads';
import DownloadCard from './DownloadCard';
import CollapsibleSection from './CollapsibleSection';
import styles from '../DownloadPage.module.css';
diff --git a/freemocap-docs/src/components/download/components/CodeBlock.tsx b/freemocap-docs/src/components/download/components/CodeBlock.tsx
index ec11f1da..06ca1a70 100644
--- a/freemocap-docs/src/components/download/components/CodeBlock.tsx
+++ b/freemocap-docs/src/components/download/components/CodeBlock.tsx
@@ -1,5 +1,5 @@
import { useState, useCallback } from 'react';
-import type { CodeLine } from '../data/installInstructions';
+import type { CodeLine } from '../installInstructions';
import styles from '../DownloadPage.module.css';
interface CodeBlockProps {
diff --git a/freemocap-docs/src/components/download/components/DownloadCard.tsx b/freemocap-docs/src/components/download/components/DownloadCard.tsx
index b6f319d3..3938594f 100644
--- a/freemocap-docs/src/components/download/components/DownloadCard.tsx
+++ b/freemocap-docs/src/components/download/components/DownloadCard.tsx
@@ -1,5 +1,5 @@
-import type { DownloadEntry } from '../data/downloads';
-import { formatMeta } from '../data/downloads';
+import type { DownloadEntry } from '../downloads';
+import { formatMeta } from '../downloads';
import styles from '../DownloadPage.module.css';
type CardVariant = 'recommended' | 'server-rec' | 'secondary';
diff --git a/freemocap-docs/src/components/download/components/DownloadSection.tsx b/freemocap-docs/src/components/download/components/DownloadSection.tsx
index 125a0fee..39493f0f 100644
--- a/freemocap-docs/src/components/download/components/DownloadSection.tsx
+++ b/freemocap-docs/src/components/download/components/DownloadSection.tsx
@@ -1,6 +1,6 @@
import type { ReactNode } from 'react';
-import type { DownloadEntry, OsNoteEntry } from '../data/downloads';
-import type { InstructionBlock } from '../data/installInstructions';
+import type { DownloadEntry, OsNoteEntry } from '../downloads';
+import type { InstructionBlock } from '../installInstructions';
import DownloadCard from './DownloadCard';
import CollapsibleSection from './CollapsibleSection';
import CodeBlock from './CodeBlock';
diff --git a/freemocap-docs/src/components/download/components/LegacyReleaseView.tsx b/freemocap-docs/src/components/download/components/LegacyReleaseView.tsx
index 613e88d4..94c0718d 100644
--- a/freemocap-docs/src/components/download/components/LegacyReleaseView.tsx
+++ b/freemocap-docs/src/components/download/components/LegacyReleaseView.tsx
@@ -1,5 +1,5 @@
-import type { GitHubAsset } from '../data/downloads';
-import { formatBytes } from '../data/downloads';
+import type { GitHubAsset } from '../downloads';
+import { formatBytes } from '../downloads';
import styles from '../DownloadPage.module.css';
interface LegacyReleaseViewProps {
diff --git a/freemocap-docs/src/components/download/components/OsNote.tsx b/freemocap-docs/src/components/download/components/OsNote.tsx
index 162804ab..af8aca57 100644
--- a/freemocap-docs/src/components/download/components/OsNote.tsx
+++ b/freemocap-docs/src/components/download/components/OsNote.tsx
@@ -1,5 +1,5 @@
import { LinkedIssues } from '@freemocap/skellydocs';
-import type { OsNoteEntry } from '../data/downloads';
+import type { OsNoteEntry } from '../downloads';
import styles from '../DownloadPage.module.css';
const VARIANT_ICONS: Record<OsNoteEntry['variant'], string> = {
diff --git a/freemocap-docs/src/components/download/components/SystemDetector.tsx b/freemocap-docs/src/components/download/components/SystemDetector.tsx
index 197e320c..add86056 100644
--- a/freemocap-docs/src/components/download/components/SystemDetector.tsx
+++ b/freemocap-docs/src/components/download/components/SystemDetector.tsx
@@ -1,5 +1,5 @@
-import type { OsType, ArchType } from '../data/downloads';
-import { OS_LABELS, archLabel, OS_PILL_OPTIONS } from '../data/downloads';
+import type { OsType, ArchType } from '../downloads';
+import { OS_LABELS, archLabel, OS_PILL_OPTIONS } from '../downloads';
import styles from '../DownloadPage.module.css';
interface SystemDetectorProps {
diff --git a/freemocap-docs/src/components/download/components/SystemHelpSection.tsx b/freemocap-docs/src/components/download/components/SystemHelpSection.tsx
index 4aa41910..4f8a8198 100644
--- a/freemocap-docs/src/components/download/components/SystemHelpSection.tsx
+++ b/freemocap-docs/src/components/download/components/SystemHelpSection.tsx
@@ -1,4 +1,4 @@
-import { SYSTEM_HELP_SECTIONS } from '../data/systemHelp';
+import { SYSTEM_HELP_SECTIONS } from '../systemHelp';
import CollapsibleSection from './CollapsibleSection';
import styles from '../DownloadPage.module.css';
diff --git a/freemocap-docs/src/components/download/components/TerminalInstallSection.tsx b/freemocap-docs/src/components/download/components/TerminalInstallSection.tsx
index f755069d..d7b3a262 100644
--- a/freemocap-docs/src/components/download/components/TerminalInstallSection.tsx
+++ b/freemocap-docs/src/components/download/components/TerminalInstallSection.tsx
@@ -1,5 +1,5 @@
-import type { OsType, ArchType } from '../data/downloads';
-import { getTerminalInstallBlocks } from '../data/installInstructions';
+import type { OsType, ArchType } from '../downloads';
+import { getTerminalInstallBlocks } from '../installInstructions';
import CollapsibleSection from './CollapsibleSection';
import CodeBlock from './CodeBlock';
import TerminalTip from './TerminalTip';
diff --git a/freemocap-docs/src/components/download/components/TerminalTip.tsx b/freemocap-docs/src/components/download/components/TerminalTip.tsx
index 213abb04..f3c94dd2 100644
--- a/freemocap-docs/src/components/download/components/TerminalTip.tsx
+++ b/freemocap-docs/src/components/download/components/TerminalTip.tsx
@@ -1,5 +1,5 @@
-import type { OsType } from '../data/downloads';
-import { getTerminalTipContent } from '../data/installInstructions';
+import type { OsType } from '../downloads';
+import { getTerminalTipContent } from '../installInstructions';
import CollapsibleSection from './CollapsibleSection';
import styles from '../DownloadPage.module.css';
diff --git a/freemocap-docs/src/components/download/components/VersionSelector.tsx b/freemocap-docs/src/components/download/components/VersionSelector.tsx
index defec161..dc6bced5 100644
--- a/freemocap-docs/src/components/download/components/VersionSelector.tsx
+++ b/freemocap-docs/src/components/download/components/VersionSelector.tsx
@@ -1,4 +1,4 @@
-import type { GitHubRelease } from '../data/downloads';
+import type { GitHubRelease } from '../downloads';
import styles from '../DownloadPage.module.css';
interface VersionSelectorProps {
diff --git a/freemocap-docs/src/components/download/hooks/useReleaseVersions.ts b/freemocap-docs/src/components/download/hooks/useReleaseVersions.ts
index 90a8b850..8bace573 100644
--- a/freemocap-docs/src/components/download/hooks/useReleaseVersions.ts
+++ b/freemocap-docs/src/components/download/hooks/useReleaseVersions.ts
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
-import type { GitHubRelease } from '../data/downloads';
-import { REPO } from '../data/downloads';
+import type { GitHubRelease } from '../downloads';
+import { REPO } from '../downloads';
const CACHE_KEY = 'freemocap-releases';
const CACHE_TTL_MS = 10 * 60 * 1000; // 10 minutes
diff --git a/freemocap-docs/src/components/download/hooks/useSystemDetection.ts b/freemocap-docs/src/components/download/hooks/useSystemDetection.ts
index cb6f6e68..6a97b95d 100644
--- a/freemocap-docs/src/components/download/hooks/useSystemDetection.ts
+++ b/freemocap-docs/src/components/download/hooks/useSystemDetection.ts
@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react';
-import type { OsType, ArchType } from '../data/downloads';
+import type { OsType, ArchType } from '../downloads';
export interface SystemInfo {
os: OsType | 'unknown';