{ "version": "1.0.0", "layout_name": "mypage/notifications", "extends": "_user_base", "permissions": [], "transition_overlay": { "enabled": true, "style": "spinner", "target": "mypage_tab_content", "fallback_target": "main_content_area", "spinner": { "component": "PageLoading" } }, "computed": { "currentTab": "notifications" }, "data_sources": [ { "id": "userNotifications", "label_key": "$t:editor.data_source.userNotifications", "type": "api", "endpoint": "/api/user/notifications", "method": "GET", "auto_fetch": true, "auth_required": true, "loading_strategy": "progressive", "params": { "page": "{{_local.notificationsPage ?? 1}}", "sort_order": "desc", "read": "{{_local.userNotificationsUnreadOnly ? 'unread' : 'all'}}" } } ], "init_actions": [ { "handler": "setState", "params": { "target": "local", "notificationsPage": 1, "userNotificationsUnreadOnly": false } } ], "slots": { "content": [ { "type": "basic", "name": "Div", "props": { "className": "min-h-screen bg-gray-50 dark:bg-gray-900" }, "children": [ { "type": "layout", "name": "Container", "props": { "className": "py-8" }, "responsive": { "portable": { "props": { "className": "py-4" } } }, "children": [ { "comment": "페이지 제목", "type": "basic", "name": "Div", "props": { "className": "flex items-center gap-2 mb-6" }, "children": [ { "type": "basic", "name": "Icon", "props": { "name": "user", "size": "xl", "className": "text-gray-900 dark:text-white" } }, { "type": "basic", "name": "H1", "props": { "className": "text-2xl font-bold text-gray-900 dark:text-white" }, "text": "$t:mypage.title" } ] }, { "comment": "탭 네비게이션", "partial": "partials/mypage/_tab_navigation.json" }, { "comment": "탭 컨텐츠 영역 (스켈레톤 타겟)", "type": "basic", "name": "Div", "id": "mypage_tab_content", "children": [ { "comment": "알림", "partial": "partials/mypage/notifications/_list.json" } ] } ] } ] } ] } }