We're transitioning Studio from Beta to Early Availability
Hygraph
Docs

You are currently reading the Studio Docs. If you were looking for the Classic Docs check here

Sidebar Extension API reference

function useFormSidebarExtension(): FormSidebarExtensionProps;
export interface FormSidebarExtensionProps extends ExtensionPropsBase {
extension: {
// global extension config
config: Record<string, any>;
// sidebar instance config
sidebarConfig: Record<string, any>;
};
form: Form;
model: Model;
allLocales: Locale[];
stages: Stage[];
entry?: {
id: string | null;
createdBy?: User;
updatedBy?: User;
createdAt?: string;
updatedAt?: string;
};
}