arch(sprint1): separate backoffice business mocks from bootstrap
This commit is contained in:
16
src/assets/mock/backoffice/categories/list.json
Normal file
16
src/assets/mock/backoffice/categories/list.json
Normal file
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"id": "cat-001",
|
||||
"title": "Electronics",
|
||||
"description": "Phones, laptops and accessories",
|
||||
"imageUrl": "https://images.unsplash.com/photo-1498049794561-7780e7231661?w=400&h=300&fit=crop",
|
||||
"itemsCount": 120
|
||||
},
|
||||
{
|
||||
"id": "cat-002",
|
||||
"title": "Clothing",
|
||||
"description": "Fashion for everyone",
|
||||
"imageUrl": "https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=400&h=300&fit=crop",
|
||||
"itemsCount": 80
|
||||
}
|
||||
]
|
||||
1
src/assets/mock/backoffice/customers/list.json
Normal file
1
src/assets/mock/backoffice/customers/list.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
1
src/assets/mock/backoffice/orders/list.json
Normal file
1
src/assets/mock/backoffice/orders/list.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
34
src/assets/mock/backoffice/products/list.json
Normal file
34
src/assets/mock/backoffice/products/list.json
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"id": "prod-001",
|
||||
"sku": "SKU-001",
|
||||
"title": "Demo Product 1",
|
||||
"subtitle": "Platform product mock",
|
||||
"imageUrl": "https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?w=600&h=400&fit=crop",
|
||||
"badges": ["new"],
|
||||
"tags": ["featured"],
|
||||
"rating": 4.8,
|
||||
"reviewsCount": 15,
|
||||
"price": {
|
||||
"amount": 149990,
|
||||
"currency": "RUB",
|
||||
"originalAmount": 169990
|
||||
},
|
||||
"stockStatus": "in_stock"
|
||||
},
|
||||
{
|
||||
"id": "prod-002",
|
||||
"sku": "SKU-002",
|
||||
"title": "Demo Product 2",
|
||||
"imageUrl": "https://images.unsplash.com/photo-1496181133206-80ce9b88a853?w=600&h=400&fit=crop",
|
||||
"badges": ["sale"],
|
||||
"tags": ["bestseller"],
|
||||
"rating": 4.6,
|
||||
"reviewsCount": 8,
|
||||
"price": {
|
||||
"amount": 89990,
|
||||
"currency": "RUB"
|
||||
},
|
||||
"stockStatus": "low_stock"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user