@paroicms/connector
Version:
An API to help build management tools for ParoiCMS instances
14 lines (13 loc) • 491 B
TypeScript
import type { JtInternalCommonSchema } from "../../typeonly/common-schema-json-types.d.ts";
import type { LocalizedTranslations } from "./read-locales.js";
import type { ParsedSiteSchema } from "./site-schema-lib-reader.js";
export interface CommonSchemaLibrary {
common: CommonSchema;
defaultLib: ParsedSiteSchema[];
}
export interface CommonSchema extends JtInternalCommonSchema {
l10n: LocalizedTranslations;
languageLabels: {
[language: string]: string;
};
}