@appkit/dek-lib 0.2.0 → 0.2.1
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/dist/index.es.js +1 -11
- package/dist/index.umd.js +1 -11
- package/package.json +2 -3
package/dist/index.es.js
CHANGED
|
@@ -55153,28 +55153,18 @@ async function updateData(email, password, plugin) {
|
|
|
55153
55153
|
let userData = await fetchUserData(email, password);
|
|
55154
55154
|
if (plugin) {
|
|
55155
55155
|
const pluginInstance = new plugin();
|
|
55156
|
-
if (pluginInstance.config.private !== "true") {
|
|
55156
|
+
if (pluginInstance.config && pluginInstance.config.private !== "true") {
|
|
55157
55157
|
userData = _.cloneDeep(userData);
|
|
55158
55158
|
userData.boards = [
|
|
55159
55159
|
{
|
|
55160
55160
|
id: "test-plugin",
|
|
55161
55161
|
key: "dev",
|
|
55162
|
-
// layout: `<Screen><View halign='center' valign='center'><Zone id='plugin'></Zone></View></Screen>`,
|
|
55163
55162
|
title: "Test Board",
|
|
55164
55163
|
base: {
|
|
55165
55164
|
plugin: "base",
|
|
55166
55165
|
key: "dev"
|
|
55167
55166
|
},
|
|
55168
55167
|
zones: []
|
|
55169
|
-
// zones: [
|
|
55170
|
-
// {
|
|
55171
|
-
// key: 'plugin',
|
|
55172
|
-
// plugin: 'plugin',
|
|
55173
|
-
// component: 'toggle-button',
|
|
55174
|
-
// props: [],
|
|
55175
|
-
// containerProps: [],
|
|
55176
|
-
// },
|
|
55177
|
-
// ],
|
|
55178
55168
|
}
|
|
55179
55169
|
];
|
|
55180
55170
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -55170,28 +55170,18 @@ Arguments: ` + Array.prototype.slice.call(n10).join("") + `
|
|
|
55170
55170
|
let userData = await fetchUserData(email, password);
|
|
55171
55171
|
if (plugin) {
|
|
55172
55172
|
const pluginInstance = new plugin();
|
|
55173
|
-
if (pluginInstance.config.private !== "true") {
|
|
55173
|
+
if (pluginInstance.config && pluginInstance.config.private !== "true") {
|
|
55174
55174
|
userData = _.cloneDeep(userData);
|
|
55175
55175
|
userData.boards = [
|
|
55176
55176
|
{
|
|
55177
55177
|
id: "test-plugin",
|
|
55178
55178
|
key: "dev",
|
|
55179
|
-
// layout: `<Screen><View halign='center' valign='center'><Zone id='plugin'></Zone></View></Screen>`,
|
|
55180
55179
|
title: "Test Board",
|
|
55181
55180
|
base: {
|
|
55182
55181
|
plugin: "base",
|
|
55183
55182
|
key: "dev"
|
|
55184
55183
|
},
|
|
55185
55184
|
zones: []
|
|
55186
|
-
// zones: [
|
|
55187
|
-
// {
|
|
55188
|
-
// key: 'plugin',
|
|
55189
|
-
// plugin: 'plugin',
|
|
55190
|
-
// component: 'toggle-button',
|
|
55191
|
-
// props: [],
|
|
55192
|
-
// containerProps: [],
|
|
55193
|
-
// },
|
|
55194
|
-
// ],
|
|
55195
55185
|
}
|
|
55196
55186
|
];
|
|
55197
55187
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appkit/dek-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc && vite build",
|
|
8
8
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
9
9
|
"codegen": "graphql-codegen",
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
"publish": "npm publish"
|
|
10
|
+
"preview": "vite preview"
|
|
12
11
|
},
|
|
13
12
|
"dependencies": {
|
|
14
13
|
"axios": "^1.6.2",
|