ultravisor 1.0.3 → 1.0.8
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/.claude/launch.json +11 -0
- package/.claude/ultravisor-dev-config.json +3 -0
- package/card-audit.json +1545 -0
- package/docs/_sidebar.md +17 -0
- package/docs/css/docuserve.css +73 -0
- package/docs/features/beacon-authentication.md +209 -0
- package/docs/features/beacon-providers.md +1299 -0
- package/docs/features/beacons.md +530 -0
- package/docs/features/capabilities.md +193 -0
- package/docs/features/llm-model-setup.md +505 -0
- package/docs/features/llm.md +262 -0
- package/docs/features/tasks-content-system.md +110 -0
- package/docs/features/tasks-data-transform.md +233 -0
- package/docs/features/tasks-extension.md +36 -0
- package/docs/features/tasks-file-system.md +203 -0
- package/docs/features/tasks-flow-control.md +125 -0
- package/docs/features/tasks-http-client.md +119 -0
- package/docs/features/tasks-llm.md +118 -0
- package/docs/features/tasks-meadow-api.md +163 -0
- package/docs/features/tasks-user-interaction.md +49 -0
- package/docs/features/tasks.md +14 -0
- package/docs/index.html +1 -1
- package/docs/retold-catalog.json +1 -1
- package/docs/retold-keyword-index.json +17374 -5
- package/operation-library/api-data-pipeline.json +143 -0
- package/operation-library/beacon-remote-command.json +72 -0
- package/operation-library/conditional-file-backup.json +143 -0
- package/operation-library/config-processor.json +136 -0
- package/operation-library/csv-data-analysis.json +228 -0
- package/operation-library/csv-to-json.json +160 -0
- package/operation-library/directory-inventory.json +128 -0
- package/operation-library/expression-calculator.json +114 -0
- package/operation-library/file-search-replace.json +175 -0
- package/operation-library/git-status-report.json +368 -0
- package/operation-library/health-check-ping.json +329 -0
- package/operation-library/json-config-merge.json +313 -0
- package/operation-library/llm-embedding-tool-use.json +314 -0
- package/operation-library/llm-multi-turn-analysis.json +322 -0
- package/operation-library/llm-summarize.json +264 -0
- package/operation-library/log-line-counter.json +185 -0
- package/operation-library/meadow-crud-lifecycle.json +264 -0
- package/operation-library/npm-project-validator.json +193 -0
- package/operation-library/rest-api-orchestrator.json +218 -0
- package/operation-library/shell-system-info.json +137 -0
- package/operation-library/simple-echo.json +95 -0
- package/operation-library/template-processor.json +299 -0
- package/operation-library/text-sanitizer.json +176 -0
- package/package.json +12 -8
- package/source/Ultravisor.cjs +30 -3
- package/source/beacon/Ultravisor-Beacon-CLI.cjs +143 -0
- package/source/beacon/Ultravisor-Beacon-CapabilityProvider.cjs +129 -0
- package/source/beacon/Ultravisor-Beacon-Client.cjs +568 -0
- package/source/beacon/Ultravisor-Beacon-Executor.cjs +500 -0
- package/source/beacon/Ultravisor-Beacon-ProviderRegistry.cjs +330 -0
- package/source/beacon/providers/Ultravisor-Beacon-Provider-FileSystem.cjs +331 -0
- package/source/beacon/providers/Ultravisor-Beacon-Provider-LLM.cjs +966 -0
- package/source/beacon/providers/Ultravisor-Beacon-Provider-Shell.cjs +95 -0
- package/source/cli/Ultravisor-CLIProgram.cjs +44 -22
- package/source/cli/commands/Ultravisor-Command-SingleOperation.cjs +29 -18
- package/source/cli/commands/Ultravisor-Command-SingleTask.cjs +62 -19
- package/source/cli/commands/Ultravisor-Command-UpdateTask.cjs +27 -15
- package/source/config/Ultravisor-Default-Command-Configuration.cjs +12 -3
- package/source/services/Ultravisor-Beacon-Coordinator.cjs +966 -0
- package/source/services/Ultravisor-ExecutionEngine.cjs +1093 -0
- package/source/services/Ultravisor-ExecutionManifest.cjs +629 -0
- package/source/services/Ultravisor-Hypervisor-State.cjs +270 -97
- package/source/services/Ultravisor-Hypervisor.cjs +185 -75
- package/source/services/Ultravisor-Schedule-Persistence-Base.cjs +45 -0
- package/source/services/Ultravisor-StateManager.cjs +253 -0
- package/source/services/Ultravisor-TaskTypeRegistry.cjs +213 -0
- package/source/services/persistence/Ultravisor-Schedule-Persistence-JSONFile.cjs +140 -0
- package/source/services/tasks/Ultravisor-BuiltIn-TaskConfigs.cjs +19 -0
- package/source/services/tasks/Ultravisor-TaskHelper-BeaconDispatch.cjs +107 -0
- package/source/services/tasks/Ultravisor-TaskType-Base.cjs +125 -0
- package/source/services/tasks/content-system/Ultravisor-TaskConfigs-ContentSystem.cjs +90 -0
- package/source/services/tasks/content-system/definitions/content-create-folder.json +24 -0
- package/source/services/tasks/content-system/definitions/content-list-files.json +27 -0
- package/source/services/tasks/content-system/definitions/content-read-file.json +26 -0
- package/source/services/tasks/content-system/definitions/content-save-file.json +26 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskConfigs-DataTransform.cjs +577 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskType-ReplaceString.cjs +80 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskType-SetValues.cjs +74 -0
- package/source/services/tasks/data-transform/Ultravisor-TaskType-StringAppender.cjs +90 -0
- package/source/services/tasks/data-transform/definitions/comprehension-intersect.json +24 -0
- package/source/services/tasks/data-transform/definitions/csv-transform.json +24 -0
- package/source/services/tasks/data-transform/definitions/expression-solver.json +20 -0
- package/source/services/tasks/data-transform/definitions/histogram.json +23 -0
- package/source/services/tasks/data-transform/definitions/parse-csv.json +27 -0
- package/source/services/tasks/data-transform/definitions/replace-string.json +27 -0
- package/source/services/tasks/data-transform/definitions/set-values.json +17 -0
- package/source/services/tasks/data-transform/definitions/string-appender.json +22 -0
- package/source/services/tasks/data-transform/definitions/template-string.json +20 -0
- package/source/services/tasks/extension/Ultravisor-TaskConfigs-Extension.cjs +87 -0
- package/source/services/tasks/extension/definitions/beacon-dispatch.json +32 -0
- package/source/services/tasks/file-system/Ultravisor-TaskConfigs-FileSystem.cjs +509 -0
- package/source/services/tasks/file-system/Ultravisor-TaskType-ReadFile.cjs +96 -0
- package/source/services/tasks/file-system/Ultravisor-TaskType-ReadFileBuffered.cjs +123 -0
- package/source/services/tasks/file-system/Ultravisor-TaskType-WriteFile.cjs +106 -0
- package/source/services/tasks/file-system/definitions/copy-file.json +27 -0
- package/source/services/tasks/file-system/definitions/list-files.json +27 -0
- package/source/services/tasks/file-system/definitions/read-file-buffered.json +31 -0
- package/source/services/tasks/file-system/definitions/read-file.json +26 -0
- package/source/services/tasks/file-system/definitions/read-json.json +23 -0
- package/source/services/tasks/file-system/definitions/write-file.json +29 -0
- package/source/services/tasks/file-system/definitions/write-json.json +30 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskConfigs-FlowControl.cjs +353 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskType-IfConditional.cjs +125 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskType-LaunchOperation.cjs +186 -0
- package/source/services/tasks/flow-control/Ultravisor-TaskType-SplitExecute.cjs +164 -0
- package/source/services/tasks/flow-control/definitions/if-conditional.json +25 -0
- package/source/services/tasks/flow-control/definitions/launch-operation.json +27 -0
- package/source/services/tasks/flow-control/definitions/split-execute.json +32 -0
- package/source/services/tasks/http-client/Ultravisor-TaskConfigs-HttpClient.cjs +281 -0
- package/source/services/tasks/http-client/definitions/get-json.json +26 -0
- package/source/services/tasks/http-client/definitions/get-text.json +26 -0
- package/source/services/tasks/http-client/definitions/rest-request.json +32 -0
- package/source/services/tasks/http-client/definitions/send-json.json +28 -0
- package/source/services/tasks/llm/Ultravisor-TaskConfigs-LLM.cjs +605 -0
- package/source/services/tasks/llm/definitions/llm-chat-completion.json +46 -0
- package/source/services/tasks/llm/definitions/llm-embedding.json +31 -0
- package/source/services/tasks/llm/definitions/llm-tool-use.json +42 -0
- package/source/services/tasks/meadow-api/Ultravisor-TaskConfigs-MeadowApi.cjs +341 -0
- package/source/services/tasks/meadow-api/definitions/meadow-count.json +26 -0
- package/source/services/tasks/meadow-api/definitions/meadow-create.json +26 -0
- package/source/services/tasks/meadow-api/definitions/meadow-delete.json +23 -0
- package/source/services/tasks/meadow-api/definitions/meadow-read.json +26 -0
- package/source/services/tasks/meadow-api/definitions/meadow-reads.json +29 -0
- package/source/services/tasks/meadow-api/definitions/meadow-update.json +26 -0
- package/source/services/tasks/shell/Ultravisor-TaskConfigs-Shell.cjs +63 -0
- package/source/services/tasks/shell/definitions/command.json +29 -0
- package/source/services/tasks/user-interaction/Ultravisor-TaskConfigs-UserInteraction.cjs +64 -0
- package/source/services/tasks/user-interaction/Ultravisor-TaskType-ErrorMessage.cjs +55 -0
- package/source/services/tasks/user-interaction/Ultravisor-TaskType-ValueInput.cjs +47 -0
- package/source/services/tasks/user-interaction/definitions/error-message.json +18 -0
- package/source/services/tasks/user-interaction/definitions/value-input.json +23 -0
- package/source/web_server/Ultravisor-API-Server.cjs +849 -124
- package/test/Ultravisor_browser_tests.js +2226 -0
- package/test/Ultravisor_operation_library_tests.js +894 -0
- package/test/Ultravisor_tests.js +4946 -5044
- package/test/workflows/test-content-concatenate-all.json +339 -0
- package/test/workflows/test-content-full-pipeline.json +159 -0
- package/test/workflows/test-content-list-files.json +76 -0
- package/test/workflows/test-content-save-and-read.json +106 -0
- package/webinterface/css/ultravisor-themes.css +668 -0
- package/webinterface/css/ultravisor.css +37 -14
- package/webinterface/docs/card-help/beacon-dispatch.md +30 -0
- package/webinterface/docs/card-help/command.md +27 -0
- package/webinterface/docs/card-help/comprehension-intersect.md +24 -0
- package/webinterface/docs/card-help/content-create-folder.md +22 -0
- package/webinterface/docs/card-help/content-list-files.md +25 -0
- package/webinterface/docs/card-help/content-read-file.md +24 -0
- package/webinterface/docs/card-help/content-save-file.md +24 -0
- package/webinterface/docs/card-help/copy-file.md +25 -0
- package/webinterface/docs/card-help/csv-transform.md +24 -0
- package/webinterface/docs/card-help/end.md +11 -0
- package/webinterface/docs/card-help/error-message.md +16 -0
- package/webinterface/docs/card-help/expression-solver.md +21 -0
- package/webinterface/docs/card-help/get-json.md +24 -0
- package/webinterface/docs/card-help/get-text.md +24 -0
- package/webinterface/docs/card-help/histogram.md +23 -0
- package/webinterface/docs/card-help/if-conditional.md +23 -0
- package/webinterface/docs/card-help/launch-operation.md +25 -0
- package/webinterface/docs/card-help/list-files.md +25 -0
- package/webinterface/docs/card-help/llm-chat-completion.md +43 -0
- package/webinterface/docs/card-help/llm-embedding.md +24 -0
- package/webinterface/docs/card-help/llm-tool-use.md +39 -0
- package/webinterface/docs/card-help/meadow-count.md +24 -0
- package/webinterface/docs/card-help/meadow-create.md +24 -0
- package/webinterface/docs/card-help/meadow-delete.md +19 -0
- package/webinterface/docs/card-help/meadow-read.md +24 -0
- package/webinterface/docs/card-help/meadow-reads.md +27 -0
- package/webinterface/docs/card-help/meadow-update.md +24 -0
- package/webinterface/docs/card-help/parse-csv.md +27 -0
- package/webinterface/docs/card-help/read-file-buffered.md +29 -0
- package/webinterface/docs/card-help/read-file.md +24 -0
- package/webinterface/docs/card-help/read-json.md +21 -0
- package/webinterface/docs/card-help/replace-string.md +25 -0
- package/webinterface/docs/card-help/rest-request.md +30 -0
- package/webinterface/docs/card-help/send-json.md +26 -0
- package/webinterface/docs/card-help/set-values.md +16 -0
- package/webinterface/docs/card-help/split-execute.md +35 -0
- package/webinterface/docs/card-help/start.md +11 -0
- package/webinterface/docs/card-help/string-appender.md +22 -0
- package/webinterface/docs/card-help/template-string.md +21 -0
- package/webinterface/docs/card-help/value-input.md +24 -0
- package/webinterface/docs/card-help/write-file.md +27 -0
- package/webinterface/docs/card-help/write-json.md +28 -0
- package/webinterface/html/index.html +5 -0
- package/webinterface/package.json +13 -4
- package/webinterface/source/Pict-Application-Ultravisor.js +564 -70
- package/webinterface/source/Ultravisor-TimingUtils.js +99 -0
- package/webinterface/source/card-help-content.js +46 -0
- package/webinterface/source/cards/Ultravisor-BuiltIn-CardConfigs.js +174 -0
- package/webinterface/source/cards/Ultravisor-CardConfigGenerator.js +431 -0
- package/webinterface/source/data/ExampleFlow-CSVPipeline.js +231 -0
- package/webinterface/source/data/ExampleFlow-FileProcessor.js +315 -0
- package/webinterface/source/data/ExampleFlow-MeadowPipeline.js +328 -0
- package/webinterface/source/panels/Ultravisor-CardSettingsPanel.js +902 -0
- package/webinterface/source/providers/PictRouter-Ultravisor-Configuration.json +20 -8
- package/webinterface/source/views/PictView-Ultravisor-BeaconList.js +817 -0
- package/webinterface/source/views/PictView-Ultravisor-BottomBar.js +5 -5
- package/webinterface/source/views/PictView-Ultravisor-Dashboard.js +25 -25
- package/webinterface/source/views/PictView-Ultravisor-Documentation.js +856 -0
- package/webinterface/source/views/PictView-Ultravisor-FlowEditor.js +777 -0
- package/webinterface/source/views/PictView-Ultravisor-ManifestList.js +321 -58
- package/webinterface/source/views/PictView-Ultravisor-OperationEdit.js +36 -91
- package/webinterface/source/views/PictView-Ultravisor-OperationList.js +388 -16
- package/webinterface/source/views/PictView-Ultravisor-PendingInput.js +314 -0
- package/webinterface/source/views/PictView-Ultravisor-Schedule.js +521 -65
- package/webinterface/source/views/PictView-Ultravisor-TimingView.js +333 -71
- package/webinterface/source/views/PictView-Ultravisor-TopBar.js +257 -21
- package/webinterface/theme-sampler.html +645 -0
- package/debug/Harness.js +0 -6
- package/source/services/Ultravisor-Operation-Manifest.cjs +0 -160
- package/source/services/Ultravisor-Operation.cjs +0 -200
- package/source/services/Ultravisor-Task.cjs +0 -349
- package/source/services/events/Ultravisor-Hypervisor-Event-Solver.cjs +0 -11
- package/source/services/tasks/Ultravisor-Task-Base.cjs +0 -264
- package/source/services/tasks/Ultravisor-Task-CollectValues.cjs +0 -188
- package/source/services/tasks/Ultravisor-Task-Command.cjs +0 -65
- package/source/services/tasks/Ultravisor-Task-CommandEach.cjs +0 -190
- package/source/services/tasks/Ultravisor-Task-Conditional.cjs +0 -104
- package/source/services/tasks/Ultravisor-Task-DateWindow.cjs +0 -72
- package/source/services/tasks/Ultravisor-Task-GeneratePagedOperation.cjs +0 -336
- package/source/services/tasks/Ultravisor-Task-LaunchOperation.cjs +0 -143
- package/source/services/tasks/Ultravisor-Task-LaunchTask.cjs +0 -146
- package/source/services/tasks/Ultravisor-Task-LineMatch.cjs +0 -158
- package/source/services/tasks/Ultravisor-Task-Request.cjs +0 -56
- package/source/services/tasks/Ultravisor-Task-Solver.cjs +0 -89
- package/source/services/tasks/Ultravisor-Task-TemplateString.cjs +0 -93
- package/source/services/tasks/rest/Ultravisor-Task-GetBinary.cjs +0 -127
- package/source/services/tasks/rest/Ultravisor-Task-GetJSON.cjs +0 -119
- package/source/services/tasks/rest/Ultravisor-Task-GetText.cjs +0 -109
- package/source/services/tasks/rest/Ultravisor-Task-GetXML.cjs +0 -112
- package/source/services/tasks/rest/Ultravisor-Task-RestRequest.cjs +0 -499
- package/source/services/tasks/rest/Ultravisor-Task-SendJSON.cjs +0 -150
- package/source/services/tasks/stagingfiles/Ultravisor-Task-CopyFile.cjs +0 -110
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ListFiles.cjs +0 -89
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadBinary.cjs +0 -87
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadJSON.cjs +0 -67
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadText.cjs +0 -66
- package/source/services/tasks/stagingfiles/Ultravisor-Task-ReadXML.cjs +0 -69
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteBinary.cjs +0 -95
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteJSON.cjs +0 -96
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteText.cjs +0 -99
- package/source/services/tasks/stagingfiles/Ultravisor-Task-WriteXML.cjs +0 -102
- package/webinterface/source/views/PictView-Ultravisor-TaskEdit.js +0 -220
- package/webinterface/source/views/PictView-Ultravisor-TaskList.js +0 -248
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "Meadow CRUD Lifecycle",
|
|
3
|
+
"Description": "Complete CRUD lifecycle for a Note entity on a Meadow API. Creates a record, reads it back, updates it, lists all records, counts records, deletes the record, then writes a summary report. Demonstrates all six Meadow task types: meadow-create, meadow-read, meadow-update, meadow-reads, meadow-count, meadow-delete.",
|
|
4
|
+
"Tags": ["meadow", "crud", "api", "data-lifecycle"],
|
|
5
|
+
"Author": "Ultravisor",
|
|
6
|
+
"Version": "1.0.0",
|
|
7
|
+
"Graph": {
|
|
8
|
+
"Nodes": [
|
|
9
|
+
{
|
|
10
|
+
"Hash": "mc-start",
|
|
11
|
+
"Type": "start",
|
|
12
|
+
"X": 50,
|
|
13
|
+
"Y": 220,
|
|
14
|
+
"Width": 140,
|
|
15
|
+
"Height": 80,
|
|
16
|
+
"Title": "Start",
|
|
17
|
+
"Ports": [
|
|
18
|
+
{ "Hash": "mc-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
|
|
19
|
+
],
|
|
20
|
+
"Data": {}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"Hash": "mc-init",
|
|
24
|
+
"Type": "set-values",
|
|
25
|
+
"X": 250,
|
|
26
|
+
"Y": 200,
|
|
27
|
+
"Width": 200,
|
|
28
|
+
"Height": 80,
|
|
29
|
+
"Title": "Initialize Settings",
|
|
30
|
+
"Ports": [
|
|
31
|
+
{ "Hash": "mc-ei-Execute", "Direction": "input", "Side": "left-bottom", "Label": "Execute" },
|
|
32
|
+
{ "Hash": "mc-eo-Complete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
33
|
+
],
|
|
34
|
+
"Data": {
|
|
35
|
+
"Mappings": [
|
|
36
|
+
{ "Address": "Operation.Entity", "Value": "Note" },
|
|
37
|
+
{ "Address": "Operation.Endpoint", "Value": "http://localhost:8080/1.0" },
|
|
38
|
+
{ "Address": "Operation.NewRecord", "Value": { "Title": "My First Note", "Content": "This is a sample note created by the Meadow CRUD lifecycle flow." } }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Hash": "mc-create",
|
|
44
|
+
"Type": "meadow-create",
|
|
45
|
+
"X": 520,
|
|
46
|
+
"Y": 200,
|
|
47
|
+
"Width": 220,
|
|
48
|
+
"Height": 120,
|
|
49
|
+
"Title": "Create Note",
|
|
50
|
+
"Ports": [
|
|
51
|
+
{ "Hash": "mc-ei-CreateTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
52
|
+
{ "Hash": "mc-eo-CreateComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
53
|
+
{ "Hash": "mc-eo-CreateError", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
54
|
+
{ "Hash": "mc-so-Created", "Direction": "output", "Side": "right-top", "Label": "Created" }
|
|
55
|
+
],
|
|
56
|
+
"Data": {
|
|
57
|
+
"Entity": "{~D:Record.Operation.Entity~}",
|
|
58
|
+
"Endpoint": "{~D:Record.Operation.Endpoint~}",
|
|
59
|
+
"DataAddress": "Operation.NewRecord"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"Hash": "mc-read",
|
|
64
|
+
"Type": "meadow-read",
|
|
65
|
+
"X": 810,
|
|
66
|
+
"Y": 200,
|
|
67
|
+
"Width": 220,
|
|
68
|
+
"Height": 120,
|
|
69
|
+
"Title": "Read Note",
|
|
70
|
+
"Ports": [
|
|
71
|
+
{ "Hash": "mc-ei-ReadTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
72
|
+
{ "Hash": "mc-eo-ReadComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
73
|
+
{ "Hash": "mc-eo-ReadError", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
74
|
+
{ "Hash": "mc-so-Record", "Direction": "output", "Side": "right-top", "Label": "Record" }
|
|
75
|
+
],
|
|
76
|
+
"Data": {
|
|
77
|
+
"Entity": "{~D:Record.Operation.Entity~}",
|
|
78
|
+
"Endpoint": "{~D:Record.Operation.Endpoint~}",
|
|
79
|
+
"RecordID": "{~D:Record.TaskOutput.mc-create.Created.IDNote~}",
|
|
80
|
+
"Destination": "Operation.ReadRecord"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"Hash": "mc-update",
|
|
85
|
+
"Type": "meadow-update",
|
|
86
|
+
"X": 1100,
|
|
87
|
+
"Y": 200,
|
|
88
|
+
"Width": 220,
|
|
89
|
+
"Height": 120,
|
|
90
|
+
"Title": "Update Note",
|
|
91
|
+
"Ports": [
|
|
92
|
+
{ "Hash": "mc-ei-UpdateTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
93
|
+
{ "Hash": "mc-eo-UpdateComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
94
|
+
{ "Hash": "mc-eo-UpdateError", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
95
|
+
{ "Hash": "mc-so-Updated", "Direction": "output", "Side": "right-top", "Label": "Updated" }
|
|
96
|
+
],
|
|
97
|
+
"Data": {
|
|
98
|
+
"Entity": "{~D:Record.Operation.Entity~}",
|
|
99
|
+
"Endpoint": "{~D:Record.Operation.Endpoint~}",
|
|
100
|
+
"DataAddress": "Operation.UpdateData"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"Hash": "mc-reads",
|
|
105
|
+
"Type": "meadow-reads",
|
|
106
|
+
"X": 1390,
|
|
107
|
+
"Y": 200,
|
|
108
|
+
"Width": 220,
|
|
109
|
+
"Height": 120,
|
|
110
|
+
"Title": "List All Notes",
|
|
111
|
+
"Ports": [
|
|
112
|
+
{ "Hash": "mc-ei-ReadsTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
113
|
+
{ "Hash": "mc-eo-ReadsComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
114
|
+
{ "Hash": "mc-eo-ReadsError", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
115
|
+
{ "Hash": "mc-so-Records", "Direction": "output", "Side": "right-top", "Label": "Records" }
|
|
116
|
+
],
|
|
117
|
+
"Data": {
|
|
118
|
+
"Entity": "{~D:Record.Operation.Entity~}",
|
|
119
|
+
"Endpoint": "{~D:Record.Operation.Endpoint~}",
|
|
120
|
+
"Filter": "",
|
|
121
|
+
"Destination": "Operation.AllRecords"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"Hash": "mc-count",
|
|
126
|
+
"Type": "meadow-count",
|
|
127
|
+
"X": 1670,
|
|
128
|
+
"Y": 200,
|
|
129
|
+
"Width": 220,
|
|
130
|
+
"Height": 120,
|
|
131
|
+
"Title": "Count Notes",
|
|
132
|
+
"Ports": [
|
|
133
|
+
{ "Hash": "mc-ei-CountTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
134
|
+
{ "Hash": "mc-eo-CountComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
135
|
+
{ "Hash": "mc-eo-CountError", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
136
|
+
{ "Hash": "mc-so-Count", "Direction": "output", "Side": "right-top", "Label": "Count" }
|
|
137
|
+
],
|
|
138
|
+
"Data": {
|
|
139
|
+
"Entity": "{~D:Record.Operation.Entity~}",
|
|
140
|
+
"Endpoint": "{~D:Record.Operation.Endpoint~}",
|
|
141
|
+
"Destination": "Operation.TotalCount"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"Hash": "mc-delete",
|
|
146
|
+
"Type": "meadow-delete",
|
|
147
|
+
"X": 1950,
|
|
148
|
+
"Y": 200,
|
|
149
|
+
"Width": 220,
|
|
150
|
+
"Height": 100,
|
|
151
|
+
"Title": "Delete Note",
|
|
152
|
+
"Ports": [
|
|
153
|
+
{ "Hash": "mc-ei-DeleteTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
154
|
+
{ "Hash": "mc-eo-DeleteDone", "Direction": "output", "Side": "right-bottom", "Label": "Done" },
|
|
155
|
+
{ "Hash": "mc-eo-DeleteError", "Direction": "output", "Side": "bottom", "Label": "Error" }
|
|
156
|
+
],
|
|
157
|
+
"Data": {
|
|
158
|
+
"Entity": "{~D:Record.Operation.Entity~}",
|
|
159
|
+
"Endpoint": "{~D:Record.Operation.Endpoint~}",
|
|
160
|
+
"RecordID": "{~D:Record.TaskOutput.mc-create.Created.IDNote~}"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"Hash": "mc-format",
|
|
165
|
+
"Type": "template-string",
|
|
166
|
+
"X": 2220,
|
|
167
|
+
"Y": 200,
|
|
168
|
+
"Width": 260,
|
|
169
|
+
"Height": 100,
|
|
170
|
+
"Title": "Format Report",
|
|
171
|
+
"Ports": [
|
|
172
|
+
{ "Hash": "mc-ei-FormatIn", "Direction": "input", "Side": "left-bottom", "Label": "In" },
|
|
173
|
+
{ "Hash": "mc-eo-FormatComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
174
|
+
{ "Hash": "mc-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
|
|
175
|
+
],
|
|
176
|
+
"Data": {
|
|
177
|
+
"Template": "Meadow CRUD Lifecycle Report\n=============================\nEntity: {~D:Record.Operation.Entity~}\nEndpoint: {~D:Record.Operation.Endpoint~}\n\nCreated: {~D:Record.TaskOutput.mc-create.Created~}\nRead Back: {~D:Record.TaskOutput.mc-read.Record~}\nUpdated: {~D:Record.TaskOutput.mc-update.Updated~}\nTotal Records: {~D:Record.TaskOutput.mc-count.Count~}\nAll Records: {~D:Record.TaskOutput.mc-reads.Records~}\nDeleted Record ID: {~D:Record.TaskOutput.mc-create.Created.IDNote~}\n",
|
|
178
|
+
"Destination": "Operation.Report"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"Hash": "mc-write",
|
|
183
|
+
"Type": "write-file",
|
|
184
|
+
"X": 2540,
|
|
185
|
+
"Y": 200,
|
|
186
|
+
"Width": 200,
|
|
187
|
+
"Height": 120,
|
|
188
|
+
"Title": "Write Report",
|
|
189
|
+
"Ports": [
|
|
190
|
+
{ "Hash": "mc-ei-WriteBegin", "Direction": "input", "Side": "left-bottom", "Label": "BeginWrite" },
|
|
191
|
+
{ "Hash": "mc-eo-WriteDone", "Direction": "output", "Side": "right-bottom", "Label": "WriteComplete" },
|
|
192
|
+
{ "Hash": "mc-eo-WriteError", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
193
|
+
{ "Hash": "mc-si-Content", "Direction": "input", "Side": "left-top", "Label": "Content" },
|
|
194
|
+
{ "Hash": "mc-so-BytesWritten", "Direction": "output", "Side": "right-top", "Label": "BytesWritten" }
|
|
195
|
+
],
|
|
196
|
+
"Data": {
|
|
197
|
+
"FilePath": "crud-lifecycle-report.txt",
|
|
198
|
+
"Content": "{~D:Record.Operation.Report~}",
|
|
199
|
+
"Encoding": "utf8"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"Hash": "mc-err",
|
|
204
|
+
"Type": "error-message",
|
|
205
|
+
"X": 1100,
|
|
206
|
+
"Y": 420,
|
|
207
|
+
"Width": 220,
|
|
208
|
+
"Height": 80,
|
|
209
|
+
"Title": "CRUD Error",
|
|
210
|
+
"Ports": [
|
|
211
|
+
{ "Hash": "mc-ei-ErrTrigger", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
212
|
+
{ "Hash": "mc-eo-ErrComplete", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
213
|
+
],
|
|
214
|
+
"Data": {
|
|
215
|
+
"MessageTemplate": "Meadow CRUD lifecycle encountered an error"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"Hash": "mc-end",
|
|
220
|
+
"Type": "end",
|
|
221
|
+
"X": 2810,
|
|
222
|
+
"Y": 260,
|
|
223
|
+
"Width": 140,
|
|
224
|
+
"Height": 80,
|
|
225
|
+
"Title": "End",
|
|
226
|
+
"Ports": [
|
|
227
|
+
{ "Hash": "mc-end-in", "Direction": "input", "Side": "left-bottom", "Label": "In" }
|
|
228
|
+
],
|
|
229
|
+
"Data": {}
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"Connections": [
|
|
233
|
+
{ "Hash": "mc-c1", "SourceNodeHash": "mc-start", "SourcePortHash": "mc-start-out", "TargetNodeHash": "mc-init", "TargetPortHash": "mc-ei-Execute", "Data": {} },
|
|
234
|
+
{ "Hash": "mc-c2", "SourceNodeHash": "mc-init", "SourcePortHash": "mc-eo-Complete", "TargetNodeHash": "mc-create", "TargetPortHash": "mc-ei-CreateTrigger", "Data": {} },
|
|
235
|
+
{ "Hash": "mc-c3", "SourceNodeHash": "mc-create", "SourcePortHash": "mc-eo-CreateComplete", "TargetNodeHash": "mc-read", "TargetPortHash": "mc-ei-ReadTrigger", "Data": {} },
|
|
236
|
+
{ "Hash": "mc-c4", "SourceNodeHash": "mc-read", "SourcePortHash": "mc-eo-ReadComplete", "TargetNodeHash": "mc-update", "TargetPortHash": "mc-ei-UpdateTrigger", "Data": {} },
|
|
237
|
+
{ "Hash": "mc-c5", "SourceNodeHash": "mc-update", "SourcePortHash": "mc-eo-UpdateComplete", "TargetNodeHash": "mc-reads", "TargetPortHash": "mc-ei-ReadsTrigger", "Data": {} },
|
|
238
|
+
{ "Hash": "mc-c6", "SourceNodeHash": "mc-reads", "SourcePortHash": "mc-eo-ReadsComplete", "TargetNodeHash": "mc-count", "TargetPortHash": "mc-ei-CountTrigger", "Data": {} },
|
|
239
|
+
{ "Hash": "mc-c7", "SourceNodeHash": "mc-count", "SourcePortHash": "mc-eo-CountComplete", "TargetNodeHash": "mc-delete", "TargetPortHash": "mc-ei-DeleteTrigger", "Data": {} },
|
|
240
|
+
{ "Hash": "mc-c8", "SourceNodeHash": "mc-delete", "SourcePortHash": "mc-eo-DeleteDone", "TargetNodeHash": "mc-format", "TargetPortHash": "mc-ei-FormatIn", "Data": {} },
|
|
241
|
+
{ "Hash": "mc-c9", "SourceNodeHash": "mc-format", "SourcePortHash": "mc-eo-FormatComplete", "TargetNodeHash": "mc-write", "TargetPortHash": "mc-ei-WriteBegin", "Data": {} },
|
|
242
|
+
{ "Hash": "mc-c10", "SourceNodeHash": "mc-write", "SourcePortHash": "mc-eo-WriteDone", "TargetNodeHash": "mc-end", "TargetPortHash": "mc-end-in", "Data": {} },
|
|
243
|
+
{ "Hash": "mc-c11", "SourceNodeHash": "mc-create", "SourcePortHash": "mc-eo-CreateError", "TargetNodeHash": "mc-err", "TargetPortHash": "mc-ei-ErrTrigger", "Data": {} },
|
|
244
|
+
{ "Hash": "mc-c12", "SourceNodeHash": "mc-read", "SourcePortHash": "mc-eo-ReadError", "TargetNodeHash": "mc-err", "TargetPortHash": "mc-ei-ErrTrigger", "Data": {} },
|
|
245
|
+
{ "Hash": "mc-c13", "SourceNodeHash": "mc-update", "SourcePortHash": "mc-eo-UpdateError", "TargetNodeHash": "mc-err", "TargetPortHash": "mc-ei-ErrTrigger", "Data": {} },
|
|
246
|
+
{ "Hash": "mc-c14", "SourceNodeHash": "mc-reads", "SourcePortHash": "mc-eo-ReadsError", "TargetNodeHash": "mc-err", "TargetPortHash": "mc-ei-ErrTrigger", "Data": {} },
|
|
247
|
+
{ "Hash": "mc-c15", "SourceNodeHash": "mc-count", "SourcePortHash": "mc-eo-CountError", "TargetNodeHash": "mc-err", "TargetPortHash": "mc-ei-ErrTrigger", "Data": {} },
|
|
248
|
+
{ "Hash": "mc-c16", "SourceNodeHash": "mc-delete", "SourcePortHash": "mc-eo-DeleteError", "TargetNodeHash": "mc-err", "TargetPortHash": "mc-ei-ErrTrigger", "Data": {} },
|
|
249
|
+
{ "Hash": "mc-c17", "SourceNodeHash": "mc-err", "SourcePortHash": "mc-eo-ErrComplete", "TargetNodeHash": "mc-end", "TargetPortHash": "mc-end-in", "Data": {} },
|
|
250
|
+
{ "Hash": "mc-c18", "SourceNodeHash": "mc-write", "SourcePortHash": "mc-eo-WriteError", "TargetNodeHash": "mc-end", "TargetPortHash": "mc-end-in", "Data": {} },
|
|
251
|
+
{ "Hash": "mc-sc1", "SourceNodeHash": "mc-format", "SourcePortHash": "mc-so-Result", "TargetNodeHash": "mc-write", "TargetPortHash": "mc-si-Content", "Data": {} }
|
|
252
|
+
],
|
|
253
|
+
"ViewState": {
|
|
254
|
+
"PanX": 0,
|
|
255
|
+
"PanY": 0,
|
|
256
|
+
"Zoom": 1,
|
|
257
|
+
"SelectedNodeHash": null,
|
|
258
|
+
"SelectedConnectionHash": null
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"SavedLayouts": [],
|
|
262
|
+
"InitialGlobalState": {},
|
|
263
|
+
"InitialOperationState": {}
|
|
264
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Name": "NPM Project Validator",
|
|
3
|
+
"Description": "Validates an npm project by checking for package.json, verifying it has a name and version, and running npm test. Demonstrates read-json, multiple if-conditionals, and command execution.",
|
|
4
|
+
"Tags": ["command", "validation", "npm", "branching"],
|
|
5
|
+
"Author": "Ultravisor",
|
|
6
|
+
"Version": "1.0.0",
|
|
7
|
+
"Graph": {
|
|
8
|
+
"Nodes": [
|
|
9
|
+
{
|
|
10
|
+
"Hash": "nv-start",
|
|
11
|
+
"Type": "start",
|
|
12
|
+
"X": 50,
|
|
13
|
+
"Y": 200,
|
|
14
|
+
"Width": 140,
|
|
15
|
+
"Height": 80,
|
|
16
|
+
"Title": "Start",
|
|
17
|
+
"Ports": [
|
|
18
|
+
{ "Hash": "nv-start-out", "Direction": "output", "Side": "right-bottom", "Label": "Out" }
|
|
19
|
+
],
|
|
20
|
+
"Data": {}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"Hash": "nv-readpkg",
|
|
24
|
+
"Type": "read-json",
|
|
25
|
+
"X": 260,
|
|
26
|
+
"Y": 180,
|
|
27
|
+
"Width": 220,
|
|
28
|
+
"Height": 100,
|
|
29
|
+
"Title": "Read package.json",
|
|
30
|
+
"Ports": [
|
|
31
|
+
{ "Hash": "nv-rp-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
32
|
+
{ "Hash": "nv-rp-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
33
|
+
{ "Hash": "nv-rp-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
34
|
+
{ "Hash": "nv-rp-so-Data", "Direction": "output", "Side": "right-top", "Label": "Data" }
|
|
35
|
+
],
|
|
36
|
+
"Data": { "File": "package.json", "Destination": "Operation.Package" }
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"Hash": "nv-checkname",
|
|
40
|
+
"Type": "if-conditional",
|
|
41
|
+
"X": 550,
|
|
42
|
+
"Y": 160,
|
|
43
|
+
"Width": 220,
|
|
44
|
+
"Height": 100,
|
|
45
|
+
"Title": "Has Name?",
|
|
46
|
+
"Ports": [
|
|
47
|
+
{ "Hash": "nv-cn-in", "Direction": "input", "Side": "left-bottom", "Label": "Evaluate" },
|
|
48
|
+
{ "Hash": "nv-cn-true", "Direction": "output", "Side": "right-bottom", "Label": "True" },
|
|
49
|
+
{ "Hash": "nv-cn-false", "Direction": "output", "Side": "bottom", "Label": "False" },
|
|
50
|
+
{ "Hash": "nv-cn-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
|
|
51
|
+
],
|
|
52
|
+
"Data": { "DataAddress": "Operation.Package.name", "Operator": "truthy" }
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"Hash": "nv-checkver",
|
|
56
|
+
"Type": "if-conditional",
|
|
57
|
+
"X": 840,
|
|
58
|
+
"Y": 160,
|
|
59
|
+
"Width": 220,
|
|
60
|
+
"Height": 100,
|
|
61
|
+
"Title": "Has Version?",
|
|
62
|
+
"Ports": [
|
|
63
|
+
{ "Hash": "nv-cv-in", "Direction": "input", "Side": "left-bottom", "Label": "Evaluate" },
|
|
64
|
+
{ "Hash": "nv-cv-true", "Direction": "output", "Side": "right-bottom", "Label": "True" },
|
|
65
|
+
{ "Hash": "nv-cv-false", "Direction": "output", "Side": "bottom", "Label": "False" },
|
|
66
|
+
{ "Hash": "nv-cv-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
|
|
67
|
+
],
|
|
68
|
+
"Data": { "DataAddress": "Operation.Package.version", "Operator": "truthy" }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"Hash": "nv-test",
|
|
72
|
+
"Type": "command",
|
|
73
|
+
"X": 1130,
|
|
74
|
+
"Y": 160,
|
|
75
|
+
"Width": 200,
|
|
76
|
+
"Height": 120,
|
|
77
|
+
"Title": "Run npm test",
|
|
78
|
+
"Ports": [
|
|
79
|
+
{ "Hash": "nv-ts-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
80
|
+
{ "Hash": "nv-ts-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
81
|
+
{ "Hash": "nv-ts-err", "Direction": "output", "Side": "bottom", "Label": "Error" },
|
|
82
|
+
{ "Hash": "nv-ts-so-StdOut", "Direction": "output", "Side": "right-top", "Label": "StdOut" },
|
|
83
|
+
{ "Hash": "nv-ts-so-ExitCode", "Direction": "output", "Side": "right-top", "Label": "ExitCode" }
|
|
84
|
+
],
|
|
85
|
+
"Data": { "Command": "npm", "Parameters": "test", "Description": "Run test suite" }
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"Hash": "nv-result",
|
|
89
|
+
"Type": "template-string",
|
|
90
|
+
"X": 1400,
|
|
91
|
+
"Y": 160,
|
|
92
|
+
"Width": 240,
|
|
93
|
+
"Height": 100,
|
|
94
|
+
"Title": "Validation Result",
|
|
95
|
+
"Ports": [
|
|
96
|
+
{ "Hash": "nv-rs-in", "Direction": "input", "Side": "left-bottom", "Label": "In" },
|
|
97
|
+
{ "Hash": "nv-rs-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" },
|
|
98
|
+
{ "Hash": "nv-rs-so-Result", "Direction": "output", "Side": "right-top", "Label": "Result" }
|
|
99
|
+
],
|
|
100
|
+
"Data": { "Template": "PASS: {~D:Record.Operation.Package.name~}@{~D:Record.Operation.Package.version~} - tests passed (exit code {~D:Record.TaskOutput.nv-test.ExitCode~})", "Destination": "Operation.ValidationResult" }
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"Hash": "nv-nopkg",
|
|
104
|
+
"Type": "error-message",
|
|
105
|
+
"X": 260,
|
|
106
|
+
"Y": 380,
|
|
107
|
+
"Width": 220,
|
|
108
|
+
"Height": 80,
|
|
109
|
+
"Title": "No package.json",
|
|
110
|
+
"Ports": [
|
|
111
|
+
{ "Hash": "nv-np-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
112
|
+
{ "Hash": "nv-np-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
113
|
+
],
|
|
114
|
+
"Data": { "MessageTemplate": "FAIL: package.json not found in current directory" }
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"Hash": "nv-noname",
|
|
118
|
+
"Type": "error-message",
|
|
119
|
+
"X": 550,
|
|
120
|
+
"Y": 380,
|
|
121
|
+
"Width": 220,
|
|
122
|
+
"Height": 80,
|
|
123
|
+
"Title": "Missing Name",
|
|
124
|
+
"Ports": [
|
|
125
|
+
{ "Hash": "nv-nn-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
126
|
+
{ "Hash": "nv-nn-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
127
|
+
],
|
|
128
|
+
"Data": { "MessageTemplate": "FAIL: package.json is missing the 'name' field" }
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"Hash": "nv-nover",
|
|
132
|
+
"Type": "error-message",
|
|
133
|
+
"X": 840,
|
|
134
|
+
"Y": 380,
|
|
135
|
+
"Width": 220,
|
|
136
|
+
"Height": 80,
|
|
137
|
+
"Title": "Missing Version",
|
|
138
|
+
"Ports": [
|
|
139
|
+
{ "Hash": "nv-nv-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
140
|
+
{ "Hash": "nv-nv-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
141
|
+
],
|
|
142
|
+
"Data": { "MessageTemplate": "FAIL: package.json is missing the 'version' field" }
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"Hash": "nv-testfail",
|
|
146
|
+
"Type": "error-message",
|
|
147
|
+
"X": 1130,
|
|
148
|
+
"Y": 380,
|
|
149
|
+
"Width": 220,
|
|
150
|
+
"Height": 80,
|
|
151
|
+
"Title": "Tests Failed",
|
|
152
|
+
"Ports": [
|
|
153
|
+
{ "Hash": "nv-tf-in", "Direction": "input", "Side": "left-bottom", "Label": "Trigger" },
|
|
154
|
+
{ "Hash": "nv-tf-done", "Direction": "output", "Side": "right-bottom", "Label": "Complete" }
|
|
155
|
+
],
|
|
156
|
+
"Data": { "MessageTemplate": "FAIL: npm test exited with errors" }
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"Hash": "nv-end",
|
|
160
|
+
"Type": "end",
|
|
161
|
+
"X": 1670,
|
|
162
|
+
"Y": 300,
|
|
163
|
+
"Width": 140,
|
|
164
|
+
"Height": 80,
|
|
165
|
+
"Title": "End",
|
|
166
|
+
"Ports": [
|
|
167
|
+
{ "Hash": "nv-end-in", "Direction": "input", "Side": "left-bottom", "Label": "In" }
|
|
168
|
+
],
|
|
169
|
+
"Data": {}
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"Connections": [
|
|
173
|
+
{ "Hash": "nv-c1", "SourceNodeHash": "nv-start", "SourcePortHash": "nv-start-out", "TargetNodeHash": "nv-readpkg", "TargetPortHash": "nv-rp-in", "Data": {} },
|
|
174
|
+
{ "Hash": "nv-c2", "SourceNodeHash": "nv-readpkg", "SourcePortHash": "nv-rp-done", "TargetNodeHash": "nv-checkname", "TargetPortHash": "nv-cn-in", "Data": {} },
|
|
175
|
+
{ "Hash": "nv-c3", "SourceNodeHash": "nv-checkname", "SourcePortHash": "nv-cn-true", "TargetNodeHash": "nv-checkver", "TargetPortHash": "nv-cv-in", "Data": {} },
|
|
176
|
+
{ "Hash": "nv-c4", "SourceNodeHash": "nv-checkver", "SourcePortHash": "nv-cv-true", "TargetNodeHash": "nv-test", "TargetPortHash": "nv-ts-in", "Data": {} },
|
|
177
|
+
{ "Hash": "nv-c5", "SourceNodeHash": "nv-test", "SourcePortHash": "nv-ts-done", "TargetNodeHash": "nv-result", "TargetPortHash": "nv-rs-in", "Data": {} },
|
|
178
|
+
{ "Hash": "nv-c6", "SourceNodeHash": "nv-result", "SourcePortHash": "nv-rs-done", "TargetNodeHash": "nv-end", "TargetPortHash": "nv-end-in", "Data": {} },
|
|
179
|
+
{ "Hash": "nv-c7", "SourceNodeHash": "nv-readpkg", "SourcePortHash": "nv-rp-err", "TargetNodeHash": "nv-nopkg", "TargetPortHash": "nv-np-in", "Data": {} },
|
|
180
|
+
{ "Hash": "nv-c8", "SourceNodeHash": "nv-nopkg", "SourcePortHash": "nv-np-done", "TargetNodeHash": "nv-end", "TargetPortHash": "nv-end-in", "Data": {} },
|
|
181
|
+
{ "Hash": "nv-c9", "SourceNodeHash": "nv-checkname", "SourcePortHash": "nv-cn-false", "TargetNodeHash": "nv-noname", "TargetPortHash": "nv-nn-in", "Data": {} },
|
|
182
|
+
{ "Hash": "nv-c10", "SourceNodeHash": "nv-noname", "SourcePortHash": "nv-nn-done", "TargetNodeHash": "nv-end", "TargetPortHash": "nv-end-in", "Data": {} },
|
|
183
|
+
{ "Hash": "nv-c11", "SourceNodeHash": "nv-checkver", "SourcePortHash": "nv-cv-false", "TargetNodeHash": "nv-nover", "TargetPortHash": "nv-nv-in", "Data": {} },
|
|
184
|
+
{ "Hash": "nv-c12", "SourceNodeHash": "nv-nover", "SourcePortHash": "nv-nv-done", "TargetNodeHash": "nv-end", "TargetPortHash": "nv-end-in", "Data": {} },
|
|
185
|
+
{ "Hash": "nv-c13", "SourceNodeHash": "nv-test", "SourcePortHash": "nv-ts-err", "TargetNodeHash": "nv-testfail", "TargetPortHash": "nv-tf-in", "Data": {} },
|
|
186
|
+
{ "Hash": "nv-c14", "SourceNodeHash": "nv-testfail", "SourcePortHash": "nv-tf-done", "TargetNodeHash": "nv-end", "TargetPortHash": "nv-end-in", "Data": {} }
|
|
187
|
+
],
|
|
188
|
+
"ViewState": { "PanX": 0, "PanY": 0, "Zoom": 1, "SelectedNodeHash": null, "SelectedConnectionHash": null }
|
|
189
|
+
},
|
|
190
|
+
"SavedLayouts": [],
|
|
191
|
+
"InitialGlobalState": {},
|
|
192
|
+
"InitialOperationState": {}
|
|
193
|
+
}
|