Skip to content

Commit 6cc4e75

Browse files
Copilothotlong
andcommitted
Fix CI build and test errors: TransactionManager type mismatch and ConditionalAuthWrapper import paths
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 345972e commit 6cc4e75

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/console/src/components/ConditionalAuthWrapper.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
*/
77

88
import { useState, useEffect, ReactNode } from 'react';
9-
import { ObjectStackAdapter } from './dataSource';
9+
import { ObjectStackAdapter } from '../dataSource';
1010
import { AuthProvider } from '@object-ui/auth';
11-
import { LoadingScreen } from './components/LoadingScreen';
11+
import { LoadingScreen } from './LoadingScreen';
1212
import type { DiscoveryInfo } from '@object-ui/react';
1313

1414
interface ConditionalAuthWrapperProps {

packages/core/src/actions/TransactionManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type {
2222
TransactionConfig,
2323
TransactionResult,
2424
ActionResult,
25-
ActionSchema,
25+
UIActionSchema,
2626
} from '@object-ui/types';
2727

2828
/**
@@ -138,7 +138,7 @@ export class TransactionManager {
138138
*/
139139
async executeTransaction(
140140
config: TransactionConfig,
141-
actionExecutor: (action: ActionSchema) => Promise<ActionResult>,
141+
actionExecutor: (action: UIActionSchema) => Promise<ActionResult>,
142142
): Promise<TransactionResult> {
143143
const transactionId = generateId();
144144
const actions = config.actions || [];

0 commit comments

Comments
 (0)