1// Portfolio reads over REST — the twin of app/wix/portfolio/portfolio.ts. Same exports, same DTOs;2// the rules and mappers come from portfolio-core (the SAME file the SDK transport uses, deployed3// flat next to this one by deploy.mjs --stack static), so this file is only the transport: one4// fetch with a literal URL and body per function. Every call here is a public read, safe from a5// browser with a visitor token. Porting: keep the paths, keep the bodies, port the core once.6// docs: https://dev.wix.com/docs/api-reference/business-solutions/portfolio/collections/list-collections.md7// docs: https://dev.wix.com/docs/api-reference/business-solutions/portfolio/collections/query-collections.md8// docs: https://dev.wix.com/docs/api-reference/business-solutions/portfolio/projects/list-projects.md9// docs: https://dev.wix.com/docs/api-reference/business-solutions/portfolio/projects/query-projects.md10// docs: https://dev.wix.com/docs/api-reference/business-solutions/portfolio/project-items/list-project-items.md11import { wixRequest } from "../../shared/rest/client.js"