feat(templates): GetTemplateStubsAsync untracked identity/edge projection
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace ZB.MOM.WW.ScadaBridge.Commons.Types.Templates;
|
||||
|
||||
/// <summary>
|
||||
/// Lightweight template identity/edge projection (no attributes, alarms, scripts or compositions)
|
||||
/// for callers that only need names and the inheritance/folder/ownership edges.
|
||||
/// </summary>
|
||||
/// <param name="Id">Template ID.</param>
|
||||
/// <param name="Name">Template name.</param>
|
||||
/// <param name="ParentTemplateId">Base template, if any.</param>
|
||||
/// <param name="FolderId">Containing folder, if any.</param>
|
||||
/// <param name="IsDerived">True for auto-derived composition templates.</param>
|
||||
/// <param name="OwnerCompositionId">Owning composition row for derived templates.</param>
|
||||
public sealed record TemplateStub(
|
||||
int Id,
|
||||
string Name,
|
||||
int? ParentTemplateId,
|
||||
int? FolderId,
|
||||
bool IsDerived,
|
||||
int? OwnerCompositionId);
|
||||
Reference in New Issue
Block a user