import { Plugin } from "@webiny/plugins" ; import { CmsModel as CmsModelBase } from "~/types" ; export interface CmsModel extends Omit < CmsModelBase , "locale" | "tenant" | "webinyVersion" > { locale ? : string ; tenant ? : string ; } export class CmsModelPlugin extends Plugin { public static readonly type : string = "cms-content-model" ; contentModel : CmsModel ; constructor ( contentModel ) { super ( ) ; this . contentModel = contentModel ; } }