light modification

This commit is contained in:
mr 2025-01-17 10:56:45 +01:00
parent d00109daf3
commit fb1b44e1d1

View File

@ -92,3 +92,7 @@ func (d DataType) String() string { // String - Returns the string name of the d
func (d DataType) EnumIndex() int { func (d DataType) EnumIndex() int {
return int(d) return int(d)
} }
func DataTypeList() []DataType {
return []DataType{DATA_RESOURCE, PROCESSING_RESOURCE, STORAGE_RESOURCE, COMPUTE_RESOURCE, WORKFLOW_RESOURCE, WORKFLOW, WORKFLOW_EXECUTION, WORKSPACE, RESOURCE_MODEL, PEER, COLLABORATIVE_AREA, RULE, BOOKING, WORKFLOW_HISTORY, WORKSPACE_HISTORY, ORDER, BUYING_STATUS}
}