This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
enum SideMenu: String, CaseIterable { | |
case first | |
case second | |
case third | |
case fourth | |
case fifth | |
var id: String { "\(self)" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
enum SideMenu: String, CaseIterable { | |
case first | |
case second | |
case third | |
case fourth | |
case fifth | |
var id: String { "\(self)" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type MaterialType = "examPaper" | "textbook"; | |
type MaterialSubType = "previous" | "orzoOriginal" | "private"; | |
interface Material { | |
type: MaterialType; // 컨텐츠 대분류 | |
subType: MaterialSubType; // 컨텐츠 중분류 | |
title: string; // 학습자료 제목 | |
thumbnailURL: string; // 썸네일 이미지 URL | |
description: string | null; // 학습자료 한 줄 설명 | |
authority: Authority; // 권한 (무료, 프리미엄) |
OlderNewer