From 7fdb4d0f0bf2d2363e926486b0ca1511c4ce92dd Mon Sep 17 00:00:00 2001 From: Fergus Roache Date: Fri, 13 Dec 2024 13:16:04 +1300 Subject: [PATCH] Revert version naming changes to new reports --- .../{2_4_2 => 2_3_0}/argument_schemas/arguments.json | 0 .../{2_4_2 => 2_3_0}/argument_schemas/arguments_ui.json | 0 .../expiring-items/{2_4_2 => 2_3_0}/convert_data_js/esbuild.js | 0 .../expiring-items/{2_4_2 => 2_3_0}/convert_data_js/input.json | 0 .../expiring-items/{2_4_2 => 2_3_0}/convert_data_js/output.json | 0 .../{2_4_2 => 2_3_0}/convert_data_js/package.json | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.d.ts | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.js | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/utils.js | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/utils.test.ts | 0 server/reports/expiring-items/{2_4_2 => 2_3_0}/manifest.json | 2 +- .../reports/expiring-items/{2_4_2 => 2_3_0}/src/query.graphql | 0 server/reports/expiring-items/{2_4_2 => 2_3_0}/src/style.css | 0 .../reports/expiring-items/{2_4_2 => 2_3_0}/src/template.html | 0 .../item-usage/{2_4_2 => 2_3_0}/argument_schemas/arguments.json | 0 .../{2_4_2 => 2_3_0}/argument_schemas/arguments_ui.json | 0 .../item-usage/{2_4_2 => 2_3_0}/convert_data_js/esbuild.js | 0 .../item-usage/{2_4_2 => 2_3_0}/convert_data_js/input.json | 0 .../item-usage/{2_4_2 => 2_3_0}/convert_data_js/output.json | 0 .../item-usage/{2_4_2 => 2_3_0}/convert_data_js/package.json | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.d.ts | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.js | 0 .../item-usage/{2_4_2 => 2_3_0}/convert_data_js/src/utils.js | 0 .../{2_4_2 => 2_3_0}/convert_data_js/src/utils.test.ts | 0 server/reports/item-usage/{2_4_2 => 2_3_0}/manifest.json | 2 +- .../item-usage/{2_4_2 => 2_3_0}/src/AMCTwelve.postgres.sql | 0 .../item-usage/{2_4_2 => 2_3_0}/src/AMCTwelve.sqlite.sql | 0 .../item-usage/{2_4_2 => 2_3_0}/src/AMCTwentyFour.postgres.sql | 0 .../item-usage/{2_4_2 => 2_3_0}/src/AMCTwentyFour.sqlite.sql | 0 .../{2_4_2 => 2_3_0}/src/expiringInSixMonths.postgres.sql | 0 .../{2_4_2 => 2_3_0}/src/expiringInSixMonths.sqlite.sql | 0 .../{2_4_2 => 2_3_0}/src/expiringInTwelveMonths.postgres.sql | 0 .../{2_4_2 => 2_3_0}/src/expiringInTwelveMonths.sqlite.sql | 0 .../{2_4_2 => 2_3_0}/src/lastMonthConsumption.postgres.sql | 0 .../{2_4_2 => 2_3_0}/src/lastMonthConsumption.sqlite.sql | 0 server/reports/item-usage/{2_4_2 => 2_3_0}/src/query.graphql | 0 server/reports/item-usage/{2_4_2 => 2_3_0}/src/stockOnOrder.sql | 0 server/reports/item-usage/{2_4_2 => 2_3_0}/src/style.css | 0 server/reports/item-usage/{2_4_2 => 2_3_0}/src/template.html | 0 .../{2_4_2 => 2_3_0}/src/thisMonthConsumption.postgres.sql | 0 .../{2_4_2 => 2_3_0}/src/thisMonthConsumption.sqlite.sql | 0 .../{2_4_2 => 2_3_0}/src/twoMonthsAgoConsumption.postgres.sql | 0 .../{2_4_2 => 2_3_0}/src/twoMonthsAgoConsumption.sqlite.sql | 0 43 files changed, 2 insertions(+), 2 deletions(-) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/argument_schemas/arguments.json (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/argument_schemas/arguments_ui.json (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/esbuild.js (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/input.json (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/output.json (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/package.json (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.d.ts (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.js (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/src/utils.js (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/convert_data_js/src/utils.test.ts (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/manifest.json (93%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/src/query.graphql (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/src/style.css (100%) rename server/reports/expiring-items/{2_4_2 => 2_3_0}/src/template.html (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/argument_schemas/arguments.json (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/argument_schemas/arguments_ui.json (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/esbuild.js (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/input.json (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/output.json (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/package.json (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.d.ts (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/src/convert_data.js (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/src/utils.js (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/convert_data_js/src/utils.test.ts (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/manifest.json (96%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/AMCTwelve.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/AMCTwelve.sqlite.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/AMCTwentyFour.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/AMCTwentyFour.sqlite.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/expiringInSixMonths.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/expiringInSixMonths.sqlite.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/expiringInTwelveMonths.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/expiringInTwelveMonths.sqlite.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/lastMonthConsumption.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/lastMonthConsumption.sqlite.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/query.graphql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/stockOnOrder.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/style.css (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/template.html (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/thisMonthConsumption.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/thisMonthConsumption.sqlite.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/twoMonthsAgoConsumption.postgres.sql (100%) rename server/reports/item-usage/{2_4_2 => 2_3_0}/src/twoMonthsAgoConsumption.sqlite.sql (100%) diff --git a/server/reports/expiring-items/2_4_2/argument_schemas/arguments.json b/server/reports/expiring-items/2_3_0/argument_schemas/arguments.json similarity index 100% rename from server/reports/expiring-items/2_4_2/argument_schemas/arguments.json rename to server/reports/expiring-items/2_3_0/argument_schemas/arguments.json diff --git a/server/reports/expiring-items/2_4_2/argument_schemas/arguments_ui.json b/server/reports/expiring-items/2_3_0/argument_schemas/arguments_ui.json similarity index 100% rename from server/reports/expiring-items/2_4_2/argument_schemas/arguments_ui.json rename to server/reports/expiring-items/2_3_0/argument_schemas/arguments_ui.json diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/esbuild.js b/server/reports/expiring-items/2_3_0/convert_data_js/esbuild.js similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/esbuild.js rename to server/reports/expiring-items/2_3_0/convert_data_js/esbuild.js diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/input.json b/server/reports/expiring-items/2_3_0/convert_data_js/input.json similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/input.json rename to server/reports/expiring-items/2_3_0/convert_data_js/input.json diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/output.json b/server/reports/expiring-items/2_3_0/convert_data_js/output.json similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/output.json rename to server/reports/expiring-items/2_3_0/convert_data_js/output.json diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/package.json b/server/reports/expiring-items/2_3_0/convert_data_js/package.json similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/package.json rename to server/reports/expiring-items/2_3_0/convert_data_js/package.json diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/src/convert_data.d.ts b/server/reports/expiring-items/2_3_0/convert_data_js/src/convert_data.d.ts similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/src/convert_data.d.ts rename to server/reports/expiring-items/2_3_0/convert_data_js/src/convert_data.d.ts diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/src/convert_data.js b/server/reports/expiring-items/2_3_0/convert_data_js/src/convert_data.js similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/src/convert_data.js rename to server/reports/expiring-items/2_3_0/convert_data_js/src/convert_data.js diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/src/utils.js b/server/reports/expiring-items/2_3_0/convert_data_js/src/utils.js similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/src/utils.js rename to server/reports/expiring-items/2_3_0/convert_data_js/src/utils.js diff --git a/server/reports/expiring-items/2_4_2/convert_data_js/src/utils.test.ts b/server/reports/expiring-items/2_3_0/convert_data_js/src/utils.test.ts similarity index 100% rename from server/reports/expiring-items/2_4_2/convert_data_js/src/utils.test.ts rename to server/reports/expiring-items/2_3_0/convert_data_js/src/utils.test.ts diff --git a/server/reports/expiring-items/2_4_2/manifest.json b/server/reports/expiring-items/2_3_0/manifest.json similarity index 93% rename from server/reports/expiring-items/2_4_2/manifest.json rename to server/reports/expiring-items/2_3_0/manifest.json index 5df699cf7f..88324eb475 100644 --- a/server/reports/expiring-items/2_4_2/manifest.json +++ b/server/reports/expiring-items/2_3_0/manifest.json @@ -1,6 +1,6 @@ { "is_custom": false, - "version": "2.4.2", + "version": "2.3.0", "code": "expiring-items", "context": "REPORT", "sub_context": "Expiring", diff --git a/server/reports/expiring-items/2_4_2/src/query.graphql b/server/reports/expiring-items/2_3_0/src/query.graphql similarity index 100% rename from server/reports/expiring-items/2_4_2/src/query.graphql rename to server/reports/expiring-items/2_3_0/src/query.graphql diff --git a/server/reports/expiring-items/2_4_2/src/style.css b/server/reports/expiring-items/2_3_0/src/style.css similarity index 100% rename from server/reports/expiring-items/2_4_2/src/style.css rename to server/reports/expiring-items/2_3_0/src/style.css diff --git a/server/reports/expiring-items/2_4_2/src/template.html b/server/reports/expiring-items/2_3_0/src/template.html similarity index 100% rename from server/reports/expiring-items/2_4_2/src/template.html rename to server/reports/expiring-items/2_3_0/src/template.html diff --git a/server/reports/item-usage/2_4_2/argument_schemas/arguments.json b/server/reports/item-usage/2_3_0/argument_schemas/arguments.json similarity index 100% rename from server/reports/item-usage/2_4_2/argument_schemas/arguments.json rename to server/reports/item-usage/2_3_0/argument_schemas/arguments.json diff --git a/server/reports/item-usage/2_4_2/argument_schemas/arguments_ui.json b/server/reports/item-usage/2_3_0/argument_schemas/arguments_ui.json similarity index 100% rename from server/reports/item-usage/2_4_2/argument_schemas/arguments_ui.json rename to server/reports/item-usage/2_3_0/argument_schemas/arguments_ui.json diff --git a/server/reports/item-usage/2_4_2/convert_data_js/esbuild.js b/server/reports/item-usage/2_3_0/convert_data_js/esbuild.js similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/esbuild.js rename to server/reports/item-usage/2_3_0/convert_data_js/esbuild.js diff --git a/server/reports/item-usage/2_4_2/convert_data_js/input.json b/server/reports/item-usage/2_3_0/convert_data_js/input.json similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/input.json rename to server/reports/item-usage/2_3_0/convert_data_js/input.json diff --git a/server/reports/item-usage/2_4_2/convert_data_js/output.json b/server/reports/item-usage/2_3_0/convert_data_js/output.json similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/output.json rename to server/reports/item-usage/2_3_0/convert_data_js/output.json diff --git a/server/reports/item-usage/2_4_2/convert_data_js/package.json b/server/reports/item-usage/2_3_0/convert_data_js/package.json similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/package.json rename to server/reports/item-usage/2_3_0/convert_data_js/package.json diff --git a/server/reports/item-usage/2_4_2/convert_data_js/src/convert_data.d.ts b/server/reports/item-usage/2_3_0/convert_data_js/src/convert_data.d.ts similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/src/convert_data.d.ts rename to server/reports/item-usage/2_3_0/convert_data_js/src/convert_data.d.ts diff --git a/server/reports/item-usage/2_4_2/convert_data_js/src/convert_data.js b/server/reports/item-usage/2_3_0/convert_data_js/src/convert_data.js similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/src/convert_data.js rename to server/reports/item-usage/2_3_0/convert_data_js/src/convert_data.js diff --git a/server/reports/item-usage/2_4_2/convert_data_js/src/utils.js b/server/reports/item-usage/2_3_0/convert_data_js/src/utils.js similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/src/utils.js rename to server/reports/item-usage/2_3_0/convert_data_js/src/utils.js diff --git a/server/reports/item-usage/2_4_2/convert_data_js/src/utils.test.ts b/server/reports/item-usage/2_3_0/convert_data_js/src/utils.test.ts similarity index 100% rename from server/reports/item-usage/2_4_2/convert_data_js/src/utils.test.ts rename to server/reports/item-usage/2_3_0/convert_data_js/src/utils.test.ts diff --git a/server/reports/item-usage/2_4_2/manifest.json b/server/reports/item-usage/2_3_0/manifest.json similarity index 96% rename from server/reports/item-usage/2_4_2/manifest.json rename to server/reports/item-usage/2_3_0/manifest.json index 0eebaa6bbc..19df09eb37 100644 --- a/server/reports/item-usage/2_4_2/manifest.json +++ b/server/reports/item-usage/2_3_0/manifest.json @@ -1,6 +1,6 @@ { "is_custom": false, - "version": "2.4.2", + "version": "2.3.0", "code": "item-usage", "context": "REPORT", "sub_context": "StockAndItems", diff --git a/server/reports/item-usage/2_4_2/src/AMCTwelve.postgres.sql b/server/reports/item-usage/2_3_0/src/AMCTwelve.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/AMCTwelve.postgres.sql rename to server/reports/item-usage/2_3_0/src/AMCTwelve.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/AMCTwelve.sqlite.sql b/server/reports/item-usage/2_3_0/src/AMCTwelve.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/AMCTwelve.sqlite.sql rename to server/reports/item-usage/2_3_0/src/AMCTwelve.sqlite.sql diff --git a/server/reports/item-usage/2_4_2/src/AMCTwentyFour.postgres.sql b/server/reports/item-usage/2_3_0/src/AMCTwentyFour.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/AMCTwentyFour.postgres.sql rename to server/reports/item-usage/2_3_0/src/AMCTwentyFour.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/AMCTwentyFour.sqlite.sql b/server/reports/item-usage/2_3_0/src/AMCTwentyFour.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/AMCTwentyFour.sqlite.sql rename to server/reports/item-usage/2_3_0/src/AMCTwentyFour.sqlite.sql diff --git a/server/reports/item-usage/2_4_2/src/expiringInSixMonths.postgres.sql b/server/reports/item-usage/2_3_0/src/expiringInSixMonths.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/expiringInSixMonths.postgres.sql rename to server/reports/item-usage/2_3_0/src/expiringInSixMonths.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/expiringInSixMonths.sqlite.sql b/server/reports/item-usage/2_3_0/src/expiringInSixMonths.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/expiringInSixMonths.sqlite.sql rename to server/reports/item-usage/2_3_0/src/expiringInSixMonths.sqlite.sql diff --git a/server/reports/item-usage/2_4_2/src/expiringInTwelveMonths.postgres.sql b/server/reports/item-usage/2_3_0/src/expiringInTwelveMonths.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/expiringInTwelveMonths.postgres.sql rename to server/reports/item-usage/2_3_0/src/expiringInTwelveMonths.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/expiringInTwelveMonths.sqlite.sql b/server/reports/item-usage/2_3_0/src/expiringInTwelveMonths.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/expiringInTwelveMonths.sqlite.sql rename to server/reports/item-usage/2_3_0/src/expiringInTwelveMonths.sqlite.sql diff --git a/server/reports/item-usage/2_4_2/src/lastMonthConsumption.postgres.sql b/server/reports/item-usage/2_3_0/src/lastMonthConsumption.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/lastMonthConsumption.postgres.sql rename to server/reports/item-usage/2_3_0/src/lastMonthConsumption.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/lastMonthConsumption.sqlite.sql b/server/reports/item-usage/2_3_0/src/lastMonthConsumption.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/lastMonthConsumption.sqlite.sql rename to server/reports/item-usage/2_3_0/src/lastMonthConsumption.sqlite.sql diff --git a/server/reports/item-usage/2_4_2/src/query.graphql b/server/reports/item-usage/2_3_0/src/query.graphql similarity index 100% rename from server/reports/item-usage/2_4_2/src/query.graphql rename to server/reports/item-usage/2_3_0/src/query.graphql diff --git a/server/reports/item-usage/2_4_2/src/stockOnOrder.sql b/server/reports/item-usage/2_3_0/src/stockOnOrder.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/stockOnOrder.sql rename to server/reports/item-usage/2_3_0/src/stockOnOrder.sql diff --git a/server/reports/item-usage/2_4_2/src/style.css b/server/reports/item-usage/2_3_0/src/style.css similarity index 100% rename from server/reports/item-usage/2_4_2/src/style.css rename to server/reports/item-usage/2_3_0/src/style.css diff --git a/server/reports/item-usage/2_4_2/src/template.html b/server/reports/item-usage/2_3_0/src/template.html similarity index 100% rename from server/reports/item-usage/2_4_2/src/template.html rename to server/reports/item-usage/2_3_0/src/template.html diff --git a/server/reports/item-usage/2_4_2/src/thisMonthConsumption.postgres.sql b/server/reports/item-usage/2_3_0/src/thisMonthConsumption.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/thisMonthConsumption.postgres.sql rename to server/reports/item-usage/2_3_0/src/thisMonthConsumption.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/thisMonthConsumption.sqlite.sql b/server/reports/item-usage/2_3_0/src/thisMonthConsumption.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/thisMonthConsumption.sqlite.sql rename to server/reports/item-usage/2_3_0/src/thisMonthConsumption.sqlite.sql diff --git a/server/reports/item-usage/2_4_2/src/twoMonthsAgoConsumption.postgres.sql b/server/reports/item-usage/2_3_0/src/twoMonthsAgoConsumption.postgres.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/twoMonthsAgoConsumption.postgres.sql rename to server/reports/item-usage/2_3_0/src/twoMonthsAgoConsumption.postgres.sql diff --git a/server/reports/item-usage/2_4_2/src/twoMonthsAgoConsumption.sqlite.sql b/server/reports/item-usage/2_3_0/src/twoMonthsAgoConsumption.sqlite.sql similarity index 100% rename from server/reports/item-usage/2_4_2/src/twoMonthsAgoConsumption.sqlite.sql rename to server/reports/item-usage/2_3_0/src/twoMonthsAgoConsumption.sqlite.sql