mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Introduce explicit-member-accessibility lint rule (#12325)
This commit is contained in:
@@ -32,14 +32,14 @@ class MemoryChatBufferSingleton {
|
||||
this.memoryBuffer = new Map();
|
||||
}
|
||||
|
||||
public static getInstance(): MemoryChatBufferSingleton {
|
||||
static getInstance(): MemoryChatBufferSingleton {
|
||||
if (!MemoryChatBufferSingleton.instance) {
|
||||
MemoryChatBufferSingleton.instance = new MemoryChatBufferSingleton();
|
||||
}
|
||||
return MemoryChatBufferSingleton.instance;
|
||||
}
|
||||
|
||||
public async getMemory(
|
||||
async getMemory(
|
||||
sessionKey: string,
|
||||
memoryParams: BufferWindowMemoryInput,
|
||||
): Promise<BufferWindowMemory> {
|
||||
|
||||
Reference in New Issue
Block a user