File tree Expand file tree Collapse file tree 6 files changed +5
-6
lines changed
Expand file tree Collapse file tree 6 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- import { getAuthHeaders , getJsonHeaders } from '$lib/utils' ;
1+ import { getAuthHeaders , getJsonHeaders } from '$lib/utils/api-headers ' ;
22import { AttachmentType } from '$lib/enums' ;
33import { config } from '$lib/stores/settings.svelte' ;
44import { ensureMcpClient } from '$lib/services/mcp-singleton' ;
Original file line number Diff line number Diff line change 11import { base } from '$app/paths' ;
22import { ServerModelStatus } from '$lib/enums' ;
3- import { getJsonHeaders } from '$lib/utils' ;
3+ import { getJsonHeaders } from '$lib/utils/api-headers ' ;
44
55/**
66 * ModelsService - Stateless service for model management API communication
Original file line number Diff line number Diff line change 1- import { getAuthHeaders } from '$lib/utils' ;
1+ import { getAuthHeaders } from '$lib/utils/api-headers ' ;
22
33/**
44 * PropsService - Server properties management
Original file line number Diff line number Diff line change 88 */
99
1010// API utilities
11- export { getAuthHeaders , getJsonHeaders } from './api-headers' ;
1211export { validateApiKey } from './api-key-validation' ;
1312
1413// Attachment utilities
Original file line number Diff line number Diff line change 11import type { PageLoad } from './$types' ;
2- import { validateApiKey } from '$lib/utils' ;
2+ import { validateApiKey } from '$lib/utils/api-key-validation ' ;
33
44export const load : PageLoad = async ( { fetch } ) => {
55 await validateApiKey ( fetch ) ;
Original file line number Diff line number Diff line change 11import type { PageLoad } from './$types' ;
2- import { validateApiKey } from '$lib/utils' ;
2+ import { validateApiKey } from '$lib/utils/api-key-validation ' ;
33
44export const load : PageLoad = async ( { fetch } ) => {
55 await validateApiKey ( fetch ) ;
You can’t perform that action at this time.
0 commit comments