diff --git a/e2e/playground-deps/package.json b/e2e/playground-deps/package.json index 0257b88..a5c5b9a 100644 --- a/e2e/playground-deps/package.json +++ b/e2e/playground-deps/package.json @@ -3,14 +3,14 @@ "version": "0.0.0", "private": true, "dependencies": { - "@antelopejs/dms": ">=0.21.0 <0.22.0", + "@antelopejs/dms": "0.21.4-next.1002.g39c16f7", "@antelopejs/interface-api": ">=0.3.3 <0.4.0", "@antelopejs/interface-api-util": ">=0.3.2 <0.4.0", "@antelopejs/interface-core": ">=0.5.0 <0.6.0", "@antelopejs/interface-data-api": ">=0.8.0 <0.9.0", "@antelopejs/interface-database": ">=0.4.0 <0.5.0", "@antelopejs/interface-database-decorators": ">=0.5.0 <0.6.0", - "@antelopejs/interface-dms": ">=0.14.0 <0.15.0", + "@antelopejs/interface-dms": "0.14.7-next.1002.g39c16f7", "@antelopejs/interface-dms-mailing": "link:../../packages/interface-dms-mailing", "@antelopejs/interface-email": ">=0.2.0 <0.3.0", "zod": "~3.24.2" diff --git a/e2e/playground-deps/pnpm-lock.yaml b/e2e/playground-deps/pnpm-lock.yaml index 56807cc..cf33b83 100644 --- a/e2e/playground-deps/pnpm-lock.yaml +++ b/e2e/playground-deps/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@antelopejs/dms': - specifier: '>=0.21.0 <0.22.0' - version: 0.21.0(@antelopejs/core@1.24.0)(supports-color@8.1.1)(typescript@6.0.3) + specifier: 0.21.4-next.1002.g39c16f7 + version: 0.21.4-next.1002.g39c16f7(@antelopejs/core@1.24.0)(supports-color@8.1.1)(typescript@6.0.3) '@antelopejs/interface-api': specifier: '>=0.3.3 <0.4.0' version: 0.3.3(@antelopejs/interface-core@0.5.1) @@ -30,8 +30,8 @@ importers: specifier: '>=0.5.0 <0.6.0' version: 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-dms': - specifier: '>=0.14.0 <0.15.0' - version: 0.14.4(1183000973ac86d33c63b2338e554d86) + specifier: 0.14.7-next.1002.g39c16f7 + version: 0.14.7-next.1002.g39c16f7(1183000973ac86d33c63b2338e554d86) '@antelopejs/interface-dms-mailing': specifier: link:../../packages/interface-dms-mailing version: link:../../packages/interface-dms-mailing @@ -72,12 +72,11 @@ packages: peerDependencies: '@antelopejs/core': ~1.24.0 - '@antelopejs/dms@0.21.0': - resolution: {integrity: sha512-nJ0JgucJTmpXTwZt5DZM61kIZDNL49m5cZU6pn2olqC7aN6EFvDtG209G/YJ6c3XJufTWjihBhntKBWxCQ2VTQ==} + '@antelopejs/dms@0.21.4-next.1002.g39c16f7': + resolution: {integrity: sha512-+hGIAU9t7kWIaWmV+YOIBeV9fI/hn3rqxGETP9Jufdbt8F0zO7d2d7mJeSZ66s8+YkJ2OoSMLiA3otqNfSNbwA==} engines: {node: ^20.19.0 || >=22.12.0} - hasBin: true peerDependencies: - '@antelopejs/core': ~1.24.0 + '@antelopejs/core': ~1.24.5 '@playwright/test': ^1.65.0 typescript: '>=5.8.0 <7.0.0' peerDependenciesMeta: @@ -133,13 +132,13 @@ packages: peerDependencies: '@antelopejs/interface-core': '>=0.5.1 <0.6.0' - '@antelopejs/interface-dms-builder@0.6.0': - resolution: {integrity: sha512-y/2cJKAFd+gcO/VEeuIwC+J/WNWWb1le6P6+Zv66cfqCWmWUAKa2P4LHWES1WBYkGz/gncf+/As/S2G1LBuJLw==} + '@antelopejs/interface-dms-builder@0.6.2-next.987.gb437fd0': + resolution: {integrity: sha512-fs/Of6JpHGl7y1DeWzCm5zLQEwRGHnwli2quxKTs5+rSygWHvaQOkqq64mHsoGONveHN7CPw7tOpdOVHDaMPFA==} peerDependencies: '@antelopejs/interface-core': '>=0.5.1 <0.6.0' - '@antelopejs/interface-dms@0.14.4': - resolution: {integrity: sha512-2D/zgfh+wUwMPYUvjsNCrRvta366QqwDVgWMefEV89G91vEkmJfYZeVjf9ginLg+A06C00orsPNxXfYL6lSDIQ==} + '@antelopejs/interface-dms@0.14.7-next.1002.g39c16f7': + resolution: {integrity: sha512-0Onyrsa4gltizHKAoMdjI8UWPx/R/WysctNLQijsWKNmRvRxpPVH76j6ZoF/9/zLDxkf6I/R3GKFHFkzZXT/Kg==} peerDependencies: '@antelopejs/interface-api': '>=0.3.0 <0.4.0' '@antelopejs/interface-api-util': '>=0.3.0 <0.4.0' @@ -1248,7 +1247,7 @@ snapshots: '@oxc-parser/binding-linux-x64-gnu': 0.95.0 '@oxc-parser/binding-win32-x64-msvc': 0.95.0 - '@antelopejs/dms@0.21.0(@antelopejs/core@1.24.0)(supports-color@8.1.1)(typescript@6.0.3)': + '@antelopejs/dms@0.21.4-next.1002.g39c16f7(@antelopejs/core@1.24.0)(supports-color@8.1.1)(typescript@6.0.3)': dependencies: 2fa: 0.1.2 '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) @@ -1257,8 +1256,8 @@ snapshots: '@antelopejs/interface-data-api': 0.8.0(@antelopejs/interface-api-util@0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database-decorators@0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)))(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-database': 0.4.0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) - '@antelopejs/interface-dms': 0.14.4(1183000973ac86d33c63b2338e554d86) - '@antelopejs/interface-dms-builder': 0.6.0(@antelopejs/interface-core@0.5.1) + '@antelopejs/interface-dms': 0.14.7-next.1002.g39c16f7(1183000973ac86d33c63b2338e554d86) + '@antelopejs/interface-dms-builder': 0.6.2-next.987.gb437fd0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-email': 0.2.1(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-file-storage': 0.1.6(@antelopejs/interface-core@0.5.1) '@csstools/css-tokenizer': 4.0.0 @@ -1339,11 +1338,11 @@ snapshots: '@antelopejs/interface-core': 0.5.1 optional: true - '@antelopejs/interface-dms-builder@0.6.0(@antelopejs/interface-core@0.5.1)': + '@antelopejs/interface-dms-builder@0.6.2-next.987.gb437fd0(@antelopejs/interface-core@0.5.1)': dependencies: '@antelopejs/interface-core': 0.5.1 - '@antelopejs/interface-dms@0.14.4(1183000973ac86d33c63b2338e554d86)': + '@antelopejs/interface-dms@0.14.7-next.1002.g39c16f7(1183000973ac86d33c63b2338e554d86)': dependencies: '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-api-util': 0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1) diff --git a/e2e/playground-deps/pnpm-workspace.yaml b/e2e/playground-deps/pnpm-workspace.yaml index 9e9b464..9904e4c 100644 --- a/e2e/playground-deps/pnpm-workspace.yaml +++ b/e2e/playground-deps/pnpm-workspace.yaml @@ -2,3 +2,4 @@ packages: - "." minimumReleaseAgeExclude: - "@antelopejs/interface-*" + - "@antelopejs/dms@0.21.4-next.1002.g39c16f7" diff --git a/e2e/playground/antelope.config.ts b/e2e/playground/antelope.config.ts index 9bd0757..553bc34 100644 --- a/e2e/playground/antelope.config.ts +++ b/e2e/playground/antelope.config.ts @@ -41,7 +41,7 @@ export default defineConfig({ source: { type: "package", package: "@antelopejs/dms", - version: ">=0.21.0 <0.22.0", + version: "0.21.4-next.1002.g39c16f7", }, config: { homepage: "/modules/mailing/overview", diff --git a/packages/dms-mailing/README.md b/packages/dms-mailing/README.md index 7c6012a..2618776 100644 --- a/packages/dms-mailing/README.md +++ b/packages/dms-mailing/README.md @@ -66,18 +66,18 @@ await SendTemplate("order-confirmed", { -| Package | Supported | Tested with | -| ------------------------------------------- | ------------------ | ----------- | -| `@antelopejs/interface-api` | `>=0.3.3 <0.4.0` | `0.3.3` | -| `@antelopejs/interface-api-util` | `>=0.3.2 <0.4.0` | `0.3.2` | -| `@antelopejs/interface-core` | `>=0.5.0 <0.6.0` | `0.5.1` | -| `@antelopejs/interface-data-api` | `>=0.8.0 <0.9.0` | `0.8.0` | -| `@antelopejs/interface-database` | `>=0.4.0 <0.5.0` | `0.4.1` | -| `@antelopejs/interface-database-decorators` | `>=0.5.0 <0.6.0` | `0.5.2` | -| `@antelopejs/interface-dms` | `>=0.14.0 <0.15.0` | `0.14.0` | -| `@antelopejs/interface-dms-automation` | `>=0.7.0 <0.8.0` | `0.7.0` | -| `@antelopejs/interface-dms-mailing` | `^0.11.2` | `0.11.2` | -| `@antelopejs/interface-email` | `>=0.2.0 <0.3.0` | `0.2.1` | +| Package | Supported | Tested with | +| ------------------------------------------- | --------------------------- | --------------------------- | +| `@antelopejs/interface-api` | `>=0.3.3 <0.4.0` | `0.3.3` | +| `@antelopejs/interface-api-util` | `>=0.3.2 <0.4.0` | `0.3.2` | +| `@antelopejs/interface-core` | `>=0.5.0 <0.6.0` | `0.5.1` | +| `@antelopejs/interface-data-api` | `>=0.8.0 <0.9.0` | `0.8.0` | +| `@antelopejs/interface-database` | `>=0.4.0 <0.5.0` | `0.4.1` | +| `@antelopejs/interface-database-decorators` | `>=0.5.0 <0.6.0` | `0.5.2` | +| `@antelopejs/interface-dms` | `0.14.7-next.1002.g39c16f7` | `0.14.7-next.1002.g39c16f7` | +| `@antelopejs/interface-dms-automation` | `>=0.7.0 <0.8.0` | `0.7.0` | +| `@antelopejs/interface-dms-mailing` | `^0.11.2` | `0.11.2` | +| `@antelopejs/interface-email` | `>=0.2.0 <0.3.0` | `0.2.1` | diff --git a/packages/dms-mailing/antelope-lock/@antelopejs/dms@0.20.2/package-lock.json b/packages/dms-mailing/antelope-lock/@antelopejs/dms@0.21.4-next.1002.g39c16f7/package-lock.json similarity index 95% rename from packages/dms-mailing/antelope-lock/@antelopejs/dms@0.20.2/package-lock.json rename to packages/dms-mailing/antelope-lock/@antelopejs/dms@0.21.4-next.1002.g39c16f7/package-lock.json index d7e4c64..73ce1a1 100644 --- a/packages/dms-mailing/antelope-lock/@antelopejs/dms@0.20.2/package-lock.json +++ b/packages/dms-mailing/antelope-lock/@antelopejs/dms@0.21.4-next.1002.g39c16f7/package-lock.json @@ -1,12 +1,12 @@ { "name": "@antelopejs/dms", - "version": "0.20.2", + "version": "0.21.4-next.1002.g39c16f7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@antelopejs/dms", - "version": "0.20.2", + "version": "0.21.4-next.1002.g39c16f7", "license": "Apache-2.0", "dependencies": { "@antelopejs/interface-api": ">=0.3.2 <0.4.0", @@ -15,8 +15,8 @@ "@antelopejs/interface-data-api": ">=0.8.0 <0.9.0", "@antelopejs/interface-database": ">=0.4.0 <0.5.0", "@antelopejs/interface-database-decorators": ">=0.5.2 <0.6.0", - "@antelopejs/interface-dms": ">=0.14.0 <0.15.0", - "@antelopejs/interface-dms-builder": ">=0.5.0 <0.6.0", + "@antelopejs/interface-dms": "0.14.7-next.1002.g39c16f7", + "@antelopejs/interface-dms-builder": "0.6.2-next.987.gb437fd0", "@antelopejs/interface-email": ">=0.2.1 <0.3.0", "@antelopejs/interface-file-storage": ">=0.1.4 <0.2.0", "@csstools/css-tokenizer": "4.0.0", @@ -41,13 +41,15 @@ "zod": "^3.25.0", "zod-to-json-schema": "~3.24.6" }, - "bin": { - "dms-control": "bin/dms-control.mjs" - }, "devDependencies": { - "@antelopejs/api": "~1.7.0", - "@antelopejs/core": "~1.23.0", - "@antelopejs/tooling-configs": ">=0.7.2 <0.8.0", + "@antelopejs/api": "~1.7.8", + "@antelopejs/core": "~1.24.5", + "@antelopejs/mongodb": "~1.8.11", + "@antelopejs/mysql": ">=0.2.7 <0.3.0", + "@antelopejs/postgres": ">=0.4.3 <0.5.0", + "@antelopejs/rethinkdb": "~1.10.6", + "@antelopejs/tooling-configs": ">=0.8.7 <0.9.0", + "@playwright/test": "~1.65.0", "@types/archiver": "^6.0.4", "@types/chai": "^4.3.20", "@types/jsdom": "^28.0.3", @@ -60,16 +62,16 @@ "ajv": "^8.17.1", "axios": "^1.7.9", "chai": "^4.5.0", + "fast-check": "^4.10.2", + "ioredis": "^5.10.1", "knip": "^6.34.0", "mongodb": "^7.1.1", - "mongodb-connection-string-url": "^7.0.1", "mongodb-memory-server-core": "^11.0.1", "mysql2": "^3.24.6", "oxfmt": "^0.66.0", "oxlint": "1.81.0", "oxlint-tsgolint": "^7.0.2001", "pg": "^8.22.0", - "pg-connection-string": "^2.14.1", "release-it": "^19.2.4", "release-it-changelogen": "^0.1.0", "rethinkdb-ts": "^2.7.0", @@ -88,27 +90,15 @@ "playwright-core": "~1.65.0" }, "peerDependencies": { - "@antelopejs/core": "~1.23.0", - "mongodb": "^6.21.0 || ^7.0.0", - "mysql2": "^3.24.6", - "pg": "^8.22.0", - "rethinkdb-ts": "^2.7.0", + "@antelopejs/core": "~1.24.5", + "@playwright/test": "^1.65.0", "typescript": ">=5.8.0 <7.0.0" }, "peerDependenciesMeta": { "@antelopejs/core": { "optional": true }, - "mongodb": { - "optional": true - }, - "mysql2": { - "optional": true - }, - "pg": { - "optional": true - }, - "rethinkdb-ts": { + "@playwright/test": { "optional": true }, "typescript": { @@ -117,9 +107,9 @@ } }, "node_modules/@antelopejs/api": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/@antelopejs/api/-/api-1.7.5.tgz", - "integrity": "sha512-bm34I2PvIW795Tk5WTFx5VeTv/J+RSTla6U9naOUh4BmFyfy4oO7A2j0+twQD5KFmXnkIweevhHQ+bVvcnUUrg==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/@antelopejs/api/-/api-1.7.8.tgz", + "integrity": "sha512-xfF/i7xxUT7dfOmeCD7+HQUTvPhYo/okjvqXbLOsSlPxtsBnuho62qwJPh2Dj0JbVakCnyFoRQMlKiuKtfF/9A==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -130,7 +120,7 @@ "ws": "^8.21.0" }, "peerDependencies": { - "@antelopejs/core": "~1.24.0" + "@antelopejs/core": "~1.24.4" }, "peerDependenciesMeta": { "@antelopejs/core": { @@ -139,9 +129,9 @@ } }, "node_modules/@antelopejs/core": { - "version": "1.23.3", - "resolved": "https://registry.npmjs.org/@antelopejs/core/-/core-1.23.3.tgz", - "integrity": "sha512-W9ekdNXaZCuK4lsKn5bBF3F+LoQhvwlmLoprw4m0W6jdS0DA6Bb7B2+2ttgla0oggAJwyFUxHcpBVloFnlv91w==", + "version": "1.24.5", + "resolved": "https://registry.npmjs.org/@antelopejs/core/-/core-1.24.5.tgz", + "integrity": "sha512-05vcPpagrOi5VXhecjsR5TFQrDeEJrqZ9Vfrmjp/iKlydYIvvbuyxCz9E51eGgWCa3UnZLgvWqYNxlxvYt5MlA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -180,22 +170,22 @@ } }, "node_modules/@antelopejs/interface-api": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-api/-/interface-api-0.3.3.tgz", - "integrity": "sha512-jcsbhW5sO56ZFGBvHPy8/bmIw9BPS/lxBPF4Pyv3YwY9/VaFXGZVI3N+TjgJAHOwnjW8gRuASfqaTDYaFM/ldQ==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-api/-/interface-api-0.3.4.tgz", + "integrity": "sha512-+jLLgUK5SZ81vO/3ZfSXZNjwH0D0q5uO+gAICXy2tC2e+Q10HlF6mL+wP/QFUH9SOs0cxOamUUH4SGsYLGAgDQ==", "license": "Apache-2.0", "peerDependencies": { "@antelopejs/interface-core": ">=0.5.1 <0.6.0" } }, "node_modules/@antelopejs/interface-api-util": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-api-util/-/interface-api-util-0.3.2.tgz", - "integrity": "sha512-bNzujj2Jf9VM+XYSO0QcrD3SUmOk5TcWncGioCWnlWnfGvuPgeWE8T58+SMYyfzmPalQQa0JUed/+6k+e59lZw==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-api-util/-/interface-api-util-0.3.3.tgz", + "integrity": "sha512-jk5uRMjjjkRm/vOoB1NCvtcgjQYvI27y2/4O+5cLlrryKpOd52amkQIJKbdX/n/bkxdx19oUGkwYLyFwxyaXNw==", "license": "Apache-2.0", "peerDependencies": { - "@antelopejs/interface-api": ">=0.3.0 <1.0.0", - "@antelopejs/interface-core": ">=0.2.4 <1.0.0" + "@antelopejs/interface-api": ">=0.3.3 <0.4.0", + "@antelopejs/interface-core": ">=0.5.1 <0.6.0" } }, "node_modules/@antelopejs/interface-core": { @@ -208,9 +198,9 @@ } }, "node_modules/@antelopejs/interface-data-api": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-data-api/-/interface-data-api-0.8.1.tgz", - "integrity": "sha512-Ea9HfRMGIEoJrG3gZWpGagpKdldJzkb2ANNdEyis5lQkGqwDtxJXuCONcJeKPTIsXr3K5wBp0HNWRJPozf6YFQ==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-data-api/-/interface-data-api-0.8.2.tgz", + "integrity": "sha512-wbIRwUthI/i2eED9ojmNFXE0bp6PFDVpmDIORdp0KjR2q6zOVhTkH57UWPytnqIjg0S/t/iJdGKBwMGDLeRXMA==", "license": "Apache-2.0", "peerDependencies": { "@antelopejs/interface-api": ">=0.3.0 <0.4.0", @@ -221,9 +211,9 @@ } }, "node_modules/@antelopejs/interface-database": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-database/-/interface-database-0.4.1.tgz", - "integrity": "sha512-Ad+a93DNl9zbdsKHCSaHCtrTwLnZB7Fv7S3+LmnplStrPFVLHZFVW6hCr8bB7Cv8cqpS1MjJVqm07/E/l82QGg==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-database/-/interface-database-0.4.3.tgz", + "integrity": "sha512-0LPVluZbv2FYyhrVB0mbZ/zpYH9VRE5jHW62NUxEkBj8oD9wyQXRONeAI7DE0Ngyz6vLIQ4yuTb1Kbac+x+0EQ==", "license": "Apache-2.0", "peerDependencies": { "@antelopejs/interface-core": ">=0.5.1 <0.6.0" @@ -233,16 +223,16 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/@antelopejs/interface-database-catalog/-/interface-database-catalog-0.1.0.tgz", "integrity": "sha512-R5SL72JKD7u63UwBumWt18YsGXVnnWfKbBVwc323CgKvDcLS7Qfz+Eo/ko2ybr8wHq7Izi7maSTPhJn3fp91ug==", + "devOptional": true, "license": "Apache-2.0", - "optional": true, "peerDependencies": { "@antelopejs/interface-core": ">=0.5.0 <0.6.0" } }, "node_modules/@antelopejs/interface-database-decorators": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-database-decorators/-/interface-database-decorators-0.5.3.tgz", - "integrity": "sha512-FasX+tLU8Fna31iQVSYnbmuRY8uPhRvAIYgKtKtYJYVjfP5T5V8QCku1borFKy4JLEKusHwiVKwjB544u+XvDg==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-database-decorators/-/interface-database-decorators-0.5.4.tgz", + "integrity": "sha512-N+cQB3fDqGQo8zd1OBiqfrUJRIRch2Y2jYadqeqnZnB94uWxb6y816rOBswDuFp+T9ztbFyNxUQTlWttONxLyg==", "license": "Apache-2.0", "dependencies": { "randomstring": "^1.3.1", @@ -255,9 +245,9 @@ } }, "node_modules/@antelopejs/interface-dms": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-dms/-/interface-dms-0.14.2.tgz", - "integrity": "sha512-uAYBKZ2VP+LAfATfdHCZEEy5+wHXKLvlpihibGukRos0GHe83QBnXSgoxbW0Qme2zS2Rqsg6cn8/+YY3t4kJcw==", + "version": "0.14.7-next.1002.g39c16f7", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-dms/-/interface-dms-0.14.7-next.1002.g39c16f7.tgz", + "integrity": "sha512-0Onyrsa4gltizHKAoMdjI8UWPx/R/WysctNLQijsWKNmRvRxpPVH76j6ZoF/9/zLDxkf6I/R3GKFHFkzZXT/Kg==", "license": "Apache-2.0", "dependencies": { "randomstring": "^1.3.1", @@ -275,9 +265,9 @@ } }, "node_modules/@antelopejs/interface-dms-automation": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-dms-automation/-/interface-dms-automation-0.7.0.tgz", - "integrity": "sha512-huGVCIDoJVkpT939wo4yWNYtyuy887QvcuXI9XjwuvYiWXdwNWiDLgs1lIulvkNGc+cf0ZUHYEpERuhhWPcHcQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-dms-automation/-/interface-dms-automation-0.7.2.tgz", + "integrity": "sha512-TRPAERL/8FDHxdfKcQtx16ezWIOjgq+DPlE1UX+xHMcPkFOUtAYmu5b19p4v8U2rpnwCMu2onVTuIgjCC2Vksw==", "license": "Apache-2.0", "optional": true, "peerDependencies": { @@ -285,12 +275,12 @@ } }, "node_modules/@antelopejs/interface-dms-builder": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-dms-builder/-/interface-dms-builder-0.5.1.tgz", - "integrity": "sha512-qNgJeAaCymkMUG2z0wNKGHAHsQXEnp1hU7zuEg+HPjtxHaHtMr6086nji82OEpQyt79VYSGata1tszm3L0/M9A==", + "version": "0.6.2-next.987.gb437fd0", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-dms-builder/-/interface-dms-builder-0.6.2-next.987.gb437fd0.tgz", + "integrity": "sha512-fs/Of6JpHGl7y1DeWzCm5zLQEwRGHnwli2quxKTs5+rSygWHvaQOkqq64mHsoGONveHN7CPw7tOpdOVHDaMPFA==", "license": "Apache-2.0", "peerDependencies": { - "@antelopejs/interface-core": ">=0.5.1 <1.0.0" + "@antelopejs/interface-core": ">=0.5.1 <0.6.0" } }, "node_modules/@antelopejs/interface-email": { @@ -303,35 +293,248 @@ } }, "node_modules/@antelopejs/interface-file-storage": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-file-storage/-/interface-file-storage-0.1.8.tgz", - "integrity": "sha512-LEsBfxiH3TF+Jjc0fCyjKiK3wlBOInbO/hGSd9++oLEIVT5uQhvynrs9910XCJww/0x4BWMTMYhuEEbjZHJ76Q==", + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-file-storage/-/interface-file-storage-0.1.9.tgz", + "integrity": "sha512-BX3UAMcCti94CprtyGuLcAL/8WP8QU4Ki3yFVgWrPZkwNkHVCXLOqnaETULQ794YoLxw3THMo0DPzv3nyZ0dzw==", "license": "Apache-2.0", "peerDependencies": { - "@antelopejs/interface-core": ">=0.2.4 <1.0.0" + "@antelopejs/interface-core": ">=0.5.1 <0.6.0" + } + }, + "node_modules/@antelopejs/interface-mongodb": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-mongodb/-/interface-mongodb-0.0.8.tgz", + "integrity": "sha512-sAJDFv29Zz2RFZaSvN/qIPW57/zpYFVHaOTaBi2dgDn650Z0hpD9gJx9LVp5NiCC3EmD+DeQggmA5ada+4zatA==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "mongodb": "^6.21.0" + } + }, + "node_modules/@antelopejs/interface-mongodb/node_modules/bson": { + "version": "6.10.4", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.4.tgz", + "integrity": "sha512-WIsKqkSC0ABoBJuT1LEX+2HEvNmNKKgnTAyd0fL8qzK4SH2i9NXg+t08YtdZp/V9IZ33cxe3iV4yM0qg8lMQng==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=16.20.1" + } + }, + "node_modules/@antelopejs/interface-mongodb/node_modules/mongodb": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.22.0.tgz", + "integrity": "sha512-k9YPpPXZEVyT4kjglCen99LCDToxzM+R89x3cMp8kSWb1gnXDvrsEJQh3FQ4t4jS9+ZA4yBOojHNS1oAB5qwQg==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@mongodb-js/saslprep": "^1.3.0", + "bson": "^6.10.4", + "mongodb-connection-string-url": "^3.0.2" + }, + "engines": { + "node": ">=16.20.1" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0 || ^2.0.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.3.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } } }, "node_modules/@antelopejs/interface-redis": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/@antelopejs/interface-redis/-/interface-redis-0.0.10.tgz", - "integrity": "sha512-yC8mgJXlCzyFy+4EWt2ZuKqVcrwX+Jm6A5BR0XHtDkmT+njsew7Y7i/LUnfr+BZxf7bvx5Ds5nY0Elkdu1bxUg==", + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-redis/-/interface-redis-0.0.11.tgz", + "integrity": "sha512-akKbIWtihN2dxgibvtt/0PXjIbFZw1SKni45sMJtqkOd+uHw7Q2sOnucdgMM7PZw3gIiZVeMswbR/IHKJ5VODg==", "license": "Apache-2.0", "optional": true, "dependencies": { "ioredis": "^5.10.1" }, "peerDependencies": { - "@antelopejs/interface-core": ">=0.2.4 <1.0.0" + "@antelopejs/interface-core": ">=0.5.1 <0.6.0" + } + }, + "node_modules/@antelopejs/interface-rethinkdb": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@antelopejs/interface-rethinkdb/-/interface-rethinkdb-0.1.2.tgz", + "integrity": "sha512-zRfrsGLL2zOexmbCZ5+ciMo3yMjWAgobKukkDMoPsVdBE/zIBMQ5CZTCCFGHa9rdNOYfZAvjagkTABxDaF/aqg==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "rethinkdb-ts": "^2.7.0" + }, + "peerDependencies": { + "@antelopejs/interface-core": ">=0.5.1 <0.6.0" + } + }, + "node_modules/@antelopejs/mongodb": { + "version": "1.8.11", + "resolved": "https://registry.npmjs.org/@antelopejs/mongodb/-/mongodb-1.8.11.tgz", + "integrity": "sha512-JnymonWA9jw/AoplJ13UtzP+zYlbh4rzCI3qjC30N88YYXjhsGvYGzIQW4NUZnmhWVYPZgOq6xAi0ZBmwLh9UA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@antelopejs/interface-core": ">=0.5.1 <0.6.0", + "@antelopejs/interface-database": ">=0.4.1 <0.5.0", + "@antelopejs/interface-database-catalog": ">=0.1.0 <0.2.0", + "chai": "^4.5.0", + "mongodb": "^6.21.0", + "mongodb-connection-string-url": "^3.0.2", + "randomstring": "^1.3.1", + "reflect-metadata": "^0.2.2", + "uuid": "^11.1.1" + }, + "optionalDependencies": { + "@antelopejs/interface-mongodb": ">=0.0.7 <0.1.0" + } + }, + "node_modules/@antelopejs/mongodb/node_modules/bson": { + "version": "6.10.4", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.4.tgz", + "integrity": "sha512-WIsKqkSC0ABoBJuT1LEX+2HEvNmNKKgnTAyd0fL8qzK4SH2i9NXg+t08YtdZp/V9IZ33cxe3iV4yM0qg8lMQng==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=16.20.1" + } + }, + "node_modules/@antelopejs/mongodb/node_modules/mongodb": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.22.0.tgz", + "integrity": "sha512-k9YPpPXZEVyT4kjglCen99LCDToxzM+R89x3cMp8kSWb1gnXDvrsEJQh3FQ4t4jS9+ZA4yBOojHNS1oAB5qwQg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@mongodb-js/saslprep": "^1.3.0", + "bson": "^6.10.4", + "mongodb-connection-string-url": "^3.0.2" + }, + "engines": { + "node": ">=16.20.1" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0 || ^2.0.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.3.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } + } + }, + "node_modules/@antelopejs/mysql": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@antelopejs/mysql/-/mysql-0.2.7.tgz", + "integrity": "sha512-llrgE55IMr5seiJCJFw/xLmP4xAKBrsnuBjf6j1alc1gUXyAi8QCmVpd1wWkEiEGe/KyVte5pfWCUqvNWzVctQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@antelopejs/interface-core": ">=0.5.1 <0.6.0", + "@antelopejs/interface-database": ">=0.4.1 <0.5.0", + "@antelopejs/interface-database-catalog": ">=0.1.0 <0.2.0", + "mysql2": "^3.24.6" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/@antelopejs/postgres": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@antelopejs/postgres/-/postgres-0.4.3.tgz", + "integrity": "sha512-nRMEXySfMPNPuoQmWn+qdXWFPanzZOVKxhvhy0xyCmcGFmwpAZmgDLY3woHFzK20SlTJyZsOm59S7Q07Wc64yQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@antelopejs/interface-core": ">=0.5.0 <0.6.0", + "@antelopejs/interface-database": ">=0.4.1 <0.5.0", + "@antelopejs/interface-database-catalog": ">=0.1.0 <0.2.0", + "pg": "^8.22.0", + "pg-connection-string": "^2.14.0" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/@antelopejs/rethinkdb": { + "version": "1.10.6", + "resolved": "https://registry.npmjs.org/@antelopejs/rethinkdb/-/rethinkdb-1.10.6.tgz", + "integrity": "sha512-DabBDYhXCv1wlTSJJvJ48wp7sbhDVztSAulKmd09xhgpDJOrD8AkyqDmhkoCDJcqUibhuV76HLcy4QyZTDgAjw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@antelopejs/interface-core": ">=0.5.1 <0.6.0", + "@antelopejs/interface-database": ">=0.4.1 <0.5.0", + "@antelopejs/interface-database-catalog": ">=0.1.0 <0.2.0", + "chai": "^4.5.0", + "reflect-metadata": "^0.2.2", + "rethinkdb-ts": "^2.7.0" + }, + "optionalDependencies": { + "@antelopejs/interface-rethinkdb": ">=0.1.0 <0.2.0" } }, "node_modules/@antelopejs/tooling-configs": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/@antelopejs/tooling-configs/-/tooling-configs-0.7.4.tgz", - "integrity": "sha512-/iLJFMB/RcOyRr9Mp5cqcQve8J1LFx6BbSsZs8MndE++Ua7hOtXYbiBZKocp7XtzMDibxFpJW7zOqiNS7LhN/g==", + "version": "0.8.9", + "resolved": "https://registry.npmjs.org/@antelopejs/tooling-configs/-/tooling-configs-0.8.9.tgz", + "integrity": "sha512-DMar3gDUBy73qpAqv8coGCmvIBrZ12FtyYwD+Igqn6jrb92GMxZAuI2YlW9pED9tS3tdk17+aZRIyVO0oDacHA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@oxlint/plugins": "1.81.0", + "@oxlint/plugins": "1.94.0", "dts-bundle-generator": "^9.5.1", "minimatch": "^10.2.6", "semver": "^7.8.5", @@ -340,14 +543,12 @@ }, "bin": { "antelopejs-api-diff": "dist/bin/api-diff.mjs", - "antelopejs-body-check": "dist/bin/body-check.mjs", "antelopejs-capture": "dist/bin/capture.mjs", "antelopejs-check-size": "dist/bin/check-size.mjs", "antelopejs-checks": "dist/bin/checks.mjs", "antelopejs-comment-proof": "dist/bin/comment-proof.mjs", "antelopejs-garden": "dist/bin/garden.mjs", "antelopejs-lease": "dist/bin/lease.mjs", - "antelopejs-ratchet": "dist/bin/ratchet.mjs", "antelopejs-readme-strip": "dist/bin/readme-strip.mjs", "antelopejs-suppressions": "dist/bin/suppressions.mjs", "antelopejs-sync": "dist/bin/sync.mjs", @@ -385,8 +586,8 @@ "eslint-plugin-perfectionist": ">=5.0.0", "knip": ">=6.0.0", "mongodb-memory-server": ">=10.0.0", - "oxfmt": "^0.66.0 || ^0.77.0", - "oxlint": "1.81.0", + "oxfmt": "^0.66.0 || ^0.77.0 || ^0.79.0", + "oxlint": "1.81.0 || 1.94.0", "pixelmatch": ">=7.0.0", "playwright-core": ">=1.56.0", "sharp": ">=0.34.0" @@ -484,9 +685,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.14.tgz", - "integrity": "sha512-CXvKMFvM80ihI7Vox9jb+kQjnyjESQNPM+vB7U0Zz6TWuZA+Z/FL0QPMH300h33qJtIx+REeBhXqWOPW48TcAQ==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz", + "integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==", "dev": true, "license": "MIT", "engines": { @@ -504,13 +705,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.14.tgz", - "integrity": "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz", + "integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.14" + "@babel/types": "^7.29.15" }, "bin": { "parser": "bin/babel-parser.js" @@ -520,13 +721,13 @@ } }, "node_modules/@babel/types": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.14.tgz", - "integrity": "sha512-UjI/dKmwJwT9pOszJitq2G6EObZPnsZUfdCr92z2TlF3EZK9J3EdfOKUrCzHl6wFthbzwhzl1Soc/UIwxRiq6w==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz", + "integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.14", + "@babel/helper-string-parser": "^7.29.15", "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { @@ -577,9 +778,9 @@ } }, "node_modules/@csstools/color-helpers": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz", - "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==", + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.3.tgz", + "integrity": "sha512-c6CpX5G1pvuOKTXiRFJ54Lzc8zQrZ3qUjp44QC5DJNt1OmA1vmfUxOMCcKdDqsvffVDG0/MHnY63J+Mn0nmdUg==", "funding": [ { "type": "github", @@ -596,9 +797,9 @@ } }, "node_modules/@csstools/css-calc": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz", - "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.4.tgz", + "integrity": "sha512-Jwo1Z8DUsZ8xVOLBdLMfhjJFvWD6pqaUTlBNQZ+qIB2i9g7yG8kd/UBJj2c9J9Twr+u87cjy9BjkmfvMbyOk3Q==", "funding": [ { "type": "github", @@ -614,14 +815,14 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" + "@csstools/css-parser-algorithms": "^4.0.3", + "@csstools/css-tokenizer": "^4.0.3" } }, "node_modules/@csstools/css-color-parser": { - "version": "4.2.7", - "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.7.tgz", - "integrity": "sha512-zgm9yjQz5iJB4VL8RyVwd71TWB8Q89FSxt/NzXoWqPSkEBOVtn9L6vAPtSc9hpKfB0Awo/AL2VKFHjYetBLFHQ==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.8.tgz", + "integrity": "sha512-JLsKBee9dmnA3L+H+vYK4lQ6n5CoY3yEnh33zdlMutRfrTxtqt+hFeoZ1maHRt5vLw67huDLpOkDb3rl9A51MQ==", "funding": [ { "type": "github", @@ -634,21 +835,21 @@ ], "license": "MIT", "dependencies": { - "@csstools/color-helpers": "^6.1.2", - "@csstools/css-calc": "^3.4.3" + "@csstools/color-helpers": "^6.1.3", + "@csstools/css-calc": "^3.4.4" }, "engines": { "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" + "@csstools/css-parser-algorithms": "^4.0.3", + "@csstools/css-tokenizer": "^4.0.3" } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", - "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.3.tgz", + "integrity": "sha512-EpCfUDaJtwohPHC7egoXxPGT/R1/WyyAhw87MKB/7BPPZvZU+IcEqo4er5FpLnby2Gvwt9Lpxy+WNEDyFjoXtA==", "funding": [ { "type": "github", @@ -664,13 +865,13 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-tokenizer": "^4.0.2" + "@csstools/css-tokenizer": "^4.0.3" } }, "node_modules/@csstools/css-syntax-patches-for-csstree": { - "version": "1.1.16", - "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.16.tgz", - "integrity": "sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==", + "version": "1.1.17", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.17.tgz", + "integrity": "sha512-IPx9W33+t0Yt5TVb+Y7oICrThOIry0TY6GuXfSHOatxA0uiHqbzi98Gai905lpBAX1m/LH7iI96e9jcI7Dkvxw==", "funding": [ { "type": "github", @@ -1198,8 +1399,8 @@ "version": "1.10.0", "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.10.0.tgz", "integrity": "sha512-UmeW7z4LfctwoQ5wkhVzgq8tXkreED2xZGpX+Bg+zA+WJFZCT6c062AfCK/Dfk81xZnnwdhJCUMkitihRaoC2Q==", - "license": "MIT", - "optional": true + "devOptional": true, + "license": "MIT" }, "node_modules/@isaacs/cliui": { "version": "8.0.2", @@ -1222,7 +1423,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz", "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==", - "dev": true, "license": "BlueOak-1.0.0" }, "node_modules/@jridgewell/sourcemap-codec": { @@ -2957,9 +3157,9 @@ } }, "node_modules/@oxlint/plugins": { - "version": "1.81.0", - "resolved": "https://registry.npmjs.org/@oxlint/plugins/-/plugins-1.81.0.tgz", - "integrity": "sha512-HhD8kd3r6XpelZkhxhRty/po8V6yK1VV63Eq4kSsOS2IoHUywG3DV2EX+z/ZHw46aLI74Y6aA604NRiAqLKW9w==", + "version": "1.94.0", + "resolved": "https://registry.npmjs.org/@oxlint/plugins/-/plugins-1.94.0.tgz", + "integrity": "sha512-YT6htikBOBQ00XDxZpRZLZ0anEDo7h9s4+YvjRU0/Ng/cLd0D6SZQ3tsms4g/GDer/z8UKlegC5iptEfyRXJcw==", "dev": true, "license": "MIT", "engines": { @@ -2993,6 +3193,22 @@ "node": ">=14" } }, + "node_modules/@playwright/test": { + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", + "integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.65.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/@pnpm/config.env-replace": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", @@ -3085,20 +3301,36 @@ "license": "MIT" }, "node_modules/@ts-morph/common": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.29.0.tgz", - "integrity": "sha512-35oUmphHbJvQ/+UTwFNme/t2p3FoKiGJ5auTjjpNTop2dyREspirjMy82PLSC1pnDJ8ah1GU98hwpVt64YXQsg==", + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.29.1.tgz", + "integrity": "sha512-P6hGYQ+taPsxmoY4svs0uFNiaLdOPDE+F5FqTBwoA76x8HmEggQXbEhSo78ZsyrGzUxbQfdr/5P7lHYUHF0r2Q==", "license": "MIT", "dependencies": { - "minimatch": "^10.0.1", + "minimatch": "^11.0.1", "path-browserify": "^1.0.1", "tinyglobby": "^0.2.14" } }, + "node_modules/@ts-morph/common/node_modules/minimatch": { + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/nonrecursive-glob-match": "^1.1.0", + "brace-expansion": "^5.0.12" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@tybys/wasm-util": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", - "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz", + "integrity": "sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==", "dev": true, "license": "MIT", "optional": true, @@ -3296,9 +3528,9 @@ "license": "MIT" }, "node_modules/@types/whatwg-url": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-13.0.0.tgz", - "integrity": "sha512-N8WXpbE6Wgri7KUSvrmQcqrMllKZ9uxkYWMt+mCSGwNc0Hsw9VQTW7ApqI4XNrx6/SaM2QQJCzMPDEXE058s+Q==", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz", + "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3646,17 +3878,17 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.45.tgz", - "integrity": "sha512-XGHJrM6ufZARAc/w+tyOswStw9tdKiqCKBScI4gGaNxD+aaGu/HQWgKJ+JItjRLPqenQ7iE7G8AJC7T5ew1p+g==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.46.tgz", + "integrity": "sha512-yb+N8/mgBcoeqCJPVyJI/D3OphLrSMXnB3ZQUNmRLU/1fsMW4bFfdJWNi9oIj7+EA3ULKKkP7b/VCpcYQYeiuQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/parser": "^7.29.12", - "@vue/shared": "3.5.45", + "@vue/shared": "3.5.46", "entities": "^7.0.1", "estree-walker": "^2.0.2", - "source-map-js": "^1.2.2" + "source-map-js": "^1.2.3" } }, "node_modules/@vue/compiler-core/node_modules/entities": { @@ -3673,95 +3905,95 @@ } }, "node_modules/@vue/compiler-dom": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.45.tgz", - "integrity": "sha512-LbP2d19GSOYGPmvMBBCVJVlv7TKtjM1Cfeyu3cYia720pknZP+1cLX7H5MVatvruT6MuJhiPuNbQBW/MDn/EwA==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.46.tgz", + "integrity": "sha512-Bj3lCSw3DQnDRDxw115XqdLDd0+18Nftlgd8OXSGG+ud74hxJIE17eYrM+VWgQrTMsvJbLh9Hzf2MkwAzru36Q==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.5.45", - "@vue/shared": "3.5.45" + "@vue/compiler-core": "3.5.46", + "@vue/shared": "3.5.46" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.45.tgz", - "integrity": "sha512-MKFjb2UX0M/l/jhfzqMLrI8VM4pfvFKG3pqFZkSZFHRLtNld/O4RtUPZFWSwhro/14qP88UQEkWzHxAZAQ0tsw==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.46.tgz", + "integrity": "sha512-hjUvMxGh+QIgegwksfp6BRBYleE/a8veZHvTR6sa+o+bM4HU+WnrUZlhN0X+pDcsl8Lhwmbu72xPvLMk3XUwog==", "dev": true, "license": "MIT", "dependencies": { "@babel/parser": "^7.29.12", - "@vue/compiler-core": "3.5.45", - "@vue/compiler-dom": "3.5.45", - "@vue/compiler-ssr": "3.5.45", - "@vue/shared": "3.5.45", + "@vue/compiler-core": "3.5.46", + "@vue/compiler-dom": "3.5.46", + "@vue/compiler-ssr": "3.5.46", + "@vue/shared": "3.5.46", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.32", - "source-map-js": "^1.2.2" + "source-map-js": "^1.2.3" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.45.tgz", - "integrity": "sha512-RF5sbZOfYz5AK00tOJUn2PwFXR2fS1u2HVzI8D9VF9rGAFxuGBqg2bB1kJ3ZHMprqSltXnT9MZE1IsqjSM8oew==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.46.tgz", + "integrity": "sha512-qebChL3aP0m1k+TlSf+fZWvOwAf3flBCi5o+n01ykR3DX4mTIWheFltmoiQ12+z66/4cGeXqbB2P7sPWkGhQNQ==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.45", - "@vue/shared": "3.5.45" + "@vue/compiler-dom": "3.5.46", + "@vue/shared": "3.5.46" } }, "node_modules/@vue/reactivity": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.45.tgz", - "integrity": "sha512-WqkyubNWpI4OYBOipSrjIssMdJO8K1i9Zts/Wm8Er10/0msOEwCyWWWvZnAI7WW3kQsTong6DJp8Cbb+vd4cPA==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.46.tgz", + "integrity": "sha512-+FHtYTvGxgFoX3oRs7soz6JHizGv50Q26WJN6PWtXuTLXRfkfUpDUTRuoTA/kiZVVt8NMeMpsPQLh9h++ReUjQ==", "dev": true, "license": "MIT", "dependencies": { - "@vue/shared": "3.5.45" + "@vue/shared": "3.5.46" } }, "node_modules/@vue/runtime-core": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.45.tgz", - "integrity": "sha512-bzIO3+FABjpj85uIKSc+Qnj36/sxDNI3tcH9i6w6xKA1k6e0ejv0G0jMCfeJBvK3yGL5XbJ3DMZj+ClqyCHFYw==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.46.tgz", + "integrity": "sha512-eJUzKAUaHAmtnys/l9qduPzUnBrYMkmsCU7TN+vbSOSpm8kcETT7nacKxIO4MBej/XiOraVzq+lSeZv7o1//jQ==", "dev": true, "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.45", - "@vue/shared": "3.5.45" + "@vue/reactivity": "3.5.46", + "@vue/shared": "3.5.46" } }, "node_modules/@vue/runtime-dom": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.45.tgz", - "integrity": "sha512-ZvRTFMDgfqTDYWvJfoVpQTJx1RN5M6l7Pyd6wfdY2NaXzbPQVh9ezeQYFbNPP6bIcRVn2SqSSR25N/jSW69BFw==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.46.tgz", + "integrity": "sha512-6L7lbBvXTYBFFjIt25a0pgdpmn3Ns8RqUnNVibRzF4bgyiWJvqOhKEV5MXYWKlCttZE3aGeJN8mveo+6IrIKXA==", "dev": true, "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.45", - "@vue/runtime-core": "3.5.45", - "@vue/shared": "3.5.45", - "csstype": "^3.2.3" + "@vue/reactivity": "3.5.46", + "@vue/runtime-core": "3.5.46", + "@vue/shared": "3.5.46", + "csstype": "^3.2.4" } }, "node_modules/@vue/server-renderer": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.45.tgz", - "integrity": "sha512-1fNXUHhhsWf4EVL4XixbGBU5mKdiIXJAB82feHRTyPPo6ZUEYWIJuEeUl3mVV6QDBp50HJOX4obLhxYXlrjrzA==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.46.tgz", + "integrity": "sha512-4mc0YWREc6OZ5pDCigvKPDzIUV+aciiH92yvyTS6xaHHxW/80rMceQQn11pYe7OEEBt2YQgYWR9zF8QF30GJUQ==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.5.45", - "@vue/runtime-dom": "3.5.45", - "@vue/shared": "3.5.45" + "@vue/compiler-ssr": "3.5.46", + "@vue/runtime-dom": "3.5.46", + "@vue/shared": "3.5.46" } }, "node_modules/@vue/shared": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.45.tgz", - "integrity": "sha512-ue9fgHmVNPlP7iW3+cxoBX/Cnlw53dHlVSw0JKGY6z1lObg8pHoj928M2nzG4/yVsMZ3NaRZ2s2z61uC16NDwQ==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.46.tgz", + "integrity": "sha512-P1WePbdzHrcIciWtmY2Im9EFhdakd3rZxYqvalOa3SfoxtF35Q8Uhmj1tKn6bWP4utcOpN8ao6BoJUItq0Uf+g==", "dev": true, "license": "MIT" }, @@ -4228,9 +4460,9 @@ } }, "node_modules/bare-buffer": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bare-buffer/-/bare-buffer-3.7.2.tgz", - "integrity": "sha512-kI35SYpVg0JCk+a+gkUEJZY39mt+g71y1NRwBrEj7SbxLnwngYYMf0T/kouYIujlJwelvPZ9TTbBCbCSPw059Q==", + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/bare-buffer/-/bare-buffer-3.7.3.tgz", + "integrity": "sha512-77owW16RX6YgdOzddHtM0oGz8wsd0/F9k/0coz6TPmjUHnr/9FwWODVMNKwyYWM/a/ESdTum855nfQxnsKUygA==", "license": "Apache-2.0", "engines": { "bare": ">=1.20.0" @@ -4251,9 +4483,9 @@ } }, "node_modules/bare-fs": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.8.4.tgz", - "integrity": "sha512-MPC2eyrpbk3A873sK4y6rk+Iv4o2enxTjHZ8zH3HO0mjrpm5XjnguY2XmfidIsDV6vnjpbMBKUAJpV0ISD2SsQ==", + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.8.5.tgz", + "integrity": "sha512-5gborbd4IEFpnyqAiwD0tl6sH9fvPvIaK2hdM8DXU+xAMxSB7B3D3D04CD21k4T5C6u5Oxw3iajkBQhNLxINKg==", "license": "Apache-2.0", "dependencies": { "bare-events": "^2.5.4", @@ -4308,9 +4540,9 @@ } }, "node_modules/bare-url": { - "version": "2.5.7", - "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.7.tgz", - "integrity": "sha512-pWAiECRdNYPJAXYKVOb4HuTQedQyRjtGBUu86kO/vOt4GM7e45PghHXQ/Erm5NumaDSWNBzehIfpc768esW7gA==", + "version": "2.5.8", + "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.8.tgz", + "integrity": "sha512-G5KTe5Bj6z5pqIxcn3lWlIFIv0rkXbccx0T0Xuf7t4RapfSWvFlcVbrwYXxFZ00PC4lp57OCIk6uXP/r3GbpDw==", "license": "Apache-2.0", "dependencies": { "bare-buffer": "^3.0.0", @@ -5388,8 +5620,8 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.1.tgz", "integrity": "sha512-rwHwUfXL40Chm1r08yrhU3qpUvdVlgkKNeyeGPOxnW8/SyVDvgRaed/Uz54AqWNaTCAThlj6QAs3TZcKI0xDEw==", + "devOptional": true, "license": "Apache-2.0", - "optional": true, "engines": { "node": ">=0.10.0" } @@ -5699,9 +5931,9 @@ } }, "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==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.4.tgz", + "integrity": "sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==", "dev": true, "license": "MIT" }, @@ -6008,8 +6240,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "devOptional": true, "license": "Apache-2.0", - "optional": true, "engines": { "node": ">=0.10" } @@ -6657,6 +6889,29 @@ "node": ">=0.10.0" } }, + "node_modules/fast-check": { + "version": "4.10.3", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.10.3.tgz", + "integrity": "sha512-SBaU6nhh+sXxb05r2IHAKfxnR/1Pu6MqtHYaewM1BY6V5xzOxOk+4yoWO7WfeeyZG1iArFE6/DO/7iLYMUuOJg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT", + "dependencies": { + "pure-rand": "^8.0.0" + }, + "engines": { + "node": ">=12.17.0" + } + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -7880,8 +8135,8 @@ "version": "5.11.1", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.11.1.tgz", "integrity": "sha512-ehuGcf94bQXhfagULNXrJdfnWO38v070jxSx/qE87Kjzmu2fU7ro5EFAb+OPituLqgfyuQaym5DlrNydW2sJ9A==", + "devOptional": true, "license": "MIT", - "optional": true, "dependencies": { "@ioredis/commands": "1.10.0", "cluster-key-slot": "1.1.1", @@ -8999,9 +9254,9 @@ } }, "node_modules/knip": { - "version": "6.45.1", - "resolved": "https://registry.npmjs.org/knip/-/knip-6.45.1.tgz", - "integrity": "sha512-zp3zXKy2cZWiIttdlWU5fisKxVQaLSU6471ej0KGz1GdHdaHxpzTAO/LIyFNc3gU3v1W7LJaqvYumoO3l/u+6A==", + "version": "6.47.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-6.47.0.tgz", + "integrity": "sha512-nYmQnk0YqDXIJrYViJz88c8xw3tBDkpuAmofo58EkVPnKr6DnRKYtf6oIqcGVHZvXDE+gtmFuYx277/QsWng+A==", "dev": true, "funding": [ { @@ -9456,6 +9711,7 @@ "version": "10.2.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "brace-expansion": "^5.0.8" @@ -9642,9 +9898,9 @@ } }, "node_modules/mongodb": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-7.9.0.tgz", - "integrity": "sha512-HfpNb8qmfmNxno+Ml5JgHn/nyshK+8xF4ESLCXedRKuGLGRyAvkjcpjk19T2Q+rqC6/FlnZKll4if21R6xs/Tg==", + "version": "7.9.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-7.9.1.tgz", + "integrity": "sha512-OWtk/bcf8tx4Qe6lB8OsMksOwGGhC2FH+zl5UNwE+L7uz2VQDhCcnJThAvInEaBrEDaSsUWlMRbuFR4/TjF44w==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -9689,17 +9945,14 @@ } }, "node_modules/mongodb-connection-string-url": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-7.0.2.tgz", - "integrity": "sha512-ZoS07RoFqpKYQwAk59qmrx8+jJHNHU30UjlU96QktiGn1ltvDr+vCznLX5DiUBLEpMAHatHNWV1nM/74ul66kA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.2.tgz", + "integrity": "sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@types/whatwg-url": "^13.0.0", - "whatwg-url": "^14.1.0" - }, - "engines": { - "node": ">=20.19.0" + "@types/whatwg-url": "^11.0.2", + "whatwg-url": "^14.1.0 || ^13.0.0" } }, "node_modules/mongodb-connection-string-url/node_modules/tr46": { @@ -9763,6 +10016,16 @@ "node": ">=20.19.0" } }, + "node_modules/mongodb-memory-server-core/node_modules/@types/whatwg-url": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-13.0.0.tgz", + "integrity": "sha512-N8WXpbE6Wgri7KUSvrmQcqrMllKZ9uxkYWMt+mCSGwNc0Hsw9VQTW7ApqI4XNrx6/SaM2QQJCzMPDEXE058s+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/webidl-conversions": "*" + } + }, "node_modules/mongodb-memory-server-core/node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", @@ -9834,6 +10097,72 @@ } } }, + "node_modules/mongodb-memory-server-core/node_modules/mongodb-connection-string-url": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-7.0.3.tgz", + "integrity": "sha512-5I/pX3C2gPEz1EDdYMdZwBx1b/jE/f+J+KItSUJ02uQZ66bbe7kHKjv2uqCHJWaMCagem3dyfWqoAcv+XYZ6aw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/whatwg-url": "^13.0.0", + "whatwg-url": "^15.0.1" + }, + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/mongodb-memory-server-core/node_modules/whatwg-url": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz", + "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "^6.0.0", + "webidl-conversions": "^8.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/mongodb/node_modules/@types/whatwg-url": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-13.0.0.tgz", + "integrity": "sha512-N8WXpbE6Wgri7KUSvrmQcqrMllKZ9uxkYWMt+mCSGwNc0Hsw9VQTW7ApqI4XNrx6/SaM2QQJCzMPDEXE058s+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/webidl-conversions": "*" + } + }, + "node_modules/mongodb/node_modules/mongodb-connection-string-url": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-7.0.3.tgz", + "integrity": "sha512-5I/pX3C2gPEz1EDdYMdZwBx1b/jE/f+J+KItSUJ02uQZ66bbe7kHKjv2uqCHJWaMCagem3dyfWqoAcv+XYZ6aw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/whatwg-url": "^13.0.0", + "whatwg-url": "^15.0.1" + }, + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/mongodb/node_modules/whatwg-url": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz", + "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "^6.0.0", + "webidl-conversions": "^8.0.0" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/mri": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", @@ -10110,9 +10439,9 @@ "license": "MIT" }, "node_modules/object-inspect": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", - "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.14.0.tgz", + "integrity": "sha512-IVgHNlp/jwQX271+Xzoq9LZNTWXxZK+cEOrGBOBxXNbn7fapnZ+Ts6TVMgNOuAezwG2wdtnMX97tTPK6VEnuOQ==", "dev": true, "license": "MIT", "engines": { @@ -11099,12 +11428,28 @@ "dev": true, "license": "MIT" }, + "node_modules/playwright": { + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", + "integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.65.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/playwright-core": { "version": "1.65.1", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", "integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", + "devOptional": true, "license": "Apache-2.0", - "optional": true, "bin": { "playwright-core": "cli.js" }, @@ -11395,6 +11740,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/pure-rand": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.4.2.tgz", + "integrity": "sha512-vvuOGgcuPJAirlHvuQw1TrOiw7ptaIXXmIbNuiNOY6lNGJJH49PQ1Kj4nd783nPdQhQdicgOjVI2yI/9BD6/Ng==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, "node_modules/qr-image": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/qr-image/-/qr-image-3.2.0.tgz", @@ -11595,8 +11957,8 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "devOptional": true, "license": "MIT", - "optional": true, "engines": { "node": ">=4" } @@ -11605,8 +11967,8 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "devOptional": true, "license": "MIT", - "optional": true, "dependencies": { "redis-errors": "^1.0.0" }, @@ -13087,9 +13449,9 @@ } }, "node_modules/rimraf/node_modules/minimatch": { - "version": "11.0.8", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.8.tgz", - "integrity": "sha512-nFQuYSTVrGvysVBps5Ih+0BdnYFN/Cj3C816r6+p7yK+FHrVLGE4O4N9AFwykrlNlvM2HYt+Rad1Uiro6h88Ig==", + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -13603,9 +13965,9 @@ } }, "node_modules/socks": { - "version": "2.8.10", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.10.tgz", - "integrity": "sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==", + "version": "2.8.11", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.11.tgz", + "integrity": "sha512-2H/uQ7+SNP0hK16RorTak0mWrFoqo4AnAVGSUl2dT07obgWdWt9grml+VDl1LklgUOPWM4Abo0u86Cvp8vFjYw==", "dev": true, "license": "MIT", "dependencies": { @@ -13654,12 +14016,12 @@ } }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz", + "integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==", "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/sparse-bitfield": { @@ -13683,9 +14045,9 @@ } }, "node_modules/sql-escaper": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.6.0.tgz", - "integrity": "sha512-I+WA4xb3mprpxUbLFtraZRY8L4vI0+xEOPLxHSI4wOuZ8cSpjVBzeuQpnPjW6PfdjeSkD9n/IBoYzH0LGTVSoQ==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.9.1.tgz", + "integrity": "sha512-4p522TVYaJXTbMlYgAwacjyg3EJyYe9KYWYlYJVwZG1YjtzxU5m5iSzsZoGI69Po7j3i/2tKlpZQi7uvhTL+WA==", "dev": true, "license": "MIT", "engines": { @@ -13702,8 +14064,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", - "license": "MIT", - "optional": true + "devOptional": true, + "license": "MIT" }, "node_modules/std-env": { "version": "3.10.0", @@ -14191,21 +14553,21 @@ } }, "node_modules/tldts": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.5.3.tgz", - "integrity": "sha512-Gt09nFFdNq5+Gm7qubL33O+g1UZ6lAlV3QXUTbXpqYWS+OI58IqzuxUrwk/D6S6jLNvEZrHaBtXIGMh1mW1poA==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.5.5.tgz", + "integrity": "sha512-Hy6IImaWALzJOgCIss4gIFi4G0M9lqk95pFKCUVxQPZw+biZ1Pv6f28JpYgahpJB+BufA0HYsIU/aP/WIx3KRg==", "license": "MIT", "dependencies": { - "tldts-core": "^7.5.3" + "tldts-core": "^7.5.5" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.5.3.tgz", - "integrity": "sha512-G9K/M0Ah+U22clAb1r0fYNheSysv7Y6OAIundzKcFQx5jBgPId3CnFl44sAGGqJA+lUXMOrREFXHX1lrtEApdA==", + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.5.5.tgz", + "integrity": "sha512-rEJz/8cJFY/bdF354gl14yxavbrIbvM+FcbkYVQ6CSCMQTJdUFUIm39TTWSiGPvcpQh7/F6qHrD3SkwwdgtDCw==", "license": "MIT" }, "node_modules/tmp": { @@ -14714,18 +15076,32 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, + "node_modules/uuid": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, "node_modules/vue": { - "version": "3.5.45", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.45.tgz", - "integrity": "sha512-3cvsib8m9c0vB24+MDKsgcW4+Da4xaBl9Z/5Tbm2pmSIsRPxcil4cdXjXlVsmJ2g64XJo5h+IRd7rsdGT9pZaw==", + "version": "3.5.46", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.46.tgz", + "integrity": "sha512-0kW5CgfjMPBqmH158049SaE1muufp+K/ZyrwvSEwrwYky6QB7zL2y8kXfruneKb9O12eh0xAJL6CVSpzb9o0Kg==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.45", - "@vue/compiler-sfc": "3.5.45", - "@vue/runtime-dom": "3.5.45", - "@vue/server-renderer": "3.5.45", - "@vue/shared": "3.5.45" + "@vue/compiler-dom": "3.5.46", + "@vue/compiler-sfc": "3.5.46", + "@vue/runtime-dom": "3.5.46", + "@vue/server-renderer": "3.5.46", + "@vue/shared": "3.5.46" }, "peerDependencies": { "typescript": "*" diff --git a/packages/dms-mailing/docs/1.introduction.md b/packages/dms-mailing/docs/1.introduction.md index 64a41b5..5b227c3 100644 --- a/packages/dms-mailing/docs/1.introduction.md +++ b/packages/dms-mailing/docs/1.introduction.md @@ -43,6 +43,8 @@ A test send uses the draft by default and adds `[TEST]` to the subject. It appea The module stores templates and sends per workspace (tenant), in its own tables. E-mails render through the DMS html-render chain, so they share the DMS e-mail branding. If that renderer fails, the module falls back to its own HTML renderer. E-mails go out through the module that implements `@antelopejs/interface-email`, for example `@antelopejs/nodemailer`. +The module also delivers DMS notifications by e-mail: a user who turns e-mail on for a notification subject gets it through the workspace's **Notification** template. See [DMS notifications by e-mail](/docs/modules/mailing/extending#dms-notifications-by-e-mail). + Other modules call the module through `@antelopejs/interface-dms-mailing`. They send with `SendTemplate`, attached files included, and report provider events with `RecordEmailEvent`. When a workspace is provisioned, they can also ship templates, categories, the sender and the webhook secret as code (`DeclareTemplate`, `DeclareTemplateCategory`, `DeclareSender`, `DeclareWebhookSecret`) and import past sends (`ImportSends`). ## Where it lives in the dashboard diff --git a/packages/dms-mailing/docs/5.extending.md b/packages/dms-mailing/docs/5.extending.md index 27efd21..a8bef6a 100644 --- a/packages/dms-mailing/docs/5.extending.md +++ b/packages/dms-mailing/docs/5.extending.md @@ -1,6 +1,6 @@ --- title: Extending -description: Send templates from code, ship templates as code, import past sends, report provider events, relay a provider webhook, and plug Mailing into automations. +description: Send templates from code, ship templates as code, import past sends, mail DMS notifications, report provider events, relay a provider webhook, and plug Mailing into automations. mode: how-to --- @@ -208,6 +208,36 @@ A link whose URL is missing is dropped, and an empty label removes the link. For The starters get a footer with a legal line and no unsubscribe or preferences link. So does a new template in a category other than `marketing`. A new template without a category keeps the links. +## DMS notifications by e-mail + +Mailing registers the DMS notifications' e-mail channel at start-up. The DMS then hands it every notification it stores in a user's feed when the notification's subject offers e-mail (`email` on `NotificationSubject`) and the user has it on under **Settings › Account › Notifications**. See the DMS page on the [e-mail channel](/docs/interfaces/notifications/email) for how a subject offers e-mail. + +### What the recipient gets + +Each notification goes through the workspace's **Notification** template (slug `dms-notification`), like a `SendTemplate` call. The send log, the suppression list, the sender settings and the provider webhook apply to it, and its sends are labelled `dms-mailing:notification`. + +| Variable | Value | +| --- | --- | +| `notification.title` | The notification's title. It is also the subject. | +| `notification.description` | The notification's description. | +| `notification.url` | The notification's link, made absolute with the DMS `clientBaseUrl`. Empty, and the button hidden, when there is no link or it is not `http` or `https`. | +| `preferencesUrl` | The notification preferences page, `/settings/user/notifications`, where the recipient turns the e-mail off. | + +The first notification mailed in a workspace declares the template with `DeclareTemplate`, in the workspace's fallback locale (French copy for a French locale, English otherwise). From then on the template is the workspace's: reword it, translate it or restyle it in the editor, and the module never writes it again. An archived template stops the e-mails. A deleted one is declared again by the next notification. + +### When nothing is mailed + +The channel skips a notification, and logs why at debug level, in these cases: + +| Case | Why | +| --- | --- | +| The send names no workspace (`SendOptions.tenantId`) | A workspace is what the sender, the template and the suppression list belong to. Send with `toUser(userId, { tenantId })`. | +| The title or the description is a `$` translation key | Only the dashboard translates those keys. The channel logs a warning. Send texts in the recipient's language for a subject that offers e-mail. | +| The user does not exist, has no address, or has not validated it | Mail goes to validated addresses only. | +| The user is not a member of that workspace any more | A platform owner is always mailed. | + +A suppressed address gets no e-mail: its send is logged `suppressed`, as for `SendTemplate`. The DMS hands each stored notification to the channel once, so each one is mailed at most once. The channel returns to the DMS at once and sends in the background, so a notification send never waits for the provider. + ## Webhook contract The module accepts provider events in one generic format. Post them to this URL: diff --git a/packages/dms-mailing/docs/6.faq.md b/packages/dms-mailing/docs/6.faq.md index ba3cbcf..fae674a 100644 --- a/packages/dms-mailing/docs/6.faq.md +++ b/packages/dms-mailing/docs/6.faq.md @@ -50,6 +50,10 @@ No. `kept` means the workspace already has the slug. It says nothing about wheth The template and its first published version are written in one step. Writing the separate history row and refreshing the attention list come after, so a storage failure there rejects the call after the template exists. The template keeps its complete latest version, so its history and its numbered-version previews stay readable. The next publication of the template writes the missing history row before it replaces the version. Retrying the declaration returns `kept` and does not repair the row. Do not delete the template to retry. See the [consumer reference](/docs/modules/mailing/reference#declaretemplate) for the concurrency and failure rules. +## A user turned e-mail on for a notification but gets nothing + +Look in **Sends** for a `dms-notification` send to the user. A `suppressed` or `failed` one says why. Without a send, the e-mail channel skipped the notification, and the backend's debug log names the reason: the send named no workspace (`tenantId`), the title or description was a `$` translation key, the user has no validated address, or the user left the workspace. See [When nothing is mailed](/docs/modules/mailing/extending#when-nothing-is-mailed). + ## The project does not start offline with Ethereal `@antelopejs/nodemailer` with `ethereal: true` creates its test account over the internet when the project starts. A failure there stops the whole project before Mailing runs. While offline, use a local SMTP server such as Mailpit or MailHog, as [Installation](/docs/modules/mailing/installation#add-an-e-mail-provider) shows. Once a project runs, a provider that fails or cannot be reached only marks the sends `failed` and shows the provider banner on the Sends page. Nothing crashes. diff --git a/packages/dms-mailing/package.json b/packages/dms-mailing/package.json index eddf259..f4e16bc 100644 --- a/packages/dms-mailing/package.json +++ b/packages/dms-mailing/package.json @@ -68,15 +68,15 @@ "@antelopejs/interface-data-api": ">=0.8.0 <0.9.0", "@antelopejs/interface-database": ">=0.4.0 <0.5.0", "@antelopejs/interface-database-decorators": ">=0.5.0 <0.6.0", - "@antelopejs/interface-dms": ">=0.14.0 <0.15.0", + "@antelopejs/interface-dms": "0.14.7-next.1002.g39c16f7", "@antelopejs/interface-dms-mailing": "workspace:^", "@antelopejs/interface-email": ">=0.2.0 <0.3.0", "node-cron": "^4.2.1", - "zod": "^3.24.2" + "zod": "^3.25.76" }, "devDependencies": { "@antelopejs/core": "~1.24.0", - "@antelopejs/dms": ">=0.21.0 <0.22.0", + "@antelopejs/dms": "0.21.4-next.1002.g39c16f7", "@antelopejs/mongodb": "~1.8.4", "@antelopejs/tooling-configs": ">=0.8.9 <0.9.0", "@types/chai": "^4.3.20", diff --git a/packages/dms-mailing/playground/package.json b/packages/dms-mailing/playground/package.json index 3ab4ba2..8c97303 100644 --- a/packages/dms-mailing/playground/package.json +++ b/packages/dms-mailing/playground/package.json @@ -11,14 +11,14 @@ "frontend:dev": "ajs dms dev" }, "dependencies": { - "@antelopejs/dms": ">=0.21.0 <0.22.0", + "@antelopejs/dms": "0.21.4-next.1002.g39c16f7", "@antelopejs/interface-api": ">=0.3.3 <0.4.0", "@antelopejs/interface-api-util": ">=0.3.2 <0.4.0", "@antelopejs/interface-core": ">=0.5.0 <0.6.0", "@antelopejs/interface-data-api": ">=0.8.0 <0.9.0", "@antelopejs/interface-database": ">=0.4.0 <0.5.0", "@antelopejs/interface-database-decorators": ">=0.5.0 <0.6.0", - "@antelopejs/interface-dms": ">=0.14.0 <0.15.0" + "@antelopejs/interface-dms": "0.14.7-next.1002.g39c16f7" }, "devDependencies": { "@antelopejs/core": "~1.24.0", diff --git a/packages/dms-mailing/playground/pnpm-lock.yaml b/packages/dms-mailing/playground/pnpm-lock.yaml index 629c5fd..5f11223 100644 --- a/packages/dms-mailing/playground/pnpm-lock.yaml +++ b/packages/dms-mailing/playground/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@antelopejs/dms': - specifier: '>=0.20.1 <0.21.0' - version: 0.20.1(@antelopejs/core@1.23.2)(typescript@6.0.3) + specifier: 0.21.4-next.1002.g39c16f7 + version: 0.21.4-next.1002.g39c16f7(@antelopejs/core@1.24.5)(typescript@6.0.3) '@antelopejs/interface-api': specifier: '>=0.3.3 <0.4.0' version: 0.3.3(@antelopejs/interface-core@0.5.1) @@ -30,15 +30,15 @@ importers: specifier: '>=0.5.0 <0.6.0' version: 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-dms': - specifier: '>=0.14.0 <0.15.0' - version: 0.14.0(1183000973ac86d33c63b2338e554d86) + specifier: 0.14.7-next.1002.g39c16f7 + version: 0.14.7-next.1002.g39c16f7(1183000973ac86d33c63b2338e554d86) devDependencies: '@antelopejs/core': - specifier: ~1.23.2 - version: 1.23.2 + specifier: ~1.24.0 + version: 1.24.5 '@antelopejs/dms-frontend': - specifier: '>=0.11.0 <0.12.0' - version: 0.11.1(@antelopejs/core@1.23.2) + specifier: '>=0.11.4 <0.12.0' + version: 0.11.8(@antelopejs/core@1.24.5) '@types/node': specifier: ^24.0.0 version: 24.13.3 @@ -54,39 +54,29 @@ packages: 2fa@0.1.2: resolution: {integrity: sha512-PbQttc6USc2TmZwOPE/zlNWTJTySLt50rWhUbZgPkZ5LAOLpgShT3yclbxwHPfHGUXEjfLrTo3Lunyx8onGnXw==} - '@antelopejs/core@1.23.2': - resolution: {integrity: sha512-fRuZSSSQs2fhLInrBoZRI7oxgHSZO10pMLsbMSfw093ceWRETnd7Uiq2a/MWCxRy4+Q5XAs8gZO84rJPdITtaw==} + '@antelopejs/core@1.24.5': + resolution: {integrity: sha512-05vcPpagrOi5VXhecjsR5TFQrDeEJrqZ9Vfrmjp/iKlydYIvvbuyxCz9E51eGgWCa3UnZLgvWqYNxlxvYt5MlA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - '@antelopejs/dms-frontend@0.11.1': - resolution: {integrity: sha512-Owu88uYgEfH3TTSVt30PYEeZFydq5aqLamZcSitYaFBNDUyZAglbR8HqAwqQM67nSFCwJ/sdQaqVcV52jDXjzw==} + '@antelopejs/dms-frontend@0.11.8': + resolution: {integrity: sha512-owMawDaP66LA0j7OlBTJ4gebBC0TFpn8xveEpsv9kUyy8ltkPn1DPoJHyJ+7QNxq5iO56m1V49+sW0j2M/LpvQ==} engines: {node: '>=20.19.0'} hasBin: true peerDependencies: - '@antelopejs/core': ~1.23.0 + '@antelopejs/core': ~1.24.0 - '@antelopejs/dms@0.20.1': - resolution: {integrity: sha512-syyuXLfNu3JRVSA4H/JQ1728yQoZRkcHl7EdLxBB0XnNH/Kl/fSyyQ59u7RzBP1b8Ntn3xD8ASkcLp8rEwO9AQ==} + '@antelopejs/dms@0.21.4-next.1002.g39c16f7': + resolution: {integrity: sha512-+hGIAU9t7kWIaWmV+YOIBeV9fI/hn3rqxGETP9Jufdbt8F0zO7d2d7mJeSZ66s8+YkJ2OoSMLiA3otqNfSNbwA==} engines: {node: ^20.19.0 || >=22.12.0} - hasBin: true peerDependencies: - '@antelopejs/core': ~1.23.0 - mongodb: ^6.21.0 || ^7.0.0 - mysql2: ^3.24.6 - pg: ^8.22.0 - rethinkdb-ts: ^2.7.0 + '@antelopejs/core': ~1.24.5 + '@playwright/test': ^1.65.0 typescript: '>=5.8.0 <7.0.0' peerDependenciesMeta: '@antelopejs/core': optional: true - mongodb: - optional: true - mysql2: - optional: true - pg: - optional: true - rethinkdb-ts: + '@playwright/test': optional: true typescript: optional: true @@ -114,10 +104,10 @@ packages: '@antelopejs/interface-database': '>=0.4.0 <0.5.0' '@antelopejs/interface-database-decorators': '>=0.5.0 <0.6.0' - '@antelopejs/interface-database-catalog@0.0.4': - resolution: {integrity: sha512-5aiKq+vgvA6Pt9D9dqpuKnWxcGegrnAQ4mLC/Ot7hIstnxIXnp4ifITTlVPS0JgvynktA2pelH68GAavBogr0A==} + '@antelopejs/interface-database-catalog@0.1.0': + resolution: {integrity: sha512-R5SL72JKD7u63UwBumWt18YsGXVnnWfKbBVwc323CgKvDcLS7Qfz+Eo/ko2ybr8wHq7Izi7maSTPhJn3fp91ug==} peerDependencies: - '@antelopejs/interface-core': '>=0.2.4 <1.0.0' + '@antelopejs/interface-core': '>=0.5.0 <0.6.0' '@antelopejs/interface-database-decorators@0.5.2': resolution: {integrity: sha512-o89zRhY8MT6nXNLz+8G/Yj4f/hQsYqrVPZCMyTrttnQuMjGVEqbIANf9t/KmgNSUVagf34LZDpsfQ2LgeeQa9Q==} @@ -136,21 +126,21 @@ packages: peerDependencies: '@antelopejs/interface-core': '>=0.5.1 <0.6.0' - '@antelopejs/interface-dms-builder@0.5.1': - resolution: {integrity: sha512-qNgJeAaCymkMUG2z0wNKGHAHsQXEnp1hU7zuEg+HPjtxHaHtMr6086nji82OEpQyt79VYSGata1tszm3L0/M9A==} + '@antelopejs/interface-dms-builder@0.6.2-next.987.gb437fd0': + resolution: {integrity: sha512-fs/Of6JpHGl7y1DeWzCm5zLQEwRGHnwli2quxKTs5+rSygWHvaQOkqq64mHsoGONveHN7CPw7tOpdOVHDaMPFA==} peerDependencies: - '@antelopejs/interface-core': '>=0.5.1 <1.0.0' + '@antelopejs/interface-core': '>=0.5.1 <0.6.0' - '@antelopejs/interface-dms@0.14.0': - resolution: {integrity: sha512-ijkyQtL+ofdOf3VYRb6Ws/dPhERwL4Yhe088aiOMofb9c+zUtEv+tymDSRSCh40dC7xA8AVIC8IMjEhu1/gcMA==} + '@antelopejs/interface-dms@0.14.7-next.1002.g39c16f7': + resolution: {integrity: sha512-0Onyrsa4gltizHKAoMdjI8UWPx/R/WysctNLQijsWKNmRvRxpPVH76j6ZoF/9/zLDxkf6I/R3GKFHFkzZXT/Kg==} peerDependencies: - '@antelopejs/interface-api': '>=0.3.0 <1.0.0' - '@antelopejs/interface-api-util': '>=0.1.3 <1.0.0' - '@antelopejs/interface-core': '>=0.5.1 <1.0.0' + '@antelopejs/interface-api': '>=0.3.0 <0.4.0' + '@antelopejs/interface-api-util': '>=0.3.0 <0.4.0' + '@antelopejs/interface-core': '>=0.5.1 <0.6.0' '@antelopejs/interface-data-api': '>=0.8.0 <0.9.0' '@antelopejs/interface-database': '>=0.4.0 <0.5.0' '@antelopejs/interface-database-decorators': '>=0.5.2 <0.6.0' - '@antelopejs/interface-file-storage': '>=0.1.4 <1.0.0' + '@antelopejs/interface-file-storage': '>=0.1.4 <0.2.0' '@antelopejs/interface-email@0.2.1': resolution: {integrity: sha512-qVCJE7dBX90HYSvXXnD4VIEgUn7ZL3FMt8q/BDuNscUcl5pczMb6o480Hyecdsd8c3T1/28n9+1JhM026d8XEQ==} @@ -275,14 +265,12 @@ packages: engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - libc: [glibc] '@oxc-parser/binding-linux-x64-gnu@0.95.0': resolution: {integrity: sha512-8huzHlK/N98wrnYKxIcYsK8ZGBWomQchu/Mzi6m+CtbhjWOv9DmK0jQ2fUWImtluQVpTwS0uZT06d3g7XIkJrA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - libc: [glibc] '@oxc-parser/binding-win32-x64-msvc@0.95.0': resolution: {integrity: sha512-BQpgl7rDjFvCIHudmUR0dCwc4ylBYZl4CPVinlD3NhkMif4WD5dADckoo5ES/KOpFyvwcbKZX+grP63cjHi26g==} @@ -1220,9 +1208,6 @@ packages: peerDependencies: zod: ^3.24.1 - zod@3.24.4: - resolution: {integrity: sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==} - zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} @@ -1233,7 +1218,7 @@ snapshots: qr-image: 3.2.0 thirty-two: 0.0.2 - '@antelopejs/core@1.23.2': + '@antelopejs/core@1.24.5': dependencies: '@antelopejs/interface-core': 0.5.1 '@clack/prompts': 1.8.1 @@ -1248,9 +1233,9 @@ snapshots: semver: 7.8.6 typescript: 5.9.3 - '@antelopejs/dms-frontend@0.11.1(@antelopejs/core@1.23.2)': + '@antelopejs/dms-frontend@0.11.8(@antelopejs/core@1.24.5)': dependencies: - '@antelopejs/core': 1.23.2 + '@antelopejs/core': 1.24.5 '@intlify/message-compiler': 11.4.16 chokidar: 4.0.3 commander: 13.1.0 @@ -1264,7 +1249,7 @@ snapshots: '@oxc-parser/binding-linux-x64-gnu': 0.95.0 '@oxc-parser/binding-win32-x64-msvc': 0.95.0 - '@antelopejs/dms@0.20.1(@antelopejs/core@1.23.2)(typescript@6.0.3)': + '@antelopejs/dms@0.21.4-next.1002.g39c16f7(@antelopejs/core@1.24.5)(typescript@6.0.3)': dependencies: 2fa: 0.1.2 '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) @@ -1273,8 +1258,8 @@ snapshots: '@antelopejs/interface-data-api': 0.8.0(@antelopejs/interface-api-util@0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database-decorators@0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)))(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-database': 0.4.0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) - '@antelopejs/interface-dms': 0.14.0(1183000973ac86d33c63b2338e554d86) - '@antelopejs/interface-dms-builder': 0.5.1(@antelopejs/interface-core@0.5.1) + '@antelopejs/interface-dms': 0.14.7-next.1002.g39c16f7(1183000973ac86d33c63b2338e554d86) + '@antelopejs/interface-dms-builder': 0.6.2-next.987.gb437fd0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-email': 0.2.1(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-file-storage': 0.1.6(@antelopejs/interface-core@0.5.1) '@csstools/css-tokenizer': 4.0.0 @@ -1298,8 +1283,8 @@ snapshots: zod: 3.25.76 zod-to-json-schema: 3.24.6(zod@3.25.76) optionalDependencies: - '@antelopejs/core': 1.23.2 - '@antelopejs/interface-database-catalog': 0.0.4(@antelopejs/interface-core@0.5.1) + '@antelopejs/core': 1.24.5 + '@antelopejs/interface-database-catalog': 0.1.0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-dms-automation': 0.7.0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-redis': 0.0.9(@antelopejs/interface-core@0.5.1) playwright-core: 1.65.1 @@ -1333,7 +1318,7 @@ snapshots: '@antelopejs/interface-database': 0.4.0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) - '@antelopejs/interface-database-catalog@0.0.4(@antelopejs/interface-core@0.5.1)': + '@antelopejs/interface-database-catalog@0.1.0(@antelopejs/interface-core@0.5.1)': dependencies: '@antelopejs/interface-core': 0.5.1 optional: true @@ -1355,11 +1340,11 @@ snapshots: '@antelopejs/interface-core': 0.5.1 optional: true - '@antelopejs/interface-dms-builder@0.5.1(@antelopejs/interface-core@0.5.1)': + '@antelopejs/interface-dms-builder@0.6.2-next.987.gb437fd0(@antelopejs/interface-core@0.5.1)': dependencies: '@antelopejs/interface-core': 0.5.1 - '@antelopejs/interface-dms@0.14.0(1183000973ac86d33c63b2338e554d86)': + '@antelopejs/interface-dms@0.14.7-next.1002.g39c16f7(1183000973ac86d33c63b2338e554d86)': dependencies: '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-api-util': 0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1) @@ -1369,8 +1354,8 @@ snapshots: '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.0(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-file-storage': 0.1.6(@antelopejs/interface-core@0.5.1) randomstring: 1.3.1 - zod: 3.24.4 - zod-to-json-schema: 3.24.6(zod@3.24.4) + zod: 3.25.76 + zod-to-json-schema: 3.24.6(zod@3.25.76) '@antelopejs/interface-email@0.2.1(@antelopejs/interface-core@0.5.1)': dependencies: @@ -2451,14 +2436,8 @@ snapshots: compress-commons: 6.0.2 readable-stream: 4.8.0 - zod-to-json-schema@3.24.6(zod@3.24.4): - dependencies: - zod: 3.24.4 - zod-to-json-schema@3.24.6(zod@3.25.76): dependencies: zod: 3.25.76 - zod@3.24.4: {} - zod@3.25.76: {} diff --git a/packages/dms-mailing/pnpm-lock.yaml b/packages/dms-mailing/pnpm-lock.yaml index ae2b497..278f588 100644 --- a/packages/dms-mailing/pnpm-lock.yaml +++ b/packages/dms-mailing/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: '>=0.5.0 <0.6.0' version: 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-dms': - specifier: '>=0.14.0 <0.15.0' - version: 0.14.0(054df5714ab731f742f9dd37170531c8) + specifier: 0.14.7-next.1002.g39c16f7 + version: 0.14.7-next.1002.g39c16f7(054df5714ab731f742f9dd37170531c8) '@antelopejs/interface-dms-mailing': specifier: workspace:^ version: link:../interface-dms-mailing @@ -39,15 +39,15 @@ importers: specifier: ^4.2.1 version: 4.6.0 zod: - specifier: ^3.24.2 - version: 3.24.4 + specifier: ^3.25.76 + version: 3.25.76 devDependencies: '@antelopejs/core': specifier: ~1.24.0 version: 1.24.0 '@antelopejs/dms': - specifier: '>=0.21.0 <0.22.0' - version: 0.21.0(@antelopejs/core@1.24.0)(typescript@6.0.3) + specifier: 0.21.4-next.1002.g39c16f7 + version: 0.21.4-next.1002.g39c16f7(@antelopejs/core@1.24.0)(typescript@6.0.3) '@antelopejs/mongodb': specifier: ~1.8.4 version: 1.8.5(socks@2.8.10) @@ -105,12 +105,11 @@ packages: engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - '@antelopejs/dms@0.21.0': - resolution: {integrity: sha512-nJ0JgucJTmpXTwZt5DZM61kIZDNL49m5cZU6pn2olqC7aN6EFvDtG209G/YJ6c3XJufTWjihBhntKBWxCQ2VTQ==} + '@antelopejs/dms@0.21.4-next.1002.g39c16f7': + resolution: {integrity: sha512-+hGIAU9t7kWIaWmV+YOIBeV9fI/hn3rqxGETP9Jufdbt8F0zO7d2d7mJeSZ66s8+YkJ2OoSMLiA3otqNfSNbwA==} engines: {node: ^20.19.0 || >=22.12.0} - hasBin: true peerDependencies: - '@antelopejs/core': ~1.24.0 + '@antelopejs/core': ~1.24.5 '@playwright/test': ^1.65.0 typescript: '>=5.8.0 <7.0.0' peerDependenciesMeta: @@ -166,24 +165,13 @@ packages: peerDependencies: '@antelopejs/interface-core': '>=0.5.1 <0.6.0' - '@antelopejs/interface-dms-builder@0.6.0': - resolution: {integrity: sha512-y/2cJKAFd+gcO/VEeuIwC+J/WNWWb1le6P6+Zv66cfqCWmWUAKa2P4LHWES1WBYkGz/gncf+/As/S2G1LBuJLw==} + '@antelopejs/interface-dms-builder@0.6.2-next.987.gb437fd0': + resolution: {integrity: sha512-fs/Of6JpHGl7y1DeWzCm5zLQEwRGHnwli2quxKTs5+rSygWHvaQOkqq64mHsoGONveHN7CPw7tOpdOVHDaMPFA==} peerDependencies: '@antelopejs/interface-core': '>=0.5.1 <0.6.0' - '@antelopejs/interface-dms@0.14.0': - resolution: {integrity: sha512-ijkyQtL+ofdOf3VYRb6Ws/dPhERwL4Yhe088aiOMofb9c+zUtEv+tymDSRSCh40dC7xA8AVIC8IMjEhu1/gcMA==} - peerDependencies: - '@antelopejs/interface-api': '>=0.3.0 <1.0.0' - '@antelopejs/interface-api-util': '>=0.1.3 <1.0.0' - '@antelopejs/interface-core': '>=0.5.1 <1.0.0' - '@antelopejs/interface-data-api': '>=0.8.0 <0.9.0' - '@antelopejs/interface-database': '>=0.4.0 <0.5.0' - '@antelopejs/interface-database-decorators': '>=0.5.2 <0.6.0' - '@antelopejs/interface-file-storage': '>=0.1.4 <1.0.0' - - '@antelopejs/interface-dms@0.14.4': - resolution: {integrity: sha512-2D/zgfh+wUwMPYUvjsNCrRvta366QqwDVgWMefEV89G91vEkmJfYZeVjf9ginLg+A06C00orsPNxXfYL6lSDIQ==} + '@antelopejs/interface-dms@0.14.7-next.1002.g39c16f7': + resolution: {integrity: sha512-0Onyrsa4gltizHKAoMdjI8UWPx/R/WysctNLQijsWKNmRvRxpPVH76j6ZoF/9/zLDxkf6I/R3GKFHFkzZXT/Kg==} peerDependencies: '@antelopejs/interface-api': '>=0.3.0 <0.4.0' '@antelopejs/interface-api-util': '>=0.3.0 <0.4.0' @@ -3135,14 +3123,11 @@ packages: peerDependencies: zod: ^3.24.1 - zod@3.24.4: - resolution: {integrity: sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==} - zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} - zod@4.5.4: - resolution: {integrity: sha512-sC95tT5iHHH9gtpj6A81kh+NEaRAUFN+qlUPDUbRfOMvNf5QCBqsb3WgvnpVtK5Y+4UfA6KqufotuTvMGiTlsA==} + zod@4.6.7: + resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==} snapshots: @@ -3166,7 +3151,7 @@ snapshots: semver: 7.8.5 typescript: 5.9.3 - '@antelopejs/dms@0.21.0(@antelopejs/core@1.24.0)(typescript@6.0.3)': + '@antelopejs/dms@0.21.4-next.1002.g39c16f7(@antelopejs/core@1.24.0)(typescript@6.0.3)': dependencies: 2fa: 0.1.2 '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) @@ -3175,8 +3160,8 @@ snapshots: '@antelopejs/interface-data-api': 0.8.0(@antelopejs/interface-api-util@0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database-decorators@0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)))(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)) '@antelopejs/interface-database': 0.4.1(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)) - '@antelopejs/interface-dms': 0.14.4(054df5714ab731f742f9dd37170531c8) - '@antelopejs/interface-dms-builder': 0.6.0(@antelopejs/interface-core@0.5.1) + '@antelopejs/interface-dms': 0.14.7-next.1002.g39c16f7(054df5714ab731f742f9dd37170531c8) + '@antelopejs/interface-dms-builder': 0.6.2-next.987.gb437fd0(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-email': 0.2.1(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-file-storage': 0.1.6(@antelopejs/interface-core@0.5.1) '@csstools/css-tokenizer': 4.0.0 @@ -3256,24 +3241,11 @@ snapshots: '@antelopejs/interface-core': 0.5.1 optional: true - '@antelopejs/interface-dms-builder@0.6.0(@antelopejs/interface-core@0.5.1)': + '@antelopejs/interface-dms-builder@0.6.2-next.987.gb437fd0(@antelopejs/interface-core@0.5.1)': dependencies: '@antelopejs/interface-core': 0.5.1 - '@antelopejs/interface-dms@0.14.0(054df5714ab731f742f9dd37170531c8)': - dependencies: - '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) - '@antelopejs/interface-api-util': 0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1) - '@antelopejs/interface-core': 0.5.1 - '@antelopejs/interface-data-api': 0.8.0(@antelopejs/interface-api-util@0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database-decorators@0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)))(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)) - '@antelopejs/interface-database': 0.4.1(@antelopejs/interface-core@0.5.1) - '@antelopejs/interface-database-decorators': 0.5.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1)(@antelopejs/interface-database@0.4.1(@antelopejs/interface-core@0.5.1)) - '@antelopejs/interface-file-storage': 0.1.6(@antelopejs/interface-core@0.5.1) - randomstring: 1.3.1 - zod: 3.24.4 - zod-to-json-schema: 3.24.6(zod@3.24.4) - - '@antelopejs/interface-dms@0.14.4(054df5714ab731f742f9dd37170531c8)': + '@antelopejs/interface-dms@0.14.7-next.1002.g39c16f7(054df5714ab731f742f9dd37170531c8)': dependencies: '@antelopejs/interface-api': 0.3.3(@antelopejs/interface-core@0.5.1) '@antelopejs/interface-api-util': 0.3.2(@antelopejs/interface-api@0.3.3(@antelopejs/interface-core@0.5.1))(@antelopejs/interface-core@0.5.1) @@ -5005,7 +4977,7 @@ snapshots: tinyglobby: 0.2.17 unbash: 4.0.11 yaml: 2.9.0 - zod: 4.5.4 + zod: 4.6.7 lazystream@1.0.1: dependencies: @@ -6073,16 +6045,10 @@ snapshots: compress-commons: 6.0.2 readable-stream: 4.8.0 - zod-to-json-schema@3.24.6(zod@3.24.4): - dependencies: - zod: 3.24.4 - zod-to-json-schema@3.24.6(zod@3.25.76): dependencies: zod: 3.25.76 - zod@3.24.4: {} - zod@3.25.76: {} - zod@4.5.4: {} + zod@4.6.7: {} diff --git a/packages/dms-mailing/skills/dms-mailing/SKILL.md b/packages/dms-mailing/skills/dms-mailing/SKILL.md index 4acfb49..1514ea1 100644 --- a/packages/dms-mailing/skills/dms-mailing/SKILL.md +++ b/packages/dms-mailing/skills/dms-mailing/SKILL.md @@ -1,6 +1,6 @@ --- name: dms-mailing -description: Sends and manages transactional e-mail with the @antelopejs/dms-mailing module of the AntelopeJS DMS. Use when installing or configuring dms-mailing, sending a template from code with SendTemplate, shipping templates or categories as code with DeclareTemplate / DeclareTemplateCategory, importing past sends with ImportSends, reporting provider events with RecordEmailEvent or the webhook, designing templates (blocks, variables, locales, versions), or debugging suppressed, refused, missing-variable or fallback-locale sends. +description: Sends and manages transactional e-mail with the @antelopejs/dms-mailing module of the AntelopeJS DMS. Use when installing or configuring dms-mailing, sending a template from code with SendTemplate, shipping templates or categories as code with DeclareTemplate / DeclareTemplateCategory, importing past sends with ImportSends, reporting provider events with RecordEmailEvent or the webhook, mailing DMS notifications through the email channel, designing templates (blocks, variables, locales, versions), or debugging suppressed, refused, missing-variable or fallback-locale sends. icon: i-lucide-mail category: messaging tags: [email, templates, transactional, webhook, dms-module] @@ -94,6 +94,17 @@ export async function declareMailingContent(tenantId: string) { dates (demo data, migration): no delivery, no suppression/automation/realtime; skipped when `importId` was already imported. Retention still applies (90 days default). +## DMS notifications by e-mail + +- Mailing registers the DMS e-mail notification channel itself: nothing to call. +- A subject offers it with `email: true` (off until the user turns it on) or `email: { defaultOn: true }`; + the user switches it in Settings › Account › Notifications. +- Send with `toUser(userId, { tenantId })`: without `tenantId` nothing is mailed (no workspace, so no sender or template). +- Literal texts only: a `$` key title or description is not mailed (only the dashboard translates). Users need a validated + address and membership of that workspace. +- Mails go through the workspace's `dms-notification` template, declared on the first notification in the workspace's + fallback locale and editable from then on; sends are labelled `dms-mailing:notification`. + ## Gotchas - `status: "suppressed"` = address on the suppression list (hard bounce, spam, unsubscribe, manual). Never retry. diff --git a/packages/dms-mailing/skills/dms-mailing/cases.json b/packages/dms-mailing/skills/dms-mailing/cases.json index 393212f..15e3458 100644 --- a/packages/dms-mailing/skills/dms-mailing/cases.json +++ b/packages/dms-mailing/skills/dms-mailing/cases.json @@ -44,6 +44,17 @@ "mustMention": ["data-website-id"], "avoid": ["dms-mailing"] } + }, + { + "id": "mailing-notification-email", + "area": "modules", + "style": "clean", + "prompt": "Users should also get our invoice notifications by e-mail when they turn it on.", + "expect": { + "skills": ["dms-mailing"], + "acceptable": ["dms"], + "mustMention": ["tenantId"] + } } ] } diff --git a/packages/dms-mailing/src/index.ts b/packages/dms-mailing/src/index.ts index b1dba04..f6e7d8f 100644 --- a/packages/dms-mailing/src/index.ts +++ b/packages/dms-mailing/src/index.ts @@ -16,6 +16,7 @@ import { } from "./crons"; import { registerTenantExport, unregisterTenantExport } from "./hooks"; import { registerRealtimeTopics } from "./realtime"; +import { registerNotificationEmailChannel } from "./services/notification-email"; import { frontendModule } from "./frontend-module"; export * from "./data"; @@ -38,6 +39,7 @@ export async function construct(config: DmsMailingConfig = {}): Promise { registerAutomationNodes(); registerTenantExport(); registerRealtimeTopics(); + registerNotificationEmailChannel(); await AddFrontendModule(frontendModule()); } diff --git a/packages/dms-mailing/src/services/notification-email.ts b/packages/dms-mailing/src/services/notification-email.ts new file mode 100644 index 0000000..3ceba5d --- /dev/null +++ b/packages/dms-mailing/src/services/notification-email.ts @@ -0,0 +1,111 @@ +import { Logging } from "@antelopejs/interface-core/logging"; +import { GetModel } from "@antelopejs/interface-database-decorators"; +import { UserModel } from "@antelopejs/interface-dms/auth/db"; +import { GetClientBaseUrl } from "@antelopejs/interface-dms/client-base-url"; +import { TenantMemberModel } from "@antelopejs/interface-dms/db"; +import { + type NotificationData, + NotificationEmailChannel, +} from "@antelopejs/interface-dms/notifications"; +import type { SendStatus } from "@antelopejs/interface-dms-mailing"; +import { sendUnlessSuppressed } from "./checked-send"; +import { + declareNotificationTemplate, + NOTIFICATION_TEMPLATE_SLUG, +} from "./notification-template"; + +/** Labels a notification e-mail in the send log. */ +const NOTIFICATION_SEND_SOURCE = "dms-mailing:notification"; + +const PREFERENCES_PATH = "/settings/user/notifications"; + +type NotificationEmailSkip = + | "no_tenant" + | "untranslated_text" + | "unknown_user" + | "unverified_address" + | "not_a_member"; + +/** What one delivery did; `logged` carries the status of its send log row. */ +export type NotificationEmailOutcome = + | { outcome: "logged"; status: SendStatus } + | { outcome: "skipped"; reason: NotificationEmailSkip }; + +/** `link` resolved against `base` when it is http(s); blank otherwise. */ +function absoluteLink( + link: string | undefined, + base: string | undefined, +): string { + if (!link) return ""; + const url = URL.parse(link, base); + return url?.protocol === "http:" || url?.protocol === "https:" + ? url.href + : ""; +} + +/** + * Mails one DMS notification to `userId` through the workspace's + * `dms-notification` template. Skips a notification without a workspace or + * with a `$` translation key (only the dashboard translates those), and a + * user who is unknown, has no validated address or left the workspace. + */ +export async function deliverNotificationEmail( + userId: string, + data: NotificationData, +): Promise { + const { tenantId } = data; + if (!tenantId) return { outcome: "skipped", reason: "no_tenant" }; + if (data.title.startsWith("$") || data.description.startsWith("$")) + return { outcome: "skipped", reason: "untranslated_text" }; + const user = await GetModel(UserModel).get(userId); + if (!user) return { outcome: "skipped", reason: "unknown_user" }; + if (!user.email || !user.isValidated) + return { outcome: "skipped", reason: "unverified_address" }; + if ( + !user.owner && + !(await GetModel(TenantMemberModel, tenantId).existsByUser(user._id)) + ) + return { outcome: "skipped", reason: "not_a_member" }; + await declareNotificationTemplate(tenantId); + const base = await GetClientBaseUrl(); + const { status } = await sendUnlessSuppressed(NOTIFICATION_TEMPLATE_SLUG, { + tenantId, + to: { email: user.email, name: user.name || undefined }, + locale: user.language || undefined, + variables: { + notification: { + title: data.title, + description: data.description, + url: absoluteLink(data.linkTo, base), + }, + preferencesUrl: absoluteLink(PREFERENCES_PATH, base), + }, + source: NOTIFICATION_SEND_SOURCE, + }); + return { outcome: "logged", status }; +} + +/** + * Registers the DMS notifications' e-mail channel. `deliver` starts the + * e-mail and returns, since the DMS send waits for it; a failure is logged. + */ +export function registerNotificationEmailChannel(): void { + NotificationEmailChannel({ + deliver(userId, data, notificationId) { + deliverNotificationEmail(userId, data).then( + (result) => { + if (result.outcome === "skipped") + (result.reason === "untranslated_text" + ? Logging.Warn + : Logging.Debug)( + `[dms-mailing] Notification ${notificationId} not mailed: ${result.reason}`, + ); + }, + (error: unknown) => + Logging.Error( + `[dms-mailing] Notification ${notificationId} e-mail failed: ${String(error)}`, + ), + ); + }, + }); +} diff --git a/packages/dms-mailing/src/services/notification-template.ts b/packages/dms-mailing/src/services/notification-template.ts new file mode 100644 index 0000000..6df762e --- /dev/null +++ b/packages/dms-mailing/src/services/notification-template.ts @@ -0,0 +1,102 @@ +import type { TemplateContent } from "../types"; +import { declareTemplate } from "./declarations"; +import { getSettings } from "./settings"; + +/** The template every DMS notification e-mail is sent with. */ +export const NOTIFICATION_TEMPLATE_SLUG = "dms-notification"; + +const COPY = { + en: { + button: "Open", + footer: + "You receive this e-mail because e-mail is on for this kind of notification.", + preferences: "Notification preferences", + }, + fr: { + button: "Ouvrir", + footer: + "Vous recevez cet e-mail parce que l'e-mail est activé pour ce type de notification.", + preferences: "Préférences de notification", + }, +}; + +const shownIf = (path: string) => ({ + path, + operator: "truthy" as const, + value: "", +}); + +/** The template in `locale`, French copy for a French locale, else English. */ +function notificationContent(locale: string): TemplateContent { + const copy = locale.toLowerCase().startsWith("fr") ? COPY.fr : COPY.en; + return { + locales: { + [locale]: { + subject: "{{notification.title}}", + preheader: "{{notification.description}}", + blocks: [ + { + id: "title", + type: "heading", + text: "{{notification.title}}", + align: "left", + size: 22, + visibleIf: null, + }, + { + id: "description", + type: "paragraph", + text: "{{notification.description}}", + align: "left", + visibleIf: shownIf("notification.description"), + }, + { + id: "open", + type: "button", + text: copy.button, + href: "{{notification.url}}", + align: "left", + visibleIf: shownIf("notification.url"), + }, + { + id: "footer", + type: "footer", + text: copy.footer, + unsubscribeLabel: "", + preferencesLabel: copy.preferences, + visibleIf: null, + }, + ], + }, + }, + }; +} + +/** + * Declares the notification template of `tenantId` in its fallback locale. + * A template the workspace already has under the slug is kept as it is. + */ +export async function declareNotificationTemplate( + tenantId: string, +): Promise { + const { fallbackLocale } = await getSettings(tenantId); + await declareTemplate({ + tenantId, + slug: NOTIFICATION_TEMPLATE_SLUG, + name: { en: "Notification", fr: "Notification" }, + content: notificationContent(fallbackLocale), + variables: [ + { path: "notification.title", type: "string", required: true }, + { path: "notification.description", type: "text", required: false }, + { path: "notification.url", type: "url", required: false }, + ], + testData: { + notification: { + title: "Invoice INV-2041 is due tomorrow", + description: "Open it to check the amount and the payment details.", + url: "https://example.com/invoices/INV-2041", + }, + preferencesUrl: "https://example.com/settings/user/notifications", + }, + }); +} diff --git a/packages/dms-mailing/src/test/antelope-modules.ts b/packages/dms-mailing/src/test/antelope-modules.ts index 800eafa..7ac0461 100644 --- a/packages/dms-mailing/src/test/antelope-modules.ts +++ b/packages/dms-mailing/src/test/antelope-modules.ts @@ -21,7 +21,7 @@ export const SHARED_MODULE_SOURCES = { dms: { type: "package", package: "@antelopejs/dms", - version: "0.20.2", + version: "0.21.4-next.1002.g39c16f7", }, mongodb: { type: "local", path: "node_modules/@antelopejs/mongodb" }, "auth-jwt": { diff --git a/packages/dms-mailing/src/test/integration/notification-email.test.ts b/packages/dms-mailing/src/test/integration/notification-email.test.ts new file mode 100644 index 0000000..90e35da --- /dev/null +++ b/packages/dms-mailing/src/test/integration/notification-email.test.ts @@ -0,0 +1,245 @@ +import { randomUUID } from "node:crypto"; +import { expect } from "chai"; +import { z } from "zod"; +import { DEFAULT_TENANT_ID } from "@antelopejs/interface-dms/constants"; +import type { NotificationData } from "@antelopejs/interface-dms/notifications"; + +const stamp = Date.now(); +const EDITED_TEST_DATA = '{"edited":true}'; +const SEND_TIMEOUT_MS = 1_500; +const POLL_INTERVAL_MS = 50; + +const sentVariablesSchema = z.object({ + notification: z.object({ + title: z.string(), + description: z.string(), + url: z.string(), + }), + preferencesUrl: z.string(), +}); + +interface TestUser { + email?: string; + isValidated?: boolean; + isMember?: boolean; +} + +async function models() { + const { GetModel } = + await import("@antelopejs/interface-database-decorators"); + const { UserModel } = await import("@antelopejs/interface-dms/auth/db"); + const { TenantMemberModel } = await import("@antelopejs/interface-dms/db"); + const db = await import("../../db"); + return { + users: GetModel(UserModel), + members: GetModel(TenantMemberModel, DEFAULT_TENANT_ID), + sends: GetModel(db.SendModel, DEFAULT_TENANT_ID), + templates: GetModel(db.TemplateModel, DEFAULT_TENANT_ID), + suppressions: GetModel(db.SuppressionModel, DEFAULT_TENANT_ID), + }; +} + +async function createUser(user: TestUser = {}): Promise<{ + id: string; + email: string; +}> { + const { users, members } = await models(); + const email = user.email ?? `notified-${randomUUID()}@example.test`; + const [id] = await users.insert({ + email, + name: "Ana Notified", + language: "fr-BE", + isValidated: user.isValidated ?? true, + owner: false, + }); + if (user.isMember ?? true) { + await members.insert({ + userId: id, + roleIds: [], + isTenantOwner: false, + joinedAt: new Date(), + invitedBy: null, + }); + } + return { id, email }; +} + +function notification( + overrides: Partial = {}, +): NotificationData { + return { + icon: "i-ph-receipt", + title: `Invoice ${stamp} is due`, + description: "Pay before Friday", + linkTo: "/invoices/42", + tenantId: DEFAULT_TENANT_ID, + subject: { + id: "invoice", + labelKey: "invoice", + category: { id: "billing", labelKey: "billing", icon: "i-ph-receipt" }, + email: { defaultOn: true }, + }, + ...overrides, + }; +} + +async function deliver(userId: string, data: NotificationData) { + const { deliverNotificationEmail } = + await import("../../services/notification-email"); + return deliverNotificationEmail(userId, data); +} + +async function sendsTo(email: string) { + const { sends } = await models(); + return sends.getBy("recipientEmail", email); +} + +/** Leaves the shared workspace without the template the run added. */ +async function removeNotificationTemplate(): Promise { + const { GetModel } = + await import("@antelopejs/interface-database-decorators"); + const db = await import("../../db"); + const { refreshTemplateAttention } = + await import("../../services/template-attention"); + const { templates } = await models(); + const template = await templates.getBySlug("dms-notification"); + if (template) { + const versions = GetModel(db.TemplateVersionModel, DEFAULT_TENANT_ID); + for (const version of await versions.listForTemplate(template._id)) + await versions.delete(version._id); + await templates.delete(template._id); + } + await refreshTemplateAttention(DEFAULT_TENANT_ID); +} + +describe("[integration] notification e-mail channel", () => { + after(removeNotificationTemplate); + + it("mails a notification through the workspace's notification template", async () => { + const user = await createUser(); + const outcome = await deliver(user.id, notification()); + expect(outcome).to.deep.equal({ outcome: "logged", status: "sent" }); + + const rows = await sendsTo(user.email); + expect(rows).to.have.length(1); + expect(rows[0]).to.include({ + templateSlug: "dms-notification", + source: "dms-mailing:notification", + locale: "en", + recipientName: "Ana Notified", + }); + const variables = sentVariablesSchema.parse( + JSON.parse(rows[0].json_variables), + ); + expect(variables.notification).to.deep.equal({ + title: `Invoice ${stamp} is due`, + description: "Pay before Friday", + url: "http://127.0.0.1:5019/invoices/42", + }); + expect(variables.preferencesUrl).to.equal( + "http://127.0.0.1:5019/settings/user/notifications", + ); + + const { templates } = await models(); + const template = await templates.getBySlug("dms-notification"); + expect(template).to.include({ status: "live" }); + }); + + it("logs a suppressed address without sending to it or throwing", async () => { + const user = await createUser(); + const { suppressions } = await models(); + await suppressions.add({ email: user.email, reason: "hard_bounce" }); + const outcome = await deliver(user.id, notification()); + expect(outcome).to.include({ outcome: "logged", status: "suppressed" }); + const rows = await sendsTo(user.email); + expect(rows.map((row) => row.status)).to.deep.equal(["suppressed"]); + }); + + it("sends nothing for a notification that names no workspace", async () => { + const user = await createUser(); + const outcome = await deliver( + user.id, + notification({ tenantId: undefined }), + ); + expect(outcome).to.deep.equal({ outcome: "skipped", reason: "no_tenant" }); + expect(await sendsTo(user.email)).to.have.length(0); + }); + + it("sends nothing to a user who left the workspace", async () => { + const user = await createUser({ isMember: false }); + const outcome = await deliver(user.id, notification()); + expect(outcome).to.deep.equal({ + outcome: "skipped", + reason: "not_a_member", + }); + expect(await sendsTo(user.email)).to.have.length(0); + }); + + it("sends nothing to an address the user never validated", async () => { + const user = await createUser({ isValidated: false }); + const outcome = await deliver(user.id, notification()); + expect(outcome).to.deep.equal({ + outcome: "skipped", + reason: "unverified_address", + }); + expect(await sendsTo(user.email)).to.have.length(0); + }); + + it("sends nothing to an unknown user", async () => { + const outcome = await deliver(randomUUID(), notification()); + expect(outcome).to.deep.equal({ + outcome: "skipped", + reason: "unknown_user", + }); + }); + + it("sends nothing when the title is a key only the dashboard translates", async () => { + const user = await createUser(); + const outcome = await deliver( + user.id, + notification({ title: "$shop.notifications.invoice_due" }), + ); + expect(outcome).to.deep.equal({ + outcome: "skipped", + reason: "untranslated_text", + }); + expect(await sendsTo(user.email)).to.have.length(0); + }); + + it("keeps the template its owners edited", async () => { + const { templates } = await models(); + const before = await templates.getBySlug("dms-notification"); + expect(before).not.to.equal(undefined); + await templates.update(before?._id ?? "", { + json_test_data: EDITED_TEST_DATA, + }); + const user = await createUser(); + await deliver(user.id, notification()); + const after = await templates.getBySlug("dms-notification"); + expect(after?.json_test_data).to.equal(EDITED_TEST_DATA); + }); + + it("mails a notification the DMS sends to a user with e-mail on", async () => { + const { NotificationCategory, NotificationSubject } = + await import("@antelopejs/interface-dms/notifications"); + const { SendableNotification } = + await import("@antelopejs/interface-dms/notifications/sendable"); + const data = notification({ title: `Order ${randomUUID()} shipped` }); + const { id: categoryId, ...category } = data.subject.category; + NotificationCategory(categoryId, category); + NotificationSubject(data.subject.id, data.subject); + const user = await createUser(); + await new SendableNotification(data).toUser(user.id, { + tenantId: DEFAULT_TENANT_ID, + }); + const deadline = Date.now() + SEND_TIMEOUT_MS; + let rows = await sendsTo(user.email); + while (!rows.length && Date.now() < deadline) { + await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL_MS)); + rows = await sendsTo(user.email); + } + expect(rows.map((row) => row.templateSlug)).to.deep.equal([ + "dms-notification", + ]); + }); +});