Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@evergis/api

Package Overview
Dependencies
Maintainers
6
Versions
329
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evergis/api - npm Package Compare versions

Comparing version 0.1.26 to 0.1.27

4

es/__generated__/data-contracts/index.d.ts

@@ -408,2 +408,4 @@ /**

type?: 'Unknown' | 'String' | 'Int32' | 'Int64' | 'Double' | 'DateTime' | 'Point' | 'Polyline' | 'Polygon' | 'Multipoint';
/** Alias of the attribute. */
alias?: string;
/** If false, the attribute must have non-null value. */

@@ -618,3 +620,3 @@ isNullable?: boolean;

/** String attribute subtype SPCore.Kernel.Features.Attributes.AttributeType.String. */
subType?: 'image';
subType?: 'None' | 'Image';
/** If set to false, editing of the attribute value will be prohibited. */

@@ -621,0 +623,0 @@ isEditable?: boolean;

@@ -37,4 +37,4 @@ import { Service } from './Service';

getResourceReferences(name: string): Promise<ResourceDependenciesDc>;
setPermissions({ name, Acl }: SetPermissionsParams): Promise<AccessControlListDc>;
addPermissions({ name, Acl }: AddPermissionsParams): Promise<AccessControlListDc>;
setPermissions({ name, data }: SetPermissionsParams): Promise<AccessControlListDc>;
addPermissions({ name, data }: AddPermissionsParams): Promise<AccessControlListDc>;
removePermissions({ name, role }: RemovePermissionsParams): Promise<AccessControlListDc>;

@@ -223,4 +223,4 @@ }

name: string;
/** All available permissions list. */
Acl: any[];
/** New data. */
data?: AccessControlListDc;
};

@@ -230,4 +230,4 @@ export declare type AddPermissionsParams = {

name: string;
/** All available permissions list. */
Acl: any[];
/** Acl to add. */
data?: AccessControlListDc;
};

@@ -234,0 +234,0 @@ export declare type RemovePermissionsParams = {

@@ -187,10 +187,10 @@ /*

}
setPermissions({ name, Acl }) {
setPermissions({ name, data }) {
return this.http
.put(`layers/${name}/permissions`, null, { Acl })
.put(`layers/${name}/permissions`, data)
.json();
}
addPermissions({ name, Acl }) {
addPermissions({ name, data }) {
return this.http
.post(`layers/${name}/permissions`, null, { Acl })
.post(`layers/${name}/permissions`, data)
.json();

@@ -197,0 +197,0 @@ }

{
"name": "@evergis/api",
"version": "0.1.26",
"version": "0.1.27",
"license": "ISC",

@@ -5,0 +5,0 @@ "author": "everpoint",

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