Skip to content

docs(datasources): surface native joins for discoverability + REST/JS…#277

Merged
tonytlwu merged 1 commit into
masterfrom
fix/ai-docs-md-urls
Jun 7, 2026
Merged

docs(datasources): surface native joins for discoverability + REST/JS…#277
tonytlwu merged 1 commit into
masterfrom
fix/ai-docs-md-urls

Conversation

@tonytlwu

@tonytlwu tonytlwu commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

… key parity (DEV-1360)

Make Fliplet Data Source joins discoverable to the V3 AI builder and accurate across the JS and REST references, so the builder reaches for the native find({ join }) API instead of fetching both sources and matching in JS.

  • fliplet-datasources.md: add join/joins/related-data/combine-data-sources/ lookup/relationship to capabilities: (the V3 catalog uses these to map user intent -> API technique); add an early pointer from the find() docs to the joins section; make the joins section self-contained with a worked find({ join }) example. Joined data is accessed at result[i].join.X (sibling of .data), not result[i].data.X.
  • joins.md: clarify the JS API returns matches under join (singular) while the REST endpoint returns joins (plural); note order+limit is global-order then per-parent limit. (verified against routes/v1/data-sources.js)
  • REST-API/fliplet-datasources.md: add a "Joining data from another data source" subsection to /data/query with request/response example.
  • Regenerate .well-known (llms-v3-libraries.json now advertises join capabilities; llms-full.txt reflects the joins doc edits).

Pairs with the Studio builder.md directive (DEV-1360) that mandates native joins; this side makes the technique discoverable + correct in the docs.

… key parity (DEV-1360)

Make Fliplet Data Source joins discoverable to the V3 AI builder and accurate
across the JS and REST references, so the builder reaches for the native
find({ join }) API instead of fetching both sources and matching in JS.

- fliplet-datasources.md: add join/joins/related-data/combine-data-sources/
  lookup/relationship to `capabilities:` (the V3 catalog uses these to map
  user intent -> API technique); add an early pointer from the find() docs to
  the joins section; make the joins section self-contained with a worked
  find({ join }) example. Joined data is accessed at result[i].join.X
  (sibling of .data), not result[i].data.X.
- joins.md: clarify the JS API returns matches under `join` (singular) while
  the REST endpoint returns `joins` (plural); note order+limit is global-order
  then per-parent limit. (verified against routes/v1/data-sources.js)
- REST-API/fliplet-datasources.md: add a "Joining data from another data
  source" subsection to /data/query with request/response example.
- Regenerate .well-known (llms-v3-libraries.json now advertises join
  capabilities; llms-full.txt reflects the joins doc edits).

Pairs with the Studio builder.md directive (DEV-1360) that mandates native
joins; this side makes the technique discoverable + correct in the docs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying fliplet-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 21a407a
Status: ✅  Deploy successful!
Preview URL: https://eceee9ff.fliplet-cli.pages.dev
Branch Preview URL: https://fix-ai-docs-md-urls.fliplet-cli.pages.dev

View logs

@tonytlwu tonytlwu merged commit c428c53 into master Jun 7, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant