lucid-package 0.0.63 → 0.0.65
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
package/src/editorextension.js
CHANGED
|
@@ -147,6 +147,23 @@ async function debugEditorExtension(extensionNames, quiet = false, pickAnyPort =
|
|
|
147
147
|
};
|
|
148
148
|
})));
|
|
149
149
|
});
|
|
150
|
+
app.get('/dataConnector/:name', async (req, res) => {
|
|
151
|
+
var _a;
|
|
152
|
+
const name = req.params['name'];
|
|
153
|
+
if (name) {
|
|
154
|
+
const manifest = await (0, packagemanifest_1.readManifest)('local');
|
|
155
|
+
const connector = (_a = manifest['dataConnectors']) === null || _a === void 0 ? void 0 : _a.find((one) => one.name === name);
|
|
156
|
+
if (connector) {
|
|
157
|
+
res.send(JSON.stringify(connector));
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
res.sendStatus(404);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
res.sendStatus(404);
|
|
165
|
+
}
|
|
166
|
+
});
|
|
150
167
|
app.get('/oauthCredentials/:name', async (req, res) => {
|
|
151
168
|
var _a;
|
|
152
169
|
const name = req.params['name'];
|
package/src/shapelibrary.js
CHANGED