Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.
Go email-relayemail-routinghttp-to-smtpmail-deliverymailchimp-alternativemailgun-alternativemailsendermailservermailtemplatemailtestpostmark-alternativesend-emailsendgrid-alternativesendmailtransactional-emailtransactional-outbox
docs: add an architecture page, and stop the low queue name being a literal
Jonas Kaninda95636fbd9718
diff --git a/.env.example b/.env.exampleindex 3eb3022..466e0af 100644--- a/.env.example+++ b/.env.example@@ -76,6 +76,12 @@ POSTA_WORKER_CONCURRENCY=10# Email retry attemptsPOSTA_WORKER_MAX_RETRIES=5+# Health, readiness and Prometheus endpoints for a dedicated worker.+# Defaults to POSTA_PORT: the server and the worker run as separate containers,+# so one port covers both and one health check command works for either.+POSTA_WORKER_HEALTH_ENABLED=true+POSTA_WORKER_HEALTH_PORT=9000+# Webhook delivery retry attemptsPOSTA_WEBHOOK_MAX_RETRIES=3# Webhook request timeout in secondsdiff --git a/docs/docs/getting-started/architecture.md b/docs/docs/getting-started/architecture.mdnew file mode 100644index 0000000..ee28564--- /dev/null+++ b/docs/docs/getting-started/architecture.md@@ -0,0 +1,163 @@+---+sidebar_position: 6+title: Architecture+description: How Posta is put together, what each process does, and how to deploy it+---++# Architecture++Posta ships as a **single binary that runs in two modes**. `posta` serves the+HTTP API, the dashboard, and the SMTP listeners; `posta worker` consumes the job+queue. Both are stateless — all state lives in PostgreSQL, Redis, and object+storage — so you can run as many workers as your send volume needs.++```mermaid+flowchart LR+ App["Your app<br/>REST API / SMTP client"]+ MX["Inbound mail<br/>MX delivery"]+ Form["Website form<br/>POST /api/v1/f/{key}"]++ subgraph posta["Posta"]+ Server["<b>posta</b><br/>HTTP API :9000 · Dashboard<br/>Inbound SMTP :2525 · Relay :2526"]+ W1["<b>worker 1</b><br/>asynq consumer<br/>probes + metrics :9000"]+ W2["<b>worker 2</b><br/>asynq consumer<br/>probes + metrics :9000"]+ end++ subgraph shared["Shared state"]+ Redis[("Redis<br/>Asynq queues<br/>+ scheduler")]+ PG[("PostgreSQL<br/>emails · templates<br/>contacts · logs")]+ Blob[("Object storage<br/>S3-compatible or filesystem<br/>attachments · raw inbound")]+ end++ Providers["SMTP providers<br/>outbound delivery"]+ Hooks["Your webhook<br/>endpoints"]++ App --> Server+ MX --> Server+ Form --> Server+ Server -- enqueue --> Redis+ Redis -- dequeue --> W1+ Redis -- dequeue --> W2+ Server <--> PG+ W1 <--> PG+ W2 <--> PG+ Server -.-> Blob+ W1 & W2 -.-> Blob+ W1 & W2 --> Providers+ W1 & W2 --> Hooks+```++## The two processes++### `posta` — the server++Accepts work and answers questions. It never sends mail itself.++| Listener | Default port | Purpose |+|----------|--------------|---------|+| HTTP | `9000` | REST API, dashboard, web view, tracking pixels, form ingest |+| Inbound SMTP | `2525` | Receives mail delivered to your MX records |+| SMTP relay | `2526` | Accepts mail from an existing SMTP client |++Everything that takes time — delivery, retries, campaign batches, inbound+parsing, webhook fan-out — is written to PostgreSQL and enqueued in Redis. The+request returns as soon as the job is durable, which is why a send is answered in+milliseconds regardless of how slow the receiving mail server is.++### `posta worker` — the consumer++Pulls jobs off the queue and does the slow work: opening SMTP connections,+retrying failures, walking campaign recipient lists, parsing inbound messages,+delivering webhooks, and running scheduled jobs such as retention cleanup and+daily reports.++Workers are interchangeable. Adding one increases throughput; losing one leaves+its in-flight jobs to be retried by another.++## Running the worker++An embedded worker (`POSTA_EMBEDDED_WORKER=true`) is fine for evaluation and+small installs — one container, nothing else to run. Production deployments+should split them, so sending, retries, campaigns, and scheduled jobs scale+independently of request traffic and a burst of API calls cannot starve delivery.++See [`examples/docker-compose-full.yml`](https://github.com/goposta/posta/blob/main/examples/docker-compose-full.yml)+for a two-process deployment.++:::warning+Run **at least one** worker. With no worker and no embedded worker, the API+accepts sends and returns `queued` — and nothing ever delivers them. Everything+looks healthy while the queue grows.+:::++### Health and metrics++A dedicated worker serves the same probes as the server, on the same port+(`POSTA_PORT`, default `9000`). Server and worker run as separate containers, so+one port and one health check command cover both.++| Endpoint | Meaning |+|----------|---------|+| `/healthz` | The process is alive. Checks nothing else on purpose — a liveness probe that fails during a database blip gets the worker restarted, which loses in-flight work and does not fix the database. |+| `/readyz` | Dependencies are reachable **and** the worker is consuming. Returns `503` otherwise, so an orchestrator stops routing to a worker that has stopped processing. |+| `/metrics` | Prometheus exposition for this process. |++The image ships a health check that covers both roles:++```yaml+healthcheck:+ test: ["CMD", "posta-healthcheck"]+ interval: 30s+ timeout: 5s+ start_period: 10s+ retries: 3+```++Set `POSTA_WORKER_HEALTH_ENABLED=false` to disable the listener, or+`POSTA_WORKER_HEALTH_PORT` to move it.++## Shared state++| Store | Holds | Required |+|-------|-------|----------|+| **PostgreSQL** | Emails, templates, contacts, subscribers, campaigns, domains, logs, audit trail | Yes |+| **Redis** | Asynq queues, the scheduler, caches, rate-limit counters | Yes |+| **Object storage** | Attachments and raw inbound messages | No |++Object storage is optional. With `POSTA_BLOB_PROVIDER` unset, attachments and raw+inbound messages stay in the database.++:::caution+Any multi-node deployment should use `s3`. A local `fs` path is not shared+between the server and its workers, so a worker on another host cannot read an+attachment the server wrote.+:::++## Queues++Jobs are split across three Asynq queues so that a large campaign cannot delay a+password reset:++| Queue | Weight | Carries |+|-------|--------|---------|+| `transactional` | 6 | API and relayed sends, inbound parsing and forwarding, form messages |+| `bulk` | 3 | Campaign starts, campaign batches, and the individual campaign sends they produce |+| `low` | 1 | Per-workspace daily reports |++The weights are relative, not exclusive: a worker with nothing transactional to+do will happily process bulk. Scheduled maintenance such as retention cleanup+runs on the cron scheduler in-process rather than through a queue.++## Stack++- **Backend** — Go, using the [Okapi](https://github.com/jkaninda/okapi) web framework+- **Frontend** — Vue 3 + Vite, embedded into the binary+- **Database** — PostgreSQL+- **Queue** — Redis with [Asynq](https://github.com/hibiken/asynq)+- **Metrics** — Prometheus++## Next steps++- [Installation](/docs/getting-started/installation) — deploy with Docker or from source+- [Configuration](/docs/getting-started/configuration) — every environment variable+- [Quick Start](/docs/getting-started/quickstart) — send your first emaildiff --git a/docs/docs/getting-started/configuration.md b/docs/docs/getting-started/configuration.mdindex 13b6fb4..aee3c7a 100644--- a/docs/docs/getting-started/configuration.md+++ b/docs/docs/getting-started/configuration.md@@ -78,6 +78,8 @@ New-user registration is toggled at runtime from **Admin → Settings** (the `re| `POSTA_EMBEDDED_WORKER` | `false` | Run the worker within the API server process || `POSTA_WORKER_CONCURRENCY` | `10` | Number of worker goroutines || `POSTA_WORKER_MAX_RETRIES` | `5` | Maximum retry attempts per email |+| `POSTA_WORKER_HEALTH_ENABLED` | `true` | Serve `/healthz`, `/readyz` and `/metrics` from a dedicated worker |+| `POSTA_WORKER_HEALTH_PORT` | `POSTA_PORT` | Port for those endpoints. Server and worker run as separate containers, so sharing the number is safe and means one health check for both |## Webhooksdiff --git a/docs/docs/getting-started/installation.md b/docs/docs/getting-started/installation.mdindex 6f04c88..91a9ac0 100644--- a/docs/docs/getting-started/installation.md+++ b/docs/docs/getting-started/installation.md@@ -1,5 +1,5 @@----sidebar_position: 2+sidebar_position: 1title: Installationdescription: Deploy Posta with Docker Compose or from source---diff --git a/docs/docs/getting-started/introduction.md b/docs/docs/getting-started/introduction.mdindex 56bd40d..2036ef8 100644--- a/docs/docs/getting-started/introduction.md+++ b/docs/docs/getting-started/introduction.md@@ -47,26 +47,13 @@ Running locally with the default port, that is [http://localhost:9000/docs](http## Architecture-Posta is built with:+Posta ships as a single binary that runs in two modes: `posta` serves the HTTP+API, dashboard, and SMTP listeners, while `posta worker` consumes the job queue.+Both are stateless, with all state in PostgreSQL, Redis, and optional object+storage, so workers scale out horizontally.-- **Go** backend using the Okapi web framework-- **PostgreSQL** for persistent storage-- **Redis** for job queues (via Asynq) and caching-- **Vue 3** dashboard (embedded or standalone)--```-┌─────────────┐ ┌─────────────┐ ┌──────────────┐-│ Your App │────▶│ Posta API │────▶│ PostgreSQL │-│ (SDK/HTTP) │ │ (Go) │ └──────────────┘-└─────────────┘ │ │ ┌──────────────┐- │ │────▶│ Redis │- └──────┬──────┘ └──────────────┘- │- ┌──────▼──────┐ ┌──────────────┐- │ Worker │────▶│ SMTP Server │- │ (Asynq) │ └──────────────┘- └─────────────┘-```+See [Architecture](/docs/getting-started/architecture) for the full picture —+what each process does, how the queues are split, and how to deploy them.## Next Steps@@ -74,3 +61,4 @@ Posta is built with:- [Installation](/docs/getting-started/installation) — Deploy Posta with Docker or from source- [Configuration](/docs/getting-started/configuration) — Configure environment variables- [Quick Start](/docs/getting-started/quickstart) — Send your first email in minutes+- [Architecture](/docs/getting-started/architecture) — How the pieces fit together and how to deploy themdiff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.tsindex d8144e5..f862139 100644--- a/docs/docusaurus.config.ts+++ b/docs/docusaurus.config.ts@@ -24,6 +24,14 @@ const config: Config = {locales: ['en'],},++ // Mermaid powers the architecture diagram, which is the one page where a+ // picture beats a paragraph.+ markdown: {+ mermaid: true,+ },+ themes: ['@docusaurus/theme-mermaid'],+presets: [['classic',diff --git a/docs/package-lock.json b/docs/package-lock.jsonindex 7dbb036..b165931 100644--- a/docs/package-lock.json+++ b/docs/package-lock.json@@ -11,6 +11,7 @@"@docusaurus/core": "3.10.2","@docusaurus/faster": "3.10.2","@docusaurus/preset-classic": "3.10.2",+ "@docusaurus/theme-mermaid": "^3.10.2","@mdx-js/react": "^3.0.0","clsx": "^2.0.0","prism-react-renderer": "^2.3.0",@@ -275,6 +276,19 @@"node": ">= 14.0.0"}},+ "node_modules/@antfu/install-pkg": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-2.0.1.tgz",+ "integrity": "sha512-iCKVQcIC0e3oDxEfs3SHQGW+ovhBMZmS1TE+bTk50rVyMCBmCfClv7Qi3HQKlumYwvjb/iIMeWCW2i67q6kFfQ==",+ "license": "MIT",+ "dependencies": {+ "package-manager-detector": "^1.7.0",+ "tinyexec": "^1.2.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/antfu"+ }+ },"node_modules/@babel/code-frame": {"version": "7.29.7","resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",@@ -1993,6 +2007,18 @@"node": ">=6.9.0"}},+ "node_modules/@braintree/sanitize-url": {+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.2.tgz",+ "integrity": "sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==",+ "license": "MIT"+ },+ "node_modules/@chevrotain/types": {+ "version": "11.1.2",+ "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.1.2.tgz",+ "integrity": "sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==",+ "license": "Apache-2.0"+ },"node_modules/@colors/colors": {"version": "1.5.0","resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",@@ -3995,6 +4021,34 @@"react-dom": "^18.0.0 || ^19.0.0"}},+ "node_modules/@docusaurus/theme-mermaid": {+ "version": "3.10.2",+ "resolved": "https://registry.npmjs.org/@docusaurus/theme-mermaid/-/theme-mermaid-3.10.2.tgz",+ "integrity": "sha512-Stssh5MYQJ+EdYugUXf+ZcpeJFQPKXf0KCd/SWp10o3CmXNaOoh5IEgVjVqY1e1XhQf3on4+Y4BnrMiD95E2SQ==",+ "license": "MIT",+ "dependencies": {+ "@docusaurus/core": "3.10.2",+ "@docusaurus/module-type-aliases": "3.10.2",+ "@docusaurus/theme-common": "3.10.2",+ "@docusaurus/types": "3.10.2",+ "@docusaurus/utils-validation": "3.10.2",+ "mermaid": ">=11.6.0",+ "tslib": "^2.6.0"+ },+ "engines": {+ "node": ">=20.0"+ },+ "peerDependencies": {+ "@mermaid-js/layout-elk": "^0.1.9",+ "react": "^18.0.0 || ^19.0.0",+ "react-dom": "^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "@mermaid-js/layout-elk": {+ "optional": true+ }+ }+ },"node_modules/@docusaurus/theme-search-algolia": {"version": "3.10.2","resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-3.10.2.tgz",@@ -4193,6 +4247,23 @@"@hapi/hoek": "^9.0.0"}},+ "node_modules/@iconify/types": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",+ "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",+ "license": "MIT"+ },+ "node_modules/@iconify/utils": {+ "version": "3.1.6",+ "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.1.6.tgz",+ "integrity": "sha512-9n9RQsMcfgXa8aXrHIMGAFwlm+YpY/HxRqBgCQzeMMimdOBA7hvfqDdWE/Zg5sr5SinaY78zYTPkSfG7Sy+moA==",+ "license": "MIT",+ "dependencies": {+ "@antfu/install-pkg": "^2.0.1",+ "@iconify/types": "^2.0.0",+ "import-meta-resolve": "^4.2.0"+ }+ },"node_modules/@jest/schemas": {"version": "29.6.3","resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",@@ -4747,6 +4818,15 @@"react": ">=16"}},+ "node_modules/@mermaid-js/parser": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-1.2.1.tgz",+ "integrity": "sha512-n12NohV3mrUyUL2o93IgG/ifeW9FTyeJn3zDxkhwa8MJ9Fxg3HQMlA3RiGmD/3UnJvheztkjjQAjA2T4LmUcpw==",+ "license": "MIT",+ "dependencies": {+ "@chevrotain/types": "~11.1.2"+ }+ },"node_modules/@module-federation/error-codes": {"version": "0.22.0","resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz",@@ -6071,6 +6151,259 @@"@types/node": "*"}},+ "node_modules/@types/d3": {+ "version": "7.4.3",+ "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz",+ "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-array": "*",+ "@types/d3-axis": "*",+ "@types/d3-brush": "*",+ "@types/d3-chord": "*",+ "@types/d3-color": "*",+ "@types/d3-contour": "*",+ "@types/d3-delaunay": "*",+ "@types/d3-dispatch": "*",+ "@types/d3-drag": "*",+ "@types/d3-dsv": "*",+ "@types/d3-ease": "*",+ "@types/d3-fetch": "*",+ "@types/d3-force": "*",+ "@types/d3-format": "*",+ "@types/d3-geo": "*",+ "@types/d3-hierarchy": "*",+ "@types/d3-interpolate": "*",+ "@types/d3-path": "*",+ "@types/d3-polygon": "*",+ "@types/d3-quadtree": "*",+ "@types/d3-random": "*",+ "@types/d3-scale": "*",+ "@types/d3-scale-chromatic": "*",+ "@types/d3-selection": "*",+ "@types/d3-shape": "*",+ "@types/d3-time": "*",+ "@types/d3-time-format": "*",+ "@types/d3-timer": "*",+ "@types/d3-transition": "*",+ "@types/d3-zoom": "*"+ }+ },+ "node_modules/@types/d3-array": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz",+ "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-axis": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-3.0.6.tgz",+ "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-brush": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-3.0.6.tgz",+ "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-chord": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-3.0.6.tgz",+ "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-color": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",+ "license": "MIT"+ },+ "node_modules/@types/d3-contour": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-3.0.6.tgz",+ "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-array": "*",+ "@types/geojson": "*"+ }+ },+ "node_modules/@types/d3-delaunay": {+ "version": "6.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz",+ "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-dispatch": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-3.0.7.tgz",+ "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-drag": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz",+ "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-dsv": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-3.0.7.tgz",+ "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-ease": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",+ "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-fetch": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-3.0.7.tgz",+ "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-dsv": "*"+ }+ },+ "node_modules/@types/d3-force": {+ "version": "3.0.10",+ "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-3.0.10.tgz",+ "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-format": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz",+ "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-geo": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.1.tgz",+ "integrity": "sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==",+ "license": "MIT",+ "dependencies": {+ "@types/geojson": "*"+ }+ },+ "node_modules/@types/d3-hierarchy": {+ "version": "3.1.7",+ "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz",+ "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-interpolate": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",+ "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-color": "*"+ }+ },+ "node_modules/@types/d3-path": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz",+ "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-polygon": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-3.0.2.tgz",+ "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-quadtree": {+ "version": "3.0.6",+ "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz",+ "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-random": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-3.0.4.tgz",+ "integrity": "sha512-UHYId5WTCx4L4YNel7NU00XUXXgvgpgZOvp10PuvsQENjMDXhh2RyFc0KBjO7B45ne4Ha1yVH7ii0vnzKkuzWA==",+ "license": "MIT"+ },+ "node_modules/@types/d3-scale": {+ "version": "4.0.9",+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz",+ "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-time": "*"+ }+ },+ "node_modules/@types/d3-scale-chromatic": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",+ "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==",+ "license": "MIT"+ },+ "node_modules/@types/d3-selection": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz",+ "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==",+ "license": "MIT"+ },+ "node_modules/@types/d3-shape": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.2.0.tgz",+ "integrity": "sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-path": "*"+ }+ },+ "node_modules/@types/d3-time": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz",+ "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==",+ "license": "MIT"+ },+ "node_modules/@types/d3-time-format": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz",+ "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==",+ "license": "MIT"+ },+ "node_modules/@types/d3-timer": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",+ "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",+ "license": "MIT"+ },+ "node_modules/@types/d3-transition": {+ "version": "3.0.9",+ "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz",+ "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-selection": "*"+ }+ },+ "node_modules/@types/d3-zoom": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz",+ "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-interpolate": "*",+ "@types/d3-selection": "*"+ }+ },"node_modules/@types/debug": {"version": "4.1.13","resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",@@ -6119,6 +6452,12 @@"@types/send": "*"}},+ "node_modules/@types/geojson": {+ "version": "7946.0.16",+ "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz",+ "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==",+ "license": "MIT"+ },"node_modules/@types/hast": {"version": "3.0.5","resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",@@ -6349,6 +6688,13 @@"@types/node": "*"}},+ "node_modules/@types/trusted-types": {+ "version": "2.0.7",+ "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",+ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",+ "license": "MIT",+ "optional": true+ },"node_modules/@types/unist": {"version": "3.0.3","resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",@@ -6385,6 +6731,16 @@"integrity": "sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==","license": "ISC"},+ "node_modules/@upsetjs/venn.js": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@upsetjs/venn.js/-/venn.js-2.0.0.tgz",+ "integrity": "sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==",+ "license": "MIT",+ "optionalDependencies": {+ "d3-selection": "^3.0.0",+ "d3-transition": "^3.0.1"+ }+ },"node_modules/@webassemblyjs/ast": {"version": "1.14.1","resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",@@ -7959,6 +8315,15 @@"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==","license": "MIT"},+ "node_modules/cose-base": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-1.0.3.tgz",+ "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==",+ "license": "MIT",+ "dependencies": {+ "layout-base": "^1.0.0"+ }+ },"node_modules/cosmiconfig": {"version": "8.3.6","resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz",@@ -8296,152 +8661,678 @@],"license": "MIT-0"},- "node_modules/cssesc": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",- "license": "MIT",- "bin": {- "cssesc": "bin/cssesc"+ "node_modules/cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",+ "license": "MIT",+ "bin": {+ "cssesc": "bin/cssesc"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/cssnano": {+ "version": "6.1.2",+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-6.1.2.tgz",+ "integrity": "sha512-rYk5UeX7VAM/u0lNqewCdasdtPK81CgX8wJFLEIXHbV2oldWRgJAsZrdhRXkV1NJzA2g850KiFm9mMU2HxNxMA==",+ "license": "MIT",+ "dependencies": {+ "cssnano-preset-default": "^6.1.2",+ "lilconfig": "^3.1.1"+ },+ "engines": {+ "node": "^14 || ^16 || >=18.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/cssnano"+ },+ "peerDependencies": {+ "postcss": "^8.4.31"+ }+ },+ "node_modules/cssnano-preset-advanced": {+ "version": "6.1.2",+ "resolved": "https://registry.npmjs.org/cssnano-preset-advanced/-/cssnano-preset-advanced-6.1.2.tgz",+ "integrity": "sha512-Nhao7eD8ph2DoHolEzQs5CfRpiEP0xa1HBdnFZ82kvqdmbwVBUr2r1QuQ4t1pi+D1ZpqpcO4T+wy/7RxzJ/WPQ==",+ "license": "MIT",+ "dependencies": {+ "autoprefixer": "^10.4.19",+ "browserslist": "^4.23.0",+ "cssnano-preset-default": "^6.1.2",+ "postcss-discard-unused": "^6.0.5",+ "postcss-merge-idents": "^6.0.3",+ "postcss-reduce-idents": "^6.0.3",+ "postcss-zindex": "^6.0.2"+ },+ "engines": {+ "node": "^14 || ^16 || >=18.0"+ },+ "peerDependencies": {+ "postcss": "^8.4.31"+ }+ },+ "node_modules/cssnano-preset-default": {+ "version": "6.1.2",+ "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-6.1.2.tgz",+ "integrity": "sha512-1C0C+eNaeN8OcHQa193aRgYexyJtU8XwbdieEjClw+J9d94E41LwT6ivKH0WT+fYwYWB0Zp3I3IZ7tI/BbUbrg==",+ "license": "MIT",+ "dependencies": {+ "browserslist": "^4.23.0",+ "css-declaration-sorter": "^7.2.0",+ "cssnano-utils": "^4.0.2",+ "postcss-calc": "^9.0.1",+ "postcss-colormin": "^6.1.0",+ "postcss-convert-values": "^6.1.0",+ "postcss-discard-comments": "^6.0.2",+ "postcss-discard-duplicates": "^6.0.3",+ "postcss-discard-empty": "^6.0.3",+ "postcss-discard-overridden": "^6.0.2",+ "postcss-merge-longhand": "^6.0.5",+ "postcss-merge-rules": "^6.1.1",+ "postcss-minify-font-values": "^6.1.0",+ "postcss-minify-gradients": "^6.0.3",+ "postcss-minify-params": "^6.1.0",+ "postcss-minify-selectors": "^6.0.4",+ "postcss-normalize-charset": "^6.0.2",+ "postcss-normalize-display-values": "^6.0.2",+ "postcss-normalize-positions": "^6.0.2",+ "postcss-normalize-repeat-style": "^6.0.2",+ "postcss-normalize-string": "^6.0.2",+ "postcss-normalize-timing-functions": "^6.0.2",+ "postcss-normalize-unicode": "^6.1.0",+ "postcss-normalize-url": "^6.0.2",+ "postcss-normalize-whitespace": "^6.0.2",+ "postcss-ordered-values": "^6.0.2",+ "postcss-reduce-initial": "^6.1.0",+ "postcss-reduce-transforms": "^6.0.2",+ "postcss-svgo": "^6.0.3",+ "postcss-unique-selectors": "^6.0.4"+ },+ "engines": {+ "node": "^14 || ^16 || >=18.0"+ },+ "peerDependencies": {+ "postcss": "^8.4.31"+ }+ },+ "node_modules/cssnano-utils": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-4.0.2.tgz",+ "integrity": "sha512-ZR1jHg+wZ8o4c3zqf1SIUSTIvm/9mU343FMR6Obe/unskbvpGhZOo1J6d/r8D1pzkRQYuwbcH3hToOuoA2G7oQ==",+ "license": "MIT",+ "engines": {+ "node": "^14 || ^16 || >=18.0"+ },+ "peerDependencies": {+ "postcss": "^8.4.31"+ }+ },+ "node_modules/csso": {+ "version": "5.0.5",+ "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",+ "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",+ "license": "MIT",+ "dependencies": {+ "css-tree": "~2.2.0"+ },+ "engines": {+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",+ "npm": ">=7.0.0"+ }+ },+ "node_modules/csso/node_modules/css-tree": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",+ "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",+ "license": "MIT",+ "dependencies": {+ "mdn-data": "2.0.28",+ "source-map-js": "^1.0.1"+ },+ "engines": {+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",+ "npm": ">=7.0.0"+ }+ },+ "node_modules/csso/node_modules/mdn-data": {+ "version": "2.0.28",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",+ "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",+ "license": "CC0-1.0"+ },+ "node_modules/csstype": {+ "version": "3.2.3",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",+ "license": "MIT"+ },+ "node_modules/cytoscape": {+ "version": "3.34.2",+ "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.34.2.tgz",+ "integrity": "sha512-Cm2jaj1X/PBNlzV9yH8zcfGOxO7U+CJ/+mxSBVPSchLaugdp4jtlGx5qaHtPRZ6tgiZ5P+o1XoRfJA+ba6KM3g==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10"+ }+ },+ "node_modules/cytoscape-cose-bilkent": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz",+ "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==",+ "license": "MIT",+ "dependencies": {+ "cose-base": "^1.0.0"+ },+ "peerDependencies": {+ "cytoscape": "^3.2.0"+ }+ },+ "node_modules/cytoscape-fcose": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz",+ "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==",+ "license": "MIT",+ "dependencies": {+ "cose-base": "^2.2.0"+ },+ "peerDependencies": {+ "cytoscape": "^3.2.0"+ }+ },+ "node_modules/cytoscape-fcose/node_modules/cose-base": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz",+ "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==",+ "license": "MIT",+ "dependencies": {+ "layout-base": "^2.0.0"+ }+ },+ "node_modules/cytoscape-fcose/node_modules/layout-base": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz",+ "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==",+ "license": "MIT"+ },+ "node_modules/d3": {+ "version": "7.9.0",+ "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz",+ "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "3",+ "d3-axis": "3",+ "d3-brush": "3",+ "d3-chord": "3",+ "d3-color": "3",+ "d3-contour": "4",+ "d3-delaunay": "6",+ "d3-dispatch": "3",+ "d3-drag": "3",+ "d3-dsv": "3",+ "d3-ease": "3",+ "d3-fetch": "3",+ "d3-force": "3",+ "d3-format": "3",+ "d3-geo": "3",+ "d3-hierarchy": "3",+ "d3-interpolate": "3",+ "d3-path": "3",+ "d3-polygon": "3",+ "d3-quadtree": "3",+ "d3-random": "3",+ "d3-scale": "4",+ "d3-scale-chromatic": "3",+ "d3-selection": "3",+ "d3-shape": "3",+ "d3-time": "3",+ "d3-time-format": "4",+ "d3-timer": "3",+ "d3-transition": "3",+ "d3-zoom": "3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-array": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",+ "license": "ISC",+ "dependencies": {+ "internmap": "1 - 2"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-axis": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz",+ "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-brush": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz",+ "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-drag": "2 - 3",+ "d3-interpolate": "1 - 3",+ "d3-selection": "3",+ "d3-transition": "3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-chord": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz",+ "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==",+ "license": "ISC",+ "dependencies": {+ "d3-path": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-color": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-contour": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz",+ "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "^3.2.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-delaunay": {+ "version": "6.0.4",+ "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz",+ "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==",+ "license": "ISC",+ "dependencies": {+ "delaunator": "5"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-dispatch": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz",+ "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-drag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz",+ "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-selection": "3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-dsv": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz",+ "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==",+ "license": "ISC",+ "dependencies": {+ "commander": "7",+ "iconv-lite": "0.6",+ "rw": "1"+ },+ "bin": {+ "csv2json": "bin/dsv2json.js",+ "csv2tsv": "bin/dsv2dsv.js",+ "dsv2dsv": "bin/dsv2dsv.js",+ "dsv2json": "bin/dsv2json.js",+ "json2csv": "bin/json2dsv.js",+ "json2dsv": "bin/json2dsv.js",+ "json2tsv": "bin/json2dsv.js",+ "tsv2csv": "bin/dsv2dsv.js",+ "tsv2json": "bin/dsv2json.js"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-dsv/node_modules/commander": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",+ "license": "MIT",+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/d3-dsv/node_modules/iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "license": "MIT",+ "dependencies": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/d3-ease": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",+ "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-fetch": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz",+ "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==",+ "license": "ISC",+ "dependencies": {+ "d3-dsv": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-force": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz",+ "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==",+ "license": "ISC",+ "dependencies": {+ "d3-dispatch": "1 - 3",+ "d3-quadtree": "1 - 3",+ "d3-timer": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-format": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz",+ "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-geo": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz",+ "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2.5.0 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-hierarchy": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz",+ "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-interpolate": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",+ "license": "ISC",+ "dependencies": {+ "d3-color": "1 - 3"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-path": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-polygon": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz",+ "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-quadtree": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz",+ "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-random": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz",+ "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-sankey": {+ "version": "0.12.3",+ "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz",+ "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "d3-array": "1 - 2",+ "d3-shape": "^1.2.0"+ }+ },+ "node_modules/d3-sankey/node_modules/d3-array": {+ "version": "2.12.1",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",+ "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "internmap": "^1.0.0"+ }+ },+ "node_modules/d3-sankey/node_modules/d3-path": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",+ "license": "BSD-3-Clause"+ },+ "node_modules/d3-sankey/node_modules/d3-shape": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "d3-path": "1"+ }+ },+ "node_modules/d3-sankey/node_modules/internmap": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",+ "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==",+ "license": "ISC"+ },+ "node_modules/d3-scale": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",+ "license": "ISC",+ "dependencies": {+ "d3-array": "2.10.0 - 3",+ "d3-format": "1 - 3",+ "d3-interpolate": "1.2.0 - 3",+ "d3-time": "2.1.1 - 3",+ "d3-time-format": "2 - 4"},"engines": {- "node": ">=4"+ "node": ">=12"}},- "node_modules/cssnano": {- "version": "6.1.2",- "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-6.1.2.tgz",- "integrity": "sha512-rYk5UeX7VAM/u0lNqewCdasdtPK81CgX8wJFLEIXHbV2oldWRgJAsZrdhRXkV1NJzA2g850KiFm9mMU2HxNxMA==",- "license": "MIT",+ "node_modules/d3-scale-chromatic": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",+ "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==",+ "license": "ISC","dependencies": {- "cssnano-preset-default": "^6.1.2",- "lilconfig": "^3.1.1"+ "d3-color": "1 - 3",+ "d3-interpolate": "1 - 3"},"engines": {- "node": "^14 || ^16 || >=18.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/cssnano"- },- "peerDependencies": {- "postcss": "^8.4.31"+ "node": ">=12"}},- "node_modules/cssnano-preset-advanced": {- "version": "6.1.2",- "resolved": "https://registry.npmjs.org/cssnano-preset-advanced/-/cssnano-preset-advanced-6.1.2.tgz",- "integrity": "sha512-Nhao7eD8ph2DoHolEzQs5CfRpiEP0xa1HBdnFZ82kvqdmbwVBUr2r1QuQ4t1pi+D1ZpqpcO4T+wy/7RxzJ/WPQ==",- "license": "MIT",+ "node_modules/d3-selection": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",+ "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/d3-shape": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",+ "license": "ISC","dependencies": {- "autoprefixer": "^10.4.19",- "browserslist": "^4.23.0",- "cssnano-preset-default": "^6.1.2",- "postcss-discard-unused": "^6.0.5",- "postcss-merge-idents": "^6.0.3",- "postcss-reduce-idents": "^6.0.3",- "postcss-zindex": "^6.0.2"+ "d3-path": "^3.1.0"},"engines": {- "node": "^14 || ^16 || >=18.0"- },- "peerDependencies": {- "postcss": "^8.4.31"+ "node": ">=12"}},- "node_modules/cssnano-preset-default": {- "version": "6.1.2",- "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-6.1.2.tgz",- "integrity": "sha512-1C0C+eNaeN8OcHQa193aRgYexyJtU8XwbdieEjClw+J9d94E41LwT6ivKH0WT+fYwYWB0Zp3I3IZ7tI/BbUbrg==",- "license": "MIT",+ "node_modules/d3-time": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",+ "license": "ISC","dependencies": {- "browserslist": "^4.23.0",- "css-declaration-sorter": "^7.2.0",- "cssnano-utils": "^4.0.2",- "postcss-calc": "^9.0.1",- "postcss-colormin": "^6.1.0",- "postcss-convert-values": "^6.1.0",- "postcss-discard-comments": "^6.0.2",- "postcss-discard-duplicates": "^6.0.3",- "postcss-discard-empty": "^6.0.3",- "postcss-discard-overridden": "^6.0.2",- "postcss-merge-longhand": "^6.0.5",- "postcss-merge-rules": "^6.1.1",- "postcss-minify-font-values": "^6.1.0",- "postcss-minify-gradients": "^6.0.3",- "postcss-minify-params": "^6.1.0",- "postcss-minify-selectors": "^6.0.4",- "postcss-normalize-charset": "^6.0.2",- "postcss-normalize-display-values": "^6.0.2",- "postcss-normalize-positions": "^6.0.2",- "postcss-normalize-repeat-style": "^6.0.2",- "postcss-normalize-string": "^6.0.2",- "postcss-normalize-timing-functions": "^6.0.2",- "postcss-normalize-unicode": "^6.1.0",- "postcss-normalize-url": "^6.0.2",- "postcss-normalize-whitespace": "^6.0.2",- "postcss-ordered-values": "^6.0.2",- "postcss-reduce-initial": "^6.1.0",- "postcss-reduce-transforms": "^6.0.2",- "postcss-svgo": "^6.0.3",- "postcss-unique-selectors": "^6.0.4"+ "d3-array": "2 - 3"},"engines": {- "node": "^14 || ^16 || >=18.0"+ "node": ">=12"+ }+ },+ "node_modules/d3-time-format": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",+ "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",+ "license": "ISC",+ "dependencies": {+ "d3-time": "1 - 3"},- "peerDependencies": {- "postcss": "^8.4.31"+ "engines": {+ "node": ">=12"}},- "node_modules/cssnano-utils": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-4.0.2.tgz",- "integrity": "sha512-ZR1jHg+wZ8o4c3zqf1SIUSTIvm/9mU343FMR6Obe/unskbvpGhZOo1J6d/r8D1pzkRQYuwbcH3hToOuoA2G7oQ==",- "license": "MIT",+ "node_modules/d3-timer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",+ "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",+ "license": "ISC","engines": {- "node": "^14 || ^16 || >=18.0"- },- "peerDependencies": {- "postcss": "^8.4.31"+ "node": ">=12"}},- "node_modules/csso": {- "version": "5.0.5",- "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",- "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",- "license": "MIT",+ "node_modules/d3-transition": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz",+ "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==",+ "license": "ISC","dependencies": {- "css-tree": "~2.2.0"+ "d3-color": "1 - 3",+ "d3-dispatch": "1 - 3",+ "d3-ease": "1 - 3",+ "d3-interpolate": "1 - 3",+ "d3-timer": "1 - 3"},"engines": {- "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",- "npm": ">=7.0.0"+ "node": ">=12"+ },+ "peerDependencies": {+ "d3-selection": "2 - 3"}},- "node_modules/csso/node_modules/css-tree": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",- "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",- "license": "MIT",+ "node_modules/d3-zoom": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz",+ "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==",+ "license": "ISC","dependencies": {- "mdn-data": "2.0.28",- "source-map-js": "^1.0.1"+ "d3-dispatch": "1 - 3",+ "d3-drag": "2 - 3",+ "d3-interpolate": "1 - 3",+ "d3-selection": "2 - 3",+ "d3-transition": "2 - 3"},"engines": {- "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",- "npm": ">=7.0.0"+ "node": ">=12"}},- "node_modules/csso/node_modules/mdn-data": {- "version": "2.0.28",- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",- "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",- "license": "CC0-1.0"+ "node_modules/dagre-d3-es": {+ "version": "7.0.14",+ "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.14.tgz",+ "integrity": "sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==",+ "license": "MIT",+ "dependencies": {+ "d3": "^7.9.0",+ "lodash-es": "^4.17.21"+ }},- "node_modules/csstype": {- "version": "3.2.3",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",- "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",+ "node_modules/dayjs": {+ "version": "1.11.23",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.23.tgz",+ "integrity": "sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==","license": "MIT"},"node_modules/debounce": {@@ -8605,6 +9496,15 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/delaunator": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.1.0.tgz",+ "integrity": "sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==",+ "license": "ISC",+ "dependencies": {+ "robust-predicates": "^3.0.2"+ }+ },"node_modules/depd": {"version": "2.0.0","resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",@@ -8751,6 +9651,15 @@"url": "https://github.com/fb55/domhandler?sponsor=1"}},+ "node_modules/dompurify": {+ "version": "3.4.15",+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.15.tgz",+ "integrity": "sha512-EUBjM+B+lkDE41iE82DDSCfkoPGfXx8IxFxPMjNzm/Uk4xDet77rTN9wqlxlVg71kK7XGuUMv6wUxJUwwv+Xyw==",+ "license": "(MPL-2.0 OR Apache-2.0)",+ "optionalDependencies": {+ "@types/trusted-types": "^2.0.7"+ }+ },"node_modules/domutils": {"version": "3.2.2","resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",@@ -8947,6 +9856,18 @@"node": ">= 0.4"}},+ "node_modules/es-toolkit": {+ "version": "1.52.0",+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.52.0.tgz",+ "integrity": "sha512-XTNEJQh1tY1ZJVcf6ayP/2n4ZPyaHlW2FWs7xvw5ddPuhUVjLD3olQVQS7kf58JbAB48iL0uL/jerTrjtV3lDA==",+ "license": "MIT",+ "workspaces": [+ "docs",+ "benchmarks",+ "tests/types",+ "tests/browser-compat"+ ]+ },"node_modules/esast-util-from-estree": {"version": "2.0.0","resolved": "https://registry.npmjs.org/esast-util-from-estree/-/esast-util-from-estree-2.0.0.tgz",@@ -9394,6 +10315,15 @@],"license": "BSD-3-Clause"},+ "node_modules/fastdom": {+ "version": "1.0.12",+ "resolved": "https://registry.npmjs.org/fastdom/-/fastdom-1.0.12.tgz",+ "integrity": "sha512-LB+xjSTEbjHE1cWsxu+tN2Xqr1kpi+V9aADI7sVM5ZMaXyYGPHULQMzpJMYqOTULK/73pUkWVzzObFRBkPr+hg==",+ "license": "MIT",+ "dependencies": {+ "strictdom": "^1.0.1"+ }+ },"node_modules/fastq": {"version": "1.20.1","resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",@@ -9903,6 +10833,12 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/hachure-fill": {+ "version": "0.5.2",+ "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz",+ "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==",+ "license": "MIT"+ },"node_modules/handle-thing": {"version": "2.0.1","resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz",@@ -10536,6 +11472,16 @@"node": ">=8"}},+ "node_modules/import-meta-resolve": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz",+ "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/imurmurhash": {"version": "0.1.4","resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",@@ -10584,6 +11530,15 @@"integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==","license": "MIT"},+ "node_modules/internmap": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",+ "license": "ISC",+ "engines": {+ "node": ">=12"+ }+ },"node_modules/invariant": {"version": "2.2.4","resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",@@ -11089,6 +12044,31 @@"graceful-fs": "^4.1.6"}},+ "node_modules/katex": {+ "version": "0.16.47",+ "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz",+ "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==",+ "funding": [+ "https://opencollective.com/katex",+ "https://github.com/sponsors/katex"+ ],+ "license": "MIT",+ "dependencies": {+ "commander": "^8.3.0"+ },+ "bin": {+ "katex": "cli.js"+ }+ },+ "node_modules/katex/node_modules/commander": {+ "version": "8.3.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",+ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",+ "license": "MIT",+ "engines": {+ "node": ">= 12"+ }+ },"node_modules/keyv": {"version": "4.5.4","resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",@@ -11098,6 +12078,11 @@"json-buffer": "3.0.1"}},+ "node_modules/khroma": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/khroma/-/khroma-2.1.0.tgz",+ "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw=="+ },"node_modules/kind-of": {"version": "6.0.3","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",@@ -11141,6 +12126,12 @@"shell-quote": "^1.8.4"}},+ "node_modules/layout-base": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-1.0.2.tgz",+ "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==",+ "license": "MIT"+ },"node_modules/leven": {"version": "3.1.0","resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",@@ -11465,6 +12456,12 @@"integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==","license": "MIT"},+ "node_modules/lodash-es": {+ "version": "4.18.1",+ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz",+ "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==",+ "license": "MIT"+ },"node_modules/lodash.debounce": {"version": "4.0.8","resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",@@ -11557,6 +12554,18 @@"url": "https://github.com/sponsors/wooorm"}},+ "node_modules/marked": {+ "version": "16.4.2",+ "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.2.tgz",+ "integrity": "sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==",+ "license": "MIT",+ "bin": {+ "marked": "bin/marked.js"+ },+ "engines": {+ "node": ">= 20"+ }+ },"node_modules/math-intrinsics": {"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",@@ -12036,6 +13045,36 @@"node": ">= 8"}},+ "node_modules/mermaid": {+ "version": "11.17.2",+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.17.2.tgz",+ "integrity": "sha512-V6K3C8EBdEsPFZXSKMJe6ppQOENxuHARr9GvHX4hh47lAbhMRD9qf4oEK7LoaRQxULMa80/qt5gHO73aCleBBg==",+ "license": "MIT",+ "dependencies": {+ "@braintree/sanitize-url": "^7.1.2",+ "@iconify/utils": "^3.0.2",+ "@mermaid-js/parser": "^1.2.1",+ "@types/d3": "^7.4.3",+ "@upsetjs/venn.js": "^2.0.0",+ "cytoscape": "^3.34.0",+ "cytoscape-cose-bilkent": "^4.1.0",+ "cytoscape-fcose": "^2.2.0",+ "d3": "^7.9.0",+ "d3-sankey": "^0.12.3",+ "dagre-d3-es": "7.0.14",+ "dayjs": "^1.11.21",+ "dompurify": "^3.3.3",+ "es-toolkit": "^1.45.1",+ "fastdom": "1.0.12",+ "katex": "^0.16.47",+ "khroma": "^2.1.0",+ "marked": "^16.3.0",+ "roughjs": "^4.6.6",+ "stylis": "^4.3.6",+ "ts-dedent": "^2.2.0",+ "uuid": "^11.1.0 || ^12 || ^13 || ^14.0.0"+ }+ },"node_modules/methods": {"version": "1.1.2","resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",@@ -14491,6 +15530,12 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/package-manager-detector": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.8.0.tgz",+ "integrity": "sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A==",+ "license": "MIT"+ },"node_modules/param-case": {"version": "3.0.4","resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz",@@ -14618,6 +15663,12 @@"tslib": "^2.0.3"}},+ "node_modules/path-data-parser": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/path-data-parser/-/path-data-parser-0.1.0.tgz",+ "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==",+ "license": "MIT"+ },"node_modules/path-exists": {"version": "5.0.0","resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",@@ -14716,6 +15767,22 @@"node": ">=16.0.0"}},+ "node_modules/points-on-curve": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz",+ "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==",+ "license": "MIT"+ },+ "node_modules/points-on-path": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/points-on-path/-/points-on-path-0.2.1.tgz",+ "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==",+ "license": "MIT",+ "dependencies": {+ "path-data-parser": "0.1.0",+ "points-on-curve": "0.2.0"+ }+ },"node_modules/postcss": {"version": "8.5.20","resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.20.tgz",@@ -17129,6 +18196,24 @@"node": ">=0.10.0"}},+ "node_modules/robust-predicates": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",+ "integrity": "sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==",+ "license": "Unlicense"+ },+ "node_modules/roughjs": {+ "version": "4.6.6",+ "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz",+ "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==",+ "license": "MIT",+ "dependencies": {+ "hachure-fill": "^0.5.2",+ "path-data-parser": "^0.1.0",+ "points-on-curve": "^0.2.0",+ "points-on-path": "^0.2.1"+ }+ },"node_modules/rtlcss": {"version": "4.3.0","resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-4.3.0.tgz",@@ -17182,6 +18267,12 @@"queue-microtask": "^1.2.2"}},+ "node_modules/rw": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",+ "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==",+ "license": "BSD-3-Clause"+ },"node_modules/safe-buffer": {"version": "5.2.1","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",@@ -17851,6 +18942,12 @@"integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==","license": "MIT"},+ "node_modules/strictdom": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/strictdom/-/strictdom-1.0.1.tgz",+ "integrity": "sha512-cEmp9QeXXRmjj/rVp9oyiqcvyocWab/HaoN4+bwFeZ7QzykJD6L3yD4v12K1x0tHpqRqVpJevN3gW7kyM39Bqg==",+ "license": "MIT"+ },"node_modules/string_decoder": {"version": "1.3.0","resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",@@ -18008,6 +19105,12 @@"postcss": "^8.4.31"}},+ "node_modules/stylis": {+ "version": "4.4.0",+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz",+ "integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==",+ "license": "MIT"+ },"node_modules/supports-color": {"version": "7.2.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",@@ -18245,6 +19348,15 @@"integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==","license": "MIT"},+ "node_modules/tinyexec": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz",+ "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },"node_modules/tinypool": {"version": "1.1.1","resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",@@ -18320,6 +19432,15 @@"url": "https://github.com/sponsors/wooorm"}},+ "node_modules/ts-dedent": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.3.0.tgz",+ "integrity": "sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==",+ "license": "MIT",+ "engines": {+ "node": ">=6.10"+ }+ },"node_modules/tslib": {"version": "2.8.1","resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",diff --git a/docs/package.json b/docs/package.jsonindex fd3f94d..7942f51 100644--- a/docs/package.json+++ b/docs/package.json@@ -18,6 +18,7 @@"@docusaurus/core": "3.10.2","@docusaurus/faster": "3.10.2","@docusaurus/preset-classic": "3.10.2",+ "@docusaurus/theme-mermaid": "^3.10.2","@mdx-js/react": "^3.0.0","clsx": "^2.0.0","prism-react-renderer": "^2.3.0",diff --git a/docs/sidebars.ts b/docs/sidebars.tsindex 5eb4a31..c09b4cf 100644--- a/docs/sidebars.ts+++ b/docs/sidebars.ts@@ -12,6 +12,7 @@ const sidebars: SidebarsConfig = {'getting-started/installation','getting-started/configuration','getting-started/quickstart',+ 'getting-started/architecture',],},{diff --git a/examples/.env.example b/examples/.env.exampleindex 234a415..6ed8e8a 100644--- a/examples/.env.example+++ b/examples/.env.example@@ -74,6 +74,12 @@ POSTA_WORKER_CONCURRENCY=10# Email retry attemptsPOSTA_WORKER_MAX_RETRIES=5+# Health, readiness and Prometheus endpoints for a dedicated worker.+# Defaults to POSTA_PORT: the server and the worker run as separate containers,+# so one port covers both and one health check command works for either.+POSTA_WORKER_HEALTH_ENABLED=true+POSTA_WORKER_HEALTH_PORT=9000+# Webhook delivery retry attemptsPOSTA_WEBHOOK_MAX_RETRIES=3# Webhook request timeout in secondsdiff --git a/internal/cron/jobs/daily_report.go b/internal/cron/jobs/daily_report.goindex 1a98fbb..c6c0793 100644--- a/internal/cron/jobs/daily_report.go+++ b/internal/cron/jobs/daily_report.go@@ -8,6 +8,7 @@ import ("encoding/json""github.com/goposta/posta/internal/cron"+ "github.com/goposta/posta/internal/queues""github.com/goposta/posta/internal/storage/repositories""github.com/hibiken/asynq""github.com/jkaninda/logger"@@ -50,7 +51,7 @@ func (j *DailyReportJob) Run(_ context.Context, client *asynq.Client) error {enqueued := 0for _, ws := range workspaces {- if err := cron.EnqueueJob(client, &dailyReportTask{workspaceID: ws.ID}, asynq.Queue("low")); err != nil {+ if err := cron.EnqueueJob(client, &dailyReportTask{workspaceID: ws.ID}, asynq.Queue(queues.Low)); err != nil {logger.Error("daily report: failed to enqueue", "workspace_id", ws.ID, "error", err)continue}diff --git a/internal/queues/queues.go b/internal/queues/queues.gonew file mode 100644index 0000000..2a63d00--- /dev/null+++ b/internal/queues/queues.go@@ -0,0 +1,21 @@+// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// SPDX-License-Identifier: AGPL-3.0-or-later++// Package queues names the Asynq queues.+//+// It is a leaf with no imports of its own so that both the worker, which weights+// and consumes the queues, and the cron jobs, which enqueue onto them, can refer+// to the same names. Package worker imports cron/jobs, so the names cannot live+// in either without one side resorting to a string literal — and a literal that+// drifts sends work to a queue nothing consumes, with no error anywhere.+package queues++const (+ // Transactional carries work a person is waiting on: API and relayed sends,+ // inbound parsing and forwarding, web form messages.+ Transactional = "transactional"+ // Bulk carries campaign work, which is large and can afford to wait.+ Bulk = "bulk"+ // Low carries scheduled background work such as daily reports.+ Low = "low"+)diff --git a/internal/worker/tasks.go b/internal/worker/tasks.goindex de370a1..adcf579 100644--- a/internal/worker/tasks.go+++ b/internal/worker/tasks.go@@ -6,6 +6,7 @@ package workerimport ("encoding/json"+ "github.com/goposta/posta/internal/queues""github.com/hibiken/asynq")@@ -17,9 +18,9 @@ const (TypeInboundProcess = "inbound:process"TypeMessageProcess = "message:process"- QueueTransactional = "transactional"- QueueBulk = "bulk"- QueueLow = "low"+ QueueTransactional = queues.Transactional+ QueueBulk = queues.Bulk+ QueueLow = queues.Low)type EmailSendPayload struct {