Skip to content

Commit

Permalink
Clean up locations
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Aug 29, 2024
1 parent 10bd7b3 commit 08189f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
18 changes: 2 additions & 16 deletions src/co/gaiwan/compass/db/data.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,8 @@
(require 'java-time-literals.core)

(defn locations []
[{:location/name "Het Depot"
:db/ident :location.type/depot}
{:location/name "Hal 5 - Workshop Zone"
:db/ident :location.type/hal5}
{:location/name "Hal 5 - Presentation Zone"
:db/ident :location.type/hal5-zone-b}
{:location/name "Hal 5 - Open Zone"
:db/ident :location.type/hal5-hoc-cafe}
{:location/name "Hal 5 - Foodcourt"
:db/ident :location.type/hal5-foodcourt}
{:location/name "Hal 5 - Park"
:db/ident :location.type/hal5-park}
{:location/name "Hal 5 - Outside seating"
:db/ident :location.type/hal5-outside-seating}
{:location/name "Hal 5 - Long table"
:db/ident :location.type/hal5-long-table}])
[{:location/name "Het Depot"}
{:location/name "Hal 5"}])

(defn session-types []
[{:session.type/name "Talk"
Expand Down
2 changes: 1 addition & 1 deletion src/co/gaiwan/compass/db/schema.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
[:session.type/name :string "Type of session, e.g. talk, activity"]
[:session.type/color :string "CSS color or var reference used for rendering"]

[:location/name :string "Name of the location" :identity]
[:location/name :string "Name of the location"]
[:oauth/state-id :uuid "State parameter passed along with the oauth flow" :identity]
[:oauth/redirect-url :string "Location to redirect to after login"]

Expand Down

0 comments on commit 08189f1

Please sign in to comment.