@bugbug-io/api-schema 14.3.2 → 14.4.2
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/generated/v2.d.ts +181 -13
- package/dist/generated/v2.d.ts.map +1 -1
- package/dist/schemas/enums.d.ts +1 -1
- package/dist/schemas/enums.d.ts.map +1 -1
- package/dist/schemas/enums.js +2 -1
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/steps.d.ts +757 -0
- package/dist/schemas/steps.d.ts.map +1 -1
- package/dist/schemas/steps.js +5 -0
- package/dist/schemas/steps.js.map +1 -1
- package/dist/types.d.ts +9 -4
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schemas/enums.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const RunModeSchema: z.ZodEnum<["server", "local", "recording"]>;
|
|
|
9
9
|
export declare const WAITING_CONDITION_TYPES: readonly ["documentComplete", "elementIsVisible", "elementIsNotCovered", "elementIsNotAnimating", "elementIsNotDisabled", "elementHasFocus", "networkIdle", "pageNavigationAfterExecution", "elementHasAttribute"];
|
|
10
10
|
export declare const WaitingConditionTypeSchema: z.ZodEnum<["documentComplete", "elementIsVisible", "elementIsNotCovered", "elementIsNotAnimating", "elementIsNotDisabled", "elementHasFocus", "networkIdle", "pageNavigationAfterExecution", "elementHasAttribute"]>;
|
|
11
11
|
export declare const StatusSchema: z.ZodEnum<["initialized", "passed", "failed", "auto_retrying", "recording", "queued", "running", "stopped", "paused", "error", "skipped"]>;
|
|
12
|
-
export declare const StepTypeSchema: z.ZodEnum<["answerPrompt", "assert", "change", "clear", "click", "dblClick", "rightClick", "closeTab", "dragAndDrop", "elementVisualRegression", "execute", "goto", "goBack", "goForward", "hover", "ifCondition", "mouseDown", "mouseMove", "mouseUp", "newTab", "pageVisualRegression", "pasteFromClipboard", "reloadPage", "scroll", "select", "setLocalVariable", "switchContext", "type", "uploadFile"]>;
|
|
12
|
+
export declare const StepTypeSchema: z.ZodEnum<["answerPrompt", "assert", "change", "clear", "click", "dblClick", "rightClick", "closeTab", "dragAndDrop", "elementVisualRegression", "execute", "goto", "openInbox", "goBack", "goForward", "hover", "ifCondition", "mouseDown", "mouseMove", "mouseUp", "newTab", "pageVisualRegression", "pasteFromClipboard", "reloadPage", "scroll", "select", "setLocalVariable", "switchContext", "type", "uploadFile"]>;
|
|
13
13
|
export declare const AssertionTypeSchema: z.ZodEnum<["contain", "equal", "greaterThan", "lessThan", "match", "notContain", "notEqual", "notMatch", "any"]>;
|
|
14
14
|
export declare const AssertionPropertySchema: z.ZodEnum<["checked", "count", "customJavaScript", "exist", "notChecked", "notExist", "notVisible", "textContent", "hasAttribute", "hasNotAttribute", "value", "visible", "pageTitle", "pageShowsText", "pageDoesNotShowText", "pageUrlIs", "downloadStarted", "variableValue", "clipboardValue", "disabled", "notDisabled"]>;
|
|
15
15
|
export declare const SelectorTypeSchema: z.ZodNullable<z.ZodEnum<["XPath", "customCSS", "customXPath", ""]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/schemas/enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB,mDAIyB,CAAC;AAE3D,eAAO,MAAM,yBAAyB,qDAA+B,CAAC;AAEtE,eAAO,MAAM,SAAS,2CAI0B,CAAC;AAEjD,eAAO,MAAM,aAAa,6CAEkC,CAAC;AAE7D,eAAO,MAAM,uBAAuB,oNAUyB,CAAC;AAE9D,eAAO,MAAM,0BAA0B,sNAEmB,CAAC;AAE3D,eAAO,MAAM,YAAY,4IAYvB,CAAC;AAEH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/schemas/enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAA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AAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/schemas/enums.js
CHANGED
|
@@ -57,6 +57,7 @@ export const StepTypeSchema = z
|
|
|
57
57
|
'elementVisualRegression',
|
|
58
58
|
'execute',
|
|
59
59
|
'goto',
|
|
60
|
+
'openInbox',
|
|
60
61
|
'goBack',
|
|
61
62
|
'goForward',
|
|
62
63
|
'hover',
|
|
@@ -75,7 +76,7 @@ export const StepTypeSchema = z
|
|
|
75
76
|
'type',
|
|
76
77
|
'uploadFile',
|
|
77
78
|
])
|
|
78
|
-
.describe('Available step types: answerPrompt, assert, change, clear, click, dblClick, rightClick, closeTab, dragAndDrop, elementVisualRegression, execute, goto, goBack, goForward, hover, ifCondition, mouseDown, mouseMove, mouseUp, newTab, pageVisualRegression, pasteFromClipboard, reloadPage, scroll, select, setLocalVariable, switchContext, type, uploadFile.');
|
|
79
|
+
.describe('Available step types: answerPrompt, assert, change, clear, click, dblClick, rightClick, closeTab, dragAndDrop, elementVisualRegression, execute, goto, openInbox, goBack, goForward, hover, ifCondition, mouseDown, mouseMove, mouseUp, newTab, pageVisualRegression, pasteFromClipboard, reloadPage, scroll, select, setLocalVariable, switchContext, type, uploadFile.');
|
|
79
80
|
export const AssertionTypeSchema = z
|
|
80
81
|
.enum([
|
|
81
82
|
'contain',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../src/schemas/enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,M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