about summary refs log tree commit diff stats
path: root/crates/rocie-server/src/storage/sql/get
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-19 05:38:42 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-19 05:38:42 +0100
commit6ff6c5af6510b321bf54b384d1263c50f1a122c0 (patch)
tree2153c8e42b762ec29905f1095e578c7fee8b9855 /crates/rocie-server/src/storage/sql/get
parentbuild(rocie-server/nix/package): Include required dependencies (diff)
downloadserver-6ff6c5af6510b321bf54b384d1263c50f1a122c0.zip
chore(treewide): Add missing license headers
Diffstat (limited to 'crates/rocie-server/src/storage/sql/get')
-rw-r--r--crates/rocie-server/src/storage/sql/get/barcode/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/config/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/product/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/product_amount/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/product_parent/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/recipe/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/recipe_parent/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/unit/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/unit_property/mod.rs10
-rw-r--r--crates/rocie-server/src/storage/sql/get/user/mod.rs10
11 files changed, 110 insertions, 0 deletions
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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 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 <benedikt.peetz@b-peetz.de>
+// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 use crate::{
     app::App,
     storage::sql::user::{PasswordHash, User, UserId},