The define object type definition does not appear to support groups:
type ObjectTypeDefinition = {
apiName: string;
primaryKeyPropertyApiName: string;
displayName: string;
pluralDisplayName: string;
titlePropertyApiName: string;
properties?: {
[key: string]: ObjectPropertyTypeUserDefinition;
};
implementsInterfaces?: Array<InterfaceImplementation>;
description?: string;
icon?: {
locator: BlueprintIcon;
color: string;
};
visibility?: Visibility;
editsEnabled?: boolean;
status?: ObjectTypeStatus;
datasources?: Array<ObjectTypeDatasourceDefinition>;
aliases?: Array<string>;
};
I also do not see a way to create groups. I assume this is a roadmap item, but if there is a way that I missed please LMK.