Skip to content

Instantly share code, notes, and snippets.

@pilgwon
Created September 3, 2023 14:27
Show Gist options
  • Save pilgwon/62aed52e1a0159a069052d62511ad11d to your computer and use it in GitHub Desktop.
Save pilgwon/62aed52e1a0159a069052d62511ad11d to your computer and use it in GitHub Desktop.
오르조 학습자료 (간략)
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; // 권한 (무료, 프리미엄)
addedCount: number; // 추가 횟수
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment