Add delete vendor action

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-02-12 15:50:01 -08:00
parent 32e6391c80
commit fe95902c81
8 changed files with 330 additions and 15 deletions

View File

@@ -289,9 +289,14 @@ type Query {
type Mutation {
createVendor(input: CreateVendorInput!): Vendor!
deleteVendor(input: DeleteVendorInput!): Void!
}
input CreateVendorInput {
organizationId: ID!
name: String!
}
}
input DeleteVendorInput {
vendorId: ID!
}