wisp-schema 1.18.6 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d7c1919aa66d94dbe878caea1b9a80269e33cae48a78247107a4089d98a6733
4
- data.tar.gz: '0834abb0e2896b85d3a9bf351a32cf3dc7b6a64cbbb9c3651c4c635df5d04adb'
3
+ metadata.gz: f238ddf83f62d52f13a9f5a3adc5a89df52fda6de66d2fca735d34d15d53dda9
4
+ data.tar.gz: 5d0995319247890a36a325cfedd1c4ccac777b6275173d982fba2f5718fadab5
5
5
  SHA512:
6
- metadata.gz: 3157de86e3041ffddfa089d2809509b49fdf74300b4364a58373e2cca18a606921ebbd223eb49a9b2808129db947cc14444c129f4c280052517e44cc7a7af3a7
7
- data.tar.gz: 0d6ba8dcc4d48be8d04e6cac6e3f553a69e1f9cb070880dca56cc3832fb3c09ec4c0ffee58c7915542b484ea25e6046026a24d7477e046296de3d564eb3a2c42
6
+ metadata.gz: 859677f701e8de5f8a6ec6be3e4bdfddc1469ac76e7c0600c3113927d8aa225720116aa8b0ac7adfd362b62f10e9fbe60ca62a1dff37ed10e4ea4fd5fc6a4e5d
7
+ data.tar.gz: f7a2e9aad0777cc94fdbfa1c58005f10de60d998bfb19908d5c5289df27d24a156a4e6b3302821e51026bcc31fa0d080de18b629708fbcf39a6aff1ec0a6c454
data/lib/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = "1.18.6"
5
- STABLE_VERSION = "1.18.6"
4
+ VERSION = "1.19.0"
5
+ STABLE_VERSION = "1.19.0"
6
6
  end
data/lib/wisp-schema.rb CHANGED
@@ -30,6 +30,7 @@ module Wisp
30
30
  "scroll",
31
31
  "select",
32
32
  "send_key",
33
+ "store_value",
33
34
  "tester_confirmation",
34
35
  "tester_instruction",
35
36
  "type",
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "action_type": "action",
5
- "title": "Generate Steps",
5
+ "title": "AI Block",
6
6
  "description": "Generates a set of wisp actions based on the given prompt",
7
7
  "properties": {
8
8
  "action": {
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "action_type": "action",
5
+ "title": "Store Value",
6
+ "description": "Stores value of text under the mask in a temporary variable",
7
+ "properties": {
8
+ "action": {
9
+ "enum": ["store_value"]
10
+ },
11
+ "id": { "title": "Action ID", "type": "integer" },
12
+ "uniform_id": { "title": "Preserved Action ID", "type": "string" },
13
+ "job_step_id": {
14
+ "title": "The id of the action's related job step",
15
+ "type": "integer"
16
+ },
17
+ "delay_after": {"title": "Delay after in seconds", "type": "integer"},
18
+ "object": {
19
+ "title": "Object",
20
+ "$ref": "ui_element_reference.json"
21
+ },
22
+ "variable_name": {
23
+ "title": "The temporary variable name that will hold the text under the mask",
24
+ "type": "string"
25
+ },
26
+ "version": {
27
+ "type": "string",
28
+ "title": "Version"
29
+ }
30
+ },
31
+ "additionalProperties": false,
32
+ "required": ["action", "object", "variable_name", "version"]
33
+ }
data/wisp.json CHANGED
@@ -154,6 +154,7 @@
154
154
  {"$ref": "#/definitions/tester_instruction"},
155
155
  {"$ref": "#/definitions/embedded_test"},
156
156
  {"$ref": "#/definitions/observe"},
157
+ {"$ref": "#/definitions/store_value"},
157
158
  {"$ref": "#/definitions/tester_confirmation"}
158
159
  ]
159
160
  },
@@ -360,7 +361,7 @@
360
361
  "generate_steps": {
361
362
  "type": "object",
362
363
  "action_type": "action",
363
- "title": "Generate Steps",
364
+ "title": "AI Block",
364
365
  "description": "Generates a set of wisp actions based on the given prompt",
365
366
  "properties": {
366
367
  "action": {
@@ -752,6 +753,35 @@
752
753
  "additionalProperties": false,
753
754
  "required": ["action", "object", "visibility"]
754
755
  },
756
+ "store_value": {
757
+ "type": "object",
758
+ "action_type": "action",
759
+ "title": "Store Value",
760
+ "description": "Stores value of text under the mask in a temporary variable",
761
+ "properties": {
762
+ "action": {
763
+ "enum": ["store_value"]
764
+ },
765
+ "embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
766
+ "id": {"title": "Action ID", "type": "integer"},
767
+ "uniform_id": { "title": "Preserved Action ID", "type": "string" },
768
+ "job_step_id": {
769
+ "title": "The id of the action's related job step",
770
+ "type": "integer"
771
+ },
772
+ "delay_after": {"title": "Delay after in seconds", "type": "integer"},
773
+ "object": {
774
+ "title": "Object",
775
+ "$ref": "#/definitions/noun"
776
+ },
777
+ "variable_name": {
778
+ "title": "The temporary variable name that will hold the text under the mask",
779
+ "type": "string"
780
+ }
781
+ },
782
+ "additionalProperties": false,
783
+ "required": ["action", "object", "variable_name"]
784
+ },
755
785
  "tester_confirmation": {
756
786
  "type": "object",
757
787
  "action_type": "assertion",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wisp-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.6
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski
@@ -93,6 +93,7 @@ files:
93
93
  - stable/actions/scroll.json
94
94
  - stable/actions/select.json
95
95
  - stable/actions/send_key.json
96
+ - stable/actions/store_value.json
96
97
  - stable/actions/tester_confirmation.json
97
98
  - stable/actions/tester_instruction.json
98
99
  - stable/actions/type.json