@smartspace/api-client 0.1.0-pr.1369.cdbc31d → 0.1.0-pr.1370.c31389a
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.
- package/dist/generated/chat/models/index.d.ts +0 -1
- package/dist/generated/chat/models/index.js +0 -1
- package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +0 -20
- package/dist/generated/signalr/TypedSignalR.Client/index.js +1 -10
- package/package.json +2 -2
- package/dist/generated/chat/models/changeTagsTopic.d.ts +0 -11
- package/dist/generated/chat/models/changeTagsTopic.js +0 -8
|
@@ -21,7 +21,6 @@ export * from './aiModelPropertyStringType';
|
|
|
21
21
|
export * from './aiModelSummary';
|
|
22
22
|
export * from './aiModelSummaryDeploymentStatus';
|
|
23
23
|
export * from './aiModelSummaryModelDeploymentProviderType';
|
|
24
|
-
export * from './changeTagsTopic';
|
|
25
24
|
export * from './commentComment';
|
|
26
25
|
export * from './commentCommentSummary';
|
|
27
26
|
export * from './commentCreateComment';
|
|
@@ -37,7 +37,6 @@ __exportStar(require("./aiModelPropertyStringType"), exports);
|
|
|
37
37
|
__exportStar(require("./aiModelSummary"), exports);
|
|
38
38
|
__exportStar(require("./aiModelSummaryDeploymentStatus"), exports);
|
|
39
39
|
__exportStar(require("./aiModelSummaryModelDeploymentProviderType"), exports);
|
|
40
|
-
__exportStar(require("./changeTagsTopic"), exports);
|
|
41
40
|
__exportStar(require("./commentComment"), exports);
|
|
42
41
|
__exportStar(require("./commentCommentSummary"), exports);
|
|
43
42
|
__exportStar(require("./commentCreateComment"), exports);
|
package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts
CHANGED
|
@@ -12,18 +12,6 @@ export type IChatHubInvoker = {
|
|
|
12
12
|
* @returns Transpiled from System.Threading.Tasks.Task
|
|
13
13
|
*/
|
|
14
14
|
leaveGroup(groupName: string): Promise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Joins a change topic, as on the config hub (): true once
|
|
17
|
-
* joined, false when the topic is malformed or the caller may not read what it names.
|
|
18
|
-
* @param topic Transpiled from string
|
|
19
|
-
* @returns Transpiled from System.Threading.Tasks.Task<bool>
|
|
20
|
-
*/
|
|
21
|
-
joinTopic(topic: string): Promise<boolean>;
|
|
22
|
-
/**
|
|
23
|
-
* @param topic Transpiled from string
|
|
24
|
-
* @returns Transpiled from System.Threading.Tasks.Task
|
|
25
|
-
*/
|
|
26
|
-
leaveTopic(topic: string): Promise<void>;
|
|
27
15
|
};
|
|
28
16
|
export type IConfigHubInvoker = {
|
|
29
17
|
/**
|
|
@@ -78,14 +66,6 @@ export type IChatReceiver = {
|
|
|
78
66
|
* @returns Transpiled from System.Threading.Tasks.Task
|
|
79
67
|
*/
|
|
80
68
|
receiveCommentsUpdate(comment: CommentSummary): Promise<void>;
|
|
81
|
-
/**
|
|
82
|
-
* Something the caller subscribed to changed, as on the config hub
|
|
83
|
-
* (): one change tag per call, sent after the change committed.
|
|
84
|
-
* @param tags Transpiled from string[]
|
|
85
|
-
* @param actorUserId Transpiled from string
|
|
86
|
-
* @returns Transpiled from System.Threading.Tasks.Task
|
|
87
|
-
*/
|
|
88
|
-
receiveChanges(tags: string[], actorUserId: string): Promise<void>;
|
|
89
69
|
};
|
|
90
70
|
export type IConfigReceiver = {
|
|
91
71
|
/**
|
|
@@ -46,12 +46,6 @@ class IChatHubInvoker_HubProxy {
|
|
|
46
46
|
this.leaveGroup = async (groupName) => {
|
|
47
47
|
return await this.connection.invoke("LeaveGroup", groupName);
|
|
48
48
|
};
|
|
49
|
-
this.joinTopic = async (topic) => {
|
|
50
|
-
return await this.connection.invoke("JoinTopic", topic);
|
|
51
|
-
};
|
|
52
|
-
this.leaveTopic = async (topic) => {
|
|
53
|
-
return await this.connection.invoke("LeaveTopic", topic);
|
|
54
|
-
};
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
51
|
class IConfigHubInvoker_HubProxyFactory {
|
|
@@ -88,20 +82,17 @@ class IChatReceiver_Binder {
|
|
|
88
82
|
const __receiveThreadUpdate = (...args) => receiver.receiveThreadUpdate(...args);
|
|
89
83
|
const __receiveThreadDeleted = (...args) => receiver.receiveThreadDeleted(...args);
|
|
90
84
|
const __receiveCommentsUpdate = (...args) => receiver.receiveCommentsUpdate(...args);
|
|
91
|
-
const __receiveChanges = (...args) => receiver.receiveChanges(...args);
|
|
92
85
|
connection.on("ReceiveMessage", __receiveMessage);
|
|
93
86
|
connection.on("ReceiveNotification", __receiveNotification);
|
|
94
87
|
connection.on("ReceiveThreadUpdate", __receiveThreadUpdate);
|
|
95
88
|
connection.on("ReceiveThreadDeleted", __receiveThreadDeleted);
|
|
96
89
|
connection.on("ReceiveCommentsUpdate", __receiveCommentsUpdate);
|
|
97
|
-
connection.on("ReceiveChanges", __receiveChanges);
|
|
98
90
|
const methodList = [
|
|
99
91
|
{ methodName: "ReceiveMessage", method: __receiveMessage },
|
|
100
92
|
{ methodName: "ReceiveNotification", method: __receiveNotification },
|
|
101
93
|
{ methodName: "ReceiveThreadUpdate", method: __receiveThreadUpdate },
|
|
102
94
|
{ methodName: "ReceiveThreadDeleted", method: __receiveThreadDeleted },
|
|
103
|
-
{ methodName: "ReceiveCommentsUpdate", method: __receiveCommentsUpdate }
|
|
104
|
-
{ methodName: "ReceiveChanges", method: __receiveChanges }
|
|
95
|
+
{ methodName: "ReceiveCommentsUpdate", method: __receiveCommentsUpdate }
|
|
105
96
|
];
|
|
106
97
|
return new ReceiverMethodSubscription(connection, methodList);
|
|
107
98
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartspace/api-client",
|
|
3
|
-
"version": "0.1.0-pr.
|
|
3
|
+
"version": "0.1.0-pr.1370.c31389a",
|
|
4
4
|
"description": "Generated TypeScript client for SmartSpace APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"url": "https://github.com/Smartspace-ai/Smartspace-app-api.git",
|
|
54
54
|
"directory": "tools/sdk-package"
|
|
55
55
|
},
|
|
56
|
-
"smartspaceContentHash": "
|
|
56
|
+
"smartspaceContentHash": "5c610beed12dcc68061d5382c9377467928f00352c47f99114b1c00ae7cdf050"
|
|
57
57
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.13.2 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* SmartSpace Chat API
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* A change topic: a resource (models), a row (models:<id>), a view of a row (models:<id>:deployment) or a resource under a parent row (workspaces:<id>/messageThreads).
|
|
9
|
-
* @pattern ^(?<resource>[a-z][A-Za-z]*)(?::(?<id>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})(?::(?<view>[a-z]+(?:-[a-z]+)*)|/(?<child>[a-z][A-Za-z]*))?)?$
|
|
10
|
-
*/
|
|
11
|
-
export type ChangeTagsTopic = string;
|