@kontent-ai/management-sdk
Version:
Official Kontent.ai management SDK
18 lines (17 loc) • 603 B
TypeScript
import { SharedContracts } from './shared-contracts';
export declare namespace CustomAppsContracts {
interface ICustomAppContract {
id: string;
name: string;
codename: string;
source_url: string;
config: string | null;
allowed_roles?: SharedContracts.ICodenameIdReferenceContract[];
display_mode: CustomAppDisplayMode;
}
interface ICustomAppsListResponseContract {
custom_apps: ICustomAppContract[];
pagination: SharedContracts.IPaginationModelContract;
}
type CustomAppDisplayMode = 'fullScreen' | 'dialog';
}