Ghost/ghost/members-api/test
Thibaut Patel 1370682a60 Added a function to parse a NQL subset
refs https://github.com/TryGhost/Team/issues/1277

- This will allow to filter events within `getEventTimeline`
- The subset of NQL has the following rules:
  - Only one level of filters, now parenthesis allowed
  - Only three filter keys allowed
  - No `or` allowed outside of the bracket notation (this is allowed: `type:-[email_opened_event,email_failed_event]` but this isn't: `type:1,data.created_at:1`)
- The return is an object with a NQL filter by allowed filter key
2022-01-24 18:53:14 +01:00
..
unit/lib Added a function to parse a NQL subset 2022-01-24 18:53:14 +01:00
utils Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.eslintrc.js Removed trailing commas from .eslintrc.js 2021-07-14 12:04:46 +01:00
hello.test.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00