import { env } from '$env/dynamic/private';
/**
 * Server-side environment configuration for Tandoor integration
 * These variables should be set in your .env file or as environment variables
 */

export const tandoorConfig = {
	enabled: env.TANDOOR_ENABLED === 'true',
	serverUrl: (env.TANDOOR_SERVER_URL || '').replace(/\/$/, ''),
	space: env.TANDOOR_SPACE ? parseInt(env.TANDOOR_SPACE, 10) : 1,
	token: env.TANDOOR_TOKEN || null
};
