{"_id":"@adrdsouza/vendure-order-export","_rev":"2-a57e0563296955bd4630ad8fedf32939","name":"@adrdsouza/vendure-order-export","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@adrdsouza/vendure-order-export","version":"1.0.0","keywords":["vendure","plugin","order-export","csv","dashboard"],"author":{"name":"Adrian D'Souza"},"license":"MIT","_id":"@adrdsouza/vendure-order-export@1.0.0","maintainers":[{"name":"adrdsouza","email":"adrdsouza@gmail.com"}],"dist":{"shasum":"a5efe87d0458a7c890c675b7fe9e1f3a2d89f020","tarball":"https://registry.npmjs.org/@adrdsouza/vendure-order-export/-/vendure-order-export-1.0.0.tgz","fileCount":3,"integrity":"sha512-+tjKjmalOiI/rupHU7g/NDHsAGQOt944CZh668GCnjkBZK4Em1cJYrU0O24nzvbGwM72C94qLwDumj9vsruFIw==","signatures":[{"sig":"MEUCIQDtio1akcGA4athwhvENsj7xOnMnjf+qH1PIrH6nUp6gwIgCG6f3YqJzfX+xg5qy1gSYgXBrfIvaIOpblG2WKvHcmQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4727},"main":"../../../dist/src/plugins/order-export/index.js","type":"module","types":"../../../dist/src/plugins/order-export/index.d.ts","gitHead":"ddfbc1fe4945c59b7cb38c7c562cd8cc20a7efeb","scripts":{"build":"tsc"},"_npmUser":{"name":"adrdsouza","email":"adrdsouza@gmail.com"},"_npmVersion":"10.9.3","description":"Vendure plugin for exporting orders to CSV with React dashboard button","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@vendure/core":"^3.5.0","@vendure/dashboard":"^3.5.0"},"peerDependencies":{"react":"^19.0.0","sonner":"^1.0.0","@vendure/core":"^3.5.0","@vendure/dashboard":"^3.5.0","@tanstack/react-query":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vendure-order-export_1.0.0_1762769284125_0.8283896100374759","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@adrdsouza/vendure-order-export","version":"1.0.1","description":"Vendure plugin for exporting orders to CSV with React dashboard button","main":"./dist/index.js","types":"./dist/index.d.ts","type":"module","scripts":{"build":"tsc"},"peerDependencies":{"@vendure/core":"^3.5.0","@vendure/dashboard":"^3.5.0","@tanstack/react-query":"^5.0.0","react":"^19.0.0","sonner":"^1.0.0"},"devDependencies":{"@vendure/core":"^3.5.0","@vendure/dashboard":"^3.5.0","typescript":"^5.9.3"},"keywords":["vendure","plugin","order-export","csv","dashboard"],"author":{"name":"Adrian D'Souza"},"license":"MIT","_id":"@adrdsouza/vendure-order-export@1.0.1","gitHead":"ddfbc1fe4945c59b7cb38c7c562cd8cc20a7efeb","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-w5suPEL4XAeoUadyQqTPPsePsSgpUWZ8yJ+kp/nXh/VvD84u43MpiKfPwdoUa2wFFEApFhFCDc5B+iJ4ZlrR1w==","shasum":"1c9d992bcb643dfdd44ba2a963809608de2b3664","tarball":"https://registry.npmjs.org/@adrdsouza/vendure-order-export/-/vendure-order-export-1.0.1.tgz","fileCount":18,"unpackedSize":21926,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAUOJCt4rt3sMszdTDp4wsKHnmpSjd9jqJYYcRjx0L+PAiEA8civW3jGYXsQQzvCc9JzQ9YGZ639lzEdTB/66Blfkfk="}]},"_npmUser":{"name":"adrdsouza","email":"adrdsouza@gmail.com"},"directories":{},"maintainers":[{"name":"adrdsouza","email":"adrdsouza@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vendure-order-export_1.0.1_1762769583595_0.8011398678108617"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-10T10:08:04.053Z","modified":"2025-11-10T10:13:03.969Z","1.0.0":"2025-11-10T10:08:04.300Z","1.0.1":"2025-11-10T10:13:03.797Z"},"author":{"name":"Adrian D'Souza"},"license":"MIT","keywords":["vendure","plugin","order-export","csv","dashboard"],"description":"Vendure plugin for exporting orders to CSV with React dashboard button","maintainers":[{"name":"adrdsouza","email":"adrdsouza@gmail.com"}],"readme":"# @adrdsouza/vendure-order-export\n\nA Vendure plugin for exporting orders to CSV format with a convenient dashboard button.\n\n## Features\n\n- 📊 Export orders to CSV with comprehensive data\n- 🎯 React dashboard button integration\n- 🔍 Customizable filters (date range, order states)\n- 📦 Includes customer info, shipping addresses, and line items\n- 🚀 Easy to install and configure\n\n## Installation\n\n```bash\npnpm add @adrdsouza/vendure-order-export\n```\n\n## Usage\n\nAdd the plugin to your `vendure-config.ts`:\n\n```typescript\nimport { OrderExportPlugin } from '@adrdsouza/vendure-order-export';\n\nexport const config: VendureConfig = {\n  // ... other config\n  plugins: [\n    // ... other plugins\n    OrderExportPlugin.init(),\n  ],\n};\n```\n\n## Dashboard Button\n\nOnce installed, an \"Export Orders\" button will appear in the order list page of the Vendure dashboard. Clicking it will:\n\n1. Export all open orders (excluding Cancelled, Shipped, Delivered)\n2. Download a CSV file with order data\n3. Show a success notification with the count of exported items\n\n## GraphQL API\n\nYou can also use the mutation directly:\n\n```graphql\nmutation {\n  exportOrders(input: {\n    startDate: \"2025-01-01\"\n    endDate: \"2025-12-31\"\n    states: [\"PaymentSettled\", \"PartiallyShipped\"]\n  }) {\n    csvData\n    filename\n    rowCount\n  }\n}\n```\n\n## CSV Format\n\nThe exported CSV includes:\n\n- Order code, status, and placement date\n- Customer email and name\n- Complete shipping address\n- Line items with SKU, description, quantity, and prices\n- Order totals (subtotal, shipping, total)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}