feat(stack): add fluent EQL v3 schema API#560
Conversation
🦋 Changeset detectedLatest commit: ee77e20 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds a fluent EQL v3 schema authoring API on top of the generated domain builders from #535. Instead of choosing a concrete generated type such as
types.TextSearch("email"), callers can start from the storage type and opt into query capabilities with SQL-aligned methods:What changed
encryptednamespace to@cipherstash/stack/eql/v3..freeTextSearch(opts).equality().encrypted.integer("age").freeTextSearch()are rejected.@cipherstash/stackAPI additions and match-option preservation fix.Validation
pnpm exec vitest run __tests__/schema-v3.test.tsfeat/eql-v3-text-search-schema: 0 issuesNotes
This PR is stacked on #535 (
feat/eql-v3-text-search-schema) and only adds the fluent authoring layer plus regression coverage for preservingfreeTextSearch(opts)across upgraded text fluent chains.