uyu423/resume-nextjs

View on GitHub
component/presentation/IPresentation.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { IRow } from '../common/IRow';
import { ICommon } from '../common/ICommon';

export declare namespace IPresentation {
  /**
   * ### Sample Rendering
   *
   * ![image](https://user-images.githubusercontent.com/8033320/80116477-fd69b600-85c0-11ea-9fe5-5e5e664605f2.png)
   *
   * @example https://github.com/uyu423/resume-nextjs/blob/master/payload/presentation.ts
   */
  export interface Payload extends ICommon.Payload {
    /** ### 발표 목록 */
    list: Item[];
  }

  export interface Item {
    /** ### 발표명 */
    title: string;

    /** ### 발표 서브 타이틀 */
    subTitle: string;

    /**
     * ### 발표 시점
     *
     * @format YYYY-MM
     * @example '2010-03'
     */
    at: string;

    /** ### 발표 설명 */
    descriptions: IRow.Description[];
  }
}