Skip to content

Commit

Permalink
Fix notifier import
Browse files Browse the repository at this point in the history
  • Loading branch information
d-gubert committed Sep 23, 2024
1 parent 300f317 commit f1ae688
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deno-runtime/lib/accessors/notifier.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import type { IMessageBuilder, INotifier } from '@rocket.chat/apps-engine/definition/accessors';
import type { ITypingOptions } from '@rocket.chat/apps-engine/definition/accessors/INotifier.ts';
import { TypingScope } from '@rocket.chat/apps-engine/definition/accessors/INotifier.ts';
import type { _TypingScope } from '@rocket.chat/apps-engine/definition/accessors/INotifier.ts';
import type { IMessage } from '@rocket.chat/apps-engine/definition/messages';
import type { IRoom } from '@rocket.chat/apps-engine/definition/rooms';
import type { IUser } from '@rocket.chat/apps-engine/definition/users';
import { MessageBuilder } from './builders/MessageBuilder.ts';
import { AppObjectRegistry } from '../../AppObjectRegistry.ts';
import * as Messenger from '../messenger.ts';
import { require } from "../require.ts";

const { TypingScope } = require('@rocket.chat/apps-engine/definition/accessors/INotifier.js') as {
TypingScope: typeof _TypingScope;
};

export class Notifier implements INotifier {
private senderFn: typeof Messenger.sendRequest;
Expand Down

0 comments on commit f1ae688

Please sign in to comment.