New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lucid-extension-sdk

Package Overview
Dependencies
Maintainers
2
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lucid-extension-sdk - npm Package Compare versions

Comparing version 0.0.178 to 0.0.180

document/documentaccesspermission.d.ts

8

commandtypes.d.ts

@@ -9,2 +9,3 @@ import { SerializedFieldTypeDefinition } from './core/data/fieldtypedefinition/fieldtypedefinition';

import { ShapeDataInheritance } from './core/shapedatainheritance';
import { DocumentAccessPermission } from './document/documentaccesspermission';
import { DocumentElementType } from './document/documentelement/documentelementtype';

@@ -61,2 +62,3 @@ import { SerializedLineTextAreaPositioning } from './document/linetextareapositioning';

GetDataItemField = "gdif",
GetDocumentAccessPermission = "gdap",
GetDocumentId = "gdid",

@@ -293,2 +295,6 @@ GetElementType = "get",

};
[CommandName.GetDocumentAccessPermission]: {
query: GetDocumentAccessPermissionQuery;
result: GetDocumentAccessPermissionResult;
};
[CommandName.GetDocumentId]: {

@@ -968,2 +974,4 @@ query: GetDocumentIdQuery;

export type GetDataItemFieldResult = SerializedFieldType;
export type GetDocumentAccessPermissionQuery = void;
export type GetDocumentAccessPermissionResult = DocumentAccessPermission;
export type GetDocumentIdQuery = void;

@@ -970,0 +978,0 @@ export type GetDocumentIdResult = string;

1

commandtypes.js

@@ -41,2 +41,3 @@ "use strict";

["gdif" /* CommandName.GetDataItemField */, 'GetDataItemField'],
["gdap" /* CommandName.GetDocumentAccessPermission */, 'GetDocumentAccessPermission'],
["gdid" /* CommandName.GetDocumentId */, 'GetDocumentId'],

@@ -43,0 +44,0 @@ ["get" /* CommandName.GetElementType */, 'GetElementType'],

2

package.json
{
"name": "lucid-extension-sdk",
"version": "0.0.178",
"version": "0.0.180",
"description": "Utility classes for writing Lucid Software editor extensions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,1 +1,2 @@

import { DocumentAccessPermission } from '../document/documentaccesspermission';
import { EditorClient } from '../editorclient';

@@ -9,2 +10,6 @@ /**

constructor(client: EditorClient);
/**
* @returns the permission the user has on the current document.
*/
getAccessPermssionOnDocument(): DocumentAccessPermission;
}

@@ -12,3 +12,9 @@ "use strict";

}
/**
* @returns the permission the user has on the current document.
*/
getAccessPermssionOnDocument() {
return this.client.sendCommand("gdap" /* CommandName.GetDocumentAccessPermission */, undefined);
}
}
exports.UserProxy = UserProxy;
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