12 lines
359 B
TypeScript
12 lines
359 B
TypeScript
import { PrintfulService, WebflowService } from "@blade-and-brawn/commerce";
|
|
import type { PageServerLoad } from "./$types";
|
|
|
|
export const load = async ({}: Parameters<PageServerLoad>[0]) => {
|
|
return {
|
|
products: {
|
|
printful: PrintfulService.Products.getAll(),
|
|
webflow: WebflowService.Products.getAll(),
|
|
},
|
|
};
|
|
};
|