Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions apps/money/0.3.0/ui.js

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions integrations/READINESS.md

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions integrations/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,16 @@
"https://atomicdata.dev/integrations/properties/enabled": false,
"https://atomicdata.dev/properties/name": "Bank statements",
"https://atomicdata.dev/properties/emoji": "🏦",
"https://atomicdata.dev/properties/description": "Import bank transactions from MT940 and camt.053 statement exports.",
"https://atomicdata.dev/integrations/properties/capabilities": "Preview exact amounts, dates, account references and original descriptions in a Bank transactions table.",
"https://atomicdata.dev/integrations/properties/events": "Upload an MT940 or camt.053 statement when you need it. No bank token required.",
"https://atomicdata.dev/integrations/properties/limitation": "MT940 (up to 512 KB) and camt.053 XML (up to 5 MB) files only, up to 500 transactions. No payment initiation or live bank sync. Bank-specific formats may need additional support.",
"https://atomicdata.dev/properties/description": "Import bank transactions from MT940 and camt.053 statement exports, and read them as a ledger in the Money drive app.",
"https://atomicdata.dev/integrations/properties/capabilities": "The importer checks that each statement's opening balance, transactions and closing balance add up, previews which transactions are new or already imported with exact amounts, dates, references and the bank's own descriptions, and writes nothing until you apply the host's review. It writes a Bank transactions table and an Imported statements table (one row per statement, with its opening and closing balance). The Money app shows the Bank transactions table as a ledger per account and currency, with the latest closing balance from a stored statement, search, period and direction filters, your own category and note per transaction, and an import from inside the app through the same review.",
"https://atomicdata.dev/integrations/properties/events": "Upload an MT940 or camt.053 statement when you need it, on the importer's Import tab or from the Money app. No bank token and no live bank connection; nothing runs in the background.",
"https://atomicdata.dev/integrations/properties/limitation": "MT940 (up to 512 KB) and camt.053 XML (up to 5 MB) files only, up to 500 transactions per file. No CSV or PDF, no payment initiation or live bank sync; bank-specific formats may need additional support. Saving a category or note needs you to allow the app to edit the table. The Money app works only as a view of the importer's Bank transactions table: installed from Drive apps it gets an empty table of its own with no importer, and the importer's table does not offer it under Add view, so installing it from here does not yet give a working Money app. Declared, and tested with synthetic statement files only at this version.",
"https://atomicdata.dev/integrations/properties/keywords": "bank bunq banking finance accounting statement mt940 camt camt.053 iso20022 xml sepa import swift",
"https://atomicdata.dev/integrations/properties/version": "0.2.0"
"https://atomicdata.dev/integrations/properties/version": "0.3.0",
"https://atomicdata.dev/integrations/properties/app-row-name": "Bank transaction",
"https://atomicdata.dev/integrations/properties/app-row-name-plural": "Bank transactions",
"https://atomicdata.dev/integrations/properties/app-module": "https://ontola.github.io/atomic-plugins/apps/money/0.3.0/ui.js",
"https://atomicdata.dev/integrations/properties/app-module-integrity": "sha384-0hyIn/cvSZBd4KDoIKEoNSR8gcaMayybwO8p5tn6e1tHwI5c7EVVf74tTgipigvv"
},
{
"https://atomicdata.dev/properties/localId": "moneybird",
Expand Down
2 changes: 1 addition & 1 deletion integrations/lanes.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"index": 3,
"platforms": ["moneybird"],
"tiers": ["e2e"],
"note": "e2e drives the Bank statements importer through the host's generic file entry point (atomic-server#1653: manifest accepts/destination, PluginPage Import tab): publish, discover, set up, MT940 and camt.053 import, reload, reimport, local edit, conflict and refused files. The pin includes that change (atomic-server#1691); against an older host, publishing the bundle fails on the unknown manifest field. No typecheck/unit tier: money has an atomicCertification block, so the unsharded certification step in shared-checks already runs exactly its typecheck (tsconfig.json) and unit (vitest.config.ts) on every integrations/** change, plus bundle reproducibility. moneybird is listed for a future Moneybird fixture in integrations/money/fixtures/moneybird/ (plugin-specific files stay in the plugin folder); integrations/money/ has no Moneybird runtime code.",
"note": "e2e drives the Bank statements importer through the host's generic file entry point (atomic-server#1653: manifest accepts/destination, PluginPage Import tab): publish, discover, set up, MT940 and camt.053 import, reload, reimport, local edit, conflict and refused files. A second test installs the Money drive app (integrations/money/app/) test-side as an app rendering the Bank transaction class, adds it through the table's Add view as a read-only view, imports an MT940 from inside the app through the host's review (store.importer.run, atomic-server#1774), and saves a category after the host's Allow editing (atomic-server#1788). The pin includes that change (atomic-server#1691); against an older host, publishing the bundle fails on the unknown manifest field. Host bug atomic-server#1846, fixed at pin 1432e244a (atomic-server#1847, atomic-plugins #179): at pin 2567fc30b Add view read the drive's apps once on mount, so when the app's save synced in after navigating, 'New app' never appeared and the second test failed. No typecheck/unit tier: money has an atomicCertification block, so the unsharded certification step in shared-checks already runs exactly its typecheck (tsconfig.json) and unit (vitest.config.ts) on every integrations/** change, plus bundle reproducibility. moneybird is listed for a future Moneybird fixture in integrations/money/fixtures/moneybird/ (plugin-specific files stay in the plugin folder); integrations/money/ has no Moneybird runtime code.",
"e2e": ["integrations/money/e2e/money.spec.ts"]
},
{
Expand Down
22 changes: 20 additions & 2 deletions integrations/money/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,19 @@ read-only view through Add view, imports the synthetic MT940 from inside
the app through the host's review, checks the strip's closing balance and
the Imports tab, saves a category after clicking the host's "Allow
editing", and checks the in-app check (nothing new; a changed transaction
blocks). Not yet: installing from the catalog (no catalog entry).
blocks).

Catalog: the `money` entry in `integrations/catalog.json` carries the app
(`app-module` `apps/money/<version>/ui.js`, the same version as this
package; see [Publishing a drive app](../README.md#publishing-a-drive-app))
with `enabled: false`, so the Integrations page does not offer it. Not yet
a working install path, and not tested: at pin `2567fc30b` a catalog
Install creates the app with a row class and table of its own
(`createApp`), the importer's table offers under Add view only apps whose
`renders` lists its row class (`useDriveApps.ts` `appsForClass`), and
`store.importer.run` refuses an app that is not a view of an importer's
table (`hostStore.ts`). The E2E adds the Bank transaction class to the
app's `renders` test-side instead.

Build: `node integrations/money/app/build.mjs` (writes `app/dist/ui.js`,
minified, one module). Screenshots, axe and the render budget:
Expand All @@ -198,7 +210,13 @@ minified, one module). Screenshots, axe and the render budget:
the change for atomic-server#1653), with this package at version 0.2.0
(`plugin.js` sha256 `a8f84cd07899984529b505d2719e83b1ec4bed805c9e2459e895c0956f784efe`,
the bundle with the annotations, structured errors and the statements
table). The
table). Version 0.3.0 is that bundle with only the manifest's `version`
changed (#148 changed the importer's behaviour at 0.2.0: the statements
table and `tables` in `config.required`). At 0.3.0 (`plugin.js` sha256
`5d5ab941d41734d088e7be6da528b3decbfbf3db81e56cfae59e69558054733b`) both
E2E tests passed once on 2026-09-29 against pin `2567fc30b` and once
against pin `1432e244a`, which fixes atomic-server#1846 (both the published
e2e image). The
spec picks the release it just published by its id, so it also passes on a
lane store kept from earlier runs (checked twice in a row). It covers these
steps, all with the synthetic files in `fixtures/` and generated variants:
Expand Down
2 changes: 1 addition & 1 deletion integrations/money/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@atomic-integrations/money",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"type": "module",
"atomicCertification": {
"owner": "Ontola",
Expand Down
2 changes: 1 addition & 1 deletion integrations/money/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ var manifest = {
schemaVersion: 2,
name: "bank-statements",
namespace: "atomic-plugins",
version: "0.2.0",
version: "0.3.0",
description: "Import bank transactions from MT940 and camt.053 statement exports.",
operations: [],
secrets: [],
Expand Down
2 changes: 1 addition & 1 deletion integrations/money/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const manifest = {
schemaVersion: 2,
name: 'bank-statements',
namespace: 'atomic-plugins',
version: '0.2.0',
version: '0.3.0',
description:
'Import bank transactions from MT940 and camt.053 statement exports.',
operations: [],
Expand Down
Loading