game-analysis-types
Version:
Common TypeScript types and utilities for game analysis tools.
32 lines • 1.63 kB
JavaScript
// --- ALL STUB/DEMO LOGIC REMOVED FOR PRODUCTION ---
// This file is deprecated: all queue and tactical library logic now lives in acts-transformation-engine/src/services/queue.ts
// All exports here throw errors to prevent accidental use.
export * from './types/queue.js';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const QUEUE_FILE = path.resolve(__dirname, 'queue.json');
export function addToQueue() {
throw new Error('addToQueue is deprecated. Use acts-transformation-engine/src/services/queue.ts instead.');
}
export function getStatusById() {
throw new Error('getStatusById is deprecated. Use acts-transformation-engine/src/services/queue.ts instead.');
}
export function getQueue() {
throw new Error('getQueue is deprecated. Use acts-transformation-engine/src/services/queue.ts instead.');
}
export async function processQueueEntry() {
throw new Error('processQueueEntry is deprecated. Use acts-transformation-engine/src/services/queue.ts instead.');
}
export function setQueueEntryStatus() {
throw new Error('setQueueEntryStatus is deprecated. Use acts-transformation-engine/src/services/queue.ts instead.');
}
export async function publishToTacticalLibrary() {
throw new Error('publishToTacticalLibrary is deprecated. Use acts-transformation-engine/src/services/queue.ts instead.');
}
// On process exit, persist queue
process.on('exit', () => { });
process.on('SIGINT', () => { process.exit(); });
process.on('SIGTERM', () => { process.exit(); });
//# sourceMappingURL=queue.js.map