@coveo/platform-client 54.7.1 → 54.7.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.
|
@@ -75,7 +75,7 @@ class Project extends Resource_js_1.default {
|
|
|
75
75
|
*
|
|
76
76
|
* @param {ProjectResourceType} resourceType
|
|
77
77
|
* @param {string[]} resourceIds
|
|
78
|
-
* @returns {Promise<ListAssociatedProjectsModel>} List of project IDs associated to the provided resource IDs.
|
|
78
|
+
* @returns {Promise<ListAssociatedProjectsModel[]>} List of project IDs associated to the provided resource IDs.
|
|
79
79
|
*/
|
|
80
80
|
listAssociatedProjects(resourceType, resourceIds) {
|
|
81
81
|
return this.api.post(this.buildPath(`${Project.baseUrl}/resources/ids`, { resourceType }), resourceIds);
|
|
@@ -72,7 +72,7 @@ export default class Project extends Resource {
|
|
|
72
72
|
*
|
|
73
73
|
* @param {ProjectResourceType} resourceType
|
|
74
74
|
* @param {string[]} resourceIds
|
|
75
|
-
* @returns {Promise<ListAssociatedProjectsModel>} List of project IDs associated to the provided resource IDs.
|
|
75
|
+
* @returns {Promise<ListAssociatedProjectsModel[]>} List of project IDs associated to the provided resource IDs.
|
|
76
76
|
*/
|
|
77
77
|
listAssociatedProjects(resourceType, resourceIds) {
|
|
78
78
|
return this.api.post(this.buildPath(`${Project.baseUrl}/resources/ids`, { resourceType }), resourceIds);
|
|
@@ -60,7 +60,7 @@ export default class Project extends Resource {
|
|
|
60
60
|
*
|
|
61
61
|
* @param {ProjectResourceType} resourceType
|
|
62
62
|
* @param {string[]} resourceIds
|
|
63
|
-
* @returns {Promise<ListAssociatedProjectsModel>} List of project IDs associated to the provided resource IDs.
|
|
63
|
+
* @returns {Promise<ListAssociatedProjectsModel[]>} List of project IDs associated to the provided resource IDs.
|
|
64
64
|
*/
|
|
65
|
-
listAssociatedProjects(resourceType: ProjectResourceType, resourceIds: string[]): Promise<ListAssociatedProjectsModel>;
|
|
65
|
+
listAssociatedProjects(resourceType: ProjectResourceType, resourceIds: string[]): Promise<ListAssociatedProjectsModel[]>;
|
|
66
66
|
}
|