mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-25 16:51:13 -05:00
Fix build errors in tests
This commit is contained in:
@@ -124,9 +124,7 @@ export const moderationDependencyTestSuite: TestSuite = {
|
|||||||
.limit(1)
|
.limit(1)
|
||||||
.maybeSingle();
|
.maybeSingle();
|
||||||
|
|
||||||
// If query succeeds, table exists
|
// If query succeeds, table exists and is accessible
|
||||||
if (testItem !== undefined || testItem === null) {
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: 'dep-002',
|
id: 'dep-002',
|
||||||
name: 'Verify Submission Item Dependencies Exist',
|
name: 'Verify Submission Item Dependencies Exist',
|
||||||
@@ -135,7 +133,8 @@ export const moderationDependencyTestSuite: TestSuite = {
|
|||||||
duration: Date.now() - startTime,
|
duration: Date.now() - startTime,
|
||||||
timestamp: new Date().toISOString(),
|
timestamp: new Date().toISOString(),
|
||||||
details: {
|
details: {
|
||||||
columns: columns || 'verified'
|
tableAccessible: true,
|
||||||
|
testQuery: 'submission_items table verified'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
import type { PhotoSubmissionItem } from './photo-submissions';
|
import type { PhotoSubmissionItem } from './photo-submissions';
|
||||||
|
|
||||||
|
// Re-export for convenience
|
||||||
|
export type { PhotoSubmissionItem } from './photo-submissions';
|
||||||
|
|
||||||
// Core photo display interface
|
// Core photo display interface
|
||||||
export interface PhotoItem {
|
export interface PhotoItem {
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user