Skip to content

docs: more improvements for omnigraph examples#2260

Open
sevenzing wants to merge 13 commits into
mainfrom
ll/docs-examples-improve-04
Open

docs: more improvements for omnigraph examples#2260
sevenzing wants to merge 13 commits into
mainfrom
ll/docs-examples-improve-04

Conversation

@sevenzing
Copy link
Copy Markdown
Member

@sevenzing sevenzing commented Jun 5, 2026

Summary

  • Update code examples, adding resolve.profile objects
  • update input variables for mainnet
  • update namegraph query to be consistent with other namegraph query in doc
  • update domain-resolver query to fit into 5 seconds per request
  • add accelerate-resolve example query only for "accelerate" page
  • Refactor examples logic, define which examples are sidebar visible and which examples are only inlined in doc
  • Each static example now can choose which namespace to show. By default namespace is mainnet and alpha instance, some ENSv2 examples are now connected to sepolia-v2
  • Update cURL example, now dont include EOF if it's possible (always possible for current examples)

Why

Make docs even better


Testing

  • How this was tested.
  • If you didn't test it, say why.

Notes for Reviewer (Optional)

  • Anything non-obvious or worth a heads-up.

Pre-Review Checklist (Blocking)

  • This PR does not introduce significant changes and is low-risk to review quickly.
  • Relevant changesets are included (or are not required)

@sevenzing sevenzing requested a review from a team as a code owner June 5, 2026 11:06
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 5, 2026

⚠️ No Changeset found

Latest commit: 5f3f82f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment Jun 5, 2026 5:10pm
enskit-react-example.ensnode.io Ready Ready Preview, Comment Jun 5, 2026 5:10pm
ensnode.io Ready Ready Preview, Comment Jun 5, 2026 5:10pm
ensrainbow.io Ready Ready Preview, Comment Jun 5, 2026 5:10pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 5, 2026

Review Change Stack

Warning

Review limit reached

@sevenzing, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 25 minutes and 46 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5aa6c1da-aef9-45e5-b1f1-1f72d190dabf

📥 Commits

Reviewing files that changed from the base of the PR and between d3c9580 and 5f3f82f.

📒 Files selected for processing (22)
  • docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts
  • docs/ensnode.io/src/content/docs/docs/integrate/index.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-migrated-names.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-resolver-permissions.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-resolver.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-subdomains-recently-registered.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/eth-by-version.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/namegraph.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/permissions-by-contract.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/permissions-by-user.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/registry-domains.mdx
  • docs/ensnode.io/src/data/omnigraph-examples/config.test.ts
  • docs/ensnode.io/src/data/omnigraph-examples/config.ts
  • docs/ensnode.io/src/data/omnigraph-examples/examples.json
  • docs/ensnode.io/src/data/omnigraph-examples/responses.json
  • docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
  • docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
  • packages/ensnode-sdk/src/omnigraph-api/example-queries.ts
  • packages/ensskills/skills/omnigraph/SKILL.md
📝 Walkthrough

Walkthrough

Converts Omnigraph examples to a config-driven, namespace-aware system; extends the GraphQL schema for protocol acceleration and profile resolution; updates SDK example queries and vendored snapshots; migrates Astro components from namespace IDs to human-readable labels and doc URLs; refreshes scripts, example generation, and docs pages.

Changes

Omnigraph Examples & Documentation Modernization

Layer / File(s) Summary
GraphQL schema contracts for acceleration and resolution
docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
Adds acceleration/resolve containers, profile and resolved-record types, new scalars and ChainName enum, and related field/documentation updates.
SDK example queries and SKILL sync
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts, packages/ensskills/skills/omnigraph/SKILL.md
Updates/rewrites many example queries and defaults (e.g., hello-world, domain-by-name, domain-profile, accelerate-resolve, account primary name), adds interpreted-name constants.
Configuration System & Example Metadata
docs/ensnode.io/src/data/omnigraph-examples/config.ts, docs/ensnode.io/src/data/omnigraph-examples/config.test.ts
Introduces OmnigraphExampleConfig, OMNIGRAPH_EXAMPLES_CONFIG, id→config lookup, href helper, and OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS; tests validate namespaces, uniqueness, and sidebar structure.
Example Data & Assembly
docs/ensnode.io/src/data/omnigraph-examples/examples.json, docs/ensnode.io/src/data/omnigraph-examples/examples.ts, docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
Rewires examples to be driven by config, updates examples.json queries, validates snapshots/responses, exports visibleOmnigraphExamples, and removes endpoint from snapshot metadata.
Per-Namespace Documentation Configuration
docs/ensnode.io/src/lib/examples/omnigraph/constants.ts, docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.ts, docs/ensnode.io/src/lib/examples/stackblitz/static/buildProject.ts
Replaces single constants with typed DOCS_OMNIGRAPH_NAMESPACE_CONFIG, getDocsOmnigraphNamespaceConfig, and DEFAULT_ENSNODE_URL; tooling uses default URL fallbacks.
Scripts: snapshot & response fetching
docs/ensnode.io/scripts/snapshot-omnigraph-version.mts, docs/ensnode.io/scripts/fetch-omnigraph-example-responses.mts
Snapshot script builds examples from SDK map + config and fails fast on missing ids; fetch script sources ids from config, computes per-namespace endpoints, applies request timeout and warning thresholds, and logs durations.
Component Props & Data Structure Updates
docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts, docs/ensnode.io/src/lib/examples/omnigraph/resolve-static-example.ts, docs/ensnode.io/src/components/molecules/omnigraph-static-example/*, docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
Replaces hostedInstanceNamespace with hostedInstanceLabel/responseSourceLabel and responseSourceDocUrl; updates schema (name→title, namespace enum, optional href); adds staticExampleHostedInstanceLinkClass; propagates props through components.
Curl Example Generation Safety
docs/ensnode.io/src/lib/examples/omnigraph/docs-utils.ts
New helpers build GraphQL request body safely and choose single-quoted vs heredoc curl payloads accordingly.
Docs pages & sidebar organization
docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/*, docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts
Adds new MDX example pages, reorders many sidebar items, switches example index to visibleOmnigraphExamples, embeds accelerate-resolve in protocol-acceleration, and wires OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS into the integrate sidebar.
Integration snippet tests & generation
docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.test.ts, docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.ts
Refocuses typecheck tests with explicit timeout; generated snippet templates use DEFAULT_ENSNODE_URL fallback.
Misc: constants, types, snapshot updates
docs/ensnode.io/src/data/omnigraph-examples/types.ts, docs/ensnode.io/src/data/omnigraph-examples/meta.ts
Updates top-of-file comment for namespace resolution; removes legacy OMNIGRAPH_EXAMPLES_META in favor of config-driven data.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • namehash/ensnode#2225: Overlaps with snapshot/response generation pipeline edits to fetch/snapshot scripts.
  • namehash/ensnode#2177: Prior changes to fetch-omnigraph-example-responses.mts that also adjust endpoint/namespace construction.
  • namehash/ensnode#2182: Related static example UI/component and playground/snippet infrastructure updates.

Suggested labels

docs

Poem

🐰 Config seeds sprout across the site,
Labels replace IDs in gentle light,
Acceleration wakes the query stream,
Examples sing in namespace dream,
A tiny hop — docs aligned and bright.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 47.62% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive The PR description follows the required template structure but is incomplete: the Testing section lacks concrete details and the Pre-Review Checklist items are unchecked with no explanations. Complete the Testing section with specific validation steps and check/explain the Pre-Review Checklist items before merging.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main focus of the PR: improving omnigraph examples through refactoring, namespace configuration, and updates to query patterns and documentation.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ll/docs-examples-improve-04

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Jun 5, 2026

Greptile Summary

This PR overhauls the Omnigraph documentation examples infrastructure: the old meta.ts registry is replaced by a typed config.ts that combines metadata, per-example namespace assignment (mainnet vs. sepolia-v2), and sidebar visibility into a single source of truth, eliminating the need to keep multiple files in sync.

  • New examples (hello-world, domain-profile, account-primary-name, accelerate-resolve) are added with correct namespace and sidebar-visibility flags; accelerate-resolve is intentionally inline-only (hostSeparatePage: false).
  • The snapshot and response-fetching scripts now use per-example namespace-specific endpoints instead of a single global URL, so each example's variables and live responses are fetched from the right network.
  • Component props are refactored from hostedInstanceNamespace: ENSNamespaceId to plain string labels (hostedInstanceLabel, responseSourceLabel), and output footnotes now link directly to the specific hosted instance that served the snapshot.

Confidence Score: 5/5

Docs-only refactor; all runtime data (examples.json, responses.json, snapshot.json) has been regenerated and committed; no application logic is affected.

The config/meta consolidation is straightforward, the new test file correctly reflects the current config (including domain-subdomains-recently-registered in SEPOLIA_V2_ONLY_IDS), and the component prop rename from ENSNamespaceId to plain strings is fully threaded through all callers. The only nit is a code-formatting irregularity in the inline TypeScript snippet shown to readers.

docs/ensnode.io/src/content/docs/docs/integrate/index.mdx has a minor indentation inconsistency in its example TypeScript snippet.

Important Files Changed

Filename Overview
docs/ensnode.io/src/data/omnigraph-examples/config.ts New file: unified example registry combining metadata, namespace assignment, sidebar visibility, and sidebar item generation — replaces the removed meta.ts.
docs/ensnode.io/src/data/omnigraph-examples/config.test.ts New test file covering namespace assignment, unique IDs, and sidebar ordering; SEPOLIA_V2_ONLY_IDS correctly includes domain-subdomains-recently-registered, all assertions should pass.
docs/ensnode.io/src/data/omnigraph-examples/examples.ts Updated to drive example rendering from config.ts instead of meta.ts; adds visibleOmnigraphExamples filter on href presence; logic is sound.
docs/ensnode.io/scripts/snapshot-omnigraph-version.mts Now generates per-example namespace-specific variables from config.ts instead of a single global namespace; removes the endpoint field from snapshot.json (nothing reads it).
docs/ensnode.io/scripts/fetch-omnigraph-example-responses.mts Now fetches each example from its config-assigned namespace endpoint; adds per-request timing with a 5s warning threshold; OMNIGRAPH_ENDPOINT override still applies globally when set.
docs/ensnode.io/src/lib/examples/omnigraph/resolve-static-example.ts Replaces hostedInstanceNamespace with hostedInstanceLabel+responseSourceLabel (both derived from namespace config); interface cleanly decoupled from ENSNamespaceId type.
docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleOutputSection.astro Output section now renders a linked footnote naming the specific hosted instance (e.g. alpha or sepolia-v2) rather than a generic snapshot note.
docs/ensnode.io/src/content/docs/docs/integrate/index.mdx Updates the hello-world enssdk/enskit/GraphQL examples to show address → primary name → profile pattern; minor indentation inconsistency in the TypeScript code block.
docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts Replaces hard-coded sidebar items list with OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS generated from config, keeping them in sync automatically.
docs/ensnode.io/src/lib/examples/stackblitz/static/resolveProject.ts Fixes StackBlitz project title from example.name (removed field) to example.title, aligning with the OmnigraphExampleQuery schema.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[config.ts\nOmnigraph Examples Config] -->|namespace per example| B[snapshot-omnigraph-version.mts\nGenerates examples.json]
    A -->|namespace per example| C[fetch-omnigraph-example-responses.mts\nGenerates responses.json]
    A -->|hostSeparatePage filter| D[OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS\nSidebar navigation]
    B --> E[examples.json\nFrozen queries + namespace-specific vars]
    C --> F[responses.json\nPer-example live responses]
    E --> G[examples.ts\nomnigraphExamples array]
    F --> G
    A --> G
    G --> H[resolve-static-example.ts\nOmnigraphStaticExampleData]
    H --> I[OmnigraphStaticExampleSet.astro\nRendered doc panels]
    I -->|hostedInstanceLabel\nresponseSourceLabel| J[StaticExampleOutputSection.astro\nOutput + linked footnote]
Loading

Reviews (9): Last reviewed commit: "Merge branch 'main' into ll/docs-example..." | Re-trigger Greptile

Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts
Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts (1)

650-669: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Regenerate SKILL examples to avoid source drift.

GRAPHQL_API_EXAMPLE_QUERIES now updates namegraph and adds accelerate-resolve, but packages/ensskills/skills/omnigraph/SKILL.md still reflects the older namegraph example and does not include accelerate-resolve. Please re-sync the AUTOGEN examples block from this source file.

Also applies to: 704-723

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ensnode-sdk/src/omnigraph-api/example-queries.ts` around lines 650 -
669, The SKILL.md examples block is out of sync with the canonical
GRAPHQL_API_EXAMPLE_QUERIES in
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts: update the AUTOGEN
examples in packages/ensskills/skills/omnigraph/SKILL.md to match the current
entries (replace the old "namegraph" example and add the new
"accelerate-resolve" example) by copying the examples (including queries, ids,
and variables) from GRAPHQL_API_EXAMPLE_QUERIES (look for the namegraph entry
around id: "namegraph" and the new accelerate-resolve entry) so the
documentation and source remain aligned.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/ensnode.io/scripts/snapshot-omnigraph-version.mts`:
- Around line 49-56: The code currently silently skips missing SDK examples in
the OMNIGRAPH_EXAMPLES_CONFIG mapping; change the behavior in the
OMNIGRAPH_EXAMPLES_CONFIG.flatMap callback (where sdkExampleById.get(config.id)
is used to build examples) to throw an error instead of console.warn/return [],
e.g. throw a descriptive Error including the missing config.id so the build
fails fast and preserves the config↔snapshot contract; ensure the thrown message
clearly references the config id and the surrounding context (example id missing
from sdkExampleById) so the failure is actionable.

In `@docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts`:
- Line 13: The schema uses namespace: z.custom<DocsOmnigraphExampleNamespace>()
which provides no runtime checks; change it to a runtime-validated schema such
as namespace: z.enum([...]) or namespace: z.union([z.literal('ns1'),
z.literal('ns2')]) or, if dynamic, namespace:
z.custom<DocsOmnigraphExampleNamespace>((v) => /* predicate returning boolean
*/) so that .parse(...) will fail for invalid namespaces; update the schema
where the namespace field is defined (replace the z.custom call referencing
DocsOmnigraphExampleNamespace).

---

Outside diff comments:
In `@packages/ensnode-sdk/src/omnigraph-api/example-queries.ts`:
- Around line 650-669: The SKILL.md examples block is out of sync with the
canonical GRAPHQL_API_EXAMPLE_QUERIES in
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts: update the AUTOGEN
examples in packages/ensskills/skills/omnigraph/SKILL.md to match the current
entries (replace the old "namegraph" example and add the new
"accelerate-resolve" example) by copying the examples (including queries, ids,
and variables) from GRAPHQL_API_EXAMPLE_QUERIES (look for the namegraph entry
around id: "namegraph" and the new accelerate-resolve entry) so the
documentation and source remain aligned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 53687c37-27d8-4675-b8e4-08a841299416

📥 Commits

Reviewing files that changed from the base of the PR and between 6542aa4 and 076c7b7.

📒 Files selected for processing (49)
  • docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts
  • docs/ensnode.io/scripts/fetch-omnigraph-example-responses.mts
  • docs/ensnode.io/scripts/snapshot-omnigraph-version.mts
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/CurlStaticCodeExample.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/GraphqlStaticQueryExample.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/SdkStaticCodeExample.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleActionBar.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleOutputSection.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExamplePlaygroundHint.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/constants.ts
  • docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
  • docs/ensnode.io/src/content/docs/docs/integrate/index.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-migrated-names.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-resolver-permissions.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-profile.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-records.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-resolver.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-subdomains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domains-by-address.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/eth-by-version.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/find-domains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/index.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/namegraph.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/permissions-by-contract.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/permissions-by-user.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/registry-domains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/protocol-acceleration.mdx
  • docs/ensnode.io/src/data/omnigraph-examples/config.test.ts
  • docs/ensnode.io/src/data/omnigraph-examples/config.ts
  • docs/ensnode.io/src/data/omnigraph-examples/examples.json
  • docs/ensnode.io/src/data/omnigraph-examples/examples.ts
  • docs/ensnode.io/src/data/omnigraph-examples/meta.ts
  • docs/ensnode.io/src/data/omnigraph-examples/responses.json
  • docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
  • docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
  • docs/ensnode.io/src/data/omnigraph-examples/types.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.test.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/constants.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/docs-utils.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/resolve-static-example.ts
  • docs/ensnode.io/src/lib/examples/stackblitz/static/buildProject.ts
  • docs/ensnode.io/src/lib/examples/stackblitz/static/resolveProject.ts
  • packages/ensnode-sdk/src/omnigraph-api/example-queries.ts
  • packages/ensskills/skills/omnigraph/SKILL.md
💤 Files with no reviewable changes (1)
  • docs/ensnode.io/src/data/omnigraph-examples/meta.ts

Comment thread docs/ensnode.io/scripts/snapshot-omnigraph-version.mts
Comment thread docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts Outdated
@sevenzing
Copy link
Copy Markdown
Member Author

@greptile review

@@ -1,3 +1,5 @@
import { OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS } from "../../../../src/data/omnigraph-examples/config.ts";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this work?

Suggested change
import { OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS } from "../../../../src/data/omnigraph-examples/config.ts";
import { OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS } from "@data/omnigraph-examples/config.ts";

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it didnt work :(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know why, if you know how to resolve it, feel free to push that commit :)

Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.test.ts
@sevenzing
Copy link
Copy Markdown
Member Author

@greptile review

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.

3 participants