lucid-package 0.0.58 → 0.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-package",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -37,7 +37,7 @@ export declare type PackageManifest = {
37
37
  'name': string;
38
38
  'oauthProviderName': string;
39
39
  'callbackUrl': string;
40
- 'callbackEvents': string[];
40
+ 'dataActions': string[];
41
41
  }[];
42
42
  'settings'?: {
43
43
  'name': string;
@@ -179,8 +179,8 @@ function validateManifestOrThrow(manifest) {
179
179
  if (!(0, lucid_extension_sdk_1.isString)(provider['callbackBaseUrl'])) {
180
180
  throw new Error('manifest.json: Data connector "callbackBaseUrl" must be a string');
181
181
  }
182
- if (!(0, lucid_extension_sdk_1.isRecord)(lucid_extension_sdk_1.isString)(provider['callbackEvents'])) {
183
- throw new Error('manifest.json: Data connector "callbackEvents" must be a record from strings to strings');
182
+ if (!(0, lucid_extension_sdk_1.isRecord)(lucid_extension_sdk_1.isString)(provider['dataActions'])) {
183
+ throw new Error('manifest.json: Data connector "dataActions" must be a record from strings to strings');
184
184
  }
185
185
  }
186
186
  }
@@ -127,6 +127,7 @@ const defaultNameMap = new Map([
127
127
  ['opacity', 'Opacity'],
128
128
  ['rotation', 'Rotation'],
129
129
  ['aspectRatio', 'AspectRatio'],
130
+ ['link', 'Link'],
130
131
  ]);
131
132
  //Produce JSON equivalent to the document service's
132
133
  // /shapeLibraries/:name/shapes endpoint