import { Field , ObjectType } from "type-graphql" ; import { Contact } from "./Contact" ; import { Interval } from "./Interval" ; import Keyword from "./keywords" ; import Level from "./Level" ; import { Location } from "./Location" ; import SessionType from "./SessionType" ; @ ObjectType ( ) export class SessionUrls { @ Field ( ( _ ) => String , { nullable : true } ) public web ? : string ; @ Field ( ( _ ) => String , { nullable : true } ) public slides ? : string ; @ Field ( ( _ ) => String , { nullable : true } ) public video ? : string ; @ Field ( ( _ ) => String , { nullable : true } ) public demo ? : string ; } @ ObjectType ( ) export class Session { @ Field ( ( _ ) => SessionType ) public type ! : SessionType ; @ Field ( ( _ ) => Level ) public level ? : Level ; @ Field ( ( _ ) => String ) public title ! : string ; @ Field ( ( _ ) => Boolean ) public hasTitle ? : boolean ; @ Field ( ( _ ) => String , { nullable : true } ) public description ? : string ; @ Field ( ( _ ) => [ String ] , { nullable : true } ) public keywords ? : Keyword [ ] ; @ Field ( ( _ ) => Location , { nullable : true } ) public location ? : Location ; @ Field ( ( _ ) => [ Contact ] , { nullable : true } ) public people ? : Contact [ ] ; @ Field ( ( _ ) => SessionUrls , { nullable : true } ) public urls ? : SessionUrls ; @ Field ( ( _ ) => [ Session ] , { nullable : true } ) public sessions ? : Session [ ] ; @ Field ( ( _ ) => Interval ) public parent ? : Interval ; @ Field ( ( _ ) => String , { nullable : true } ) public day ? : string ; @ Field ( ( _ ) => String , { nullable : true } ) public begin ? : string ; @ Field ( ( _ ) => String , { nullable : true } ) public end ? : string ; } export { SessionType , Level } ;