mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 21:21:21 +00:00
34 lines
601 B
TypeScript
34 lines
601 B
TypeScript
import { Page, Category, Brand } from './types'
|
|
|
|
export default {
|
|
page: {
|
|
get full(): Page {
|
|
return {
|
|
id: 'some-page',
|
|
body: 'page body',
|
|
name: 'page name',
|
|
url: '/page-url',
|
|
sort_order: 1,
|
|
}
|
|
},
|
|
},
|
|
category: {
|
|
get full(): Category {
|
|
return {
|
|
entityId: 'category-id',
|
|
name: 'Some category',
|
|
path: 'some-category-path',
|
|
}
|
|
},
|
|
},
|
|
brand: {
|
|
get full(): Brand {
|
|
return {
|
|
entityId: 'brand-id',
|
|
name: 'Some brand',
|
|
path: 'some-brand-path',
|
|
}
|
|
},
|
|
},
|
|
}
|