Note: 이 문서는
cob apply로 적용하는 vertical-slice feature 브릭을 다룹니다. 신규 feature 생성은 Atomic Brick +cob compose체계를 권장합니다.
Console Feature 브릭#
cob는 관리자 콘솔 전용 29개 Console feature 브릭을 제공합니다. 각 브릭은 kobic 프로젝트에서 추출된 관리자 UI + Serverpod backend를 포함합니다.
카테고리 요약#
| 카테고리 | 브릭 수 | 설명 |
|---|---|---|
| Console 관리 | 23 | 일반 관리자 기능 (대시보드, 사용자, 매출, 콘텐츠 등) |
| Publisher | 4 | 출판사 관리 (관리, 정산, 계약, 분석) |
| SCM 견본 관리 | 2 | 견본 도서 관리 및 신청 |
공통 변수#
모든 Console feature 브릭은 App feature 브릭과 동일한 변수 체계를 사용합니다:
| Variable | Type | Description |
|---|---|---|
project_name | string | 프로젝트명 (snake_case) |
org_name | string | 조직명 |
org_tld | string | 최상위 도메인 (default: com) |
feature_name | string | Feature 모듈명 (snake_case) |
primary_entity | string | 주요 도메인 Entity명 (PascalCase) |
secondary_entity | string | 보조 Entity명 (PascalCase) |
Console 관리 (23개)#
| 브릭 | feature_name | primary_entity | secondary_entity | 설명 |
|---|---|---|---|---|
| Console Dashboard | console_dashboard |
DashboardMetric | DashboardWidget | 관리자 대시보드 |
| Console User Management | console_user_management |
ManagedUser | UserRole | 사용자 관리 |
| Console Sales Analysis | console_sales_analysis |
SalesRecord | SalesReport | 매출 분석 |
| Console Content Management | console_content_management |
ManagedContent | ContentCategory | 콘텐츠 관리 |
| Console Notification | console_notification |
NotificationTemplate | NotificationLog | 알림 관리 |
| Console Settings | console_settings |
SystemSetting | SettingCategory | 설정 관리 |
| Console Report | console_report |
AdminReport | ReportTemplate | 리포트 관리 |
| Console Community | console_community |
ManagedPost | ManagedComment | 커뮤니티 관리 |
| Console Notice | console_notice |
NoticeItem | NoticeCategory | 공지사항 관리 |
| Console Chat | console_chat |
ChatSession | ChatMessage | 채팅 관리 |
| Console Review | console_review |
ManagedReview | ReviewReport | 리뷰 관리 |
| Console Payment | console_payment |
PaymentRecord | RefundRequest | 결제 관리 |
| Console Store | console_store |
ManagedProduct | ProductCategory | 상점 관리 |
| Console Ranking | console_ranking |
RankingConfig | RankEntry | 랭킹 관리 |
| Console Assessment | console_assessment |
TestConfig | QuestionBank | 평가 관리 |
| Console Check-in | console_check_in |
AttendanceLog | CheckInConfig | 출석 관리 |
| Console Group | console_group |
ManagedGroup | GroupMember | 그룹 관리 |
| Console Task | console_task |
TaskAssignment | TaskSubmission | 과제 관리 |
| Console Search | console_search |
SearchIndex | SearchLog | 검색 관리 |
| Console My Library | console_my_library |
LibraryContent | LibraryCategory | 서재 관리 |
| Console Book Content | console_book_content |
BookMetadata | ContentFile | 도서 콘텐츠 관리 |
| Console AI Chat | console_ai_chat |
AiChatConfig | AiChatLog | AI 챗봇 관리 |
| Console Onboarding | console_onboarding |
OnboardingConfig | OnboardingStep | 온보딩 관리 |
Publisher (4개)#
| 브릭 | feature_name | primary_entity | secondary_entity | 설명 |
|---|---|---|---|---|
| Console Publisher Management | console_publisher_management |
Publisher | PublisherContract | 출판사 관리 |
| Console Publisher Settlement | console_publisher_settlement |
Settlement | SettlementItem | 출판사 정산 |
| Console Publisher Contract | console_publisher_contract |
Contract | ContractTerm | 출판사 계약 |
| Console Publisher Analytics | console_publisher_analytics |
PublisherMetric | SalesData | 출판사 분석 |
SCM 견본 관리 (2개)#
| 브릭 | feature_name | primary_entity | secondary_entity | 설명 |
|---|---|---|---|---|
| Console SCM Sample Book | console_scm_sample_book |
SampleBook | SampleBookStock | 견본 도서 관리 |
| Console SCM Sample Book Request | console_scm_sample_book_request |
SampleBookRequest | RequestItem | 견본 도서 신청 관리 |
사용법#
단일 Console Feature 적용#
cob apply --feature console_dashboard
복수 Console Feature 동시 적용#
cob apply --features console_dashboard,console_user_management,console_sales_analysis
Entity 커스터마이징#
cob apply --feature console_sales_analysis \
--primary-entity Revenue \
--secondary-entity RevenueReport
전체 Console Feature 동기화#
템플릿 프로젝트에서 29개 Console feature를 일괄 동기화합니다:
cob sync --type all-console-features --project-dir template/kobic
Console feature 브릭은 kobic 프로젝트에서 추출되었습니다. 모든 브릭에 Serverpod backend 모듈이 포함되어 있습니다.