mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
1 parent
a59b80ce11
commit
84dcf6b8a8
1834 files changed
+11601
-10725
No files matched your search
@@ -23,7 +23,7 @@ import type {
|
||||
VoiceEngineV2ScreenEncodingOptions,
|
||||
VoiceEngineV2ScreenOptions,
|
||||
VoiceEngineV2TimerOptions,
|
||||
} from './types';
|
||||
} from '@fluxer/voice_engine_v2/src/protocol/types';
|
||||
|
||||
export type VoiceEngineV2Command =
|
||||
| {type: 'implementation.prewarm'; operationId: VoiceEngineV2OperationId}
|
||||
|
||||
@@ -1,25 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import type {SourceFault, SourceLifecycleState} from '../source_isolation/SourceLifecycleState';
|
||||
import type {VoiceEngineV2CommandType} from './commands';
|
||||
|
||||
export type VoiceEngineV2SourceLifecycleTransitionKind = SourceLifecycleState['kind'];
|
||||
|
||||
export interface VoiceEngineV2SourceLifecycleTransitionedEvent {
|
||||
type: 'sourceLifecycle.transitioned';
|
||||
sourceId: string;
|
||||
kind: VoiceEngineV2SourceLifecycleTransitionKind;
|
||||
since: bigint;
|
||||
attempts: number;
|
||||
fault: SourceFault | null;
|
||||
atMs: number;
|
||||
}
|
||||
|
||||
export interface VoiceEngineV2SourceLifecycleRemovedEvent {
|
||||
type: 'sourceLifecycle.removed';
|
||||
sourceId: string;
|
||||
}
|
||||
|
||||
import type {VoiceEngineV2CommandType} from '@fluxer/voice_engine_v2/src/protocol/commands';
|
||||
import type {
|
||||
VoiceEngineV2AudioControlsPatch,
|
||||
VoiceEngineV2CameraEncodingOptions,
|
||||
@@ -63,7 +44,28 @@ import type {
|
||||
VoiceEngineV2Track,
|
||||
VoiceEngineV2WatchedStream,
|
||||
VoiceEngineV2WatchedStreamKey,
|
||||
} from './types';
|
||||
} from '@fluxer/voice_engine_v2/src/protocol/types';
|
||||
import type {
|
||||
SourceFault,
|
||||
SourceLifecycleState,
|
||||
} from '@fluxer/voice_engine_v2/src/source_isolation/SourceLifecycleState';
|
||||
|
||||
export type VoiceEngineV2SourceLifecycleTransitionKind = SourceLifecycleState['kind'];
|
||||
|
||||
export interface VoiceEngineV2SourceLifecycleTransitionedEvent {
|
||||
type: 'sourceLifecycle.transitioned';
|
||||
sourceId: string;
|
||||
kind: VoiceEngineV2SourceLifecycleTransitionKind;
|
||||
since: bigint;
|
||||
attempts: number;
|
||||
fault: SourceFault | null;
|
||||
atMs: number;
|
||||
}
|
||||
|
||||
export interface VoiceEngineV2SourceLifecycleRemovedEvent {
|
||||
type: 'sourceLifecycle.removed';
|
||||
sourceId: string;
|
||||
}
|
||||
|
||||
export type VoiceEngineV2Event =
|
||||
| {type: 'implementation.prewarmRequested'}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
export type {VoiceEngineV2Command, VoiceEngineV2CommandType} from './commands';
|
||||
export {getVoiceEngineV2CommandResourceKey, getVoiceEngineV2CommandTypeResourceKey} from './commands';
|
||||
export type {VoiceEngineV2Command, VoiceEngineV2CommandType} from '@fluxer/voice_engine_v2/src/protocol/commands';
|
||||
export {
|
||||
getVoiceEngineV2CommandResourceKey,
|
||||
getVoiceEngineV2CommandTypeResourceKey,
|
||||
} from '@fluxer/voice_engine_v2/src/protocol/commands';
|
||||
export type {
|
||||
VoiceEngineV2Event,
|
||||
VoiceEngineV2SourceLifecycleRemovedEvent,
|
||||
VoiceEngineV2SourceLifecycleTransitionedEvent,
|
||||
VoiceEngineV2SourceLifecycleTransitionKind,
|
||||
} from './events';
|
||||
} from '@fluxer/voice_engine_v2/src/protocol/events';
|
||||
export type {
|
||||
VoiceEngineV2AudioControls,
|
||||
VoiceEngineV2AudioControlsPatch,
|
||||
@@ -88,4 +91,4 @@ export type {
|
||||
VoiceEngineV2VoiceStats,
|
||||
VoiceEngineV2WatchedStream,
|
||||
VoiceEngineV2WatchedStreamKey,
|
||||
} from './types';
|
||||
} from '@fluxer/voice_engine_v2/src/protocol/types';
|
||||
Reference in new issue
Block a user