Socket
Socket
Sign inDemoInstall

@esri/hub-discussions

Package Overview
Dependencies
Maintainers
43
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/hub-discussions - npm Package Compare versions

Comparing version 24.0.1 to 24.1.0

4

dist/esm/utils/posts/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc