From eebb07b3e3b7d4f714e4c62389b81cb12e3b4583 Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Wed, 23 Oct 2024 06:19:30 +0100 Subject: [PATCH] fix: add copyright header --- api/src/channel/types.ts | 8 ++++++++ api/src/extensions/channels/console/index.d.ts | 8 ++++++++ api/src/extensions/channels/web/index.d.ts | 8 ++++++++ api/src/extensions/helpers/core-nlu/index.d.ts | 8 ++++++++ api/src/extensions/helpers/core-nlu/settings.ts | 8 ++++++++ api/src/extensions/helpers/ollama/index.d.ts | 8 ++++++++ api/src/extensions/helpers/ollama/settings.ts | 8 ++++++++ api/src/extensions/plugins/ollama/index.plugin.ts | 8 ++++++++ api/src/extensions/plugins/ollama/settings.ts | 8 ++++++++ api/src/helper/types.ts | 8 ++++++++ 10 files changed, 80 insertions(+) diff --git a/api/src/channel/types.ts b/api/src/channel/types.ts index 9f19d745..c9174321 100644 --- a/api/src/channel/types.ts +++ b/api/src/channel/types.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import { SettingCreateDto } from '@/setting/dto/setting.dto'; export type ChannelName = `${string}-channel`; diff --git a/api/src/extensions/channels/console/index.d.ts b/api/src/extensions/channels/console/index.d.ts index 7080300f..e7977a40 100644 --- a/api/src/extensions/channels/console/index.d.ts +++ b/api/src/extensions/channels/console/index.d.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import CONSOLE_CHANNEL_SETTINGS, { CONSOLE_CHANNEL_NAMESPACE, } from './settings'; diff --git a/api/src/extensions/channels/web/index.d.ts b/api/src/extensions/channels/web/index.d.ts index 7ae6b00b..4261bea5 100644 --- a/api/src/extensions/channels/web/index.d.ts +++ b/api/src/extensions/channels/web/index.d.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import DEFAULT_WEB_CHANNEL_SETTINGS, { WEB_CHANNEL_NAMESPACE, } from './settings'; diff --git a/api/src/extensions/helpers/core-nlu/index.d.ts b/api/src/extensions/helpers/core-nlu/index.d.ts index 14d0b31c..cce928d2 100644 --- a/api/src/extensions/helpers/core-nlu/index.d.ts +++ b/api/src/extensions/helpers/core-nlu/index.d.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import CORE_NLU_HELPER_SETTINGS, { CORE_NLU_HELPER_NAMESPACE, } from './settings'; diff --git a/api/src/extensions/helpers/core-nlu/settings.ts b/api/src/extensions/helpers/core-nlu/settings.ts index 4b87500b..5a41e10d 100644 --- a/api/src/extensions/helpers/core-nlu/settings.ts +++ b/api/src/extensions/helpers/core-nlu/settings.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import { HelperSetting } from '@/helper/types'; import { SettingType } from '@/setting/schemas/types'; diff --git a/api/src/extensions/helpers/ollama/index.d.ts b/api/src/extensions/helpers/ollama/index.d.ts index a81055dc..0dfcdf64 100644 --- a/api/src/extensions/helpers/ollama/index.d.ts +++ b/api/src/extensions/helpers/ollama/index.d.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import OLLAMA_HELPER_SETTINGS, { OLLAMA_HELPER_NAMESPACE } from './settings'; declare global { diff --git a/api/src/extensions/helpers/ollama/settings.ts b/api/src/extensions/helpers/ollama/settings.ts index d08a7a00..7691f0e8 100644 --- a/api/src/extensions/helpers/ollama/settings.ts +++ b/api/src/extensions/helpers/ollama/settings.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import { HelperSetting } from '@/helper/types'; import { SettingType } from '@/setting/schemas/types'; diff --git a/api/src/extensions/plugins/ollama/index.plugin.ts b/api/src/extensions/plugins/ollama/index.plugin.ts index 0cfa2a73..2d8d7b66 100644 --- a/api/src/extensions/plugins/ollama/index.plugin.ts +++ b/api/src/extensions/plugins/ollama/index.plugin.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import { Injectable } from '@nestjs/common'; import { Block } from '@/chat/schemas/block.schema'; diff --git a/api/src/extensions/plugins/ollama/settings.ts b/api/src/extensions/plugins/ollama/settings.ts index c051597c..a1b886e6 100644 --- a/api/src/extensions/plugins/ollama/settings.ts +++ b/api/src/extensions/plugins/ollama/settings.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import { PluginSetting } from '@/plugins/types'; import { SettingType } from '@/setting/schemas/types'; diff --git a/api/src/helper/types.ts b/api/src/helper/types.ts index a9edebce..7692c5a9 100644 --- a/api/src/helper/types.ts +++ b/api/src/helper/types.ts @@ -1,3 +1,11 @@ +/* + * Copyright © 2024 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import { SettingCreateDto } from '@/setting/dto/setting.dto'; import BaseHelper from './lib/base-helper';