@foxpage/foxpage-node-sdk
Version:
foxpage node sdk
30 lines (29 loc) • 1.23 kB
TypeScript
import { AppContext, Application } from '@foxpage/foxpage-types';
export declare class AppContextImpl implements AppContext {
/**
* application id
*
* @type {string}
*/
readonly appId: string;
/**
* application slug
*
* @type {string}
*/
readonly slug: string;
/**
* current application
*
* @type {Application}
*/
app: Application;
constructor(app: Application);
get tags(): import("@foxpage/foxpage-types").TagManager<import("@foxpage/foxpage-types").Content>;
get pages(): import("@foxpage/foxpage-types").PageManager<import("@foxpage/foxpage-types").Page>;
get packages(): import("@foxpage/foxpage-types").PackageManager<import("@foxpage/foxpage-types").FPPackage>;
get variables(): import("@foxpage/foxpage-types").VariableManager<import("@foxpage/foxpage-types").Variable>;
get conditions(): import("@foxpage/foxpage-types").ConditionManager<import("@foxpage/foxpage-types").Condition>;
get templates(): import("@foxpage/foxpage-types").TemplateManager<import("@foxpage/foxpage-types").Template>;
get functions(): import("@foxpage/foxpage-types").FunctionManager<import("@foxpage/foxpage-types").FPFunction>;
}