add support for choosing a pig for events
This commit is contained in:
@ -1,5 +1,32 @@
|
||||
import { graphql } from "@/gql";
|
||||
|
||||
export type PigName =
|
||||
| "logo"
|
||||
| "music"
|
||||
| "drink"
|
||||
| "dance"
|
||||
| "point"
|
||||
| "student"
|
||||
| "listen"
|
||||
| "guard"
|
||||
| "key"
|
||||
| "chill"
|
||||
| "peek";
|
||||
|
||||
export const PIG_NAMES = [
|
||||
"logo",
|
||||
"music",
|
||||
"drink",
|
||||
"dance",
|
||||
"point",
|
||||
"student",
|
||||
"listen",
|
||||
"guard",
|
||||
"key",
|
||||
"chill",
|
||||
"peek",
|
||||
];
|
||||
|
||||
const BlockFragmentDefinition = graphql(`
|
||||
fragment Blocks on StreamFieldInterface {
|
||||
id
|
||||
|
@ -40,6 +40,7 @@ const EventFragmentDefinition = graphql(`
|
||||
featuredImage {
|
||||
...Image
|
||||
}
|
||||
pig
|
||||
facebookUrl
|
||||
ticketUrl
|
||||
priceRegular
|
||||
|
Reference in New Issue
Block a user