PromucFlow_constructor/app/client/src/constants/BindingsConstants.ts

8 lines
377 B
TypeScript
Raw Normal View History

/* eslint-disable no-useless-escape */
// TODO (hetu): Remove useless escapes and re-enable the above lint rule
2019-11-01 07:11:32 +00:00
export type NamePathBindingMap = Record<string, string>;
2019-12-02 07:37:33 +00:00
export const DATA_BIND_REGEX = /(.*?){{(\s*(.*?)\s*)}}(.*?)/g;
2019-11-06 06:35:15 +00:00
export const DATA_PATH_REGEX = /[\w\.\[\]\d]+/;
2019-12-06 13:16:08 +00:00
export const DATA_BIND_AUTOCOMPLETE = /({{)(.*)(}{0,2}?)/;
2019-11-08 11:02:00 +00:00
/* eslint-enable no-useless-escape */