@narrative.io/data-collaboration-sdk-ts 2.63.0 → 2.64.0
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.
|
@@ -64,9 +64,9 @@ declare class ConnectionsApi extends BaseApi {
|
|
|
64
64
|
*
|
|
65
65
|
* @public
|
|
66
66
|
* @async
|
|
67
|
-
* @returns {Promise<ConnectionV2
|
|
67
|
+
* @returns {Promise<ApiRecords<ConnectionV2>>} A promise that resolves to an array of connection objects.
|
|
68
68
|
* @throws Will throw an error if the API call fails.
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
getConnections(): Promise<ApiRecords<ConnectionV2>>;
|
|
71
71
|
}
|
|
72
72
|
export { type Connection, type ConnectionV2, type ConnectionStatus, ConnectionsApi, };
|
|
@@ -83,10 +83,10 @@ class ConnectionsApi extends BaseApi {
|
|
|
83
83
|
*
|
|
84
84
|
* @public
|
|
85
85
|
* @async
|
|
86
|
-
* @returns {Promise<ConnectionV2
|
|
86
|
+
* @returns {Promise<ApiRecords<ConnectionV2>>} A promise that resolves to an array of connection objects.
|
|
87
87
|
* @throws Will throw an error if the API call fails.
|
|
88
88
|
*/
|
|
89
|
-
async
|
|
89
|
+
async getConnections() {
|
|
90
90
|
const url = `v2/${resourceName}`;
|
|
91
91
|
return await this.get(url);
|
|
92
92
|
}
|