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