@ngxs/store
Version:
31 lines (30 loc) • 1.5 kB
TypeScript
export declare enum VALIDATION_CODE {
STATE_NAME = "STATE_NAME",
STATE_UNIQUE = "STATE_UNIQUE",
STATE_NAME_PROPERTY = "STATE_NAME_PROPERTY",
STATE_DECORATOR = "STATE_DECORATOR",
INCORRECT_PRODUCTION = "INCORRECT_PRODUCTION",
INCORRECT_DEVELOPMENT = "INCORRECT_DEVELOPMENT",
SELECT_FACTORY_NOT_CONNECTED = "SELECT_FACTORY_NOT_CONNECTED",
ACTION_DECORATOR = "ACTION_DECORATOR",
SELECTOR_DECORATOR = "SELECTOR_DECORATOR",
ZONE_WARNING = "ZONE_WARNING",
PATCHING_ARRAY = "PATCHING_ARRAY",
PATCHING_PRIMITIVE = "PATCHING_PRIMITIVE",
UNDECORATED_STATE_IN_IVY = "UNDECORATED_STATE_IN_IVY"
}
export declare const CONFIG_MESSAGES: {
[VALIDATION_CODE.STATE_NAME]: (name: string) => string;
[VALIDATION_CODE.STATE_NAME_PROPERTY]: () => string;
[VALIDATION_CODE.STATE_UNIQUE]: (current: string, newName: string, oldName: string) => string;
[VALIDATION_CODE.STATE_DECORATOR]: () => string;
[VALIDATION_CODE.INCORRECT_PRODUCTION]: () => string;
[VALIDATION_CODE.INCORRECT_DEVELOPMENT]: () => string;
[VALIDATION_CODE.SELECT_FACTORY_NOT_CONNECTED]: () => string;
[VALIDATION_CODE.ACTION_DECORATOR]: () => string;
[VALIDATION_CODE.SELECTOR_DECORATOR]: () => string;
[VALIDATION_CODE.ZONE_WARNING]: () => string;
[VALIDATION_CODE.PATCHING_ARRAY]: () => string;
[VALIDATION_CODE.PATCHING_PRIMITIVE]: () => string;
[VALIDATION_CODE.UNDECORATED_STATE_IN_IVY]: (name: string) => string;
};