@overmap-ai/core 1.0.53-add-agent-conversations.2 → 1.0.53-add-agent-conversations.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
2
|
-
import { AgentUserConversation, OfflineIdMapping, RootState } from "../../typings";
|
|
2
|
+
import { AgentUserConversation, OfflineIdMapping, RootState, Selector } from "../../typings";
|
|
3
3
|
export interface AgentsState {
|
|
4
4
|
conversations: OfflineIdMapping<AgentUserConversation>;
|
|
5
5
|
}
|
|
@@ -10,5 +10,6 @@ export declare const agentsSlice: import("@reduxjs/toolkit").Slice<AgentsState,
|
|
|
10
10
|
}, "agents">;
|
|
11
11
|
export declare const setConversations: import("@reduxjs/toolkit").ActionCreatorWithPayload<AgentUserConversation[], "agents/setConversations">, addConversation: import("@reduxjs/toolkit").ActionCreatorWithPayload<AgentUserConversation, "agents/addConversation">, setConversation: import("@reduxjs/toolkit").ActionCreatorWithPayload<AgentUserConversation, "agents/setConversation">;
|
|
12
12
|
export declare const selectConversationMapping: (state: RootState) => OfflineIdMapping<AgentUserConversation>;
|
|
13
|
+
export declare const selectConversations: Selector<AgentUserConversation[]>;
|
|
13
14
|
export declare const selectConversation: (args: string) => (state: RootState) => AgentUserConversation | undefined;
|
|
14
15
|
export declare const agentsReducer: Reducer<AgentsState>;
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Coordinates, IssueAttachment, OfflineModel, RootState } from "../typings";
|
|
2
2
|
type MemoizedSelectorWithArgs<TArgs, TRet> = (state: RootState, args: TArgs) => TRet;
|
|
3
3
|
export declare const restructureCreateSelectorWithArgs: <TArgs, TRet>(selector: MemoizedSelectorWithArgs<TArgs, TRet>) => (args: TArgs) => (state: RootState) => TRet;
|
|
4
|
+
export declare const createSelectorWithArgs: <TArgs, TRet>(selector: MemoizedSelectorWithArgs<TArgs, TRet>) => (args: TArgs) => (state: RootState) => TRet;
|
|
4
5
|
export declare function onlyUniqueOfflineIds(value: OfflineModel, index: number, self: OfflineModel[]): boolean;
|
|
5
6
|
export declare function onlyUniqueHashes(value: IssueAttachment, index: number, self: IssueAttachment[]): boolean;
|
|
6
7
|
/**
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.53-add-agent-conversations.
|
|
6
|
+
"version": "1.0.53-add-agent-conversations.4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|