Add record access strategy
This commit is contained in:
@@ -118,10 +118,20 @@ export interface ListViewConfig extends ViewConfig {
|
||||
actions?: ViewAction[];
|
||||
}
|
||||
|
||||
export interface RelatedListConfig {
|
||||
title: string;
|
||||
relationName: string;
|
||||
objectApiName: string;
|
||||
fields: FieldConfig[];
|
||||
canCreate?: boolean;
|
||||
createRoute?: string;
|
||||
}
|
||||
|
||||
export interface DetailViewConfig extends ViewConfig {
|
||||
mode: ViewMode.DETAIL;
|
||||
sections?: FieldSection[];
|
||||
actions?: ViewAction[];
|
||||
relatedLists?: RelatedListConfig[];
|
||||
}
|
||||
|
||||
export interface EditViewConfig extends ViewConfig {
|
||||
|
||||
Reference in New Issue
Block a user