UNPKG

@communities-webruntime/services

Version:

If you would like to run Lightning Web Runtime without the CLI, we expose some of our programmatic APIs available in Node.js. If you're looking for the CLI documentation [you can find that here](https://www.npmjs.com/package/@communities-webruntime/cli).

38 lines 1.24 kB
/** @hidden */ /** * Copyright (c) 2019, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ import { default as WebruntimeContextConfig, appOverrides } from './webruntime-context-config.js'; /** * Holds the template context configuration. * * The passed config is validated. * * templateDir is the only mandatory configuration, * all others can use default values. */ export default class WebruntimeContext { private readonly config; constructor(config: WebruntimeContextConfig); get basePath(): string; set basePath(basePath: string); get isDesignMode(): boolean; get isMobileAppMode(): boolean; get labels(): string; get locales(): string; get defaultLocale(): string; get partials(): string; get routes(): string; get srcDir(): string; get templateDir(): string; get theme(): string; get views(): string; get versionKey(): string | undefined; set versionKey(versionKey: string | undefined); get appOverrides(): appOverrides; set appOverrides(appOverrides: appOverrides); } //# sourceMappingURL=webruntime-context.d.ts.map