diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-19 05:38:42 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-19 05:38:42 +0100 |
| commit | 6ff6c5af6510b321bf54b384d1263c50f1a122c0 (patch) | |
| tree | 2153c8e42b762ec29905f1095e578c7fee8b9855 /crates/rocie-server/src/storage/sql/insert | |
| parent | build(rocie-server/nix/package): Include required dependencies (diff) | |
| download | server-6ff6c5af6510b321bf54b384d1263c50f1a122c0.zip | |
chore(treewide): Add missing license headers
Diffstat (limited to 'crates/rocie-server/src/storage/sql/insert')
10 files changed, 100 insertions, 0 deletions
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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 serde::{Deserialize, Serialize}; use sqlx::query; use uuid::Uuid; |
