π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
chore(guides): declare the voice-over settings and the clip cache table
davbio971cafb925f2
diff --git a/src/core/guides/db.ts b/src/core/guides/db.tsindex 2c22a9e..3236b9a 100644--- a/src/core/guides/db.ts+++ b/src/core/guides/db.ts@@ -1,11 +1,12 @@import Dexie, { type EntityTable } from 'dexie';-import type { Guide, Screenshot, Snapshot, Step } from './types';+import type { Guide, Screenshot, Snapshot, Step, VoiceClip } from './types';export class MimikDB extends Dexie {guides!: EntityTable<Guide, 'id'>;steps!: EntityTable<Step, 'id'>;screenshots!: EntityTable<Screenshot, 'id'>;snapshots!: EntityTable<Snapshot, 'id'>;+ voiceClips!: EntityTable<VoiceClip, 'id'>;constructor() {super('mimik');@@ -17,6 +18,9 @@ export class MimikDB extends Dexie {this.version(2).stores({snapshots: 'id, guideId, createdAt, [guideId+createdAt]',});+ this.version(3).stores({+ voiceClips: 'id, createdAt',+ });}}diff --git a/src/core/guides/types.ts b/src/core/guides/types.tsindex 73aba6b..2eee352 100644--- a/src/core/guides/types.ts+++ b/src/core/guides/types.ts@@ -3,6 +3,8 @@ import type { AIProviderKey } from '@/core/capture/ai/models';import type { VoiceProvider } from '@/core/capture/voice/transcribe';import type { BrandLogo } from '@/core/export/branding';import type { ExportOptions } from '@/core/export/options';+import type { VoiceoverApiKeys } from '@/core/export/voiceover/config';+import type { VoiceoverProviderKey } from '@/core/export/voiceover/providers';import type { GuideMeSession } from '@/core/guideme/session';import type { ScreenshotEdits } from '@/core/screenshot/types';@@ -74,6 +76,10 @@ export interface Settings {voiceApiKey: string;voiceMicrophoneId: string;voiceLanguage: string;+ voiceoverProvider: VoiceoverProviderKey;+ voiceoverApiKeys: VoiceoverApiKeys;+ voiceoverVoiceId: string;+ voiceoverModelId: string;blurPresets: Record<string, boolean>;targetColor: string;brandLogo: BrandLogo | null;@@ -106,6 +112,12 @@ export interface ElementMeta {clickPoint?: { x: number; y: number };}+export interface VoiceClip {+ id: string;+ bytes: ArrayBuffer;+ createdAt: number;+}+export interface Snapshot {id: string;guideId: string;