UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

21 lines 925 B
import { KsUserInfo } from '@knapsack/core/src/cloud'; export declare enum FeatureList { 'templatePush' = "templatePush", /** * Used to hide/show UI that does not save/work. Useful for in-progress work. */ 'showNonFunctioningUi' = "showNonFunctioningUi", /** Automatically save to local files upon change */ 'autosave' = "autosave", isLocalDev = "isLocalDev" } export declare type Features = keyof typeof FeatureList; export declare type KsFeatures = Record<Features, boolean>; export declare function getFeaturesForUser(userInfo: KsUserInfo): KsFeatures; export declare const enableBlockquotes = false; export declare const enableUiSettings = true; export declare const enableUiCreatePattern = false; export declare const enableTemplatePush = true; export declare const enablePatternIcons = false; export declare const enableCodeBlockLiveEdit = false; //# sourceMappingURL=features.d.ts.map