feat(index): Index module foundation (#9095)

**What**
Index module foundation

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
Adrien de Peretti
2024-09-18 19:04:04 +00:00
committed by GitHub
co-authored by Carlos R. L. Rodrigues
parent 3cfcd075ae
commit 58167b5dfa
53 changed files with 4796 additions and 1201 deletions
@@ -1,7 +1,4 @@
export default `
scalar DateTime
scalar JSON
type InventoryItem {
id: ID!
created_at: DateTime!
@@ -21,7 +18,6 @@ type InventoryItem {
title: String
thumbnail: String
metadata: JSON
inventory_levels: [InventoryLevel]
}
@@ -31,6 +27,7 @@ type InventoryLevel {
updated_at: DateTime!
deleted_at: DateTime
inventory_item_id: String!
inventory_item: InventoryItem!
location_id: String!
stocked_quantity: Int!
reserved_quantity: Int!
@@ -45,6 +42,7 @@ type ReservationItem {
deleted_at: DateTime
line_item_id: String
inventory_item_id: String!
inventory_item: InventoryItem!
location_id: String!
quantity: Int!
external_id: String