chinak / server /scripts /browser-transfer-code.js
shanshel6
chore: bump version to 1.0.18, fix type errors, prepare for release
9913f6e
Raw History Blame Contribute Delete
888 Bytes
// AUTO-GENERATED DRAFT TRANSFER CODE
// Paste this in browser console at http://localhost:5173/admin/products
localStorage.setItem('admin_local_drafts', '[{"name":"Untitled Product","chineseName":"","description":"","price":0,"basePriceRMB":0,"image":"","images":[],"status":"DRAFT","isActive":false,"isFeatured":false,"purchaseUrl":"","specs":{"moq":1,"company":"","location":"","weight_kg":0.5,"original_price_rmb":0,"converted_price_iqd":0},"storeEvaluation":{"responseRate":"","transactionRate":""},"weight":0.5,"length":20,"width":15,"height":10,"domesticShippingFee":0,"id":"local-1769608965552","createdAt":"2026-01-28T14:02:45.552Z","updatedAt":"2026-01-28T14:02:45.553Z","isLocal":true}]');
console.log('✅ 1 draft product(s) loaded into localStorage');
console.log('🔄 Refresh the admin products page to see your drafts');
// Products transferred:
// 1. Untitled Product