feat: add GraphQL mutations for seeding and cleaning attire options data.
This commit is contained in:
@@ -1770,5 +1770,165 @@ mutation seedAll @transaction {
|
||||
invoiceId: "ba0529be-7906-417f-8ec7-c866d0633fee"
|
||||
}
|
||||
)
|
||||
|
||||
mutation seedAttireOptions @transaction {
|
||||
# Attire Options (Required)
|
||||
attire_1: attireOption_insert(
|
||||
data: {
|
||||
id: "4bce6592-e38e-4d90-a478-d1ce0f286146"
|
||||
itemId: "shoes_non_slip"
|
||||
label: "Non Slip Shoes"
|
||||
description: "Black, closed-toe, non-slip work shoes."
|
||||
imageUrl: "https://images.unsplash.com/photo-1549298916-b41d501d3772?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: true
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_2: attireOption_insert(
|
||||
data: {
|
||||
id: "786e9761-b398-42bd-b363-91a40938864e"
|
||||
itemId: "pants_black"
|
||||
label: "Black Pants"
|
||||
description: "Professional black slacks or trousers. No jeans."
|
||||
imageUrl: "https://images.unsplash.com/photo-1594633312681-425c7b97ccd1?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: true
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_3: attireOption_insert(
|
||||
data: {
|
||||
id: "17b135e6-b8f0-4541-b12b-505e95de31ef"
|
||||
itemId: "socks_black"
|
||||
label: "Black Socks"
|
||||
description: "Solid black dress or crew socks."
|
||||
imageUrl: "https://images.unsplash.com/photo-1582966298431-99c6a1e8d44e?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: true
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_4: attireOption_insert(
|
||||
data: {
|
||||
id: "bbff61b3-3f99-4637-9a2f-1d4c6fa61517"
|
||||
itemId: "shirt_white_button_up"
|
||||
label: "White Button Up"
|
||||
description: "Clean, pressed, long-sleeve white button-up shirt."
|
||||
imageUrl: "https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: true
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
|
||||
# Attire Options (Non-Essential)
|
||||
attire_5: attireOption_insert(
|
||||
data: {
|
||||
id: "32e77813-24f5-495b-98de-872e33073820"
|
||||
itemId: "pants_blue_jeans"
|
||||
label: "Blue Jeans"
|
||||
description: "Standard blue denim jeans, no rips or tears."
|
||||
imageUrl: "https://images.unsplash.com/photo-1542272604-787c3835535d?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_6: attireOption_insert(
|
||||
data: {
|
||||
id: "de3c5a90-2c88-4c87-bb00-b62c6460d506"
|
||||
itemId: "shirt_white_polo"
|
||||
label: "White Polo"
|
||||
description: "White polo shirt with collar."
|
||||
imageUrl: "https://images.unsplash.com/photo-1581655353564-df123a1eb820?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_7: attireOption_insert(
|
||||
data: {
|
||||
id: "64149864-b886-4a00-9aa2-09903a401b5b"
|
||||
itemId: "shirt_catering"
|
||||
label: "Catering Shirt"
|
||||
description: "Company approved catering staff shirt."
|
||||
imageUrl: "https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_8: attireOption_insert(
|
||||
data: {
|
||||
id: "9b2e493e-e95c-4dcd-9073-e42dbcf77076"
|
||||
itemId: "banquette"
|
||||
label: "Banquette"
|
||||
description: "Standard banquette or event setup uniform."
|
||||
imageUrl: "https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_9: attireOption_insert(
|
||||
data: {
|
||||
id: "2e30cde5-5acd-4dd0-b8e9-af6d6b59b248"
|
||||
itemId: "hat_black_cap"
|
||||
label: "Black Cap"
|
||||
description: "Plain black baseball cap, no logos."
|
||||
imageUrl: "https://images.unsplash.com/photo-1588850561407-ed78c282e89b?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_10: attireOption_insert(
|
||||
data: {
|
||||
id: "90d912ed-1227-44ef-ae75-bc7ca2c491c6"
|
||||
itemId: "chef_coat"
|
||||
label: "Chef Coat"
|
||||
description: "Standard white double-breasted chef coat."
|
||||
imageUrl: "https://images.unsplash.com/photo-1583394293214-28ded15ee548?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_11: attireOption_insert(
|
||||
data: {
|
||||
id: "d857d96b-5bf4-4648-bb9c-f909436729fd"
|
||||
itemId: "shirt_black_button_up"
|
||||
label: "Black Button Up"
|
||||
description: "Clean, pressed, long-sleeve black button-up shirt."
|
||||
imageUrl: "https://images.unsplash.com/photo-1598033129183-c4f50c7176c8?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_12: attireOption_insert(
|
||||
data: {
|
||||
id: "1f61267b-1f7a-43f1-bfd7-2a018347285b"
|
||||
itemId: "shirt_black_polo"
|
||||
label: "Black Polo"
|
||||
description: "Black polo shirt with collar."
|
||||
imageUrl: "https://images.unsplash.com/photo-1583743814966-8936f5b7be1a?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_13: attireOption_insert(
|
||||
data: {
|
||||
id: "16192098-e5ec-4bf2-86d3-c693663BA687"
|
||||
itemId: "all_black_bistro"
|
||||
label: "All Black Bistro"
|
||||
description: "Full black bistro uniform including apron."
|
||||
imageUrl: "https://images.unsplash.com/photo-1551632432-c735e8399527?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
attire_14: attireOption_insert(
|
||||
data: {
|
||||
id: "6be15ab9-6c73-453b-950b-d4ba35d875de"
|
||||
itemId: "white_black_bistro"
|
||||
label: "White and Black Bistro"
|
||||
description: "White shirt with black pants and bistro apron."
|
||||
imageUrl: "https://images.unsplash.com/photo-1600565193348-f74bd3c7ccdf?auto=format&fit=crop&q=80&w=400&h=400"
|
||||
isMandatory: false
|
||||
vendorId: "c3b25c47-0ebd-4402-a9b1-b8a875a7f71a"
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
#v.3
|
||||
Reference in New Issue
Block a user