Skip to content

Add textImlaei to Quran core word records - #92

Merged
basit3407 merged 1 commit into
mainfrom
content-sync/quran-core-imlaei
Oct 16, 2026
Merged

basit3407 merged 1 commit into
mainfrom
content-sync/quran-core-imlaei

Conversation

@basit3407

Copy link
Copy Markdown
Collaborator

Summary

  • Adds optional textImlaei?: string | null to QuranCoreWordSnapshotRecord (Content Sync quran_core:1 word records). It is optional because snapshots generated before the server-side backfill do not include it.
  • Additive and non-breaking; no existing fields change.
  • README notes word-level Imlaei text, that the field may be absent, and the example logs record.textImlaei.
  • Tests: the public-types word fixture includes the new field and the legacy fixture omits it; the findSnapshot() quran_core test asserts text_imlaei is camel-cased to textImlaei (existing humps conversion, no code change needed) and that a legacy word record has no such property.
  • Changeset (minor) for @quranjs/api.

Follows the same pattern as #89 (textIndopakNastaleeq).

Dependency

Depends on the server-side quran_core word field text_imlaei being deployed (parallel tools.quran.com / quran.com-api changes). Until then the value is absent at runtime (hence optional).

Verification

  • eslint (api package): pass
  • pnpm --filter @quranjs/api check:operation-catalogs: up to date
  • vitest: 25 files / 222 tests pass
  • test:package (build + App State smoke): pass
  • tsc --noEmit -p packages/api: no errors in touched files (the package has no typecheck script; the full-project run has pre-existing errors unrelated to this change)
  • Prettier check reports Resources.ts and resources.test.ts as unformatted on origin/main too (pre-existing)

🤖 Generated with Claude Code

Type the new nullable `text_imlaei` Content Sync field on
`QuranCoreWordSnapshotRecord`. It is optional because snapshots generated
before the server-side backfill omit it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T04:27:12.331970Z ea96ff4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
dist/index.min.js 7.85 KB (0%)
dist/index.min.mjs 7.85 KB (0%)
dist/server.min.js 15.05 KB (0%)
dist/public.min.js 10.04 KB (0%)

@basit3407
basit3407 merged commit acb665b into main Oct 16, 2026
6 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