Available from: 2.0.0
Import
import { AssetGroup } from "@supernovaio/sdk"
Properties
- id: The unique identifier of the asset group. This ID provides a constant and unchanging reference to the group entity.
- idInVersion: The unique identifier of the asset group within this particular design system version.
- brandId: The unique identifier of the brand to which the asset group belongs.
- designSystemVersionId: The identifier of the design system version in which the asset group is located.
- name: The name of the asset group, offering a human-readable label to identify it easily and distinguish it from other groups within the same design system version.
- description: A brief description that provides insights into the asset group's purpose, characteristics, or unique organization.
- path: An array of strings representing the hierarchical path of the group within the design system version's organizational structure. Useful when constructing names.
- subgroupIds: An array of unique identifiers representing the asset groups that are subgroups of this group.
- isRoot: A boolean value indicating whether the asset group is a root-level group within the design system version. There is always only one root group.
- childrenIds: An array of unique identifiers representing the asset groups or assets itself that are direct children of this group. The array is sorted in the order in which the assets/groups are sorted within this group.
- componentIds: An array of unique identifiers representing the assets that belong to this group.
- parentGroupId: The identifier of the parent group to which this group belongs within the design system version's hierarchy. This field will be null if the group is a root-level group.
- createdAt: The timestamp indicating when the asset group was first created within the design system version.