data-generator-retail
Advanced tools
Comparing version
@@ -1,3 +0,3 @@ | ||
var j=Object.create;var B=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var I=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var F=t=>B(t,"__esModule",{value:!0}),s=(t,r)=>B(t,"name",{value:r,configurable:!0});var J=(t,r)=>{for(var e in r)B(t,e,{get:r[e],enumerable:!0})},E=(t,r,e,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of N(r))!q.call(t,o)&&(e||o!=="default")&&B(t,o,{get:()=>r[o],enumerable:!(a=z(r,o))||a.enumerable});return t},Y=(t,r)=>E(F(B(t!=null?j(I(t)):{},"default",!r&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),K=(t=>(r,e)=>t&&t.get(r)||(e=E(F({}),r,1),t&&t.set(r,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var V={};J(V,{default:()=>Q});var c=require("faker/locale/en");var k=Y(require("faker/locale/en")),f=s((t,r)=>k.default.random.arrayElement(t.reduce((e,a,o)=>e.concat(new Array(r[o]).fill(a)),[])),"weightedArrayElement"),l=s(t=>k.default.random.number(99)<t,"weightedBoolean"),g=s((t,r)=>{let e=t instanceof Date?t.getTime():Date.now()-5*365*24*60*60*1e3,o=(r instanceof Date?r.getTime():Date.now())-e,d=k.default.random.number({max:o}),n=Math.sqrt(d/o)*o;return new Date(e+n)},"randomDate"),_=s((t,r)=>parseFloat(k.default.random.number({min:t,max:r,precision:.01}).toFixed(2)),"randomFloat");var T=s((t,{serializeDate:r})=>{let e=223,a=0;return Array.from(Array(900).keys()).map(o=>{let d=g(),n=g(d),i=l(25)&&a<e,u=c.name.firstName(),m=c.name.lastName(),h=c.internet.email(u,m),y=i?c.date.past(60):null,w=i?"https://marmelab.com/posters/avatar-"+a+".jpeg":void 0;return i&&a++,{id:o,first_name:u,last_name:m,email:h,address:i?c.address.streetAddress():null,zipcode:i?c.address.zipCode():null,city:i?c.address.city():null,stateAbbr:i?c.address.stateAbbr():null,avatar:w,birthday:r&&y?y.toISOString():y,first_seen:r?d.toISOString():d,last_seen:r?n.toISOString():n,has_ordered:i,latest_purchase:null,has_newsletter:i?l(30):!0,groups:[],nb_commands:0,total_spent:0}})},"default");var M=s(()=>[{id:0,name:"animals"},{id:1,name:"beard"},{id:2,name:"business"},{id:3,name:"cars"},{id:4,name:"city"},{id:5,name:"flowers"},{id:6,name:"food"},{id:7,name:"nature"},{id:8,name:"people"},{id:9,name:"sports"},{id:10,name:"tech"},{id:11,name:"travel"},{id:12,name:"water"}],"default");var S=require("faker/locale/en");var U={animals:["Cat Nose","Dog Grass","Brown Cow","Leopard Road","Sad Dog","Pelican Pier","Green Birds","Concrete Seaguls","Hiding Seagul","Sand Caravan"],beard:["Black Auburn","Basket Beard","Handlebar Moustache","White Beard","Sailor Man","Natural Beard","Yeard Phone","Braid Beard","Terminal Black","Short Boxed"],business:["Corporate Prop","Office Chairs","White Clock","Work Suit","Suit & Tie","Shake Hands","Building Sky","Yellow Pad","Work Devices","Hands Clap","Work Meeting"],cars:["Old Combi","Asian Plates","Pedestrian Crossing","Farmer Boy","Make Over","Sports Sunset","Desert Jeep","Highway Bridge","Race Stickers","White Deluxe"],city:["Bridge Lights","Color Dots","Cloud Suspension","Paved Street","Blue Bay","Wooden Door","Concrete Angles","London Lights","Fort Point","Rainy Glass"],flowers:["Apricot Tree","Orange Rose","Purple Petunia","Water Lily","White Peony","Poppy Field","Blue Flax","Love Roses","California Poppy","Dalhia Colors"],food:["Fuzzy Forks","Stamp Mug","Two Expressos","Red Latte","Black Grapes","Forgotten Strawberries","Close Steam","Brewing Tea","Red Onions","Dark Honey"],nature:["Distant Mountains","Fog Pond","Sand Rocks","Pebble Shore","Eroded Fractals","Water Fall","Drif Wood","Dirt Track","Green Grass","Yellow Lichen"],people:["Crossing Alone","Budding Grove","Light Hair","Black & White","Rock Concert","Meeting Bench","Son & Lumi\xE8re","Running Boy","Dining Hall","Tunnel People"],sports:["Feather Ball","Wall Skate","Kick Flip","Down Hill","Baseball Night","Touch Line","Alone Jogger","Green Basket","Mud Hug","Metal Cycle"],tech:["Black Screen","Phone Call","Tablet & Phone","No Battery","Phone Book","Camera Parts","Fuzzy Phone","Music & Light","Eye Rest","Aligned Parts"],travel:["Distant Jet","Foggy Beach","White Lime","Mysterious Cloud","Mountain Top","Light House","Gray Day","Desert Walkway","Train Track","Plane Trees"],water:["Fresh Stream","Reed Line","Mud Tracks","Beach Gazebo","Calm Sea","Early Bath","Aerial Coast","Canal Street","Artificial Beach","Rainy Day"]},L=s(t=>{let r=0;return t.categories.reduce((e,a)=>[...e,...Array.from(Array(10).keys()).map(o=>{let d=_(10,40),n=_(10,40);return{id:r++,category_id:a.id,reference:U[a.name][o],width:d,height:n,price:_(d*n/20,d*n/15),thumbnail:"https://marmelab.com/posters/"+a.name+"-"+(o+1)+".jpeg",image:"https://marmelab.com/posters/"+a.name+"-"+(o+1)+".jpeg",description:S.lorem.paragraph(),stock:l(10)?0:S.random.number({min:0,max:150}),sales:0}})],[])},"default");var x=require("faker/locale/en"),D=require("date-fns");var O=s((t,{serializeDate:r})=>{let e=new Date,a=(0,D.subDays)(e,30),o=t.customers.filter(d=>d.has_ordered);return Array.from(Array(600).keys()).map(d=>{let n=f([1,2,3,4,5,6,7,8,9,10],[30,20,5,2,1,1,1,1,1,1]),i=Array.from(Array(n).keys()).map(()=>({product_id:x.random.number({min:0,max:10*13-1}),quantity:f([1,2,3,4,5],[10,5,3,2,1])})),u=i.reduce((G,P)=>G+t.products[P.product_id].price*P.quantity,0),m=_(3,8),h=x.random.arrayElement([.12,.17,.2]),y=parseFloat(((u+m)*h).toFixed(2)),w=x.random.arrayElement(o),A=g(w.first_seen,w.last_seen),v=(0,D.isAfter)(A,a)&&x.random.boolean()?"ordered":f(["delivered","cancelled"],[10,1]);return{id:d,reference:x.random.alphaNumeric(6).toUpperCase(),date:r?A.toISOString():A,customer_id:w.id,basket:i,total_ex_taxes:u,delivery_fees:m,tax_rate:h,taxes:y,total:parseFloat((u+m+y).toFixed(2)),status:v,returned:v==="delivered"?l(10):!1}})},"default");var W=s(t=>{let r=0;return t.commands.filter(e=>e.status!=="delivered").sort((e,a)=>new Date(e.date)-new Date(a.date)).map(e=>({id:r++,date:e.date,command_id:e.id,customer_id:e.customer_id,total_ex_taxes:e.total_ex_taxes,delivery_fees:e.delivery_fees,tax_rate:e.tax_rate,taxes:e.taxes,total:e.total}))},"default");var b=require("faker/locale/en"),C=require("date-fns");var H=s((t,{serializeDate:r})=>{let e=new Date,a=(0,C.subDays)(e,30),o=0,d=t.customers.filter(n=>n.has_ordered).filter(()=>l(60)).map(n=>n.id);return t.commands.filter(n=>d.indexOf(n.customer_id)!==-1).reduce((n,i)=>[...n,...i.basket.filter(()=>l(40)).map(u=>{let m=g(i.date),h=(0,C.isAfter)(a,m)?f(["accepted","rejected"],[3,1]):f(["pending","accepted","rejected"],[5,3,1]);return{id:o++,date:r?m.toISOString():m,status:h,command_id:i.id,product_id:u.product_id,customer_id:i.customer_id,rating:b.random.number({min:1,max:5}),comment:Array.apply(null,Array(b.random.number({min:1,max:5}))).map(()=>b.lorem.sentences()).join(` | ||
\r`)}})],[])},"default");function R(t){t.commands.forEach(e=>{let a=t.customers[e.customer_id];(!a.latest_purchase||a.latest_purchase<e.date)&&(a.latest_purchase=e.date),a.total_spent+=e.total,a.nb_commands++}),t.commands.forEach(e=>{e.basket.forEach(a=>{t.products[a.product_id].sales+=a.quantity})});let r=t.commands.reduce((e,a)=>(e[a.customer_id]||(e[a.customer_id]={nbProducts:0}),e[a.customer_id].nbProducts+=a.basket.length,e),{});Object.keys(r).forEach(e=>{r[e].nbProducts>10&&t.customers[e].groups.push("collector")}),t.customers.filter(e=>e.nb_commands===1).forEach(e=>e.groups.push("ordered_once")),t.customers.filter(e=>e.total_spent>1500).forEach(e=>e.groups.push("compulsive")),t.customers.filter(()=>l(20)).forEach(e=>e.groups.push("regular")),t.commands.filter(e=>e.returned).forEach(e=>{t.customers[e.customer_id].groups.indexOf("returns")===-1&&t.customers[e.customer_id].groups.push("returns")}),t.reviews.forEach(e=>{let a=t.customers[e.customer_id];a.groups.indexOf("reviewer")===-1&&a.groups.push("reviewer")}),t.settings=[{id:1,configuration:{url:"http://posters-galore.com/",mail:{sender:"julio@posters-galore.com",transport:{service:"fakemail",auth:{user:"fake@mail.com",pass:"f00b@r"}}},file_type_whiltelist:["txt","doc","docx","xls","xlsx","pdf","png","jpg"]}}]}s(R,"default");var Q=s((t={serializeDate:!0})=>{let r={};return r.customers=T(r,t),r.categories=M(),r.products=L(r),r.commands=O(r,t),r.invoices=W(r),r.reviews=H(r,t),R(r),r},"default");module.exports=K(V);0&&(module.exports={}); | ||
var H=Object.create;var w=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var s=(t,r)=>w(t,"name",{value:r,configurable:!0});var I=(t,r)=>{for(var e in r)w(t,e,{get:r[e],enumerable:!0})},P=(t,r,e,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of j(r))!N.call(t,o)&&o!==e&&w(t,o,{get:()=>r[o],enumerable:!(a=G(r,o))||a.enumerable});return t};var q=(t,r,e)=>(e=t!=null?H(z(t)):{},P(r||!t||!t.__esModule?w(e,"default",{value:t,enumerable:!0}):e,t)),J=t=>P(w({},"__esModule",{value:!0}),t);var U={};I(U,{default:()=>K});module.exports=J(U);var c=require("faker/locale/en");var B=q(require("faker/locale/en")),p=s((t,r)=>B.default.random.arrayElement(t.reduce((e,a,o)=>e.concat(new Array(r[o]).fill(a)),[])),"weightedArrayElement"),l=s(t=>B.default.random.number(99)<t,"weightedBoolean"),f=s((t,r)=>{let e=t instanceof Date?t.getTime():Date.now()-15768e7,o=(r instanceof Date?r.getTime():Date.now())-e,d=B.default.random.number({max:o}),n=Math.sqrt(d/o)*o;return new Date(e+n)},"randomDate"),y=s((t,r)=>parseFloat(B.default.random.number({min:t,max:r,precision:.01}).toFixed(2)),"randomFloat");var F=s((t,{serializeDate:r})=>{let a=0;return Array.from(Array(900).keys()).map(o=>{let d=f(),n=f(d),i=l(25)&&a<223,u=c.name.firstName(),m=c.name.lastName(),g=c.internet.email(u,m),h=i?c.date.past(60):null,x=i?"https://marmelab.com/posters/avatar-"+a+".jpeg":void 0;return i&&a++,{id:o,first_name:u,last_name:m,email:g,address:i?c.address.streetAddress():null,zipcode:i?c.address.zipCode():null,city:i?c.address.city():null,stateAbbr:i?c.address.stateAbbr():null,avatar:x,birthday:r&&h?h.toISOString():h,first_seen:r?d.toISOString():d,last_seen:r?n.toISOString():n,has_ordered:i,latest_purchase:null,has_newsletter:i?l(30):!0,groups:[],nb_commands:0,total_spent:0}})},"default");var E=s(()=>[{id:0,name:"animals"},{id:1,name:"beard"},{id:2,name:"business"},{id:3,name:"cars"},{id:4,name:"city"},{id:5,name:"flowers"},{id:6,name:"food"},{id:7,name:"nature"},{id:8,name:"people"},{id:9,name:"sports"},{id:10,name:"tech"},{id:11,name:"travel"},{id:12,name:"water"}],"default");var b=require("faker/locale/en");var Y={animals:["Cat Nose","Dog Grass","Brown Cow","Leopard Road","Sad Dog","Pelican Pier","Green Birds","Concrete Seaguls","Hiding Seagul","Sand Caravan"],beard:["Black Auburn","Basket Beard","Handlebar Moustache","White Beard","Sailor Man","Natural Beard","Yeard Phone","Braid Beard","Terminal Black","Short Boxed"],business:["Corporate Prop","Office Chairs","White Clock","Work Suit","Suit & Tie","Shake Hands","Building Sky","Yellow Pad","Work Devices","Hands Clap","Work Meeting"],cars:["Old Combi","Asian Plates","Pedestrian Crossing","Farmer Boy","Make Over","Sports Sunset","Desert Jeep","Highway Bridge","Race Stickers","White Deluxe"],city:["Bridge Lights","Color Dots","Cloud Suspension","Paved Street","Blue Bay","Wooden Door","Concrete Angles","London Lights","Fort Point","Rainy Glass"],flowers:["Apricot Tree","Orange Rose","Purple Petunia","Water Lily","White Peony","Poppy Field","Blue Flax","Love Roses","California Poppy","Dalhia Colors"],food:["Fuzzy Forks","Stamp Mug","Two Expressos","Red Latte","Black Grapes","Forgotten Strawberries","Close Steam","Brewing Tea","Red Onions","Dark Honey"],nature:["Distant Mountains","Fog Pond","Sand Rocks","Pebble Shore","Eroded Fractals","Water Fall","Drif Wood","Dirt Track","Green Grass","Yellow Lichen"],people:["Crossing Alone","Budding Grove","Light Hair","Black & White","Rock Concert","Meeting Bench","Son & Lumi\xE8re","Running Boy","Dining Hall","Tunnel People"],sports:["Feather Ball","Wall Skate","Kick Flip","Down Hill","Baseball Night","Touch Line","Alone Jogger","Green Basket","Mud Hug","Metal Cycle"],tech:["Black Screen","Phone Call","Tablet & Phone","No Battery","Phone Book","Camera Parts","Fuzzy Phone","Music & Light","Eye Rest","Aligned Parts"],travel:["Distant Jet","Foggy Beach","White Lime","Mysterious Cloud","Mountain Top","Light House","Gray Day","Desert Walkway","Train Track","Plane Trees"],water:["Fresh Stream","Reed Line","Mud Tracks","Beach Gazebo","Calm Sea","Early Bath","Aerial Coast","Canal Street","Artificial Beach","Rainy Day"]},T=s(t=>{let r=0;return t.categories.reduce((e,a)=>[...e,...Array.from(Array(10).keys()).map(o=>{let d=y(10,40),n=y(10,40);return{id:r++,category_id:a.id,reference:Y[a.name][o],width:d,height:n,price:y(d*n/20,d*n/15),thumbnail:"https://marmelab.com/posters/"+a.name+"-"+(o+1)+".jpeg",image:"https://marmelab.com/posters/"+a.name+"-"+(o+1)+".jpeg",description:b.lorem.paragraph(),stock:l(10)?0:b.random.number({min:0,max:150}),sales:0}})],[])},"default");var _=require("faker/locale/en"),S=require("date-fns");var M=s((t,{serializeDate:r})=>{let e=new Date,a=(0,S.subDays)(e,30),o=t.customers.filter(d=>d.has_ordered);return Array.from(Array(600).keys()).map(d=>{let n=p([1,2,3,4,5,6,7,8,9,10],[30,20,5,2,1,1,1,1,1,1]),i=Array.from(Array(n).keys()).map(()=>({product_id:_.random.number({min:0,max:10*13-1}),quantity:p([1,2,3,4,5],[10,5,3,2,1])})),u=i.reduce((W,v)=>W+t.products[v.product_id].price*v.quantity,0),m=y(3,8),g=_.random.arrayElement([.12,.17,.2]),h=parseFloat(((u+m)*g).toFixed(2)),x=_.random.arrayElement(o),C=f(x.first_seen,x.last_seen),R=(0,S.isAfter)(C,a)&&_.random.boolean()?"ordered":p(["delivered","cancelled"],[10,1]);return{id:d,reference:_.random.alphaNumeric(6).toUpperCase(),date:r?C.toISOString():C,customer_id:x.id,basket:i,total_ex_taxes:u,delivery_fees:m,tax_rate:g,taxes:h,total:parseFloat((u+m+h).toFixed(2)),status:R,returned:R==="delivered"?l(10):!1}})},"default");var L=s(t=>{let r=0;return t.commands.filter(e=>e.status!=="delivered").sort((e,a)=>new Date(e.date)-new Date(a.date)).map(e=>({id:r++,date:e.date,command_id:e.id,customer_id:e.customer_id,total_ex_taxes:e.total_ex_taxes,delivery_fees:e.delivery_fees,tax_rate:e.tax_rate,taxes:e.taxes,total:e.total}))},"default");var k=require("faker/locale/en"),D=require("date-fns");var O=s((t,{serializeDate:r})=>{let e=new Date,a=(0,D.subDays)(e,30),o=0,d=t.customers.filter(n=>n.has_ordered).filter(()=>l(60)).map(n=>n.id);return t.commands.filter(n=>d.indexOf(n.customer_id)!==-1).reduce((n,i)=>[...n,...i.basket.filter(()=>l(40)).map(u=>{let m=f(i.date),g=(0,D.isAfter)(a,m)?p(["accepted","rejected"],[3,1]):p(["pending","accepted","rejected"],[5,3,1]);return{id:o++,date:r?m.toISOString():m,status:g,command_id:i.id,product_id:u.product_id,customer_id:i.customer_id,rating:k.random.number({min:1,max:5}),comment:Array.apply(null,Array(k.random.number({min:1,max:5}))).map(()=>k.lorem.sentences()).join(` | ||
\r`)}})],[])},"default");function A(t){t.commands.forEach(e=>{let a=t.customers[e.customer_id];(!a.latest_purchase||a.latest_purchase<e.date)&&(a.latest_purchase=e.date),a.total_spent+=e.total,a.nb_commands++}),t.commands.forEach(e=>{e.basket.forEach(a=>{t.products[a.product_id].sales+=a.quantity})});let r=t.commands.reduce((e,a)=>(e[a.customer_id]||(e[a.customer_id]={nbProducts:0}),e[a.customer_id].nbProducts+=a.basket.length,e),{});Object.keys(r).forEach(e=>{r[e].nbProducts>10&&t.customers[e].groups.push("collector")}),t.customers.filter(e=>e.nb_commands===1).forEach(e=>e.groups.push("ordered_once")),t.customers.filter(e=>e.total_spent>1500).forEach(e=>e.groups.push("compulsive")),t.customers.filter(()=>l(20)).forEach(e=>e.groups.push("regular")),t.commands.filter(e=>e.returned).forEach(e=>{t.customers[e.customer_id].groups.indexOf("returns")===-1&&t.customers[e.customer_id].groups.push("returns")}),t.reviews.forEach(e=>{let a=t.customers[e.customer_id];a.groups.indexOf("reviewer")===-1&&a.groups.push("reviewer")}),t.settings=[{id:1,configuration:{url:"http://posters-galore.com/",mail:{sender:"julio@posters-galore.com",transport:{service:"fakemail",auth:{user:"fake@mail.com",pass:"f00b@r"}}},file_type_whiltelist:["txt","doc","docx","xls","xlsx","pdf","png","jpg"]}}]}s(A,"default");var K=s((t={serializeDate:!0})=>{let r={};return r.customers=F(r,t),r.categories=E(),r.products=T(r),r.commands=M(r,t),r.invoices=L(r),r.reviews=O(r,t),A(r),r},"default");0&&(module.exports={}); | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
{"inputs":{"../../node_modules/tsup/assets/cjs_shims.js":{"bytes":498,"imports":[]},"src/utils.ts":{"bytes":1035,"imports":[]},"src/customers.ts":{"bytes":1924,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/categories.ts":{"bytes":426,"imports":[]},"src/products.ts":{"bytes":4921,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/commands.ts":{"bytes":2249,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/invoices.ts":{"bytes":666,"imports":[]},"src/reviews.ts":{"bytes":2195,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/finalize.ts":{"bytes":3115,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":909,"imports":[{"path":"src/customers.ts","kind":"import-statement"},{"path":"src/categories.ts","kind":"import-statement"},{"path":"src/products.ts","kind":"import-statement"},{"path":"src/commands.ts","kind":"import-statement"},{"path":"src/invoices.ts","kind":"import-statement"},{"path":"src/reviews.ts","kind":"import-statement"},{"path":"src/finalize.ts","kind":"import-statement"}]}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":24515},"dist/index.js":{"imports":[],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":201},"src/customers.ts":{"bytesInOutput":717},"src/utils.ts":{"bytesInOutput":531},"src/categories.ts":{"bytesInOutput":295},"src/products.ts":{"bytesInOutput":2516},"src/commands.ts":{"bytesInOutput":942},"src/invoices.ts":{"bytesInOutput":314},"src/reviews.ts":{"bytesInOutput":708},"src/finalize.ts":{"bytesInOutput":1279}},"bytes":8287}}} | ||
{"inputs":{"src/utils.ts":{"bytes":1035,"imports":[]},"src/customers.ts":{"bytes":1924,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/categories.ts":{"bytes":426,"imports":[]},"src/products.ts":{"bytes":4921,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/commands.ts":{"bytes":2249,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/invoices.ts":{"bytes":666,"imports":[]},"src/reviews.ts":{"bytes":2195,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/finalize.ts":{"bytes":3115,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":909,"imports":[{"path":"src/customers.ts","kind":"import-statement"},{"path":"src/categories.ts","kind":"import-statement"},{"path":"src/products.ts","kind":"import-statement"},{"path":"src/commands.ts","kind":"import-statement"},{"path":"src/invoices.ts","kind":"import-statement"},{"path":"src/reviews.ts","kind":"import-statement"},{"path":"src/finalize.ts","kind":"import-statement"}]}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":25576},"dist/index.js":{"imports":[],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":221},"src/customers.ts":{"bytesInOutput":713},"src/utils.ts":{"bytesInOutput":520},"src/categories.ts":{"bytesInOutput":295},"src/products.ts":{"bytesInOutput":2516},"src/commands.ts":{"bytesInOutput":942},"src/invoices.ts":{"bytesInOutput":314},"src/reviews.ts":{"bytesInOutput":708},"src/finalize.ts":{"bytesInOutput":1279}},"bytes":8140}}} |
@@ -1,1 +0,1 @@ | ||
{"inputs":{"../../node_modules/tsup/assets/esm_shims.js":{"bytes":312,"imports":[]},"src/utils.ts":{"bytes":1035,"imports":[]},"src/customers.ts":{"bytes":1924,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/categories.ts":{"bytes":426,"imports":[]},"src/products.ts":{"bytes":4921,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/commands.ts":{"bytes":2249,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/invoices.ts":{"bytes":666,"imports":[]},"src/reviews.ts":{"bytes":2195,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/finalize.ts":{"bytes":3115,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":909,"imports":[{"path":"src/customers.ts","kind":"import-statement"},{"path":"src/categories.ts","kind":"import-statement"},{"path":"src/products.ts","kind":"import-statement"},{"path":"src/commands.ts","kind":"import-statement"},{"path":"src/invoices.ts","kind":"import-statement"},{"path":"src/reviews.ts","kind":"import-statement"},{"path":"src/finalize.ts","kind":"import-statement"}]}},"outputs":{"dist/esm/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":24492},"dist/esm/index.js":{"imports":[],"exports":["default"],"entryPoint":"src/index.ts","inputs":{"src/customers.ts":{"bytesInOutput":704},"src/utils.ts":{"bytesInOutput":498},"src/categories.ts":{"bytesInOutput":295},"src/products.ts":{"bytesInOutput":2522},"src/commands.ts":{"bytesInOutput":917},"src/invoices.ts":{"bytesInOutput":314},"src/reviews.ts":{"bytesInOutput":709},"src/finalize.ts":{"bytesInOutput":1279},"src/index.ts":{"bytesInOutput":172}},"bytes":7512}}} | ||
{"inputs":{"src/utils.ts":{"bytes":1035,"imports":[]},"src/customers.ts":{"bytes":1924,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/categories.ts":{"bytes":426,"imports":[]},"src/products.ts":{"bytes":4921,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/commands.ts":{"bytes":2249,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/invoices.ts":{"bytes":666,"imports":[]},"src/reviews.ts":{"bytes":2195,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/finalize.ts":{"bytes":3115,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":909,"imports":[{"path":"src/customers.ts","kind":"import-statement"},{"path":"src/categories.ts","kind":"import-statement"},{"path":"src/products.ts","kind":"import-statement"},{"path":"src/commands.ts","kind":"import-statement"},{"path":"src/invoices.ts","kind":"import-statement"},{"path":"src/reviews.ts","kind":"import-statement"},{"path":"src/finalize.ts","kind":"import-statement"}]}},"outputs":{"dist/esm/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":25553},"dist/esm/index.js":{"imports":[],"exports":["default"],"entryPoint":"src/index.ts","inputs":{"src/customers.ts":{"bytesInOutput":700},"src/utils.ts":{"bytesInOutput":487},"src/categories.ts":{"bytesInOutput":295},"src/products.ts":{"bytesInOutput":2522},"src/commands.ts":{"bytesInOutput":917},"src/invoices.ts":{"bytesInOutput":314},"src/reviews.ts":{"bytesInOutput":709},"src/finalize.ts":{"bytesInOutput":1279},"src/index.ts":{"bytesInOutput":172}},"bytes":7497}}} |
{ | ||
"name": "data-generator-retail", | ||
"version": "4.10.6", | ||
"version": "4.11.0", | ||
"homepage": "https://github.com/marmelab/react-admin/tree/master/examples/data-generator", | ||
@@ -22,3 +22,3 @@ "bugs": "https://github.com/marmelab/react-admin/issues", | ||
"cross-env": "^5.2.0", | ||
"ra-core": "^4.10.6", | ||
"ra-core": "^4.11.0", | ||
"rimraf": "^3.0.2", | ||
@@ -30,3 +30,3 @@ "typescript": "^4.4.0" | ||
}, | ||
"gitHead": "7b0d1ce289f2646b760092d62cd42ec06c7e3eda" | ||
"gitHead": "49ab8ba705cb498cffffaf57d4ec022656979770" | ||
} |
Sorry, the diff of this file is not supported yet
180024
33.36%144
60%2938
66.93%