@things-factory/tutorial-ui 10.1.256 → 10.1.258
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.
|
@@ -191,8 +191,8 @@ class TutorialDetail extends localize(i18next)(LitElement) {
|
|
|
191
191
|
|
|
192
192
|
async _saveTutorialRole() {
|
|
193
193
|
try {
|
|
194
|
-
const response = await client.
|
|
195
|
-
|
|
194
|
+
const response = await client.mutate({
|
|
195
|
+
mutation: gql`
|
|
196
196
|
mutation {
|
|
197
197
|
updateRoleTutorial(${gqlBuilder.buildArgs({
|
|
198
198
|
tutorialId: this.tutorialId,
|
|
@@ -234,8 +234,8 @@ class TutorialSettingList extends localize(i18next)(PageView) {
|
|
|
234
234
|
async _saveTutorial() {
|
|
235
235
|
let patches = this.dataGrist.exportPatchList({ flagName: 'cuFlag' })
|
|
236
236
|
if (patches && patches.length) {
|
|
237
|
-
const response = await client.
|
|
238
|
-
|
|
237
|
+
const response = await client.mutate({
|
|
238
|
+
mutation: gql`
|
|
239
239
|
mutation {
|
|
240
240
|
updateMultipleTutorial(${gqlBuilder.buildArgs({
|
|
241
241
|
patches
|
|
@@ -275,8 +275,8 @@ class TutorialSettingList extends localize(i18next)(PageView) {
|
|
|
275
275
|
if (result.value) {
|
|
276
276
|
const ids = this.dataGrist.selected.map(record => record.id)
|
|
277
277
|
if (ids && ids.length > 0) {
|
|
278
|
-
const response = await client.
|
|
279
|
-
|
|
278
|
+
const response = await client.mutate({
|
|
279
|
+
mutation: gql`
|
|
280
280
|
mutation {
|
|
281
281
|
deleteTutorials(${gqlBuilder.buildArgs({ ids })})
|
|
282
282
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/tutorial-ui",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.258",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.ts",
|
|
6
6
|
"things-factory": true,
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@operato/layout": "^10.0.0",
|
|
28
|
-
"@things-factory/code-base": "^10.1.
|
|
28
|
+
"@things-factory/code-base": "^10.1.258",
|
|
29
29
|
"@things-factory/form-ui": "^10.1.179",
|
|
30
|
-
"@things-factory/i18n-base": "^10.1.
|
|
31
|
-
"@things-factory/more-base": "^10.1.
|
|
32
|
-
"@things-factory/shell": "^10.1.
|
|
33
|
-
"@things-factory/tutorial-base": "^10.1.
|
|
30
|
+
"@things-factory/i18n-base": "^10.1.258",
|
|
31
|
+
"@things-factory/more-base": "^10.1.258",
|
|
32
|
+
"@things-factory/shell": "^10.1.258",
|
|
33
|
+
"@things-factory/tutorial-base": "^10.1.258"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c7b7e3b4e9aa1b36a246ccee312a4124a50924dd"
|
|
36
36
|
}
|