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

lucid-extension-sdk

Package Overview
Dependencies
Maintainers
0
Versions
318
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.294 to 0.0.295

4

dataconnector/actions/patch.d.ts

@@ -79,4 +79,2 @@ import { FieldTypeDefinition } from '../../core/data/fieldtypedefinition/fieldtypedefinition';

columnOrdering: [string, string | null][] | undefined;
/** Changes to the primary key */
primaryKey: string[] | undefined;
constructor(

@@ -93,4 +91,2 @@ /** The id of the patch */

columnOrdering: [string, string | null][] | undefined,
/** Changes to the primary key */
primaryKey: string[] | undefined,
/** The syncSourceId of the changed data source */

@@ -97,0 +93,0 @@ syncSourceId: string,

10

dataconnector/actions/patch.js

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

const result = new ThirdPartyColumnPatch((_a = data['name']) !== null && _a !== void 0 ? _a : undefined, data['fieldType'] != null ? (0, fieldtypedefinition_1.deserializeFieldTypeDefinition)(data['fieldType']) : undefined);
console.log(`\n\nSerialization result: ${JSON.stringify(result.toJSON())}\n\n`);
return result;

@@ -137,4 +136,2 @@ }

columnOrdering,
/** Changes to the primary key */
primaryKey,
/** The syncSourceId of the changed data source */

@@ -149,3 +146,2 @@ syncSourceId,

this.columnOrdering = columnOrdering;
this.primaryKey = primaryKey;
}

@@ -166,3 +162,3 @@ toJSON() {

...this.columnOrdering.map(([base, target]) => [base, target]),
], this.primaryKey && [...this.primaryKey], this.syncSourceId, this.syncCollectionId);
], this.syncSourceId, this.syncCollectionId);
}

@@ -172,4 +168,4 @@ }

function _schemaPatchParser(id, patch) {
var _a, _b;
return new SchemaPatch(id, patch['columnsAdded'].map(ThirdPartyColumn.deserialize), objMap(patch['columnsChanged'], ThirdPartyColumnPatch.deserialize), patch['columnsDeleted'], (_a = patch['columnOrdering']) !== null && _a !== void 0 ? _a : undefined, (_b = patch['primaryKey']) !== null && _b !== void 0 ? _b : undefined, patch['syncSourceId'], patch['syncCollectionId']);
var _a;
return new SchemaPatch(id, patch['columnsAdded'].map(ThirdPartyColumn.deserialize), objMap(patch['columnsChanged'], ThirdPartyColumnPatch.deserialize), patch['columnsDeleted'], (_a = patch['columnOrdering']) !== null && _a !== void 0 ? _a : undefined, patch['syncSourceId'], patch['syncCollectionId']);
}

@@ -176,0 +172,0 @@ const schemaPatchParser = (id, patch) => {

@@ -40,3 +40,2 @@ import { isString, isUnknown } from '../../core/checks';

columnOrdering: (x: unknown) => x is [string, string | null][] | null | undefined;
primaryKey: (x: unknown) => x is string[] | null | undefined;
syncSourceId: typeof isString;

@@ -73,3 +72,2 @@ syncCollectionId: typeof isString;

columnOrdering: (x: unknown) => x is [string, string | null][] | null | undefined;
primaryKey: (x: unknown) => x is string[] | null | undefined;
syncSourceId: typeof isString;

@@ -76,0 +74,0 @@ syncCollectionId: typeof isString;

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

columnOrdering: (0, validators_1.nullableOption)((0, validators_1.arrayValidator)((0, validators_1.tupleValidator)(checks_1.isString, (0, validators_1.nullable)(checks_1.isString)))),
primaryKey: (0, validators_1.nullableOption)((0, validators_1.arrayValidator)(checks_1.isString)),
syncSourceId: checks_1.isString,

@@ -33,0 +32,0 @@ syncCollectionId: checks_1.isString,

{
"name": "lucid-extension-sdk",
"version": "0.0.294",
"version": "0.0.295",
"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