Feature request: Generate types, standard schema and Effect Schema types.

Đang mở
#642 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
api, tooling

Hướng nghiên cứu

The issue names no files, tests or entry points. Start by finding where the project defines its content types and how the REST API exposes them, then decide which output formats the issue wants (plain TypeScript, Standard Schema, Effect Schema) before writing any generator. The issue does not settle that choice, so ask the maintainers first. Done would mean a generator that produces importable type definitions from the schema, with a test that checks the output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: api enhancement priority: P2

The data types are known ahead of deployment time. For many people, SonicJS will be deployed for use as an API for another component of the system. It would be good to be able to generate the types for use in a data transfer layer package for a single monorepo project, so that it can be imported in to the data-consuming software.

Ngôn ngữ chính
TypeScript
Star
1.8k
Fork
219
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
67

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SonicJs-Org/sonicjs

Tất cả issue của SonicJs-Org/sonicjs

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.