This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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
|
||||
Reference in New Issue
Block a user