import { Base44DatabaseAdapter } from '@/adapters/Base44DatabaseAdapter';
import { Base44AuthAdapter } from '@/adapters/Base44AuthAdapter';
import { Base44FileStorageAdapter } from '@/adapters/Base44FileStorageAdapter';
import { Base44FunctionAdapter } from '@/adapters/Base44FunctionAdapter';

export const adapters = { database: Base44DatabaseAdapter, auth: Base44AuthAdapter, files: Base44FileStorageAdapter, functions: Base44FunctionAdapter };
export const newUuid = (prefix) => `${prefix}-${crypto.randomUUID()}`;
export const migrationFields = (actor = 'Workshop Owner') => ({ created_by_name: actor, updated_by_name: actor, revision: 1, record_state: 'active', migration_version: 1 });