From 43b64903b397b4357c3b14ab67b86c30a4d74181 Mon Sep 17 00:00:00 2001 From: Philippe Krief <philippe.krief@eclipse-foundation.org> Date: Wed, 7 May 2025 17:53:14 +0200 Subject: [PATCH] Added some missing copyrights Signed-off-by: Philippe Krief <philippe.krief@eclipse-foundation.org> --- README.md | 13 +++++++++++++ dist/utils/error.d.ts | 10 ++++++++++ dist/utils/error.js | 10 ++++++++++ lib/utils/error.ts | 12 +++++++++++- 4 files changed, 44 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15038d1..ed547a4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ +<!--- ************************************************************************* + * Copyright (C) 2025 bAvenir + * + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * [name] - [contribution] + ************************************************************************* ---> + # SPADE Node - JS Client A client-side JavaScript library that can be used to interact with Data Broker's API. diff --git a/dist/utils/error.d.ts b/dist/utils/error.d.ts index b79ed5c..152ea81 100644 --- a/dist/utils/error.d.ts +++ b/dist/utils/error.d.ts @@ -1,4 +1,14 @@ /** + * Copyright (C) 2024 bAvenir + * + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + */ + + /** * Base class for all Data Broker related errors. */ export declare class DataBrokerError extends Error { diff --git a/dist/utils/error.js b/dist/utils/error.js index b84d91b..74a16c7 100644 --- a/dist/utils/error.js +++ b/dist/utils/error.js @@ -1,4 +1,14 @@ "use strict"; +/** + * Copyright (C) 2024 bAvenir + * + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + */ + Object.defineProperty(exports, "__esModule", { value: true }); exports.DataBrokerConsumptionError = exports.DataBrokerDiscoveryError = exports.DataBrokerHealthcheckError = exports.DataBrokerInitError = exports.DataBrokerError = void 0; const axios_1 = require("axios"); diff --git a/lib/utils/error.ts b/lib/utils/error.ts index cf2bd4c..f40a1bd 100644 --- a/lib/utils/error.ts +++ b/lib/utils/error.ts @@ -1,4 +1,14 @@ -import { AxiosError } from 'axios' +/** + * Copyright (C) 2024 bAvenir + * + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + */ + + import { AxiosError } from 'axios' /** * Base class for all Data Broker related errors. -- GitLab