Service - Stage Standard

From Izara Wiki
Jump to navigation Jump to search

Overview

Handler service for configuring a standard supply or production stage, ie an event that adjusts a Unit. stageAdjustments can adjust unitTrackedProperty values for the Unit instance that has the stageStandard applied to it.

Repository

https://bitbucket.org/izara-supply-stages/izara-supply-stages-stage-standard

objectSchemas

{
	objectType: "stageStandard",
	extendObjType: {
		serviceTag: "stageManager",
		objectType: "stage",
	},
	storageResources:{
		"xxx":{
			storageType: "graph",
			graphServerTag: "xx",
		}
	},
	fieldNames: {
		// from stage objectType
		whenApplyStageAdjustments: { // for stages that take time, do stageAdjustments get applied at the start or finish
			type: "string", // "start"|"finish"
		},
	},
	identifiers: [
		// from stage objectType
	]
},

Working documents

Stage Standard