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

lucid-extension-sdk

Package Overview
Dependencies
Maintainers
2
Versions
320
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.258 to 0.0.259

5

dataconnector/datasourceupdatetypes.d.ts

@@ -45,3 +45,4 @@ import { SemanticCollection } from '../core/data/datasource/semanticcollection';

type serializedPropertiesForApi = {
'Represents': SemanticCollection[];
'Represents'?: SemanticCollection[];
'Name'?: string;
};

@@ -118,2 +119,4 @@ export interface SerializedCollectionPatch {

represents?: SemanticCollection[];
/** The collection's display name */
name?: string | undefined;
}

@@ -120,0 +123,0 @@ /** @ignore */

11

dataconnector/datasourceupdatetypes.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.schemaOKStatus = exports.schemaOutOfSyncStatus = exports.serializeCollectionPatch = exports.serializeFieldDefinitionForApi = exports.serializeItemsPatch = exports.ItemsPatchExhaustive = exports.ItemsPatchInexhaustive = void 0;
const checks_1 = require("../core/checks");
const fieldtypedefinition_1 = require("../core/data/fieldtypedefinition/fieldtypedefinition");

@@ -75,7 +76,15 @@ const object_1 = require("../core/object");

}
function serializeNameAsPropertyForApi(name) {
return {
'Name': name, // key needs to match 'Name' key in cake/app/webroot/ts/property/collection/collectionproperties.ts
};
}
function serializeCollectionPatch(patch) {
const representsProperty = patch.represents && serializeRepresentsAsPropertyForApi(patch.represents);
const nameProperty = (0, checks_1.isString)(patch.name) ? serializeNameAsPropertyForApi(patch.name) : undefined;
const properties = (representsProperty || nameProperty) && Object.assign(Object.assign({}, representsProperty), nameProperty);
return {
'schema': patch.schema && serializeSchemaForApi(patch.schema),
'itemsPatch': serializeItemsPatch(patch.patch),
'properties': patch.represents && serializeRepresentsAsPropertyForApi(patch.represents),
'properties': properties,
};

@@ -82,0 +91,0 @@ }

{
"name": "lucid-extension-sdk",
"version": "0.0.258",
"version": "0.0.259",
"description": "Utility classes for writing Lucid Software editor extensions",

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

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