import { User } from './interfaces' ; export interface UserKind { KEY : string ; LABEL : string ; CONTAINER_SELECTORS : string [ ] ; } export interface Users { admin ? : User [ ] ; participant ? : User [ ] ; waiting ? : User [ ] ; } export const USER_KINDS = [ { KEY : 'admin' , LABEL : '管理者・発表者' , CONTAINER_SELECTORS : [ '.concerned_area' ] , } , { KEY : 'participant' , LABEL : '参加者（抽選待ち含む）' , CONTAINER_SELECTORS : [ '.participation_table_area' , '.lottery_table_area' ] , } , { KEY : 'waiting' , LABEL : '補欠者' , CONTAINER_SELECTORS : [ '.waitlist_table_area' ] , } , ] ; export interface Preset { backgroundUrl : string ; className : string ; custom ? : boolean ; author ? : Author ; } export interface Author { name : string ; link : string ; } const AUTHORS = { '711fumi' : { name : '@711fumi' , link : 'http://www.711fumi.info' , } , } ; export const PRESETS = [ { backgroundUrl : './assets/images/preset1.png' , className : 'default' , } , { backgroundUrl : './assets/images/preset2.png' , className : 'default' , } , { backgroundUrl : './assets/images/browser.png' , className : 'default browser' , author : AUTHORS [ '711fumi' ] , } , { backgroundUrl : './assets/images/green-bar.png' , className : 'green-bar' , author : AUTHORS [ '711fumi' ] , } , { backgroundUrl : './assets/images/space.png' , className : 'space' , author : AUTHORS [ '711fumi' ] , } , { backgroundUrl : '' , className : 'default' , custom : true , } , ] ; export type EventSourceKind = 'connpass' | 'meetup' ;