@overmap-ai/core 1.0.78-model-service.1 → 1.0.78-model-service.2
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.
|
@@ -7,5 +7,6 @@ export declare abstract class AgentService<TState extends OvermapRootState, TSDK
|
|
|
7
7
|
continueConversation(prompt: string, conversationUuid: AgentUserConversation["uuid"], projectUuid: Project["uuid"]): Promise<void>;
|
|
8
8
|
fetchDetails(conversationUuid: AgentUserConversation["uuid"]): Promise<void>;
|
|
9
9
|
rate(responseUuid: string, rating: 1 | 5): Promise<undefined>;
|
|
10
|
+
private list;
|
|
10
11
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<AgentUserConversation[]>;
|
|
11
12
|
}
|
|
@@ -23,7 +23,7 @@ export declare abstract class ProjectAccessService<TState extends OvermapRootSta
|
|
|
23
23
|
};
|
|
24
24
|
add(payload: Payload<ProjectAccess>): OptimisticModelResult<ProjectAccess>;
|
|
25
25
|
bulkAdd(payloads: Payload<ProjectAccess>[]): (Submitted<ProjectAccess>[] | Promise<ProjectAccess[]>)[];
|
|
26
|
-
update(payload: UUID<Payload<ProjectAccess
|
|
26
|
+
update(payload: UUID<Partial<Payload<ProjectAccess>>>): OptimisticModelResult<ProjectAccess>;
|
|
27
27
|
remove(uuid: ProjectAccess["uuid"]): Promise<undefined>;
|
|
28
28
|
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<ProjectAccess[]>;
|
|
29
29
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Organization, User } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
+
import { ModelSDKRequest } from '../typings';
|
|
3
4
|
import { OvermapRootState } from '../../store';
|
|
4
5
|
import { BaseModelApiService } from './BaseModelApiService';
|
|
5
6
|
export declare abstract class UserService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseModelApiService<User["id"], User, TState, TSDK> {
|
|
@@ -20,5 +21,8 @@ export declare abstract class UserService<TState extends OvermapRootState, TSDK
|
|
|
20
21
|
selectById: import('../..').OvermapSelectorWithArgs<number, User | undefined>;
|
|
21
22
|
selectByIds: (args: number[]) => (state: OvermapRootState) => User[];
|
|
22
23
|
};
|
|
24
|
+
list(requestDetails: Omit<ModelSDKRequest, "method"> & {
|
|
25
|
+
organizationUuid?: Organization["uuid"];
|
|
26
|
+
}, signal?: AbortSignal): Promise<User[]>;
|
|
23
27
|
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<User[]>;
|
|
24
28
|
}
|