Sha256: 307af9e4ec2299774c8e521993fcf311250a9af48d04c86d0a4f845bab5073eb

Contents?: true

Size: 442 Bytes

Versions: 5

Compression:

Stored size: 442 Bytes

Contents

Types::CalendarType = GraphQL::ObjectType.define do
  name "Calendar"
  description "DateBook Calendars"

  field :id, types.ID
  field :name, types.String
  field :slug, !types.String
  field :description, types.String
  field :css_class, types.String
  field :created_at, Types::DateTimeType
  field :updated_at, Types::DateTimeType
  field :events, types[Types::EventType]
  field :event_occurrences, types[Types::EventOccurrenceType]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
date_book-0.0.6 app/graphql/types/calendar_type.rb
date_book-0.0.5 app/graphql/types/calendar_type.rb
date_book-0.0.3 app/graphql/types/calendar_type.rb
date_book-0.0.2 app/graphql/types/calendar_type.rb
date_book-0.0.1 app/graphql/types/calendar_type.rb