/
githubmirror
/
pocketbase
Обзор
Документация
Войти
/
githubmirror
/
pocketbase
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ui/src/apiPreview/expandInfo.js
25 строк
843 B
Gani Georgiev
merge newui branch
18 апр 2026, 16:50
18 апр 2026, 16:50
4c44044
Код
Авторство
О чём код?
export function expandInfo() { return t.div( { className: "api-expand-info" }, t.p(null, "Auto expand record relations. For example:"), app.components.codeBlock({ value: `?expand=relField1,relField2.subRelField`, }), t.p( null, "Supports up to 6-levels depth nested relations expansion.", t.br(), "The expanded relations will be appended to each individual record under the ", t.code(null, "expand"), " property (eg. ", t.code(null, `"expand": {"relField1": {...}, ...}`), ").", ), t.p( null, "Only the relations to which the request user has permissions to ", t.strong(null, "view"), " will be expanded.", ), ); }