@scayle/storefront-core
Version:
Collection of essential utilities to work with the Storefront API
17 lines (16 loc) • 416 B
JavaScript
import { Factory } from "fishery";
export const userFactory = Factory.define(() => ({
id: 1,
app_id: 1,
completed_orders: 0,
createdAt: "2024-12-12T09:08:06+01:00",
updatedAt: "2025-02-14T07:29:05+01:00",
email: "user@example.org",
firstName: "John",
lastName: "Neil",
gender: "n",
publicKey: "test-public-key",
referenceKey: "test-ref-key",
isGuest: false,
isReturningCustomer: false
}));