Skip to content

test(GeneratorClient-type-compiler): verify TypeScript Compiler Validation & Schema Constraints Stability (Variation 10)#7833

Open
NinadAmane wants to merge 1 commit into
JhaSourav07:mainfrom
NinadAmane:test/generatorclient-type-compiler
Open

test(GeneratorClient-type-compiler): verify TypeScript Compiler Validation & Schema Constraints Stability (Variation 10)#7833
NinadAmane wants to merge 1 commit into
JhaSourav07:mainfrom
NinadAmane:test/generatorclient-type-compiler

Conversation

@NinadAmane

Copy link
Copy Markdown
Contributor

Description

Fixes #6912

This PR introduces an isolated TypeScript compiler type-safety and validation schema constraint test suite for the GeneratorClient component. It asserts that:

  • Core types and property configurations on GeneratorState, Technology, and Social are strictly enforced.
  • Invalid configurations/parameters (e.g. incorrect graph placements or non-array technologies) are blocked with compile-time assertions (@ts-expect-error).
  • Optional/nullable properties inside GitHubUser data interfaces compile cleanly without strict type mismatches.
  • Exported helper structures (mapGitHubData) enforce strict parameter configurations and return type constraints.

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs, testing)

Visual Preview

N/A (This PR only adds type compiler tests)

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally.
  • I have run npm run format and npm run lint locally and resolved all errors.
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have starred the repo.
  • I have made sure that I have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard.

@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label Jul 8, 2026
@NinadAmane NinadAmane force-pushed the test/generatorclient-type-compiler branch from 1ae4bdf to 6965b14 Compare July 8, 2026 20:28
@github-actions github-actions Bot removed the status:blocked This PR is blocked due to a failing CI check. label Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3917.41 KB 3917.41 KB 0 B
Total CSS 325.86 KB 325.86 KB 0 B

@NinadAmane

Copy link
Copy Markdown
Contributor Author

Hi @JhaSourav07 I just needed a followup on this PR. Are there any changes required from your side?

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.

test(GeneratorClient-type-compiler): verify TypeScript Compiler Validation & Schema Constraints Stability (Variation 10)

1 participant