Service - Inventory Manager
Revision as of 06:37, 2 January 2026 by Sven the Barbarian (talk | contribs)
Overview
Each inventory is handled by a Service - Inventory (handlers) service.
The Inventory Manager service handles detail shared by all Inventory Handler services.
Repository
....
Object Schemas
- Additional Information
- Per Service Schemas
objType
inventory
{
objectType: "inventory",
canDelete: false,
belongTo: {
serviceTag: "user",
objectType: "user"
},
addOnDataStructure: [
{
type: "attributeTree",
attributeTreeTag: "inventoryAttributes"
},
],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
fieldNames: {
inventoryId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph']
},
},
identifiers: [
{
type: "identifier",
fieldName: "inventoryId"
}
]
}
Object Relationships
isInventoryTemplate
{
isInventoryTemplate: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "inventoryManager",
objectType: "inventory"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "inventoryTemplate",
objectType: "inventoryTemplate"
},
linkType: "one"
}
}
]
}
}
Media
- all inventory instances link to Media