@hyperscale0/adl 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS +8 -0
- package/CHANGELOG.md +47 -0
- package/LICENSE +661 -0
- package/LICENSING.md +51 -0
- package/README.md +165 -0
- package/SECURITY.md +29 -0
- package/TRADEMARKS.md +30 -0
- package/conformance/cases.json +835 -0
- package/dist/conformance.d.ts +41 -0
- package/dist/conformance.d.ts.map +1 -0
- package/dist/conformance.js +486 -0
- package/dist/conformance.js.map +1 -0
- package/dist/index.d.ts +219 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +144 -0
- package/dist/index.js.map +1 -0
- package/dist/vocabulary.d.ts +94 -0
- package/dist/vocabulary.d.ts.map +1 -0
- package/dist/vocabulary.js +139 -0
- package/dist/vocabulary.js.map +1 -0
- package/docs/authoring-guide.md +431 -0
- package/examples/meridian-bank/README.md +65 -0
- package/examples/meridian-bank/example.spec.ts +162 -0
- package/examples/meridian-bank/fixtures/payout-status-replay.json +19 -0
- package/examples/meridian-bank/fixtures/payout-status-settled.json +19 -0
- package/examples/meridian-bank/fixtures/payout-submit-accepted.json +26 -0
- package/examples/meridian-bank/fixtures/payout-submit-declined.json +25 -0
- package/examples/meridian-bank/fixtures/statement-camt053.json +45 -0
- package/examples/meridian-bank/fixtures/webhook-payout-settled.json +11 -0
- package/examples/meridian-bank/index.ts +262 -0
- package/package.json +79 -0
- package/spec/manifest.schema.json +757 -0
package/AUTHORS
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this package are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project
|
|
5
|
+
follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) from 1.0.0.
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [1.0.0-alpha.1] - 2026-08-23
|
|
10
|
+
|
|
11
|
+
First retained release, as `@hyperscale0/adl`, from the repository
|
|
12
|
+
`hyperscale0/hyperscale-adl`. Licensed AGPL-3.0-only with a commercial license
|
|
13
|
+
from Hyperscale LLC, which holds the copyright.
|
|
14
|
+
|
|
15
|
+
The package was named `@hyperscale0/provider-adapter` while this format was
|
|
16
|
+
still called the provider adapter kit. That name was unpublished from npm
|
|
17
|
+
before anyone depended on it, so nothing installs from it and there is no
|
|
18
|
+
migration to make: `1.0.0-alpha.1` of `@hyperscale0/adl` is the first version
|
|
19
|
+
that stays. The exported API is unchanged. `ProviderAdapter`,
|
|
20
|
+
`createProviderAdapterRegistry`, `certifyPartnerBankAdapter`, the vocabulary,
|
|
21
|
+
and the conformance codes all keep their names. ADL names the language you
|
|
22
|
+
write an adapter in; an adapter is still what you write.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- `docs/authoring-guide.md`: how to write an adapter, field by field, with the
|
|
27
|
+
rule that enforces each one.
|
|
28
|
+
- `examples/meridian-bank`: a complete certified adapter for a fictional bank,
|
|
29
|
+
with provider fixtures and its own tests.
|
|
30
|
+
- `conformance/cases.json`: every conformance and registry-load rule as data,
|
|
31
|
+
one broken fact per case, recording what each gate says about it.
|
|
32
|
+
- `spec/manifest.schema.json`: JSON Schema 2020-12 for one adapter
|
|
33
|
+
declaration, generated from `src/vocabulary.ts` by `scripts/emit-spec.ts`
|
|
34
|
+
and drift-checked by `bun run spec:check`.
|
|
35
|
+
- `bun run conformance -- <module>`: certify every adapter a module exports,
|
|
36
|
+
exit 1 on any finding.
|
|
37
|
+
- `partnerBankConformanceCodes`, the runtime list behind
|
|
38
|
+
`PartnerBankConformanceCode`.
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- The closed value sets moved to `src/vocabulary.ts` as runtime arrays with
|
|
43
|
+
the exported types derived from them, so the published schema cannot drift
|
|
44
|
+
from the type checker. No exported type changed shape.
|
|
45
|
+
|
|
46
|
+
[Unreleased]: https://github.com/hyperscale0/hyperscale-adl/compare/v1.0.0-alpha.1...HEAD
|
|
47
|
+
[1.0.0-alpha.1]: https://github.com/hyperscale0/hyperscale-adl/releases/tag/v1.0.0-alpha.1
|