@learnpack/learnpack 5.0.328 → 5.0.331
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/lib/commands/publish.js +2 -0
- package/lib/commands/serve.d.ts +3 -1
- package/lib/commands/serve.js +306 -15
- package/lib/managers/historyManager.d.ts +67 -0
- package/lib/managers/historyManager.js +203 -0
- package/lib/managers/readmeHistoryService.d.ts +76 -0
- package/lib/managers/readmeHistoryService.js +191 -0
- package/lib/utils/api.d.ts +1 -0
- package/lib/utils/api.js +1 -1
- package/package.json +2 -1
- package/src/commands/publish.ts +2 -0
- package/src/commands/serve.ts +452 -20
- package/src/lua/redo.lua +48 -0
- package/src/lua/saveState.lua +40 -0
- package/src/lua/undo.lua +50 -0
- package/src/managers/historyManager.ts +281 -0
- package/src/managers/readmeHistoryService.ts +284 -0
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +2090 -2090
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/api.ts +2 -1
package/src/ui/app.tar.gz
CHANGED
|
Binary file
|
package/src/utils/api.ts
CHANGED
|
@@ -420,6 +420,7 @@ type TAssetMissing = {
|
|
|
420
420
|
slug: string;
|
|
421
421
|
title: string;
|
|
422
422
|
lang: string;
|
|
423
|
+
graded: boolean;
|
|
423
424
|
url: string;
|
|
424
425
|
description: string;
|
|
425
426
|
learnpack_deploy_url: string;
|
|
@@ -444,7 +445,7 @@ export const createAsset = async (token: string, asset: TAssetMissing) => {
|
|
|
444
445
|
readme_url: null,
|
|
445
446
|
difficulty: null,
|
|
446
447
|
duration: null,
|
|
447
|
-
graded:
|
|
448
|
+
graded: asset.graded,
|
|
448
449
|
gitpod: true,
|
|
449
450
|
category: asset.category,
|
|
450
451
|
owner: asset.owner,
|