Files
Stackq/build/server/chunks/2-BkZHtq_F.js
T
eewing f6d0c065a4
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m31s
PWA
2026-02-18 11:45:07 -06:00

23 lines
1.2 KiB
JavaScript

const COLLECTION = "Stackq_Items";
const load = async ({ locals }) => {
const list = await locals.pb.collection(COLLECTION).getFullList({ sort: "-created", expand: "Parent" }).catch(() => []);
const itemsForParent = list.map((i) => ({ id: i.id, Item: i.Item, SKU: i.SKU }));
return { items: list, itemsForParent };
};
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 2;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-DGoi0dKh.js')).default;
const server_id = "src/routes/+page.server.ts";
const imports = ["_app/immutable/nodes/2.DgrjDafZ.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/BHRsrugl.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Cf_fsnlT.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=2-BkZHtq_F.js.map