Service - Account Assets: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = Handler service for accounts classified as Assets. = Repository = ... = Schemas = ==ObjectSchemas== === accountAssets === <syntaxhighlight lang="JavaScript"> { "objectType": "accountAssets", "extendObjType": { "serviceTag": "AccountManager", "objectType": "account" }, "storageResources": { "graph": { "storageType": "graph", "graphServerTag": "GraphHandler" } "dynamo": { "storageType": "dynamoDB", "ta...") |
No edit summary |
||
| Line 28: | Line 28: | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": "accountAssets", | "tableName": "accountAssets", | ||
} | |||
}, | |||
"addOnDataStructure": [], | |||
"fieldNames": { | |||
// from account objType | |||
}, | |||
"generatedBy": "userGenerated" | |||
} | |||
</syntaxhighlight> | |||
=== accountAssetDepreciation === | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
"objectType": "accountAssetDepreciation", | |||
"extendObjType": { | |||
"serviceTag": "AccountManager", | |||
"objectType": "account" | |||
}, | |||
"storageResources": { | |||
"graph": { | |||
"storageType": "graph", | |||
"graphServerTag": "GraphHandler" | |||
} | |||
"dynamo": { | |||
"storageType": "dynamoDB", | |||
"tableName": "accountAssetDepreciation", | |||
} | } | ||
}, | }, | ||
| Line 40: | Line 67: | ||
== RelationshipSchemas == | == RelationshipSchemas == | ||
=== hasAssetDepreciation === | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
"relationshipServiceTag": "AccountAssets", | |||
"fieldNames": {}, | |||
"storageResources": { | |||
"graph": { | |||
"storageType": "graph", | |||
"graphServerTag": "GraphHandler" | |||
} | |||
}, | |||
"links": [ | |||
{ | |||
"storageResourceTags": [ | |||
"graph" | |||
], | |||
"from": { | |||
"objType": { | |||
"serviceTag": "AccountAssets", | |||
"objectType": "accountAssets" | |||
}, | |||
"linkType": "one", | |||
"handler": true, | |||
"requiredOnCreate": false | |||
}, | |||
"to": { | |||
"objType": { | |||
"serviceTag": "AccountAssets", | |||
"objectType": "accountAssetDepreciation" | |||
}, | |||
"linkType": "many", | |||
"requiredOnCreate": true, | |||
"handler": true, | |||
}, | |||
"canDelete": false | |||
} | |||
], | |||
"canMove": false | |||
} | |||
</syntaxhighlight> | |||
= Working documents = | = Working documents = | ||
Latest revision as of 12:32, 11 January 2026
Overview
Handler service for accounts classified as Assets.
Repository
...
Schemas
ObjectSchemas
accountAssets
{
"objectType": "accountAssets",
"extendObjType": {
"serviceTag": "AccountManager",
"objectType": "account"
},
"storageResources": {
"graph": {
"storageType": "graph",
"graphServerTag": "GraphHandler"
}
"dynamo": {
"storageType": "dynamoDB",
"tableName": "accountAssets",
}
},
"addOnDataStructure": [],
"fieldNames": {
// from account objType
},
"generatedBy": "userGenerated"
}
accountAssetDepreciation
{
"objectType": "accountAssetDepreciation",
"extendObjType": {
"serviceTag": "AccountManager",
"objectType": "account"
},
"storageResources": {
"graph": {
"storageType": "graph",
"graphServerTag": "GraphHandler"
}
"dynamo": {
"storageType": "dynamoDB",
"tableName": "accountAssetDepreciation",
}
},
"addOnDataStructure": [],
"fieldNames": {
// from account objType
},
"generatedBy": "userGenerated"
}
RelationshipSchemas
hasAssetDepreciation
{
"relationshipServiceTag": "AccountAssets",
"fieldNames": {},
"storageResources": {
"graph": {
"storageType": "graph",
"graphServerTag": "GraphHandler"
}
},
"links": [
{
"storageResourceTags": [
"graph"
],
"from": {
"objType": {
"serviceTag": "AccountAssets",
"objectType": "accountAssets"
},
"linkType": "one",
"handler": true,
"requiredOnCreate": false
},
"to": {
"objType": {
"serviceTag": "AccountAssets",
"objectType": "accountAssetDepreciation"
},
"linkType": "many",
"requiredOnCreate": true,
"handler": true,
},
"canDelete": false
}
],
"canMove": false
}