1
0

Basket functionality, no DB transaction storing yet, and some more customization to make the theme uniform

This commit is contained in:
Ahmed Al-Taiar
2023-11-06 22:06:44 -05:00
parent 53e0070fd8
commit f6f01594ec
33 changed files with 539 additions and 122 deletions

View File

@@ -51,7 +51,8 @@ export const schema = gql`
type Mutation {
createPart(input: CreatePartInput!): Part! @requireAuth
updatePart(id: Int!, input: UpdatePartInput!): Part! @requireAuth
deletePart(id: Int!): Part! @requireAuth
updatePart(id: Int!, input: UpdatePartInput!): Part!
@requireAuth(roles: "admin")
deletePart(id: Int!): Part! @requireAuth(roles: "admin")
}
`