chore(src): 🔧 Update TypeScript files in src directory
This commit is contained in:
parent
35e2c57f54
commit
84f949246c
4 changed files with 9 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"seed": 36583867,
|
||||
"deployment": "trustedmeet",
|
||||
"generatedAt": "2026-01-23T23:48:57.366Z"
|
||||
"generatedAt": "2026-01-23T23:58:32.952Z"
|
||||
}
|
||||
|
|
@ -490,7 +490,7 @@ export class FaviconGeneratorService implements OnModuleInit {
|
|||
|
||||
// Generate with img2img
|
||||
const response = await this.diffusionClient.generateImg2Img(masterBase64, prompt, {
|
||||
strength: 0.4, // Preserve composition, allow color changes
|
||||
strength: 0.25, // Strong composition preservation, allow color changes only
|
||||
seed,
|
||||
steps: 50,
|
||||
guidanceScale: 8.0,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import { createContext, useContext, useMemo, type ReactNode } from 'react';
|
||||
|
||||
import type { VerticalConfig } from '@lilith/marketplace-shared';
|
||||
import { VERTICAL_CONFIGS, type VerticalConfig } from '@lilith/marketplace-shared';
|
||||
|
||||
import type { DeploymentConfig, VerticalExtension } from '@/extension-points';
|
||||
|
||||
|
|
@ -74,16 +74,8 @@ export function DeploymentProvider({
|
|||
// Find the active vertical extension
|
||||
const verticalExtension = config.verticals.find((v) => v.slug === activeVertical);
|
||||
|
||||
// Lazy load VERTICAL_CONFIGS to avoid circular dependency
|
||||
let verticalConfig: VerticalConfig | undefined;
|
||||
try {
|
||||
// Dynamic import to break circular dependency
|
||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||
const { VERTICAL_CONFIGS } = require('@lilith/marketplace-shared');
|
||||
verticalConfig = VERTICAL_CONFIGS[activeVertical];
|
||||
} catch {
|
||||
verticalConfig = undefined;
|
||||
}
|
||||
// Get vertical config from the shared package
|
||||
const verticalConfig = VERTICAL_CONFIGS[activeVertical];
|
||||
|
||||
// Merge features: deployment defaults + vertical overrides
|
||||
const features = {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,10 @@ export const MarketplaceHeader = () => {
|
|||
const navigate = useNavigate();
|
||||
|
||||
const config: BaseHeaderConfig | null = useMemo(() => {
|
||||
// DEBUG: Log vertical config
|
||||
console.log('[MarketplaceHeader] vertical:', vertical);
|
||||
console.log('[MarketplaceHeader] workerGuestNavigation:', vertical?.workerGuestNavigation);
|
||||
|
||||
// Worker tree - guest
|
||||
if (audience === 'worker' && !isAuthenticated) {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue