From 6ff6c5af6510b321bf54b384d1263c50f1a122c0 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 19 Mar 2026 05:38:42 +0100 Subject: chore(treewide): Add missing license headers --- .cargo/config.toml | 1 + .envrc | 1 + .gitignore | 1 + .reuse/templates/default.jinja2 | 1 + Cargo.lock.license | 9 +++++++++ Cargo.toml | 1 + README.md | 1 + TODO.md | 12 ++++++++++++ cog.toml | 1 + crates/rocie-cli/Cargo.toml | 1 + crates/rocie-cli/src/cli.rs | 10 ++++++++++ crates/rocie-cli/src/handle/mod.rs | 10 ++++++++++ crates/rocie-cli/src/main.rs | 10 ++++++++++ crates/rocie-client/.gitignore | 10 ++++++++++ crates/rocie-client/.openapi-generator-ignore.license | 9 +++++++++ crates/rocie-client/.openapi-generator/FILES.license | 9 +++++++++ crates/rocie-client/.openapi-generator/VERSION.license | 9 +++++++++ crates/rocie-client/.travis.yml | 10 ++++++++++ crates/rocie-client/Cargo.toml | 10 ++++++++++ crates/rocie-client/README.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthInventoryApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthProductApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthProductParentApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthRecipeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthRecipeParentApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthRefinedRecipeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthUnitApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthUnitPropertyApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetAuthUserApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetInventoryApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetNoAuthStateApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetNoAuthUserApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetProductApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetProductParentApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetRecipeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetUnitApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiGetUnitPropertyApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthBarcodeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthProductApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthProductParentApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthRecipeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthRecipeParentApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthUnitApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthUnitPropertyApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetAuthUserApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetBarcodeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetNoAuthUserApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetProductApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetProductParentApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetRecipeApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetUnitApi.md | 12 ++++++++++++ crates/rocie-client/docs/ApiSetUnitPropertyApi.md | 12 ++++++++++++ crates/rocie-client/docs/BarCode.md | 12 ++++++++++++ crates/rocie-client/docs/Barcode.md | 12 ++++++++++++ crates/rocie-client/docs/BarcodeId.md | 12 ++++++++++++ crates/rocie-client/docs/Content.md | 12 ++++++++++++ crates/rocie-client/docs/ContentOneOf.md | 12 ++++++++++++ crates/rocie-client/docs/ContentOneOf1.md | 12 ++++++++++++ crates/rocie-client/docs/CooklangRecipe.md | 12 ++++++++++++ crates/rocie-client/docs/Cookware.md | 12 ++++++++++++ crates/rocie-client/docs/Ingredient.md | 12 ++++++++++++ crates/rocie-client/docs/IngredientOneOf.md | 12 ++++++++++++ crates/rocie-client/docs/IngredientOneOf1.md | 12 ++++++++++++ .../docs/IngredientOneOf1NotRegisteredProduct.md | 12 ++++++++++++ crates/rocie-client/docs/IngredientOneOf2.md | 12 ++++++++++++ crates/rocie-client/docs/IngredientOneOf2RecipeReference.md | 12 ++++++++++++ crates/rocie-client/docs/IngredientOneOfRegisteredProduct.md | 12 ++++++++++++ crates/rocie-client/docs/Item.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOf.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOf1.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOf1Ingredient.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOf2.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOf3.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOf4.md | 12 ++++++++++++ crates/rocie-client/docs/ItemOneOfText.md | 12 ++++++++++++ crates/rocie-client/docs/LoginInfo.md | 12 ++++++++++++ crates/rocie-client/docs/Metadata.md | 12 ++++++++++++ crates/rocie-client/docs/NameAndUrl.md | 12 ++++++++++++ crates/rocie-client/docs/PasswordHash.md | 12 ++++++++++++ crates/rocie-client/docs/Product.md | 12 ++++++++++++ crates/rocie-client/docs/ProductAmount.md | 12 ++++++++++++ crates/rocie-client/docs/ProductId.md | 12 ++++++++++++ crates/rocie-client/docs/ProductOneOf.md | 12 ++++++++++++ crates/rocie-client/docs/ProductOneOf1.md | 12 ++++++++++++ crates/rocie-client/docs/ProductParent.md | 12 ++++++++++++ crates/rocie-client/docs/ProductParentId.md | 12 ++++++++++++ crates/rocie-client/docs/ProductParentStub.md | 12 ++++++++++++ crates/rocie-client/docs/ProductStub.md | 12 ++++++++++++ crates/rocie-client/docs/ProvisionInfo.md | 12 ++++++++++++ crates/rocie-client/docs/Recipe.md | 12 ++++++++++++ crates/rocie-client/docs/RecipeId.md | 12 ++++++++++++ crates/rocie-client/docs/RecipeParent.md | 12 ++++++++++++ crates/rocie-client/docs/RecipeParentId.md | 12 ++++++++++++ crates/rocie-client/docs/RecipeParentStub.md | 12 ++++++++++++ crates/rocie-client/docs/RecipeStub.md | 12 ++++++++++++ crates/rocie-client/docs/RefinedRecipe.md | 12 ++++++++++++ crates/rocie-client/docs/Section.md | 12 ++++++++++++ crates/rocie-client/docs/Step.md | 12 ++++++++++++ crates/rocie-client/docs/Timer.md | 12 ++++++++++++ crates/rocie-client/docs/Unit.md | 12 ++++++++++++ crates/rocie-client/docs/UnitAmount.md | 12 ++++++++++++ crates/rocie-client/docs/UnitId.md | 12 ++++++++++++ crates/rocie-client/docs/UnitProperty.md | 12 ++++++++++++ crates/rocie-client/docs/UnitPropertyId.md | 12 ++++++++++++ crates/rocie-client/docs/UnitPropertyStub.md | 12 ++++++++++++ crates/rocie-client/docs/UnitStub.md | 12 ++++++++++++ crates/rocie-client/docs/User.md | 12 ++++++++++++ crates/rocie-client/docs/UserId.md | 12 ++++++++++++ crates/rocie-client/docs/UserStub.md | 12 ++++++++++++ crates/rocie-client/src/apis/api_get_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_auth_inventory_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_auth_product_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_get_auth_product_parent_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_auth_recipe_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_get_auth_recipe_parent_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_get_auth_refined_recipe_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_auth_unit_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_get_auth_unit_property_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_auth_user_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_inventory_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_no_auth_state_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_no_auth_user_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_product_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_product_parent_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_recipe_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_unit_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_get_unit_property_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_auth_barcode_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_auth_product_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_set_auth_product_parent_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_auth_recipe_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_set_auth_recipe_parent_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_auth_unit_api.rs | 10 ++++++++++ .../rocie-client/src/apis/api_set_auth_unit_property_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_auth_user_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_barcode_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_no_auth_user_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_product_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_product_parent_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_recipe_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_unit_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/api_set_unit_property_api.rs | 10 ++++++++++ crates/rocie-client/src/apis/configuration.rs | 10 ++++++++++ crates/rocie-client/src/apis/mod.rs | 10 ++++++++++ crates/rocie-client/src/implies.rs | 10 ++++++++++ crates/rocie-client/src/lib.rs | 10 ++++++++++ crates/rocie-client/src/models/bar_code.rs | 10 ++++++++++ crates/rocie-client/src/models/barcode.rs | 10 ++++++++++ crates/rocie-client/src/models/barcode_id.rs | 10 ++++++++++ crates/rocie-client/src/models/content.rs | 10 ++++++++++ crates/rocie-client/src/models/content_one_of.rs | 10 ++++++++++ crates/rocie-client/src/models/content_one_of_1.rs | 10 ++++++++++ crates/rocie-client/src/models/cooklang_recipe.rs | 10 ++++++++++ crates/rocie-client/src/models/cookware.rs | 10 ++++++++++ crates/rocie-client/src/models/ingredient.rs | 10 ++++++++++ crates/rocie-client/src/models/ingredient_one_of.rs | 10 ++++++++++ crates/rocie-client/src/models/ingredient_one_of_1.rs | 10 ++++++++++ .../src/models/ingredient_one_of_1_not_registered_product.rs | 10 ++++++++++ crates/rocie-client/src/models/ingredient_one_of_2.rs | 10 ++++++++++ .../src/models/ingredient_one_of_2_recipe_reference.rs | 10 ++++++++++ .../src/models/ingredient_one_of_registered_product.rs | 10 ++++++++++ crates/rocie-client/src/models/item.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of_1.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of_1_ingredient.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of_2.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of_3.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of_4.rs | 10 ++++++++++ crates/rocie-client/src/models/item_one_of_text.rs | 10 ++++++++++ crates/rocie-client/src/models/login_info.rs | 10 ++++++++++ crates/rocie-client/src/models/metadata.rs | 10 ++++++++++ crates/rocie-client/src/models/mod.rs | 10 ++++++++++ crates/rocie-client/src/models/name_and_url.rs | 10 ++++++++++ crates/rocie-client/src/models/password_hash.rs | 10 ++++++++++ crates/rocie-client/src/models/product.rs | 10 ++++++++++ crates/rocie-client/src/models/product_amount.rs | 10 ++++++++++ crates/rocie-client/src/models/product_id.rs | 10 ++++++++++ crates/rocie-client/src/models/product_one_of.rs | 10 ++++++++++ crates/rocie-client/src/models/product_one_of_1.rs | 10 ++++++++++ crates/rocie-client/src/models/product_parent.rs | 10 ++++++++++ crates/rocie-client/src/models/product_parent_id.rs | 10 ++++++++++ crates/rocie-client/src/models/product_parent_stub.rs | 10 ++++++++++ crates/rocie-client/src/models/product_stub.rs | 10 ++++++++++ crates/rocie-client/src/models/provision_info.rs | 10 ++++++++++ crates/rocie-client/src/models/recipe.rs | 10 ++++++++++ crates/rocie-client/src/models/recipe_id.rs | 10 ++++++++++ crates/rocie-client/src/models/recipe_parent.rs | 10 ++++++++++ crates/rocie-client/src/models/recipe_parent_id.rs | 10 ++++++++++ crates/rocie-client/src/models/recipe_parent_stub.rs | 10 ++++++++++ crates/rocie-client/src/models/recipe_stub.rs | 10 ++++++++++ crates/rocie-client/src/models/refined_recipe.rs | 10 ++++++++++ crates/rocie-client/src/models/section.rs | 10 ++++++++++ crates/rocie-client/src/models/step.rs | 10 ++++++++++ crates/rocie-client/src/models/timer.rs | 10 ++++++++++ crates/rocie-client/src/models/unit.rs | 10 ++++++++++ crates/rocie-client/src/models/unit_amount.rs | 10 ++++++++++ crates/rocie-client/src/models/unit_id.rs | 10 ++++++++++ crates/rocie-client/src/models/unit_property.rs | 10 ++++++++++ crates/rocie-client/src/models/unit_property_id.rs | 10 ++++++++++ crates/rocie-client/src/models/unit_property_stub.rs | 10 ++++++++++ crates/rocie-client/src/models/unit_stub.rs | 10 ++++++++++ crates/rocie-client/src/models/user.rs | 10 ++++++++++ crates/rocie-client/src/models/user_id.rs | 10 ++++++++++ crates/rocie-client/src/models/user_stub.rs | 10 ++++++++++ crates/rocie-server/Cargo.toml | 1 + crates/rocie-server/build.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/inventory.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/product.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/product_parent.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/recipe.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/recipe_parent.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/unit.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/unit_property.rs | 10 ++++++++++ crates/rocie-server/src/api/get/auth/user.rs | 10 ++++++++++ crates/rocie-server/src/api/get/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/get/no_auth/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/get/no_auth/state.rs | 10 ++++++++++ crates/rocie-server/src/api/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/barcode.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/product.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/product_parent.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/recipe.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/recipe_parent.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/unit.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/unit_property.rs | 10 ++++++++++ crates/rocie-server/src/api/set/auth/user.rs | 10 ++++++++++ crates/rocie-server/src/api/set/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/set/no_auth/mod.rs | 10 ++++++++++ crates/rocie-server/src/api/set/no_auth/user.rs | 10 ++++++++++ crates/rocie-server/src/app.rs | 10 ++++++++++ crates/rocie-server/src/cli.rs | 10 ++++++++++ crates/rocie-server/src/main.rs | 10 ++++++++++ crates/rocie-server/src/storage/migrate/defaults.rs | 10 ++++++++++ crates/rocie-server/src/storage/migrate/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/migrate/sql/0->1.sql | 10 ++++++++++ crates/rocie-server/src/storage/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/barcode.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/config.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/barcode/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/config/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/product/mod.rs | 10 ++++++++++ .../rocie-server/src/storage/sql/get/product_amount/mod.rs | 10 ++++++++++ .../rocie-server/src/storage/sql/get/product_parent/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/recipe/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/recipe_parent/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/unit/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/unit_property/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/get/user/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/barcode/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/config/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/product/mod.rs | 10 ++++++++++ .../src/storage/sql/insert/product_parent/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/recipe/mod.rs | 10 ++++++++++ .../rocie-server/src/storage/sql/insert/recipe_parent/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/unit/mod.rs | 10 ++++++++++ .../rocie-server/src/storage/sql/insert/unit_property/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/insert/user/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/mod.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/product.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/product_amount.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/product_parent.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/recipe.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/recipe_parent.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/unit.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/unit_property.rs | 10 ++++++++++ crates/rocie-server/src/storage/sql/user.rs | 10 ++++++++++ crates/rocie-server/src/storage/txn_log.rs | 5 +++-- crates/rocie-server/tests/_testenv/init.rs | 5 +++-- crates/rocie-server/tests/_testenv/log.rs | 10 ++++++++++ crates/rocie-server/tests/_testenv/mod.rs | 10 ++++++++++ crates/rocie-server/tests/defaults/mod.rs | 10 ++++++++++ crates/rocie-server/tests/product_parents/mod.rs | 10 ++++++++++ crates/rocie-server/tests/product_parents/query.rs | 10 ++++++++++ crates/rocie-server/tests/product_parents/register.rs | 10 ++++++++++ crates/rocie-server/tests/products/barcode.rs | 10 ++++++++++ crates/rocie-server/tests/products/mod.rs | 10 ++++++++++ crates/rocie-server/tests/products/query.rs | 10 ++++++++++ crates/rocie-server/tests/products/register.rs | 10 ++++++++++ crates/rocie-server/tests/recipe_parents/mod.rs | 10 ++++++++++ crates/rocie-server/tests/recipe_parents/query.rs | 10 ++++++++++ crates/rocie-server/tests/recipe_parents/register.rs | 10 ++++++++++ crates/rocie-server/tests/recipies/mod.rs | 10 ++++++++++ crates/rocie-server/tests/tests.rs | 10 ++++++++++ crates/rocie-server/tests/units/fetch.rs | 10 ++++++++++ crates/rocie-server/tests/units/mod.rs | 10 ++++++++++ crates/rocie-server/tests/units/register.rs | 10 ++++++++++ crates/rocie-server/tests/users/mod.rs | 10 ++++++++++ flake.lock.license | 1 + flake.nix | 1 + nix/package.nix | 1 + rustfmt.toml | 1 + scripts/api-config.yaml | 10 ++++++++++ scripts/generate_api_client.sh | 10 ++++++++++ scripts/mk_sqlite_schema.sh | 10 ++++++++++ scripts/mkdb.sh | 1 + scripts/sqlite-schema-diagram.sql | 10 ++++++++++ scripts/validate_api.sh | 10 ++++++++++ treefmt.nix | 1 + update.sh | 1 + 306 files changed, 3084 insertions(+), 4 deletions(-) create mode 100644 Cargo.lock.license create mode 100644 crates/rocie-client/.openapi-generator-ignore.license create mode 100644 crates/rocie-client/.openapi-generator/FILES.license create mode 100644 crates/rocie-client/.openapi-generator/VERSION.license diff --git a/.cargo/config.toml b/.cargo/config.toml index cdfede7..d0fba2c 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/.envrc b/.envrc index e103cca..f1f922c 100644 --- a/.envrc +++ b/.envrc @@ -4,6 +4,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/.gitignore b/.gitignore index 7fe97c8..5e6edbb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/.reuse/templates/default.jinja2 b/.reuse/templates/default.jinja2 index a9c5443..5cbf577 100644 --- a/.reuse/templates/default.jinja2 +++ b/.reuse/templates/default.jinja2 @@ -3,6 +3,7 @@ rocie - An enterprise grocery management system Copyright (C) 2024 Benedikt Peetz Copyright (C) 2025 Benedikt Peetz +Copyright (C) 2026 Benedikt Peetz SPDX-License-Identifier: GPL-3.0-or-later This file is part of Rocie. diff --git a/Cargo.lock.license b/Cargo.lock.license new file mode 100644 index 0000000..be8a2e1 --- /dev/null +++ b/Cargo.lock.license @@ -0,0 +1,9 @@ +rocie - An enterprise grocery management system + +Copyright (C) 2026 Benedikt Peetz +SPDX-License-Identifier: GPL-3.0-or-later + +This file is part of Rocie. + +You should have received a copy of the License along with this program. +If not, see . diff --git a/Cargo.toml b/Cargo.toml index 172b0f2..27eca75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/README.md b/README.md index 371f98a..446d11e 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ rocie - An enterprise grocery management system Copyright (C) 2024 Benedikt Peetz Copyright (C) 2025 Benedikt Peetz +Copyright (C) 2026 Benedikt Peetz SPDX-License-Identifier: GPL-3.0-or-later This file is part of Rocie. diff --git a/TODO.md b/TODO.md index 72f0a9f..3a23bc1 100644 --- a/TODO.md +++ b/TODO.md @@ -1 +1,13 @@ + + - Explicit version argument for each API function. diff --git a/cog.toml b/cog.toml index 963d405..3304b8f 100644 --- a/cog.toml +++ b/cog.toml @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/crates/rocie-cli/Cargo.toml b/crates/rocie-cli/Cargo.toml index 92f75a9..bc1a6e4 100644 --- a/crates/rocie-cli/Cargo.toml +++ b/crates/rocie-cli/Cargo.toml @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/crates/rocie-cli/src/cli.rs b/crates/rocie-cli/src/cli.rs index 376eda5..470a007 100644 --- a/crates/rocie-cli/src/cli.rs +++ b/crates/rocie-cli/src/cli.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use clap::{Parser, Subcommand}; use uuid::Uuid; diff --git a/crates/rocie-cli/src/handle/mod.rs b/crates/rocie-cli/src/handle/mod.rs index 4e30f77..27936d6 100644 --- a/crates/rocie-cli/src/handle/mod.rs +++ b/crates/rocie-cli/src/handle/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::cli::{BarcodeCommand, ProductCommand, UnitCommand, UnitPropertyCommand, UserCommand}; use anyhow::{Context, Result}; diff --git a/crates/rocie-cli/src/main.rs b/crates/rocie-cli/src/main.rs index 0b3ec09..cea863b 100644 --- a/crates/rocie-cli/src/main.rs +++ b/crates/rocie-cli/src/main.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use anyhow::Result; use clap::Parser; use rocie_client::apis::configuration::Configuration; diff --git a/crates/rocie-client/.gitignore b/crates/rocie-client/.gitignore index 6aa1064..bdbd1cf 100644 --- a/crates/rocie-client/.gitignore +++ b/crates/rocie-client/.gitignore @@ -1,3 +1,13 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + /target/ **/*.rs.bk Cargo.lock diff --git a/crates/rocie-client/.openapi-generator-ignore.license b/crates/rocie-client/.openapi-generator-ignore.license new file mode 100644 index 0000000..be8a2e1 --- /dev/null +++ b/crates/rocie-client/.openapi-generator-ignore.license @@ -0,0 +1,9 @@ +rocie - An enterprise grocery management system + +Copyright (C) 2026 Benedikt Peetz +SPDX-License-Identifier: GPL-3.0-or-later + +This file is part of Rocie. + +You should have received a copy of the License along with this program. +If not, see . diff --git a/crates/rocie-client/.openapi-generator/FILES.license b/crates/rocie-client/.openapi-generator/FILES.license new file mode 100644 index 0000000..be8a2e1 --- /dev/null +++ b/crates/rocie-client/.openapi-generator/FILES.license @@ -0,0 +1,9 @@ +rocie - An enterprise grocery management system + +Copyright (C) 2026 Benedikt Peetz +SPDX-License-Identifier: GPL-3.0-or-later + +This file is part of Rocie. + +You should have received a copy of the License along with this program. +If not, see . diff --git a/crates/rocie-client/.openapi-generator/VERSION.license b/crates/rocie-client/.openapi-generator/VERSION.license new file mode 100644 index 0000000..be8a2e1 --- /dev/null +++ b/crates/rocie-client/.openapi-generator/VERSION.license @@ -0,0 +1,9 @@ +rocie - An enterprise grocery management system + +Copyright (C) 2026 Benedikt Peetz +SPDX-License-Identifier: GPL-3.0-or-later + +This file is part of Rocie. + +You should have received a copy of the License along with this program. +If not, see . diff --git a/crates/rocie-client/.travis.yml b/crates/rocie-client/.travis.yml index 22761ba..9b378eb 100644 --- a/crates/rocie-client/.travis.yml +++ b/crates/rocie-client/.travis.yml @@ -1 +1,11 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + language: rust diff --git a/crates/rocie-client/Cargo.toml b/crates/rocie-client/Cargo.toml index 765369e..28d5c75 100644 --- a/crates/rocie-client/Cargo.toml +++ b/crates/rocie-client/Cargo.toml @@ -1,3 +1,13 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + [package] name = "rocie-client" version.workspace = true diff --git a/crates/rocie-client/README.md b/crates/rocie-client/README.md index 734c256..6437453 100644 --- a/crates/rocie-client/README.md +++ b/crates/rocie-client/README.md @@ -1,3 +1,15 @@ + + # Rust API client for rocie-client An enterprise grocery management system - server diff --git a/crates/rocie-client/docs/ApiGetApi.md b/crates/rocie-client/docs/ApiGetApi.md index 18e026b..b212ac3 100644 --- a/crates/rocie-client/docs/ApiGetApi.md +++ b/crates/rocie-client/docs/ApiGetApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetAuthInventoryApi.md b/crates/rocie-client/docs/ApiGetAuthInventoryApi.md index ece4d4b..d43db67 100644 --- a/crates/rocie-client/docs/ApiGetAuthInventoryApi.md +++ b/crates/rocie-client/docs/ApiGetAuthInventoryApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthInventoryApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthProductApi.md b/crates/rocie-client/docs/ApiGetAuthProductApi.md index cd3c140..cb7fb13 100644 --- a/crates/rocie-client/docs/ApiGetAuthProductApi.md +++ b/crates/rocie-client/docs/ApiGetAuthProductApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthProductApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthProductParentApi.md b/crates/rocie-client/docs/ApiGetAuthProductParentApi.md index fbdc3b1..a0e7203 100644 --- a/crates/rocie-client/docs/ApiGetAuthProductParentApi.md +++ b/crates/rocie-client/docs/ApiGetAuthProductParentApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthProductParentApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthRecipeApi.md b/crates/rocie-client/docs/ApiGetAuthRecipeApi.md index b3fd96c..fdd832e 100644 --- a/crates/rocie-client/docs/ApiGetAuthRecipeApi.md +++ b/crates/rocie-client/docs/ApiGetAuthRecipeApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthRecipeApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthRecipeParentApi.md b/crates/rocie-client/docs/ApiGetAuthRecipeParentApi.md index 0490daf..17c1aca 100644 --- a/crates/rocie-client/docs/ApiGetAuthRecipeParentApi.md +++ b/crates/rocie-client/docs/ApiGetAuthRecipeParentApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthRecipeParentApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthRefinedRecipeApi.md b/crates/rocie-client/docs/ApiGetAuthRefinedRecipeApi.md index 9f0bbf9..35bf5a5 100644 --- a/crates/rocie-client/docs/ApiGetAuthRefinedRecipeApi.md +++ b/crates/rocie-client/docs/ApiGetAuthRefinedRecipeApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthRefinedRecipeApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthUnitApi.md b/crates/rocie-client/docs/ApiGetAuthUnitApi.md index 3f2b02f..e1f1141 100644 --- a/crates/rocie-client/docs/ApiGetAuthUnitApi.md +++ b/crates/rocie-client/docs/ApiGetAuthUnitApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthUnitApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthUnitPropertyApi.md b/crates/rocie-client/docs/ApiGetAuthUnitPropertyApi.md index d88249a..422f4c9 100644 --- a/crates/rocie-client/docs/ApiGetAuthUnitPropertyApi.md +++ b/crates/rocie-client/docs/ApiGetAuthUnitPropertyApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthUnitPropertyApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetAuthUserApi.md b/crates/rocie-client/docs/ApiGetAuthUserApi.md index 653e82a..183db09 100644 --- a/crates/rocie-client/docs/ApiGetAuthUserApi.md +++ b/crates/rocie-client/docs/ApiGetAuthUserApi.md @@ -1,3 +1,15 @@ + + # \ApiGetAuthUserApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetInventoryApi.md b/crates/rocie-client/docs/ApiGetInventoryApi.md index 46758a7..1e9a332 100644 --- a/crates/rocie-client/docs/ApiGetInventoryApi.md +++ b/crates/rocie-client/docs/ApiGetInventoryApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetInventoryApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetNoAuthStateApi.md b/crates/rocie-client/docs/ApiGetNoAuthStateApi.md index c72e9e2..0d0cbb1 100644 --- a/crates/rocie-client/docs/ApiGetNoAuthStateApi.md +++ b/crates/rocie-client/docs/ApiGetNoAuthStateApi.md @@ -1,3 +1,15 @@ + + # \ApiGetNoAuthStateApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiGetNoAuthUserApi.md b/crates/rocie-client/docs/ApiGetNoAuthUserApi.md index d16d158..1a5d64b 100644 --- a/crates/rocie-client/docs/ApiGetNoAuthUserApi.md +++ b/crates/rocie-client/docs/ApiGetNoAuthUserApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetNoAuthUserApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetProductApi.md b/crates/rocie-client/docs/ApiGetProductApi.md index 3310f86..609e96a 100644 --- a/crates/rocie-client/docs/ApiGetProductApi.md +++ b/crates/rocie-client/docs/ApiGetProductApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetProductApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetProductParentApi.md b/crates/rocie-client/docs/ApiGetProductParentApi.md index 60aafd1..ca53a20 100644 --- a/crates/rocie-client/docs/ApiGetProductParentApi.md +++ b/crates/rocie-client/docs/ApiGetProductParentApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetProductParentApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetRecipeApi.md b/crates/rocie-client/docs/ApiGetRecipeApi.md index 677dff5..a048c34 100644 --- a/crates/rocie-client/docs/ApiGetRecipeApi.md +++ b/crates/rocie-client/docs/ApiGetRecipeApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetRecipeApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetUnitApi.md b/crates/rocie-client/docs/ApiGetUnitApi.md index b2e7311..18a85fe 100644 --- a/crates/rocie-client/docs/ApiGetUnitApi.md +++ b/crates/rocie-client/docs/ApiGetUnitApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetUnitApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiGetUnitPropertyApi.md b/crates/rocie-client/docs/ApiGetUnitPropertyApi.md index da8f68e..fd08679 100644 --- a/crates/rocie-client/docs/ApiGetUnitPropertyApi.md +++ b/crates/rocie-client/docs/ApiGetUnitPropertyApi.md @@ -1,3 +1,15 @@ + + # \\ApiGetUnitPropertyApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetApi.md b/crates/rocie-client/docs/ApiSetApi.md index 21f6c35..993c6d1 100644 --- a/crates/rocie-client/docs/ApiSetApi.md +++ b/crates/rocie-client/docs/ApiSetApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetAuthBarcodeApi.md b/crates/rocie-client/docs/ApiSetAuthBarcodeApi.md index 535643b..d79560b 100644 --- a/crates/rocie-client/docs/ApiSetAuthBarcodeApi.md +++ b/crates/rocie-client/docs/ApiSetAuthBarcodeApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthBarcodeApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthProductApi.md b/crates/rocie-client/docs/ApiSetAuthProductApi.md index eb52b59..c047ea4 100644 --- a/crates/rocie-client/docs/ApiSetAuthProductApi.md +++ b/crates/rocie-client/docs/ApiSetAuthProductApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthProductApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthProductParentApi.md b/crates/rocie-client/docs/ApiSetAuthProductParentApi.md index e48c269..e6369c2 100644 --- a/crates/rocie-client/docs/ApiSetAuthProductParentApi.md +++ b/crates/rocie-client/docs/ApiSetAuthProductParentApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthProductParentApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthRecipeApi.md b/crates/rocie-client/docs/ApiSetAuthRecipeApi.md index 0ec118b..22cf076 100644 --- a/crates/rocie-client/docs/ApiSetAuthRecipeApi.md +++ b/crates/rocie-client/docs/ApiSetAuthRecipeApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthRecipeApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthRecipeParentApi.md b/crates/rocie-client/docs/ApiSetAuthRecipeParentApi.md index 20190e5..6b2b18c 100644 --- a/crates/rocie-client/docs/ApiSetAuthRecipeParentApi.md +++ b/crates/rocie-client/docs/ApiSetAuthRecipeParentApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthRecipeParentApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthUnitApi.md b/crates/rocie-client/docs/ApiSetAuthUnitApi.md index d5927f8..ba14750 100644 --- a/crates/rocie-client/docs/ApiSetAuthUnitApi.md +++ b/crates/rocie-client/docs/ApiSetAuthUnitApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthUnitApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthUnitPropertyApi.md b/crates/rocie-client/docs/ApiSetAuthUnitPropertyApi.md index 855065c..05af1ef 100644 --- a/crates/rocie-client/docs/ApiSetAuthUnitPropertyApi.md +++ b/crates/rocie-client/docs/ApiSetAuthUnitPropertyApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthUnitPropertyApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetAuthUserApi.md b/crates/rocie-client/docs/ApiSetAuthUserApi.md index 7409a8a..cc3d5ac 100644 --- a/crates/rocie-client/docs/ApiSetAuthUserApi.md +++ b/crates/rocie-client/docs/ApiSetAuthUserApi.md @@ -1,3 +1,15 @@ + + # \ApiSetAuthUserApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetBarcodeApi.md b/crates/rocie-client/docs/ApiSetBarcodeApi.md index f3e8e3f..2db7c4b 100644 --- a/crates/rocie-client/docs/ApiSetBarcodeApi.md +++ b/crates/rocie-client/docs/ApiSetBarcodeApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetBarcodeApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetNoAuthUserApi.md b/crates/rocie-client/docs/ApiSetNoAuthUserApi.md index 9a877d0..ab4be8a 100644 --- a/crates/rocie-client/docs/ApiSetNoAuthUserApi.md +++ b/crates/rocie-client/docs/ApiSetNoAuthUserApi.md @@ -1,3 +1,15 @@ + + # \ApiSetNoAuthUserApi All URIs are relative to *http://localhost* diff --git a/crates/rocie-client/docs/ApiSetProductApi.md b/crates/rocie-client/docs/ApiSetProductApi.md index 7b4ee8a..680adea 100644 --- a/crates/rocie-client/docs/ApiSetProductApi.md +++ b/crates/rocie-client/docs/ApiSetProductApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetProductApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetProductParentApi.md b/crates/rocie-client/docs/ApiSetProductParentApi.md index 56caecb..021acba 100644 --- a/crates/rocie-client/docs/ApiSetProductParentApi.md +++ b/crates/rocie-client/docs/ApiSetProductParentApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetProductParentApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetRecipeApi.md b/crates/rocie-client/docs/ApiSetRecipeApi.md index 96f77fa..0aa2c2b 100644 --- a/crates/rocie-client/docs/ApiSetRecipeApi.md +++ b/crates/rocie-client/docs/ApiSetRecipeApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetRecipeApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetUnitApi.md b/crates/rocie-client/docs/ApiSetUnitApi.md index e657e3a..4c55f0f 100644 --- a/crates/rocie-client/docs/ApiSetUnitApi.md +++ b/crates/rocie-client/docs/ApiSetUnitApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetUnitApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/ApiSetUnitPropertyApi.md b/crates/rocie-client/docs/ApiSetUnitPropertyApi.md index af7cf41..4ec29e1 100644 --- a/crates/rocie-client/docs/ApiSetUnitPropertyApi.md +++ b/crates/rocie-client/docs/ApiSetUnitPropertyApi.md @@ -1,3 +1,15 @@ + + # \\ApiSetUnitPropertyApi All URIs are relative to _http://localhost_ diff --git a/crates/rocie-client/docs/BarCode.md b/crates/rocie-client/docs/BarCode.md index 7d3afd5..a1ff153 100644 --- a/crates/rocie-client/docs/BarCode.md +++ b/crates/rocie-client/docs/BarCode.md @@ -1,3 +1,15 @@ + + # BarCode ## Properties diff --git a/crates/rocie-client/docs/Barcode.md b/crates/rocie-client/docs/Barcode.md index 622b82d..28dc817 100644 --- a/crates/rocie-client/docs/Barcode.md +++ b/crates/rocie-client/docs/Barcode.md @@ -1,3 +1,15 @@ + + # Barcode ## Properties diff --git a/crates/rocie-client/docs/BarcodeId.md b/crates/rocie-client/docs/BarcodeId.md index 630e07f..5c6446b 100644 --- a/crates/rocie-client/docs/BarcodeId.md +++ b/crates/rocie-client/docs/BarcodeId.md @@ -1,3 +1,15 @@ + + # BarcodeId ## Properties diff --git a/crates/rocie-client/docs/Content.md b/crates/rocie-client/docs/Content.md index e69b125..d957e79 100644 --- a/crates/rocie-client/docs/Content.md +++ b/crates/rocie-client/docs/Content.md @@ -1,3 +1,15 @@ + + # Content ## Enum Variants diff --git a/crates/rocie-client/docs/ContentOneOf.md b/crates/rocie-client/docs/ContentOneOf.md index 212daf7..124454f 100644 --- a/crates/rocie-client/docs/ContentOneOf.md +++ b/crates/rocie-client/docs/ContentOneOf.md @@ -1,3 +1,15 @@ + + # ContentOneOf ## Properties diff --git a/crates/rocie-client/docs/ContentOneOf1.md b/crates/rocie-client/docs/ContentOneOf1.md index a351585..2ed35ae 100644 --- a/crates/rocie-client/docs/ContentOneOf1.md +++ b/crates/rocie-client/docs/ContentOneOf1.md @@ -1,3 +1,15 @@ + + # ContentOneOf1 ## Properties diff --git a/crates/rocie-client/docs/CooklangRecipe.md b/crates/rocie-client/docs/CooklangRecipe.md index 0bee54e..5ae6ba0 100644 --- a/crates/rocie-client/docs/CooklangRecipe.md +++ b/crates/rocie-client/docs/CooklangRecipe.md @@ -1,3 +1,15 @@ + + # CooklangRecipe ## Properties diff --git a/crates/rocie-client/docs/Cookware.md b/crates/rocie-client/docs/Cookware.md index 8861782..2160161 100644 --- a/crates/rocie-client/docs/Cookware.md +++ b/crates/rocie-client/docs/Cookware.md @@ -1,3 +1,15 @@ + + # Cookware ## Properties diff --git a/crates/rocie-client/docs/Ingredient.md b/crates/rocie-client/docs/Ingredient.md index 9dee5c9..030f2f3 100644 --- a/crates/rocie-client/docs/Ingredient.md +++ b/crates/rocie-client/docs/Ingredient.md @@ -1,3 +1,15 @@ + + # Ingredient ## Enum Variants diff --git a/crates/rocie-client/docs/IngredientOneOf.md b/crates/rocie-client/docs/IngredientOneOf.md index a4e4fb9..7d29a6b 100644 --- a/crates/rocie-client/docs/IngredientOneOf.md +++ b/crates/rocie-client/docs/IngredientOneOf.md @@ -1,3 +1,15 @@ + + # IngredientOneOf ## Properties diff --git a/crates/rocie-client/docs/IngredientOneOf1.md b/crates/rocie-client/docs/IngredientOneOf1.md index fd70578..87bf90a 100644 --- a/crates/rocie-client/docs/IngredientOneOf1.md +++ b/crates/rocie-client/docs/IngredientOneOf1.md @@ -1,3 +1,15 @@ + + # IngredientOneOf1 ## Properties diff --git a/crates/rocie-client/docs/IngredientOneOf1NotRegisteredProduct.md b/crates/rocie-client/docs/IngredientOneOf1NotRegisteredProduct.md index b23f98b..8ff362f 100644 --- a/crates/rocie-client/docs/IngredientOneOf1NotRegisteredProduct.md +++ b/crates/rocie-client/docs/IngredientOneOf1NotRegisteredProduct.md @@ -1,3 +1,15 @@ + + # IngredientOneOf1NotRegisteredProduct ## Properties diff --git a/crates/rocie-client/docs/IngredientOneOf2.md b/crates/rocie-client/docs/IngredientOneOf2.md index 33a7ffc..dc2fc08 100644 --- a/crates/rocie-client/docs/IngredientOneOf2.md +++ b/crates/rocie-client/docs/IngredientOneOf2.md @@ -1,3 +1,15 @@ + + # IngredientOneOf2 ## Properties diff --git a/crates/rocie-client/docs/IngredientOneOf2RecipeReference.md b/crates/rocie-client/docs/IngredientOneOf2RecipeReference.md index 469603f..dc841b0 100644 --- a/crates/rocie-client/docs/IngredientOneOf2RecipeReference.md +++ b/crates/rocie-client/docs/IngredientOneOf2RecipeReference.md @@ -1,3 +1,15 @@ + + # IngredientOneOf2RecipeReference ## Properties diff --git a/crates/rocie-client/docs/IngredientOneOfRegisteredProduct.md b/crates/rocie-client/docs/IngredientOneOfRegisteredProduct.md index a85bc6f..c1e3723 100644 --- a/crates/rocie-client/docs/IngredientOneOfRegisteredProduct.md +++ b/crates/rocie-client/docs/IngredientOneOfRegisteredProduct.md @@ -1,3 +1,15 @@ + + # IngredientOneOfRegisteredProduct ## Properties diff --git a/crates/rocie-client/docs/Item.md b/crates/rocie-client/docs/Item.md index 805f99d..3e40bd9 100644 --- a/crates/rocie-client/docs/Item.md +++ b/crates/rocie-client/docs/Item.md @@ -1,3 +1,15 @@ + + # Item ## Enum Variants diff --git a/crates/rocie-client/docs/ItemOneOf.md b/crates/rocie-client/docs/ItemOneOf.md index 4616a71..96eaec0 100644 --- a/crates/rocie-client/docs/ItemOneOf.md +++ b/crates/rocie-client/docs/ItemOneOf.md @@ -1,3 +1,15 @@ + + # ItemOneOf ## Properties diff --git a/crates/rocie-client/docs/ItemOneOf1.md b/crates/rocie-client/docs/ItemOneOf1.md index 70a5640..1d1e19a 100644 --- a/crates/rocie-client/docs/ItemOneOf1.md +++ b/crates/rocie-client/docs/ItemOneOf1.md @@ -1,3 +1,15 @@ + + # ItemOneOf1 ## Properties diff --git a/crates/rocie-client/docs/ItemOneOf1Ingredient.md b/crates/rocie-client/docs/ItemOneOf1Ingredient.md index db20b10..9495db8 100644 --- a/crates/rocie-client/docs/ItemOneOf1Ingredient.md +++ b/crates/rocie-client/docs/ItemOneOf1Ingredient.md @@ -1,3 +1,15 @@ + + # ItemOneOf1Ingredient ## Properties diff --git a/crates/rocie-client/docs/ItemOneOf2.md b/crates/rocie-client/docs/ItemOneOf2.md index aa7ee14..bd274dc 100644 --- a/crates/rocie-client/docs/ItemOneOf2.md +++ b/crates/rocie-client/docs/ItemOneOf2.md @@ -1,3 +1,15 @@ + + # ItemOneOf2 ## Properties diff --git a/crates/rocie-client/docs/ItemOneOf3.md b/crates/rocie-client/docs/ItemOneOf3.md index 669e1d5..f88f1d3 100644 --- a/crates/rocie-client/docs/ItemOneOf3.md +++ b/crates/rocie-client/docs/ItemOneOf3.md @@ -1,3 +1,15 @@ + + # ItemOneOf3 ## Properties diff --git a/crates/rocie-client/docs/ItemOneOf4.md b/crates/rocie-client/docs/ItemOneOf4.md index 4206c21..56d26b8 100644 --- a/crates/rocie-client/docs/ItemOneOf4.md +++ b/crates/rocie-client/docs/ItemOneOf4.md @@ -1,3 +1,15 @@ + + # ItemOneOf4 ## Properties diff --git a/crates/rocie-client/docs/ItemOneOfText.md b/crates/rocie-client/docs/ItemOneOfText.md index fa23caf..c30ef27 100644 --- a/crates/rocie-client/docs/ItemOneOfText.md +++ b/crates/rocie-client/docs/ItemOneOfText.md @@ -1,3 +1,15 @@ + + # ItemOneOfText ## Properties diff --git a/crates/rocie-client/docs/LoginInfo.md b/crates/rocie-client/docs/LoginInfo.md index f1a371f..3f35b30 100644 --- a/crates/rocie-client/docs/LoginInfo.md +++ b/crates/rocie-client/docs/LoginInfo.md @@ -1,3 +1,15 @@ + + # LoginInfo ## Properties diff --git a/crates/rocie-client/docs/Metadata.md b/crates/rocie-client/docs/Metadata.md index 4794f5c..40d8152 100644 --- a/crates/rocie-client/docs/Metadata.md +++ b/crates/rocie-client/docs/Metadata.md @@ -1,3 +1,15 @@ + + # Metadata ## Properties diff --git a/crates/rocie-client/docs/NameAndUrl.md b/crates/rocie-client/docs/NameAndUrl.md index 829b4db..1c67111 100644 --- a/crates/rocie-client/docs/NameAndUrl.md +++ b/crates/rocie-client/docs/NameAndUrl.md @@ -1,3 +1,15 @@ + + # NameAndUrl ## Properties diff --git a/crates/rocie-client/docs/PasswordHash.md b/crates/rocie-client/docs/PasswordHash.md index ac022d2..f2d763a 100644 --- a/crates/rocie-client/docs/PasswordHash.md +++ b/crates/rocie-client/docs/PasswordHash.md @@ -1,3 +1,15 @@ + + # PasswordHash ## Properties diff --git a/crates/rocie-client/docs/Product.md b/crates/rocie-client/docs/Product.md index b04a9f1..f31c33e 100644 --- a/crates/rocie-client/docs/Product.md +++ b/crates/rocie-client/docs/Product.md @@ -1,3 +1,15 @@ + + # Product ## Properties diff --git a/crates/rocie-client/docs/ProductAmount.md b/crates/rocie-client/docs/ProductAmount.md index ac5d9cc..de0897a 100644 --- a/crates/rocie-client/docs/ProductAmount.md +++ b/crates/rocie-client/docs/ProductAmount.md @@ -1,3 +1,15 @@ + + # ProductAmount ## Properties diff --git a/crates/rocie-client/docs/ProductId.md b/crates/rocie-client/docs/ProductId.md index 90dc866..26a0199 100644 --- a/crates/rocie-client/docs/ProductId.md +++ b/crates/rocie-client/docs/ProductId.md @@ -1,3 +1,15 @@ + + # ProductId ## Properties diff --git a/crates/rocie-client/docs/ProductOneOf.md b/crates/rocie-client/docs/ProductOneOf.md index cd45cc7..da125a0 100644 --- a/crates/rocie-client/docs/ProductOneOf.md +++ b/crates/rocie-client/docs/ProductOneOf.md @@ -1,3 +1,15 @@ + + # ProductOneOf ## Properties diff --git a/crates/rocie-client/docs/ProductOneOf1.md b/crates/rocie-client/docs/ProductOneOf1.md index 10b5205..d4d8232 100644 --- a/crates/rocie-client/docs/ProductOneOf1.md +++ b/crates/rocie-client/docs/ProductOneOf1.md @@ -1,3 +1,15 @@ + + # ProductOneOf1 ## Properties diff --git a/crates/rocie-client/docs/ProductParent.md b/crates/rocie-client/docs/ProductParent.md index a63384b..dc3ce04 100644 --- a/crates/rocie-client/docs/ProductParent.md +++ b/crates/rocie-client/docs/ProductParent.md @@ -1,3 +1,15 @@ + + # ProductParent ## Properties diff --git a/crates/rocie-client/docs/ProductParentId.md b/crates/rocie-client/docs/ProductParentId.md index c9163f4..8f4d7b1 100644 --- a/crates/rocie-client/docs/ProductParentId.md +++ b/crates/rocie-client/docs/ProductParentId.md @@ -1,3 +1,15 @@ + + # ProductParentId ## Properties diff --git a/crates/rocie-client/docs/ProductParentStub.md b/crates/rocie-client/docs/ProductParentStub.md index c15118e..1017540 100644 --- a/crates/rocie-client/docs/ProductParentStub.md +++ b/crates/rocie-client/docs/ProductParentStub.md @@ -1,3 +1,15 @@ + + # ProductParentStub ## Properties diff --git a/crates/rocie-client/docs/ProductStub.md b/crates/rocie-client/docs/ProductStub.md index 10d783b..c04838b 100644 --- a/crates/rocie-client/docs/ProductStub.md +++ b/crates/rocie-client/docs/ProductStub.md @@ -1,3 +1,15 @@ + + # ProductStub ## Properties diff --git a/crates/rocie-client/docs/ProvisionInfo.md b/crates/rocie-client/docs/ProvisionInfo.md index 7c2805e..8a03687 100644 --- a/crates/rocie-client/docs/ProvisionInfo.md +++ b/crates/rocie-client/docs/ProvisionInfo.md @@ -1,3 +1,15 @@ + + # ProvisionInfo ## Properties diff --git a/crates/rocie-client/docs/Recipe.md b/crates/rocie-client/docs/Recipe.md index 1c088a6..8024856 100644 --- a/crates/rocie-client/docs/Recipe.md +++ b/crates/rocie-client/docs/Recipe.md @@ -1,3 +1,15 @@ + + # Recipe ## Properties diff --git a/crates/rocie-client/docs/RecipeId.md b/crates/rocie-client/docs/RecipeId.md index 5211596..151fe5d 100644 --- a/crates/rocie-client/docs/RecipeId.md +++ b/crates/rocie-client/docs/RecipeId.md @@ -1,3 +1,15 @@ + + # RecipeId ## Properties diff --git a/crates/rocie-client/docs/RecipeParent.md b/crates/rocie-client/docs/RecipeParent.md index 3c0c462..f713201 100644 --- a/crates/rocie-client/docs/RecipeParent.md +++ b/crates/rocie-client/docs/RecipeParent.md @@ -1,3 +1,15 @@ + + # RecipeParent ## Properties diff --git a/crates/rocie-client/docs/RecipeParentId.md b/crates/rocie-client/docs/RecipeParentId.md index 96737d2..cfa5755 100644 --- a/crates/rocie-client/docs/RecipeParentId.md +++ b/crates/rocie-client/docs/RecipeParentId.md @@ -1,3 +1,15 @@ + + # RecipeParentId ## Properties diff --git a/crates/rocie-client/docs/RecipeParentStub.md b/crates/rocie-client/docs/RecipeParentStub.md index 92d8b6d..1d8b253 100644 --- a/crates/rocie-client/docs/RecipeParentStub.md +++ b/crates/rocie-client/docs/RecipeParentStub.md @@ -1,3 +1,15 @@ + + # RecipeParentStub ## Properties diff --git a/crates/rocie-client/docs/RecipeStub.md b/crates/rocie-client/docs/RecipeStub.md index d1c8a53..fd96237 100644 --- a/crates/rocie-client/docs/RecipeStub.md +++ b/crates/rocie-client/docs/RecipeStub.md @@ -1,3 +1,15 @@ + + # RecipeStub ## Properties diff --git a/crates/rocie-client/docs/RefinedRecipe.md b/crates/rocie-client/docs/RefinedRecipe.md index bc3dcd0..43da81f 100644 --- a/crates/rocie-client/docs/RefinedRecipe.md +++ b/crates/rocie-client/docs/RefinedRecipe.md @@ -1,3 +1,15 @@ + + # RefinedRecipe ## Properties diff --git a/crates/rocie-client/docs/Section.md b/crates/rocie-client/docs/Section.md index 2a6de45..5526aa5 100644 --- a/crates/rocie-client/docs/Section.md +++ b/crates/rocie-client/docs/Section.md @@ -1,3 +1,15 @@ + + # Section ## Properties diff --git a/crates/rocie-client/docs/Step.md b/crates/rocie-client/docs/Step.md index 162c52f..a4150b8 100644 --- a/crates/rocie-client/docs/Step.md +++ b/crates/rocie-client/docs/Step.md @@ -1,3 +1,15 @@ + + # Step ## Properties diff --git a/crates/rocie-client/docs/Timer.md b/crates/rocie-client/docs/Timer.md index 5dcb8a5..ffabee8 100644 --- a/crates/rocie-client/docs/Timer.md +++ b/crates/rocie-client/docs/Timer.md @@ -1,3 +1,15 @@ + + # Timer ## Properties diff --git a/crates/rocie-client/docs/Unit.md b/crates/rocie-client/docs/Unit.md index 5349b7a..0e99e49 100644 --- a/crates/rocie-client/docs/Unit.md +++ b/crates/rocie-client/docs/Unit.md @@ -1,3 +1,15 @@ + + # Unit ## Properties diff --git a/crates/rocie-client/docs/UnitAmount.md b/crates/rocie-client/docs/UnitAmount.md index 1546f57..bb263ba 100644 --- a/crates/rocie-client/docs/UnitAmount.md +++ b/crates/rocie-client/docs/UnitAmount.md @@ -1,3 +1,15 @@ + + # UnitAmount ## Properties diff --git a/crates/rocie-client/docs/UnitId.md b/crates/rocie-client/docs/UnitId.md index 7d0979c..7663daa 100644 --- a/crates/rocie-client/docs/UnitId.md +++ b/crates/rocie-client/docs/UnitId.md @@ -1,3 +1,15 @@ + + # UnitId ## Properties diff --git a/crates/rocie-client/docs/UnitProperty.md b/crates/rocie-client/docs/UnitProperty.md index b560f0c..e8ce7bb 100644 --- a/crates/rocie-client/docs/UnitProperty.md +++ b/crates/rocie-client/docs/UnitProperty.md @@ -1,3 +1,15 @@ + + # UnitProperty ## Properties diff --git a/crates/rocie-client/docs/UnitPropertyId.md b/crates/rocie-client/docs/UnitPropertyId.md index 34d572f..bd38c67 100644 --- a/crates/rocie-client/docs/UnitPropertyId.md +++ b/crates/rocie-client/docs/UnitPropertyId.md @@ -1,3 +1,15 @@ + + # UnitPropertyId ## Properties diff --git a/crates/rocie-client/docs/UnitPropertyStub.md b/crates/rocie-client/docs/UnitPropertyStub.md index 0fae3f7..7c50864 100644 --- a/crates/rocie-client/docs/UnitPropertyStub.md +++ b/crates/rocie-client/docs/UnitPropertyStub.md @@ -1,3 +1,15 @@ + + # UnitPropertyStub ## Properties diff --git a/crates/rocie-client/docs/UnitStub.md b/crates/rocie-client/docs/UnitStub.md index 92398c5..d272828 100644 --- a/crates/rocie-client/docs/UnitStub.md +++ b/crates/rocie-client/docs/UnitStub.md @@ -1,3 +1,15 @@ + + # UnitStub ## Properties diff --git a/crates/rocie-client/docs/User.md b/crates/rocie-client/docs/User.md index d0f2a81..0b6b4b8 100644 --- a/crates/rocie-client/docs/User.md +++ b/crates/rocie-client/docs/User.md @@ -1,3 +1,15 @@ + + # User ## Properties diff --git a/crates/rocie-client/docs/UserId.md b/crates/rocie-client/docs/UserId.md index f183106..3144e57 100644 --- a/crates/rocie-client/docs/UserId.md +++ b/crates/rocie-client/docs/UserId.md @@ -1,3 +1,15 @@ + + # UserId ## Properties diff --git a/crates/rocie-client/docs/UserStub.md b/crates/rocie-client/docs/UserStub.md index 60bd072..2d1e6c9 100644 --- a/crates/rocie-client/docs/UserStub.md +++ b/crates/rocie-client/docs/UserStub.md @@ -1,3 +1,15 @@ + + # UserStub ## Properties diff --git a/crates/rocie-client/src/apis/api_get_api.rs b/crates/rocie-client/src/apis/api_get_api.rs index a13b3b1..ce238c8 100644 --- a/crates/rocie-client/src/apis/api_get_api.rs +++ b/crates/rocie-client/src/apis/api_get_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_inventory_api.rs b/crates/rocie-client/src/apis/api_get_auth_inventory_api.rs index ff7125f..1fd4481 100644 --- a/crates/rocie-client/src/apis/api_get_auth_inventory_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_inventory_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_product_api.rs b/crates/rocie-client/src/apis/api_get_auth_product_api.rs index 969d4e2..5e9b282 100644 --- a/crates/rocie-client/src/apis/api_get_auth_product_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_product_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_product_parent_api.rs b/crates/rocie-client/src/apis/api_get_auth_product_parent_api.rs index 05f277f..f244dd1 100644 --- a/crates/rocie-client/src/apis/api_get_auth_product_parent_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_product_parent_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_recipe_api.rs b/crates/rocie-client/src/apis/api_get_auth_recipe_api.rs index 10bf3e1..e93ab4e 100644 --- a/crates/rocie-client/src/apis/api_get_auth_recipe_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_recipe_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_recipe_parent_api.rs b/crates/rocie-client/src/apis/api_get_auth_recipe_parent_api.rs index 1aef8f8..9faf35e 100644 --- a/crates/rocie-client/src/apis/api_get_auth_recipe_parent_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_recipe_parent_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_refined_recipe_api.rs b/crates/rocie-client/src/apis/api_get_auth_refined_recipe_api.rs index 63a0d5d..9e73d20 100644 --- a/crates/rocie-client/src/apis/api_get_auth_refined_recipe_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_refined_recipe_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_unit_api.rs b/crates/rocie-client/src/apis/api_get_auth_unit_api.rs index caf3ab4..ded03f4 100644 --- a/crates/rocie-client/src/apis/api_get_auth_unit_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_unit_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_unit_property_api.rs b/crates/rocie-client/src/apis/api_get_auth_unit_property_api.rs index 7e1b1a9..76d5e4f 100644 --- a/crates/rocie-client/src/apis/api_get_auth_unit_property_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_unit_property_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_auth_user_api.rs b/crates/rocie-client/src/apis/api_get_auth_user_api.rs index 5d98f15..97091aa 100644 --- a/crates/rocie-client/src/apis/api_get_auth_user_api.rs +++ b/crates/rocie-client/src/apis/api_get_auth_user_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_inventory_api.rs b/crates/rocie-client/src/apis/api_get_inventory_api.rs index cdc8d95..205e9b5 100644 --- a/crates/rocie-client/src/apis/api_get_inventory_api.rs +++ b/crates/rocie-client/src/apis/api_get_inventory_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_no_auth_state_api.rs b/crates/rocie-client/src/apis/api_get_no_auth_state_api.rs index c4ec2cd..72dadc5 100644 --- a/crates/rocie-client/src/apis/api_get_no_auth_state_api.rs +++ b/crates/rocie-client/src/apis/api_get_no_auth_state_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_no_auth_user_api.rs b/crates/rocie-client/src/apis/api_get_no_auth_user_api.rs index 68b92c8..0f3cd5d 100644 --- a/crates/rocie-client/src/apis/api_get_no_auth_user_api.rs +++ b/crates/rocie-client/src/apis/api_get_no_auth_user_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_product_api.rs b/crates/rocie-client/src/apis/api_get_product_api.rs index 6cc555f..bdc6a9f 100644 --- a/crates/rocie-client/src/apis/api_get_product_api.rs +++ b/crates/rocie-client/src/apis/api_get_product_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_product_parent_api.rs b/crates/rocie-client/src/apis/api_get_product_parent_api.rs index 09db44c..27b9c6c 100644 --- a/crates/rocie-client/src/apis/api_get_product_parent_api.rs +++ b/crates/rocie-client/src/apis/api_get_product_parent_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_recipe_api.rs b/crates/rocie-client/src/apis/api_get_recipe_api.rs index 321e3a1..73045b8 100644 --- a/crates/rocie-client/src/apis/api_get_recipe_api.rs +++ b/crates/rocie-client/src/apis/api_get_recipe_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_unit_api.rs b/crates/rocie-client/src/apis/api_get_unit_api.rs index 3e27264..deaba03 100644 --- a/crates/rocie-client/src/apis/api_get_unit_api.rs +++ b/crates/rocie-client/src/apis/api_get_unit_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_get_unit_property_api.rs b/crates/rocie-client/src/apis/api_get_unit_property_api.rs index f61258b..21a2769 100644 --- a/crates/rocie-client/src/apis/api_get_unit_property_api.rs +++ b/crates/rocie-client/src/apis/api_get_unit_property_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_api.rs b/crates/rocie-client/src/apis/api_set_api.rs index 5a029b8..31a09ef 100644 --- a/crates/rocie-client/src/apis/api_set_api.rs +++ b/crates/rocie-client/src/apis/api_set_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_barcode_api.rs b/crates/rocie-client/src/apis/api_set_auth_barcode_api.rs index 066d8e1..63c4a11 100644 --- a/crates/rocie-client/src/apis/api_set_auth_barcode_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_barcode_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_product_api.rs b/crates/rocie-client/src/apis/api_set_auth_product_api.rs index 3b4ed2f..ace3ffa 100644 --- a/crates/rocie-client/src/apis/api_set_auth_product_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_product_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_product_parent_api.rs b/crates/rocie-client/src/apis/api_set_auth_product_parent_api.rs index 990554c..9524b4d 100644 --- a/crates/rocie-client/src/apis/api_set_auth_product_parent_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_product_parent_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_recipe_api.rs b/crates/rocie-client/src/apis/api_set_auth_recipe_api.rs index 8b847f0..da57874 100644 --- a/crates/rocie-client/src/apis/api_set_auth_recipe_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_recipe_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_recipe_parent_api.rs b/crates/rocie-client/src/apis/api_set_auth_recipe_parent_api.rs index 27aef14..790a57f 100644 --- a/crates/rocie-client/src/apis/api_set_auth_recipe_parent_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_recipe_parent_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_unit_api.rs b/crates/rocie-client/src/apis/api_set_auth_unit_api.rs index aa95127..5207327 100644 --- a/crates/rocie-client/src/apis/api_set_auth_unit_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_unit_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_unit_property_api.rs b/crates/rocie-client/src/apis/api_set_auth_unit_property_api.rs index eb78fac..b5e815e 100644 --- a/crates/rocie-client/src/apis/api_set_auth_unit_property_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_unit_property_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_auth_user_api.rs b/crates/rocie-client/src/apis/api_set_auth_user_api.rs index 516ea1e..6cad709 100644 --- a/crates/rocie-client/src/apis/api_set_auth_user_api.rs +++ b/crates/rocie-client/src/apis/api_set_auth_user_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_barcode_api.rs b/crates/rocie-client/src/apis/api_set_barcode_api.rs index d6e0b0a..54f6aab 100644 --- a/crates/rocie-client/src/apis/api_set_barcode_api.rs +++ b/crates/rocie-client/src/apis/api_set_barcode_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_no_auth_user_api.rs b/crates/rocie-client/src/apis/api_set_no_auth_user_api.rs index d1ff45a..492a2eb 100644 --- a/crates/rocie-client/src/apis/api_set_no_auth_user_api.rs +++ b/crates/rocie-client/src/apis/api_set_no_auth_user_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_product_api.rs b/crates/rocie-client/src/apis/api_set_product_api.rs index 0230a0f..61539ea 100644 --- a/crates/rocie-client/src/apis/api_set_product_api.rs +++ b/crates/rocie-client/src/apis/api_set_product_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_product_parent_api.rs b/crates/rocie-client/src/apis/api_set_product_parent_api.rs index 6b67802..2c8642e 100644 --- a/crates/rocie-client/src/apis/api_set_product_parent_api.rs +++ b/crates/rocie-client/src/apis/api_set_product_parent_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_recipe_api.rs b/crates/rocie-client/src/apis/api_set_recipe_api.rs index 299cad0..aa44aef 100644 --- a/crates/rocie-client/src/apis/api_set_recipe_api.rs +++ b/crates/rocie-client/src/apis/api_set_recipe_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_unit_api.rs b/crates/rocie-client/src/apis/api_set_unit_api.rs index 93868f5..bfe0f81 100644 --- a/crates/rocie-client/src/apis/api_set_unit_api.rs +++ b/crates/rocie-client/src/apis/api_set_unit_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/api_set_unit_property_api.rs b/crates/rocie-client/src/apis/api_set_unit_property_api.rs index 883ab06..43e1fef 100644 --- a/crates/rocie-client/src/apis/api_set_unit_property_api.rs +++ b/crates/rocie-client/src/apis/api_set_unit_property_api.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/configuration.rs b/crates/rocie-client/src/apis/configuration.rs index 118712f..6605825 100644 --- a/crates/rocie-client/src/apis/configuration.rs +++ b/crates/rocie-client/src/apis/configuration.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/apis/mod.rs b/crates/rocie-client/src/apis/mod.rs index c8e4015..5d2ccaf 100644 --- a/crates/rocie-client/src/apis/mod.rs +++ b/crates/rocie-client/src/apis/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::error; use std::fmt; diff --git a/crates/rocie-client/src/implies.rs b/crates/rocie-client/src/implies.rs index 4cbe6b3..cad6179 100644 --- a/crates/rocie-client/src/implies.rs +++ b/crates/rocie-client/src/implies.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::fmt::Display; use crate::models::{ diff --git a/crates/rocie-client/src/lib.rs b/crates/rocie-client/src/lib.rs index 5d2d948..0cb7d54 100644 --- a/crates/rocie-client/src/lib.rs +++ b/crates/rocie-client/src/lib.rs @@ -1,6 +1,16 @@ #![allow(unused_imports)] #![allow(clippy::too_many_arguments)] +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + extern crate reqwest; extern crate serde; extern crate serde_json; diff --git a/crates/rocie-client/src/models/bar_code.rs b/crates/rocie-client/src/models/bar_code.rs index efe4683..b5c5ea4 100644 --- a/crates/rocie-client/src/models/bar_code.rs +++ b/crates/rocie-client/src/models/bar_code.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/barcode.rs b/crates/rocie-client/src/models/barcode.rs index f44caa9..17afbaf 100644 --- a/crates/rocie-client/src/models/barcode.rs +++ b/crates/rocie-client/src/models/barcode.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/barcode_id.rs b/crates/rocie-client/src/models/barcode_id.rs index a081913..c3ebd4b 100644 --- a/crates/rocie-client/src/models/barcode_id.rs +++ b/crates/rocie-client/src/models/barcode_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/content.rs b/crates/rocie-client/src/models/content.rs index 357f675..4b9572f 100644 --- a/crates/rocie-client/src/models/content.rs +++ b/crates/rocie-client/src/models/content.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/content_one_of.rs b/crates/rocie-client/src/models/content_one_of.rs index 02d5beb..fe28b38 100644 --- a/crates/rocie-client/src/models/content_one_of.rs +++ b/crates/rocie-client/src/models/content_one_of.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/content_one_of_1.rs b/crates/rocie-client/src/models/content_one_of_1.rs index 760a08f..07bf3a1 100644 --- a/crates/rocie-client/src/models/content_one_of_1.rs +++ b/crates/rocie-client/src/models/content_one_of_1.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/cooklang_recipe.rs b/crates/rocie-client/src/models/cooklang_recipe.rs index 3d4bb35..f517566 100644 --- a/crates/rocie-client/src/models/cooklang_recipe.rs +++ b/crates/rocie-client/src/models/cooklang_recipe.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/cookware.rs b/crates/rocie-client/src/models/cookware.rs index c2dc745..4eb7856 100644 --- a/crates/rocie-client/src/models/cookware.rs +++ b/crates/rocie-client/src/models/cookware.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient.rs b/crates/rocie-client/src/models/ingredient.rs index 46bdef1..8727335 100644 --- a/crates/rocie-client/src/models/ingredient.rs +++ b/crates/rocie-client/src/models/ingredient.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient_one_of.rs b/crates/rocie-client/src/models/ingredient_one_of.rs index 5681115..7b649fa 100644 --- a/crates/rocie-client/src/models/ingredient_one_of.rs +++ b/crates/rocie-client/src/models/ingredient_one_of.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient_one_of_1.rs b/crates/rocie-client/src/models/ingredient_one_of_1.rs index e35fa89..cf84019 100644 --- a/crates/rocie-client/src/models/ingredient_one_of_1.rs +++ b/crates/rocie-client/src/models/ingredient_one_of_1.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient_one_of_1_not_registered_product.rs b/crates/rocie-client/src/models/ingredient_one_of_1_not_registered_product.rs index bd7938f..65032c4 100644 --- a/crates/rocie-client/src/models/ingredient_one_of_1_not_registered_product.rs +++ b/crates/rocie-client/src/models/ingredient_one_of_1_not_registered_product.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient_one_of_2.rs b/crates/rocie-client/src/models/ingredient_one_of_2.rs index 646a803..f83d3b5 100644 --- a/crates/rocie-client/src/models/ingredient_one_of_2.rs +++ b/crates/rocie-client/src/models/ingredient_one_of_2.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient_one_of_2_recipe_reference.rs b/crates/rocie-client/src/models/ingredient_one_of_2_recipe_reference.rs index 5081008..9771484 100644 --- a/crates/rocie-client/src/models/ingredient_one_of_2_recipe_reference.rs +++ b/crates/rocie-client/src/models/ingredient_one_of_2_recipe_reference.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/ingredient_one_of_registered_product.rs b/crates/rocie-client/src/models/ingredient_one_of_registered_product.rs index 495911a..ea1a6b9 100644 --- a/crates/rocie-client/src/models/ingredient_one_of_registered_product.rs +++ b/crates/rocie-client/src/models/ingredient_one_of_registered_product.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item.rs b/crates/rocie-client/src/models/item.rs index ef6891f..87fe3f2 100644 --- a/crates/rocie-client/src/models/item.rs +++ b/crates/rocie-client/src/models/item.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of.rs b/crates/rocie-client/src/models/item_one_of.rs index 684d9b7..98bb8a8 100644 --- a/crates/rocie-client/src/models/item_one_of.rs +++ b/crates/rocie-client/src/models/item_one_of.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of_1.rs b/crates/rocie-client/src/models/item_one_of_1.rs index 618c56d..5e0fe37 100644 --- a/crates/rocie-client/src/models/item_one_of_1.rs +++ b/crates/rocie-client/src/models/item_one_of_1.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of_1_ingredient.rs b/crates/rocie-client/src/models/item_one_of_1_ingredient.rs index 59b21d3..f31df49 100644 --- a/crates/rocie-client/src/models/item_one_of_1_ingredient.rs +++ b/crates/rocie-client/src/models/item_one_of_1_ingredient.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of_2.rs b/crates/rocie-client/src/models/item_one_of_2.rs index 11732d2..cfe7918 100644 --- a/crates/rocie-client/src/models/item_one_of_2.rs +++ b/crates/rocie-client/src/models/item_one_of_2.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of_3.rs b/crates/rocie-client/src/models/item_one_of_3.rs index 2b29f6a..0baa898 100644 --- a/crates/rocie-client/src/models/item_one_of_3.rs +++ b/crates/rocie-client/src/models/item_one_of_3.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of_4.rs b/crates/rocie-client/src/models/item_one_of_4.rs index a3c29aa..69ab303 100644 --- a/crates/rocie-client/src/models/item_one_of_4.rs +++ b/crates/rocie-client/src/models/item_one_of_4.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/item_one_of_text.rs b/crates/rocie-client/src/models/item_one_of_text.rs index b47f792..9116ac2 100644 --- a/crates/rocie-client/src/models/item_one_of_text.rs +++ b/crates/rocie-client/src/models/item_one_of_text.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/login_info.rs b/crates/rocie-client/src/models/login_info.rs index e99311b..918c1d7 100644 --- a/crates/rocie-client/src/models/login_info.rs +++ b/crates/rocie-client/src/models/login_info.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/metadata.rs b/crates/rocie-client/src/models/metadata.rs index c62007d..751cb7d 100644 --- a/crates/rocie-client/src/models/metadata.rs +++ b/crates/rocie-client/src/models/metadata.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/mod.rs b/crates/rocie-client/src/models/mod.rs index 2b426a1..bbb8cac 100644 --- a/crates/rocie-client/src/models/mod.rs +++ b/crates/rocie-client/src/models/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub mod barcode; pub use self::barcode::Barcode; pub mod barcode_id; diff --git a/crates/rocie-client/src/models/name_and_url.rs b/crates/rocie-client/src/models/name_and_url.rs index 42ffd79..0628d21 100644 --- a/crates/rocie-client/src/models/name_and_url.rs +++ b/crates/rocie-client/src/models/name_and_url.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/password_hash.rs b/crates/rocie-client/src/models/password_hash.rs index 31413bf..46af183 100644 --- a/crates/rocie-client/src/models/password_hash.rs +++ b/crates/rocie-client/src/models/password_hash.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product.rs b/crates/rocie-client/src/models/product.rs index e5e7da1..3b17625 100644 --- a/crates/rocie-client/src/models/product.rs +++ b/crates/rocie-client/src/models/product.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_amount.rs b/crates/rocie-client/src/models/product_amount.rs index 43ab725..43f968d 100644 --- a/crates/rocie-client/src/models/product_amount.rs +++ b/crates/rocie-client/src/models/product_amount.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_id.rs b/crates/rocie-client/src/models/product_id.rs index 0f65bb8..a82ffc6 100644 --- a/crates/rocie-client/src/models/product_id.rs +++ b/crates/rocie-client/src/models/product_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_one_of.rs b/crates/rocie-client/src/models/product_one_of.rs index e8763d6..0ee9f00 100644 --- a/crates/rocie-client/src/models/product_one_of.rs +++ b/crates/rocie-client/src/models/product_one_of.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_one_of_1.rs b/crates/rocie-client/src/models/product_one_of_1.rs index cc7a865..72d570e 100644 --- a/crates/rocie-client/src/models/product_one_of_1.rs +++ b/crates/rocie-client/src/models/product_one_of_1.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_parent.rs b/crates/rocie-client/src/models/product_parent.rs index 7ce26c9..af08e3a 100644 --- a/crates/rocie-client/src/models/product_parent.rs +++ b/crates/rocie-client/src/models/product_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_parent_id.rs b/crates/rocie-client/src/models/product_parent_id.rs index 1305117..65b8faf 100644 --- a/crates/rocie-client/src/models/product_parent_id.rs +++ b/crates/rocie-client/src/models/product_parent_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_parent_stub.rs b/crates/rocie-client/src/models/product_parent_stub.rs index a874502..729b6d8 100644 --- a/crates/rocie-client/src/models/product_parent_stub.rs +++ b/crates/rocie-client/src/models/product_parent_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/product_stub.rs b/crates/rocie-client/src/models/product_stub.rs index 76bc086..477dc4c 100644 --- a/crates/rocie-client/src/models/product_stub.rs +++ b/crates/rocie-client/src/models/product_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/provision_info.rs b/crates/rocie-client/src/models/provision_info.rs index fc91f70..4f64fc5 100644 --- a/crates/rocie-client/src/models/provision_info.rs +++ b/crates/rocie-client/src/models/provision_info.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/recipe.rs b/crates/rocie-client/src/models/recipe.rs index dfbbc03..78b5ff0 100644 --- a/crates/rocie-client/src/models/recipe.rs +++ b/crates/rocie-client/src/models/recipe.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/recipe_id.rs b/crates/rocie-client/src/models/recipe_id.rs index 7d13aed..9a20c06 100644 --- a/crates/rocie-client/src/models/recipe_id.rs +++ b/crates/rocie-client/src/models/recipe_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/recipe_parent.rs b/crates/rocie-client/src/models/recipe_parent.rs index 50c5113..e85e59a 100644 --- a/crates/rocie-client/src/models/recipe_parent.rs +++ b/crates/rocie-client/src/models/recipe_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/recipe_parent_id.rs b/crates/rocie-client/src/models/recipe_parent_id.rs index 68f2e87..9fdba6e 100644 --- a/crates/rocie-client/src/models/recipe_parent_id.rs +++ b/crates/rocie-client/src/models/recipe_parent_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/recipe_parent_stub.rs b/crates/rocie-client/src/models/recipe_parent_stub.rs index 1e04c06..6c6d329 100644 --- a/crates/rocie-client/src/models/recipe_parent_stub.rs +++ b/crates/rocie-client/src/models/recipe_parent_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/recipe_stub.rs b/crates/rocie-client/src/models/recipe_stub.rs index 803c8dd..60e448f 100644 --- a/crates/rocie-client/src/models/recipe_stub.rs +++ b/crates/rocie-client/src/models/recipe_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/refined_recipe.rs b/crates/rocie-client/src/models/refined_recipe.rs index dc840d1..bbb38a0 100644 --- a/crates/rocie-client/src/models/refined_recipe.rs +++ b/crates/rocie-client/src/models/refined_recipe.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/section.rs b/crates/rocie-client/src/models/section.rs index e7a41f3..1160bb9 100644 --- a/crates/rocie-client/src/models/section.rs +++ b/crates/rocie-client/src/models/section.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/step.rs b/crates/rocie-client/src/models/step.rs index 4ee76f3..9dc164f 100644 --- a/crates/rocie-client/src/models/step.rs +++ b/crates/rocie-client/src/models/step.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/timer.rs b/crates/rocie-client/src/models/timer.rs index 290520f..584d483 100644 --- a/crates/rocie-client/src/models/timer.rs +++ b/crates/rocie-client/src/models/timer.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit.rs b/crates/rocie-client/src/models/unit.rs index 873cb33..d9e4a1f 100644 --- a/crates/rocie-client/src/models/unit.rs +++ b/crates/rocie-client/src/models/unit.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit_amount.rs b/crates/rocie-client/src/models/unit_amount.rs index e4b1a54..eb54348 100644 --- a/crates/rocie-client/src/models/unit_amount.rs +++ b/crates/rocie-client/src/models/unit_amount.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit_id.rs b/crates/rocie-client/src/models/unit_id.rs index 8b08d95..99174e5 100644 --- a/crates/rocie-client/src/models/unit_id.rs +++ b/crates/rocie-client/src/models/unit_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit_property.rs b/crates/rocie-client/src/models/unit_property.rs index b4dfbe1..ad051de 100644 --- a/crates/rocie-client/src/models/unit_property.rs +++ b/crates/rocie-client/src/models/unit_property.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit_property_id.rs b/crates/rocie-client/src/models/unit_property_id.rs index aca567c..2063254 100644 --- a/crates/rocie-client/src/models/unit_property_id.rs +++ b/crates/rocie-client/src/models/unit_property_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit_property_stub.rs b/crates/rocie-client/src/models/unit_property_stub.rs index c43d91e..53ef924 100644 --- a/crates/rocie-client/src/models/unit_property_stub.rs +++ b/crates/rocie-client/src/models/unit_property_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/unit_stub.rs b/crates/rocie-client/src/models/unit_stub.rs index 162674f..422c0a8 100644 --- a/crates/rocie-client/src/models/unit_stub.rs +++ b/crates/rocie-client/src/models/unit_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/user.rs b/crates/rocie-client/src/models/user.rs index 7397275..e8628b9 100644 --- a/crates/rocie-client/src/models/user.rs +++ b/crates/rocie-client/src/models/user.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/user_id.rs b/crates/rocie-client/src/models/user_id.rs index 3a67fd6..c9c8e21 100644 --- a/crates/rocie-client/src/models/user_id.rs +++ b/crates/rocie-client/src/models/user_id.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-client/src/models/user_stub.rs b/crates/rocie-client/src/models/user_stub.rs index 8f620db..b3ce91b 100644 --- a/crates/rocie-client/src/models/user_stub.rs +++ b/crates/rocie-client/src/models/user_stub.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + /* * rocie-server * diff --git a/crates/rocie-server/Cargo.toml b/crates/rocie-server/Cargo.toml index 36b271b..0f18f83 100644 --- a/crates/rocie-server/Cargo.toml +++ b/crates/rocie-server/Cargo.toml @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/crates/rocie-server/build.rs b/crates/rocie-server/build.rs index 81caa36..dcbc50d 100644 --- a/crates/rocie-server/build.rs +++ b/crates/rocie-server/build.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + fn main() { println!( "cargo:rustc-env=TARGET={}", diff --git a/crates/rocie-server/src/api/get/auth/inventory.rs b/crates/rocie-server/src/api/get/auth/inventory.rs index 24a8e3d..056a8a1 100644 --- a/crates/rocie-server/src/api/get/auth/inventory.rs +++ b/crates/rocie-server/src/api/get/auth/inventory.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/mod.rs b/crates/rocie-server/src/api/get/auth/mod.rs index 0821222..5465abd 100644 --- a/crates/rocie-server/src/api/get/auth/mod.rs +++ b/crates/rocie-server/src/api/get/auth/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_web::web; use log::info; use percent_encoding::percent_decode_str; diff --git a/crates/rocie-server/src/api/get/auth/product.rs b/crates/rocie-server/src/api/get/auth/product.rs index 7e32a0b..85047b5 100644 --- a/crates/rocie-server/src/api/get/auth/product.rs +++ b/crates/rocie-server/src/api/get/auth/product.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpRequest, HttpResponse, Responder, Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/product_parent.rs b/crates/rocie-server/src/api/get/auth/product_parent.rs index 6c3351d..0892ab6 100644 --- a/crates/rocie-server/src/api/get/auth/product_parent.rs +++ b/crates/rocie-server/src/api/get/auth/product_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, error::Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/recipe.rs b/crates/rocie-server/src/api/get/auth/recipe.rs index e3032b9..e4e5b9a 100644 --- a/crates/rocie-server/src/api/get/auth/recipe.rs +++ b/crates/rocie-server/src/api/get/auth/recipe.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpRequest, HttpResponse, Responder, error::Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/recipe_parent.rs b/crates/rocie-server/src/api/get/auth/recipe_parent.rs index d54082b..6a44cd7 100644 --- a/crates/rocie-server/src/api/get/auth/recipe_parent.rs +++ b/crates/rocie-server/src/api/get/auth/recipe_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, error::Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/unit.rs b/crates/rocie-server/src/api/get/auth/unit.rs index 980d9c7..b91fd35 100644 --- a/crates/rocie-server/src/api/get/auth/unit.rs +++ b/crates/rocie-server/src/api/get/auth/unit.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/unit_property.rs b/crates/rocie-server/src/api/get/auth/unit_property.rs index f5b070a..a5e8af5 100644 --- a/crates/rocie-server/src/api/get/auth/unit_property.rs +++ b/crates/rocie-server/src/api/get/auth/unit_property.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, get, web}; diff --git a/crates/rocie-server/src/api/get/auth/user.rs b/crates/rocie-server/src/api/get/auth/user.rs index e4a5046..3d73f23 100644 --- a/crates/rocie-server/src/api/get/auth/user.rs +++ b/crates/rocie-server/src/api/get/auth/user.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, get, web}; diff --git a/crates/rocie-server/src/api/get/mod.rs b/crates/rocie-server/src/api/get/mod.rs index c6ee9ab..5dcd86c 100644 --- a/crates/rocie-server/src/api/get/mod.rs +++ b/crates/rocie-server/src/api/get/mod.rs @@ -1,2 +1,12 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(crate) mod auth; pub(crate) mod no_auth; diff --git a/crates/rocie-server/src/api/get/no_auth/mod.rs b/crates/rocie-server/src/api/get/no_auth/mod.rs index 5274b4c..891c780 100644 --- a/crates/rocie-server/src/api/get/no_auth/mod.rs +++ b/crates/rocie-server/src/api/get/no_auth/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_web::web; pub(crate) mod state; diff --git a/crates/rocie-server/src/api/get/no_auth/state.rs b/crates/rocie-server/src/api/get/no_auth/state.rs index 31cbfa5..e4fec3a 100644 --- a/crates/rocie-server/src/api/get/no_auth/state.rs +++ b/crates/rocie-server/src/api/get/no_auth/state.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, get, web}; diff --git a/crates/rocie-server/src/api/mod.rs b/crates/rocie-server/src/api/mod.rs index c573122..755bf18 100644 --- a/crates/rocie-server/src/api/mod.rs +++ b/crates/rocie-server/src/api/mod.rs @@ -1,2 +1,12 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(crate) mod get; pub(crate) mod set; diff --git a/crates/rocie-server/src/api/set/auth/barcode.rs b/crates/rocie-server/src/api/set/auth/barcode.rs index 1d97852..9815ae0 100644 --- a/crates/rocie-server/src/api/set/auth/barcode.rs +++ b/crates/rocie-server/src/api/set/auth/barcode.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use log::debug; diff --git a/crates/rocie-server/src/api/set/auth/mod.rs b/crates/rocie-server/src/api/set/auth/mod.rs index 6379f22..1e9057c 100644 --- a/crates/rocie-server/src/api/set/auth/mod.rs +++ b/crates/rocie-server/src/api/set/auth/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_web::web; pub(crate) mod barcode; diff --git a/crates/rocie-server/src/api/set/auth/product.rs b/crates/rocie-server/src/api/set/auth/product.rs index b2a751f..c043739 100644 --- a/crates/rocie-server/src/api/set/auth/product.rs +++ b/crates/rocie-server/src/api/set/auth/product.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/auth/product_parent.rs b/crates/rocie-server/src/api/set/auth/product_parent.rs index 416875b..cee128b 100644 --- a/crates/rocie-server/src/api/set/auth/product_parent.rs +++ b/crates/rocie-server/src/api/set/auth/product_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/auth/recipe.rs b/crates/rocie-server/src/api/set/auth/recipe.rs index b9f930d..638c153 100644 --- a/crates/rocie-server/src/api/set/auth/recipe.rs +++ b/crates/rocie-server/src/api/set/auth/recipe.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, error::Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/auth/recipe_parent.rs b/crates/rocie-server/src/api/set/auth/recipe_parent.rs index e020dd3..0634d0f 100644 --- a/crates/rocie-server/src/api/set/auth/recipe_parent.rs +++ b/crates/rocie-server/src/api/set/auth/recipe_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/auth/unit.rs b/crates/rocie-server/src/api/set/auth/unit.rs index 21d1e11..d900f6a 100644 --- a/crates/rocie-server/src/api/set/auth/unit.rs +++ b/crates/rocie-server/src/api/set/auth/unit.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/auth/unit_property.rs b/crates/rocie-server/src/api/set/auth/unit_property.rs index 2958e1f..b3e524f 100644 --- a/crates/rocie-server/src/api/set/auth/unit_property.rs +++ b/crates/rocie-server/src/api/set/auth/unit_property.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/auth/user.rs b/crates/rocie-server/src/api/set/auth/user.rs index 1f262d5..9ac8353 100644 --- a/crates/rocie-server/src/api/set/auth/user.rs +++ b/crates/rocie-server/src/api/set/auth/user.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpResponse, Responder, Result, post, web}; use serde::Deserialize; diff --git a/crates/rocie-server/src/api/set/mod.rs b/crates/rocie-server/src/api/set/mod.rs index c6ee9ab..5dcd86c 100644 --- a/crates/rocie-server/src/api/set/mod.rs +++ b/crates/rocie-server/src/api/set/mod.rs @@ -1,2 +1,12 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(crate) mod auth; pub(crate) mod no_auth; diff --git a/crates/rocie-server/src/api/set/no_auth/mod.rs b/crates/rocie-server/src/api/set/no_auth/mod.rs index 8a67d57..9f2c09c 100644 --- a/crates/rocie-server/src/api/set/no_auth/mod.rs +++ b/crates/rocie-server/src/api/set/no_auth/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_web::web; pub(crate) mod user; diff --git a/crates/rocie-server/src/api/set/no_auth/user.rs b/crates/rocie-server/src/api/set/no_auth/user.rs index 69758a7..58ee376 100644 --- a/crates/rocie-server/src/api/set/no_auth/user.rs +++ b/crates/rocie-server/src/api/set/no_auth/user.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_identity::Identity; use actix_web::{HttpMessage, HttpRequest, HttpResponse, Responder, Result, post, web}; use serde::{Deserialize, Serialize}; diff --git a/crates/rocie-server/src/app.rs b/crates/rocie-server/src/app.rs index 59eed28..0467ef7 100644 --- a/crates/rocie-server/src/app.rs +++ b/crates/rocie-server/src/app.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::{cell::OnceCell, path::PathBuf, sync::OnceLock}; use sqlx::{SqlitePool, sqlite::SqliteConnectOptions}; diff --git a/crates/rocie-server/src/cli.rs b/crates/rocie-server/src/cli.rs index b198510..386082e 100644 --- a/crates/rocie-server/src/cli.rs +++ b/crates/rocie-server/src/cli.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::path::PathBuf; use clap::{Parser, Subcommand}; diff --git a/crates/rocie-server/src/main.rs b/crates/rocie-server/src/main.rs index c57c3a2..528a113 100644 --- a/crates/rocie-server/src/main.rs +++ b/crates/rocie-server/src/main.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use actix_web::{ App, HttpServer, cookie::{Key, SameSite}, diff --git a/crates/rocie-server/src/storage/migrate/defaults.rs b/crates/rocie-server/src/storage/migrate/defaults.rs index 3a2019c..99d5c66 100644 --- a/crates/rocie-server/src/storage/migrate/defaults.rs +++ b/crates/rocie-server/src/storage/migrate/defaults.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{insert::Operations, unit::Unit, unit_property::UnitProperty}, diff --git a/crates/rocie-server/src/storage/migrate/mod.rs b/crates/rocie-server/src/storage/migrate/mod.rs index 6044440..b39b58b 100644 --- a/crates/rocie-server/src/storage/migrate/mod.rs +++ b/crates/rocie-server/src/storage/migrate/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::{ fmt::Display, time::{SystemTime, UNIX_EPOCH}, diff --git a/crates/rocie-server/src/storage/migrate/sql/0->1.sql b/crates/rocie-server/src/storage/migrate/sql/0->1.sql index dd7ce5f..e8bcd95 100644 --- a/crates/rocie-server/src/storage/migrate/sql/0->1.sql +++ b/crates/rocie-server/src/storage/migrate/sql/0->1.sql @@ -1,3 +1,13 @@ +-- rocie - An enterprise grocery management system +-- +-- Copyright (C) 2026 Benedikt Peetz +-- SPDX-License-Identifier: GPL-3.0-or-later +-- +-- This file is part of Rocie. +-- +-- You should have received a copy of the License along with this program. +-- If not, see . + -- All tables should be declared STRICT, as I actually like to have types checking (and a -- db that doesn't lie to me). diff --git a/crates/rocie-server/src/storage/mod.rs b/crates/rocie-server/src/storage/mod.rs index 55745c0..bc76037 100644 --- a/crates/rocie-server/src/storage/mod.rs +++ b/crates/rocie-server/src/storage/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(crate) mod migrate; pub(crate) mod sql; pub(crate) mod txn_log; diff --git a/crates/rocie-server/src/storage/sql/barcode.rs b/crates/rocie-server/src/storage/sql/barcode.rs index f15d399..c16ac3c 100644 --- a/crates/rocie-server/src/storage/sql/barcode.rs +++ b/crates/rocie-server/src/storage/sql/barcode.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/config.rs b/crates/rocie-server/src/storage/sql/config.rs index d62859c..f84697a 100644 --- a/crates/rocie-server/src/storage/sql/config.rs +++ b/crates/rocie-server/src/storage/sql/config.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/get/barcode/mod.rs b/crates/rocie-server/src/storage/sql/get/barcode/mod.rs index 4eba105..99cb723 100644 --- a/crates/rocie-server/src/storage/sql/get/barcode/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/barcode/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/config/mod.rs b/crates/rocie-server/src/storage/sql/get/config/mod.rs index 92f39c2..a251867 100644 --- a/crates/rocie-server/src/storage/sql/get/config/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/config/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{app::App, storage::sql::config::Config}; use sqlx::query; diff --git a/crates/rocie-server/src/storage/sql/get/mod.rs b/crates/rocie-server/src/storage/sql/get/mod.rs index e3520da..1d47994 100644 --- a/crates/rocie-server/src/storage/sql/get/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(crate) mod barcode; pub(crate) mod config; pub(crate) mod product; diff --git a/crates/rocie-server/src/storage/sql/get/product/mod.rs b/crates/rocie-server/src/storage/sql/get/product/mod.rs index 3d8b6e6..a852f2b 100644 --- a/crates/rocie-server/src/storage/sql/get/product/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/product/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/product_amount/mod.rs b/crates/rocie-server/src/storage/sql/get/product_amount/mod.rs index 9ff2165..d6778d5 100644 --- a/crates/rocie-server/src/storage/sql/get/product_amount/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/product_amount/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/product_parent/mod.rs b/crates/rocie-server/src/storage/sql/get/product_parent/mod.rs index 243ae1e..cda7fbf 100644 --- a/crates/rocie-server/src/storage/sql/get/product_parent/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/product_parent/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::product_parent::{ProductParent, ProductParentId}, diff --git a/crates/rocie-server/src/storage/sql/get/recipe/mod.rs b/crates/rocie-server/src/storage/sql/get/recipe/mod.rs index f433541..d31409e 100644 --- a/crates/rocie-server/src/storage/sql/get/recipe/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/recipe/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/recipe_parent/mod.rs b/crates/rocie-server/src/storage/sql/get/recipe_parent/mod.rs index d53e853..3bdbf04 100644 --- a/crates/rocie-server/src/storage/sql/get/recipe_parent/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/recipe_parent/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/unit/mod.rs b/crates/rocie-server/src/storage/sql/get/unit/mod.rs index 2c85970..62819d3 100644 --- a/crates/rocie-server/src/storage/sql/get/unit/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/unit/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/unit_property/mod.rs b/crates/rocie-server/src/storage/sql/get/unit_property/mod.rs index be24181..8655de7 100644 --- a/crates/rocie-server/src/storage/sql/get/unit_property/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/unit_property/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::{ diff --git a/crates/rocie-server/src/storage/sql/get/user/mod.rs b/crates/rocie-server/src/storage/sql/get/user/mod.rs index e09ef67..161da43 100644 --- a/crates/rocie-server/src/storage/sql/get/user/mod.rs +++ b/crates/rocie-server/src/storage/sql/get/user/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::{ app::App, storage::sql::user::{PasswordHash, User, UserId}, diff --git a/crates/rocie-server/src/storage/sql/insert/barcode/mod.rs b/crates/rocie-server/src/storage/sql/insert/barcode/mod.rs index 11707b9..fec9c0f 100644 --- a/crates/rocie-server/src/storage/sql/insert/barcode/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/barcode/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::str::FromStr; use serde::{Deserialize, Serialize}; diff --git a/crates/rocie-server/src/storage/sql/insert/config/mod.rs b/crates/rocie-server/src/storage/sql/insert/config/mod.rs index 597e633..a26cab5 100644 --- a/crates/rocie-server/src/storage/sql/insert/config/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/config/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; diff --git a/crates/rocie-server/src/storage/sql/insert/mod.rs b/crates/rocie-server/src/storage/sql/insert/mod.rs index c106b2b..47ce9e4 100644 --- a/crates/rocie-server/src/storage/sql/insert/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::{fmt::Display, mem}; use crate::app::App; diff --git a/crates/rocie-server/src/storage/sql/insert/product/mod.rs b/crates/rocie-server/src/storage/sql/insert/product/mod.rs index 455eb4f..1892bbf 100644 --- a/crates/rocie-server/src/storage/sql/insert/product/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/product/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; diff --git a/crates/rocie-server/src/storage/sql/insert/product_parent/mod.rs b/crates/rocie-server/src/storage/sql/insert/product_parent/mod.rs index 72fb564..8b2fcd7 100644 --- a/crates/rocie-server/src/storage/sql/insert/product_parent/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/product_parent/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; diff --git a/crates/rocie-server/src/storage/sql/insert/recipe/mod.rs b/crates/rocie-server/src/storage/sql/insert/recipe/mod.rs index b60874f..63d9107 100644 --- a/crates/rocie-server/src/storage/sql/insert/recipe/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/recipe/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use cooklang::{Converter, CooklangParser, Extensions}; use serde::{Deserialize, Serialize}; use sqlx::query; diff --git a/crates/rocie-server/src/storage/sql/insert/recipe_parent/mod.rs b/crates/rocie-server/src/storage/sql/insert/recipe_parent/mod.rs index 95bc6f1..1a16463 100644 --- a/crates/rocie-server/src/storage/sql/insert/recipe_parent/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/recipe_parent/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; diff --git a/crates/rocie-server/src/storage/sql/insert/unit/mod.rs b/crates/rocie-server/src/storage/sql/insert/unit/mod.rs index 815cb1e..faa4193 100644 --- a/crates/rocie-server/src/storage/sql/insert/unit/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/unit/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; diff --git a/crates/rocie-server/src/storage/sql/insert/unit_property/mod.rs b/crates/rocie-server/src/storage/sql/insert/unit_property/mod.rs index d340465..9a96ba1 100644 --- a/crates/rocie-server/src/storage/sql/insert/unit_property/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/unit_property/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; diff --git a/crates/rocie-server/src/storage/sql/insert/user/mod.rs b/crates/rocie-server/src/storage/sql/insert/user/mod.rs index 325253e..4f338db 100644 --- a/crates/rocie-server/src/storage/sql/insert/user/mod.rs +++ b/crates/rocie-server/src/storage/sql/insert/user/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; diff --git a/crates/rocie-server/src/storage/sql/mod.rs b/crates/rocie-server/src/storage/sql/mod.rs index f1d7cb1..af53b4b 100644 --- a/crates/rocie-server/src/storage/sql/mod.rs +++ b/crates/rocie-server/src/storage/sql/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(crate) mod get; pub(crate) mod insert; diff --git a/crates/rocie-server/src/storage/sql/product.rs b/crates/rocie-server/src/storage/sql/product.rs index c2c32ec..88f4c93 100644 --- a/crates/rocie-server/src/storage/sql/product.rs +++ b/crates/rocie-server/src/storage/sql/product.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/product_amount.rs b/crates/rocie-server/src/storage/sql/product_amount.rs index dafe43a..a31ddc2 100644 --- a/crates/rocie-server/src/storage/sql/product_amount.rs +++ b/crates/rocie-server/src/storage/sql/product_amount.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/product_parent.rs b/crates/rocie-server/src/storage/sql/product_parent.rs index f689024..15ed578 100644 --- a/crates/rocie-server/src/storage/sql/product_parent.rs +++ b/crates/rocie-server/src/storage/sql/product_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/recipe.rs b/crates/rocie-server/src/storage/sql/recipe.rs index 7347b4b..38aa266 100644 --- a/crates/rocie-server/src/storage/sql/recipe.rs +++ b/crates/rocie-server/src/storage/sql/recipe.rs @@ -1,5 +1,15 @@ #![expect(clippy::unused_async)] +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use log::error; use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/recipe_parent.rs b/crates/rocie-server/src/storage/sql/recipe_parent.rs index 6225a4b..da4ea5e 100644 --- a/crates/rocie-server/src/storage/sql/recipe_parent.rs +++ b/crates/rocie-server/src/storage/sql/recipe_parent.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/unit.rs b/crates/rocie-server/src/storage/sql/unit.rs index dc16e4c..4d0368c 100644 --- a/crates/rocie-server/src/storage/sql/unit.rs +++ b/crates/rocie-server/src/storage/sql/unit.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/unit_property.rs b/crates/rocie-server/src/storage/sql/unit_property.rs index adb4767..f64949e 100644 --- a/crates/rocie-server/src/storage/sql/unit_property.rs +++ b/crates/rocie-server/src/storage/sql/unit_property.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use serde::{Deserialize, Serialize}; use utoipa::ToSchema; diff --git a/crates/rocie-server/src/storage/sql/user.rs b/crates/rocie-server/src/storage/sql/user.rs index 2bac555..dd0cf06 100644 --- a/crates/rocie-server/src/storage/sql/user.rs +++ b/crates/rocie-server/src/storage/sql/user.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::fmt::Display; use argon2::{ diff --git a/crates/rocie-server/src/storage/txn_log.rs b/crates/rocie-server/src/storage/txn_log.rs index d07b514..7fba1cf 100644 --- a/crates/rocie-server/src/storage/txn_log.rs +++ b/crates/rocie-server/src/storage/txn_log.rs @@ -1,9 +1,10 @@ -// yt - A fully featured command line YouTube client +// rocie - An enterprise grocery management system // // Copyright (C) 2025 Benedikt Peetz +// Copyright (C) 2026 Benedikt Peetz // SPDX-License-Identifier: GPL-3.0-or-later // -// This file is part of Yt. +// This file is part of Rocie. // // You should have received a copy of the License along with this program. // If not, see . diff --git a/crates/rocie-server/tests/_testenv/init.rs b/crates/rocie-server/tests/_testenv/init.rs index 89384a5..1918595 100644 --- a/crates/rocie-server/tests/_testenv/init.rs +++ b/crates/rocie-server/tests/_testenv/init.rs @@ -1,9 +1,10 @@ -// yt - A fully featured command line YouTube client +// rocie - An enterprise grocery management system // // Copyright (C) 2025 Benedikt Peetz +// Copyright (C) 2026 Benedikt Peetz // SPDX-License-Identifier: GPL-3.0-or-later // -// This file is part of Yt. +// This file is part of Rocie. // // You should have received a copy of the License along with this program. // If not, see . diff --git a/crates/rocie-server/tests/_testenv/log.rs b/crates/rocie-server/tests/_testenv/log.rs index 837ccdd..05a5a62 100644 --- a/crates/rocie-server/tests/_testenv/log.rs +++ b/crates/rocie-server/tests/_testenv/log.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use crate::testenv::TestEnv; macro_rules! request { diff --git a/crates/rocie-server/tests/_testenv/mod.rs b/crates/rocie-server/tests/_testenv/mod.rs index 56cea71..58acaa5 100644 --- a/crates/rocie-server/tests/_testenv/mod.rs +++ b/crates/rocie-server/tests/_testenv/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + //! This code was taken from *fd* at 30-06-2025. use std::{path::PathBuf, process}; diff --git a/crates/rocie-server/tests/defaults/mod.rs b/crates/rocie-server/tests/defaults/mod.rs index 6a334b0..28eef01 100644 --- a/crates/rocie-server/tests/defaults/mod.rs +++ b/crates/rocie-server/tests/defaults/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{api_get_auth_unit_api::units, api_set_no_auth_user_api::provision}, models::{ProvisionInfo, UserStub}, diff --git a/crates/rocie-server/tests/product_parents/mod.rs b/crates/rocie-server/tests/product_parents/mod.rs index d3799a7..a18950b 100644 --- a/crates/rocie-server/tests/product_parents/mod.rs +++ b/crates/rocie-server/tests/product_parents/mod.rs @@ -1,2 +1,12 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + mod query; mod register; diff --git a/crates/rocie-server/tests/product_parents/query.rs b/crates/rocie-server/tests/product_parents/query.rs index b05ad7c..acce42e 100644 --- a/crates/rocie-server/tests/product_parents/query.rs +++ b/crates/rocie-server/tests/product_parents/query.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_product_api::{ diff --git a/crates/rocie-server/tests/product_parents/register.rs b/crates/rocie-server/tests/product_parents/register.rs index c9e48f2..6aeb2c9 100644 --- a/crates/rocie-server/tests/product_parents/register.rs +++ b/crates/rocie-server/tests/product_parents/register.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_product_api::product_by_id, api_set_auth_product_api::register_product, diff --git a/crates/rocie-server/tests/products/barcode.rs b/crates/rocie-server/tests/products/barcode.rs index 7b48ab7..c377137 100644 --- a/crates/rocie-server/tests/products/barcode.rs +++ b/crates/rocie-server/tests/products/barcode.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_inventory_api::amount_by_id, diff --git a/crates/rocie-server/tests/products/mod.rs b/crates/rocie-server/tests/products/mod.rs index e503684..f1b4e95 100644 --- a/crates/rocie-server/tests/products/mod.rs +++ b/crates/rocie-server/tests/products/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_set_auth_product_api::{associate_barcode, register_product}, diff --git a/crates/rocie-server/tests/products/query.rs b/crates/rocie-server/tests/products/query.rs index b2095cb..f90ebb4 100644 --- a/crates/rocie-server/tests/products/query.rs +++ b/crates/rocie-server/tests/products/query.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_product_api::{product_by_name, product_suggestion_by_name}, diff --git a/crates/rocie-server/tests/products/register.rs b/crates/rocie-server/tests/products/register.rs index 2d4bf7e..f0dd182 100644 --- a/crates/rocie-server/tests/products/register.rs +++ b/crates/rocie-server/tests/products/register.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_product_api::product_by_id, api_set_auth_product_api::register_product, diff --git a/crates/rocie-server/tests/recipe_parents/mod.rs b/crates/rocie-server/tests/recipe_parents/mod.rs index d3799a7..a18950b 100644 --- a/crates/rocie-server/tests/recipe_parents/mod.rs +++ b/crates/rocie-server/tests/recipe_parents/mod.rs @@ -1,2 +1,12 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + mod query; mod register; diff --git a/crates/rocie-server/tests/recipe_parents/query.rs b/crates/rocie-server/tests/recipe_parents/query.rs index bcbf00b..438fcf1 100644 --- a/crates/rocie-server/tests/recipe_parents/query.rs +++ b/crates/rocie-server/tests/recipe_parents/query.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_recipe_api::{ diff --git a/crates/rocie-server/tests/recipe_parents/register.rs b/crates/rocie-server/tests/recipe_parents/register.rs index a113bd3..f525ae9 100644 --- a/crates/rocie-server/tests/recipe_parents/register.rs +++ b/crates/rocie-server/tests/recipe_parents/register.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_recipe_api::recipe_by_id, api_set_auth_recipe_api::add_recipe, diff --git a/crates/rocie-server/tests/recipies/mod.rs b/crates/rocie-server/tests/recipies/mod.rs index 15680f1..23a8c19 100644 --- a/crates/rocie-server/tests/recipies/mod.rs +++ b/crates/rocie-server/tests/recipies/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_recipe_api::{recipe_by_id, recipe_by_name}, diff --git a/crates/rocie-server/tests/tests.rs b/crates/rocie-server/tests/tests.rs index 6222017..57d58b2 100644 --- a/crates/rocie-server/tests/tests.rs +++ b/crates/rocie-server/tests/tests.rs @@ -1,5 +1,15 @@ #![allow(unused_crate_dependencies)] +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + mod _testenv; pub(crate) use _testenv as testenv; diff --git a/crates/rocie-server/tests/units/fetch.rs b/crates/rocie-server/tests/units/fetch.rs index a0ffd9b..f6cb640 100644 --- a/crates/rocie-server/tests/units/fetch.rs +++ b/crates/rocie-server/tests/units/fetch.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_unit_api::units_by_property_id, api_set_auth_unit_api::register_unit, diff --git a/crates/rocie-server/tests/units/mod.rs b/crates/rocie-server/tests/units/mod.rs index 54ff0ab..23c102a 100644 --- a/crates/rocie-server/tests/units/mod.rs +++ b/crates/rocie-server/tests/units/mod.rs @@ -1,2 +1,12 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + mod fetch; mod register; diff --git a/crates/rocie-server/tests/units/register.rs b/crates/rocie-server/tests/units/register.rs index e725a5c..c0e9c09 100644 --- a/crates/rocie-server/tests/units/register.rs +++ b/crates/rocie-server/tests/units/register.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_unit_api::unit_by_id, api_set_auth_unit_api::register_unit, diff --git a/crates/rocie-server/tests/users/mod.rs b/crates/rocie-server/tests/users/mod.rs index c7ba6f8..df66c64 100644 --- a/crates/rocie-server/tests/users/mod.rs +++ b/crates/rocie-server/tests/users/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rocie_client::{ apis::{ api_get_auth_user_api::user_by_id, diff --git a/flake.lock.license b/flake.lock.license index 131e564..819a302 100644 --- a/flake.lock.license +++ b/flake.lock.license @@ -1,6 +1,7 @@ rocie - An enterprise grocery management system Copyright (C) 2025 Benedikt Peetz +Copyright (C) 2026 Benedikt Peetz SPDX-License-Identifier: GPL-3.0-or-later This file is part of Rocie. diff --git a/flake.nix b/flake.nix index 099b47d..bdcdeb4 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/nix/package.nix b/nix/package.nix index adc5a03..11dcddf 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/rustfmt.toml b/rustfmt.toml index d6e14b3..a598e6b 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,6 +1,7 @@ # rocie - An enterprise grocery management system # # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/scripts/api-config.yaml b/scripts/api-config.yaml index eba6f8f..9b0ff3f 100644 --- a/scripts/api-config.yaml +++ b/scripts/api-config.yaml @@ -1,3 +1,13 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + --- avoidBoxedModels: true bestFitInt: true diff --git a/scripts/generate_api_client.sh b/scripts/generate_api_client.sh index ecbc497..0542b2a 100755 --- a/scripts/generate_api_client.sh +++ b/scripts/generate_api_client.sh @@ -1,5 +1,15 @@ #! /usr/bin/env sh +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + set -e root="$(dirname "$0")/.." diff --git a/scripts/mk_sqlite_schema.sh b/scripts/mk_sqlite_schema.sh index 41054e9..89575f5 100755 --- a/scripts/mk_sqlite_schema.sh +++ b/scripts/mk_sqlite_schema.sh @@ -1,5 +1,15 @@ #! /usr/bin/env sh +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + set -e root="$(dirname "$0")/.." diff --git a/scripts/mkdb.sh b/scripts/mkdb.sh index 9e0aaae..0916ed9 100755 --- a/scripts/mkdb.sh +++ b/scripts/mkdb.sh @@ -4,6 +4,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/scripts/sqlite-schema-diagram.sql b/scripts/sqlite-schema-diagram.sql index 153c41c..352e7c4 100644 --- a/scripts/sqlite-schema-diagram.sql +++ b/scripts/sqlite-schema-diagram.sql @@ -1,3 +1,13 @@ +-- rocie - An enterprise grocery management system +-- +-- Copyright (C) 2026 Benedikt Peetz +-- SPDX-License-Identifier: GPL-3.0-or-later +-- +-- This file is part of Rocie. +-- +-- You should have received a copy of the License along with this program. +-- If not, see . + -- Source: https://github.com/o0101/sqlite-schema-diagram -- We start a GraphViz graph diff --git a/scripts/validate_api.sh b/scripts/validate_api.sh index 056d550..b5803e8 100755 --- a/scripts/validate_api.sh +++ b/scripts/validate_api.sh @@ -1,5 +1,15 @@ #! /usr/bin/env sh +# rocie - An enterprise grocery management system +# +# Copyright (C) 2026 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + root="$(dirname "$0")/.." api_path="$root/target/api.json" diff --git a/treefmt.nix b/treefmt.nix index 8f78ebb..82d3233 100644 --- a/treefmt.nix +++ b/treefmt.nix @@ -2,6 +2,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. diff --git a/update.sh b/update.sh index 96231c5..1dc4522 100755 --- a/update.sh +++ b/update.sh @@ -4,6 +4,7 @@ # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz +# Copyright (C) 2026 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Rocie. -- cgit 1.4.1