xforge · tài liệu FE

Tải SDK #

Chép CẢ thư mục vào dự án FE (các file import lẫn nhau), đúng phiên bản server đang chạy. Không sửa tay — bản mới đi theo bản phát hành.

FileDùng cho
api.tsXforgeClient — CMS / admin; ERROR_CODES, PERMISSIONS, OPERATION_PERMISSIONS
storefront.tsStorefrontClient — storefront
runtime.tsruntime chung (phiên, refresh, realtime eventStream) — hai client import
api.openapi.jsonspec OpenAPI của API CMS / admin
storefront.openapi.jsonspec OpenAPI của storefront
menu.jsondanh mục key menu (máy đọc)
screens.jsonmô tả mọi màn hình dựng sẵn, mọi ngôn ngữ (máy đọc — kiểm renderer chung)