@esri/hub-discussions
Advanced tools
Comparing version 24.0.1 to 24.1.0
@@ -43,6 +43,6 @@ import { parseDatasetId } from "@esri/hub-common"; | ||
/** | ||
* Utility to determine if a given IGroup, IItem or IHubContent | ||
* Utility to determine if a given IGroup, IItem, IHubContent, or IHubItemEntity | ||
* is discussable. | ||
* @export | ||
* @param {IGroup|IItem|IHubContent} The subject to evaluate | ||
* @param {IGroup|IItem|IHubContent|IHubItemEntity} The subject to evaluate | ||
* @return {boolean} | ||
@@ -49,0 +49,0 @@ */ |
@@ -49,6 +49,6 @@ "use strict"; | ||
/** | ||
* Utility to determine if a given IGroup, IItem or IHubContent | ||
* Utility to determine if a given IGroup, IItem, IHubContent, or IHubItemEntity | ||
* is discussable. | ||
* @export | ||
* @param {IGroup|IItem|IHubContent} The subject to evaluate | ||
* @param {IGroup|IItem|IHubContent|IHubItemEntity} The subject to evaluate | ||
* @return {boolean} | ||
@@ -55,0 +55,0 @@ */ |
import { IGroup, IItem } from "@esri/arcgis-rest-portal"; | ||
import { IChannel, IDiscussionParams, IPost } from "../../types"; | ||
import { IHubContent } from "@esri/hub-common"; | ||
import { IHubContent, IHubItemEntity } from "@esri/hub-common"; | ||
import { IUser } from "@esri/arcgis-rest-auth"; | ||
@@ -16,9 +16,9 @@ export { canModifyPost } from "./can-modify-post"; | ||
/** | ||
* Utility to determine if a given IGroup, IItem or IHubContent | ||
* Utility to determine if a given IGroup, IItem, IHubContent, or IHubItemEntity | ||
* is discussable. | ||
* @export | ||
* @param {IGroup|IItem|IHubContent} The subject to evaluate | ||
* @param {IGroup|IItem|IHubContent|IHubItemEntity} The subject to evaluate | ||
* @return {boolean} | ||
*/ | ||
export declare function isDiscussable(subject: IGroup | IItem | IHubContent): boolean; | ||
export declare function isDiscussable(subject: IGroup | IItem | IHubContent | IHubItemEntity): boolean; | ||
/** | ||
@@ -25,0 +25,0 @@ * Determines if the given user has sufficient privileges to delete the given post |
{ | ||
"name": "@esri/hub-discussions", | ||
"version": "24.0.1", | ||
"version": "24.1.0", | ||
"description": "Module to interact with ArcGIS Hub Discussions API in Node.js and modern browsers.", | ||
@@ -5,0 +5,0 @@ "main": "dist/node/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194247