mirror of
https://github.com/hexastack/hexabot
synced 2025-01-23 02:47:56 +00:00
fix(api): decentralize extensions typing
This commit is contained in:
parent
3c14ddd76a
commit
39d8d65f82
13
api/src/eventemitter.d.ts
vendored
13
api/src/eventemitter.d.ts
vendored
@ -34,7 +34,6 @@ import {
|
|||||||
type NlpValue,
|
type NlpValue,
|
||||||
} from '@/nlp/schemas/nlp-value.schema';
|
} from '@/nlp/schemas/nlp-value.schema';
|
||||||
import { type Setting } from '@/setting/schemas/setting.schema';
|
import { type Setting } from '@/setting/schemas/setting.schema';
|
||||||
import type { CheckboxSetting, TextSetting } from '@/setting/schemas/types';
|
|
||||||
import { type Invitation } from '@/user/schemas/invitation.schema';
|
import { type Invitation } from '@/user/schemas/invitation.schema';
|
||||||
import { type Model } from '@/user/schemas/model.schema';
|
import { type Model } from '@/user/schemas/model.schema';
|
||||||
import { type Permission } from '@/user/schemas/permission.schema';
|
import { type Permission } from '@/user/schemas/permission.schema';
|
||||||
@ -54,17 +53,7 @@ declare module '@nestjs/event-emitter' {
|
|||||||
operations: O;
|
operations: O;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IHookExtensionsOperationMap {
|
interface IHookExtensionsOperationMap {}
|
||||||
messenger: TDefinition<
|
|
||||||
object,
|
|
||||||
{
|
|
||||||
get_started_button: Setting;
|
|
||||||
access_token: Setting;
|
|
||||||
composer_input_disabled: CheckboxSetting;
|
|
||||||
greeting_text: TextSetting;
|
|
||||||
}
|
|
||||||
>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IHookSettingsGroupLabelOperationMap {
|
interface IHookSettingsGroupLabelOperationMap {
|
||||||
chatbot_settings: TDefinition<
|
chatbot_settings: TDefinition<
|
||||||
|
Loading…
Reference in New Issue
Block a user