Skip to content

Commit

Permalink
release v0.702.1+0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jueseitz committed Nov 27, 2024
1 parent f143b01 commit 41cd913
Show file tree
Hide file tree
Showing 19 changed files with 110 additions and 110 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Build WASM
run: |
wasm-pack build --release --target nodejs --reference-types --features wasm,builder --no-default-features
cp target/schemas/out/*.xsdb pkg/xwasser-v070.xsdb.bin
cp target/schemas/out/*.xsdb pkg/xwasser-v072.xsdb.bin
cp crates/codelists/public/V0_7_2/codelist.json pkg/codelist.json
cp package.tmp.json pkg/package.json
pnpm tsup --format esm,cjs
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Build WASM Web
run: |
wasm-pack build --release --target web --reference-types --features wasm,builder --no-default-features
cp target/schemas/out/*.xsdb pkg/xwasser-v070.xsdb.bin
cp target/schemas/out/*.xsdb pkg/xwasser-v072.xsdb.bin
cp crates/codelists/public/V0_7_2/codelist.json pkg/codelist.json
cp package.tmp.web.json pkg/package.json
- name: Build utils web package
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = ["crates/*"]

[workspace.package]
edition = "2021"
version = "0.702.0+0.7.2"
version = "0.702.1+0.7.2"
description = """
"XOEV XWasser XML Standard"
"""
Expand All @@ -17,8 +17,8 @@ keywords = []

[workspace.dependencies]
anyhow = "1.0.89"
xoev-xwasser-codelists = { version = "0.702.0", path = "crates/codelists" }
xoev-xwasser-derive = { version = "0.702.0", path = "crates/derive" }
xoev-xwasser-codelists = { version = "0.702.1", path = "crates/codelists" }
xoev-xwasser-derive = { version = "0.702.1", path = "crates/derive" }
raxb = "0.4.4"
raxb-validate = "0.4.4"
raxb-xmlschema = "0.4.4"
Expand Down
2 changes: 1 addition & 1 deletion build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ set -e
# cargo clean
wasm-pack build --release --target web --reference-types --features wasm,builder --no-default-features
cp crates/codelists/public/V0_7_2/codelist.json pkg/codelist.json
cp target/schemas/out/*.xsdb pkg/xwasser-v070.xsdb.bin
cp target/schemas/out/*.xsdb pkg/xwasser-v072.xsdb.bin
cp package.tmp.web.json pkg/package.json
pnpm tsup --format esm,cjs
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cargo test --no-default-features --features schema,trace,builder
wasm-pack build --release --target nodejs --reference-types --features wasm,builder --no-default-features
# wasm-pack build --release --target web --reference-types --features wasm --no-default-features
cp crates/codelists/public/V0_7_2/codelist.json pkg/codelist.json
cp target/schemas/out/*.xsdb pkg/xwasser-v070.xsdb.bin
cp target/schemas/out/*.xsdb pkg/xwasser-v072.xsdb.bin
#cp package.tmp.web.json pkg/package.json
cp package.tmp.json pkg/package.json
pnpm tsup --format esm,cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xoev-xwasser",
"version": "0.702.0",
"version": "0.702.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions package.tmp.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"H & D GmbH Open Source <[email protected]>"
],
"description": "\"XOEV XWasser XML Standard\"\n",
"version": "0.702.0+0.7.2",
"version": "0.702.1+0.7.2",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"xoev_xwasser.d.ts",
"xoev_xwasser.js",
"codelist.json",
"xwasser-v070.xsdb.bin",
"xwasser-v072.xsdb.bin",
"xoev-xwasser-utils.cjs",
"xoev-xwasser-utils.cjs.map",
"xoev-xwasser-utils.d.cts",
Expand Down
4 changes: 2 additions & 2 deletions package.tmp.web.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"H & D GmbH Open Source <[email protected]>"
],
"description": "\"XOEV XWasser XML Standard\"\n",
"version": "0.702.0+0.7.2",
"version": "0.702.1+0.7.2",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -17,7 +17,7 @@
"xoev_xwasser.js",
"xoev_xwasser.d.ts",
"codelist.json",
"xwasser-v070.xsdb.bin",
"xwasser-v072.xsdb.bin",
"xoev-xwasser-utils.cjs",
"xoev-xwasser-utils.cjs.map",
"xoev-xwasser-utils.d.cts",
Expand Down
2 changes: 1 addition & 1 deletion tests/administration_receipt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import fs from "fs";
import path from "path";
const __dirname = import.meta.dirname;
import xmlvalidate, { XmlValidatorError } from "@raxb/validate-wasm";
const xsdBundle = fs.readFileSync(path.resolve(__dirname, '../pkg/xwasser-v070.xsdb.bin')).buffer;
const xsdBundle = fs.readFileSync(path.resolve(__dirname, '../pkg/xwasser-v072.xsdb.bin')).buffer;

describe("administration receipt xml generation via wasm", async () => {
const { XmlValidator } = await xmlvalidate();
Expand Down
50 changes: 25 additions & 25 deletions tests/monitoring_plan_builder.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"produkt": "XWasser Test",
"produkthersteller": "H&D GmbH",
"produktversion": "0.702.0",
"produktversion": "0.702.1",
"test": true,
"nachrichtenkopf_g2g": {
"identifikation_nachricht": {
"nachrichten_uuid": "acd95f6f-3837-4398-b5c3-f39af273a744",
"nachrichten_uuid": "dfae769e-c431-445a-b955-cf1ae40e939b",
"nachrichten_typ": {
"code": {
"code": "2010"
}
},
"erstellungszeitpunkt": "2024-11-27T06:20:45"
"erstellungszeitpunkt": "2024-11-27T07:04:32"
},
"leser": {
"verzeichnisdienst": {
Expand All @@ -36,14 +36,14 @@
},
"vorgang": {
"identifikation_vorgang": {
"vorgangs_id": "a10220dc-6f01-4faa-ad24-168a8a117147"
"vorgangs_id": "bf813b9b-6125-40cf-adf5-3bc9d2befa68"
},
"vorgang_type": {
"t": "Untersuchungsplan",
"c": {
"untersuchungsplan_id": "af520518-66c4-4685-9cb0-5decb38750e6",
"untersuchungsplan_id": "a4701200-0fd6-490a-9820-7bdd2f196333",
"wasserversorgungsgebiet": [
"wvg-fVeWKY1h"
"wvg-OfsGR1Fy"
],
"titel_untersuchungsplan": null,
"jahr": [
Expand Down Expand Up @@ -94,10 +94,10 @@
},
"terminplan": [
{
"terminplan_id": "18b9472f-64eb-416e-9009-53e703f7547d",
"terminplan_id": "57e6509e-d76f-467e-9a1b-908d5b532788",
"probennahmestelle": null,
"datum_zeitraum": [
"2024-11-27T06:20:45"
"2024-11-27T07:04:32"
],
"probennahmestelle_kategorie": {
"code": "L",
Expand Down Expand Up @@ -130,12 +130,12 @@
"probennahmeverfahren": [],
"ersatz_fuer_terminplan_mit_der_id": null,
"kommentar": null,
"id": "terminplan-djGu6aT2"
"id": "terminplan-MDDu6xJf"
}
],
"anlage_nach_trinkw_v": {
"anlage_nach_trinkw_v_id": "",
"zustaendige_behoerde_id": "behoerde-c3IH5nd2",
"zustaendige_behoerde_id": "behoerde-LnxIfTTn",
"untersuchungsplan_id": [],
"art_anlage": {
"code": "1010",
Expand All @@ -148,15 +148,15 @@
"kommentar": null,
"wasserversorgungsgebiet": [
{
"wasserversorgungsgebiet_id": "ddf2e7a5-cc7a-4736-bf0b-2c208a997438",
"wasserversorgungsgebiet_id": "261112b3-58cb-4f24-ba17-1b1843f6054a",
"name_wasserversorgungsgebiet": {
"code": "",
"name": null
},
"lau2_code": null,
"zustaendige_behoerde": [
{
"id": "behoerde-eBaeHY8p",
"id": "behoerde-NVftvSQM",
"typ": {
"code": "",
"name": null,
Expand Down Expand Up @@ -220,12 +220,12 @@
"derogation": [],
"exceedance": [],
"incident": [],
"id": "wvg-fVeWKY1h"
"id": "wvg-OfsGR1Fy"
}
],
"anlage_nach_trinkw_v_objekt": [
{
"objekt_id": "be703760-be68-4be7-b9e6-4d72b4b15c00",
"objekt_id": "fe2dff3d-1b6e-4fcb-a1b8-c5e9d46b1d87",
"wasserversorgungsgebiet": null,
"anschrift_objekt": [],
"art_objekt": {
Expand All @@ -249,11 +249,11 @@
"kommentar": null,
"betreiber": [
{
"betreiber_id": "3f6c1b09-ad37-4799-87f3-8103e6f62dcf",
"betreiber_id": "d631bde1-334d-4da4-a183-653f0d402e95",
"art_der_person": {
"t": "Organisation",
"c": {
"id": "organisation-hFn4qb3l",
"id": "organisation-QZQAEkCy",
"rechtsform": null,
"branche": [],
"zweck": [],
Expand All @@ -267,15 +267,15 @@
}
},
"objekt_id": [
"obj-ghXMe6VU"
"obj-PBiiETLW"
],
"kommentar": null,
"id": "betreiber-i5AcaDl1"
"id": "betreiber-Rpb0gMkR"
}
],
"objekt_probennahmestelle": [
{
"probennahmestelle_id": "ea96922a-e91b-4788-8f14-b92c061e6080",
"probennahmestelle_id": "be72fa5a-3cbc-4533-bf55-c9298e5f8810",
"objekt_id": "",
"probe": [],
"terminplan_id": [],
Expand Down Expand Up @@ -303,13 +303,13 @@
"alt_id": null,
"berichtspflichtig": null,
"kommentar": null,
"id": "probennahmestelle-jxCJazxi"
"id": "probennahmestelle-SRl4GqWA"
}
],
"id": "obj-ghXMe6VU"
"id": "obj-PBiiETLW"
}
],
"id": "antv-k1zlfwBX"
"id": "antv-TlqteVQx"
},
"auftraggeber": {
"auftraggeber_id": "",
Expand All @@ -320,7 +320,7 @@
"auftraggeber": {
"t": "Organisation",
"c": {
"id": "organisation-lxtQxCzK",
"id": "organisation-URs1BwKj",
"rechtsform": null,
"branche": [],
"zweck": [],
Expand All @@ -335,7 +335,7 @@
}
},
"zustaendige_behoerde": {
"id": "behoerde-c3IH5nd2",
"id": "behoerde-LnxIfTTn",
"typ": {
"code": "",
"name": null,
Expand Down Expand Up @@ -382,7 +382,7 @@
"kommentar": [],
"aenderungshistorie": null,
"erweiterung": null,
"id": "untersuchungsplan-m5qaQjKt"
"id": "untersuchungsplan-VpxE3RQS"
}
},
"bemerkung": null,
Expand Down
2 changes: 1 addition & 1 deletion tests/monitoring_plan_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn test_monitoring_plan_builder() -> anyhow::Result<()> {
let e = VorgangTransportieren2010::builder()
.produkt("XWasser Test".into())
.produkthersteller("H&D GmbH".into())
.produktversion("0.702.0".into())
.produktversion("0.702.1".into())
.test(Some(true))
.nachrichtenkopf_g2g(nachrichtenkopf_g2g(
NachrichtenTypEnum::VorgangTransportieren2010,
Expand Down
Loading

0 comments on commit 41cd913

Please sign in to comment.