laxy-verify 1.1.32 → 1.2.0

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.
Files changed (38) hide show
  1. package/README.md +322 -322
  2. package/dist/audit/broken-links.d.ts +21 -21
  3. package/dist/audit/broken-links.js +86 -86
  4. package/dist/auth.d.ts +11 -6
  5. package/dist/auth.js +222 -188
  6. package/dist/cli.js +806 -724
  7. package/dist/comment.d.ts +21 -21
  8. package/dist/comment.js +134 -131
  9. package/dist/crawler.d.ts +36 -35
  10. package/dist/crawler.js +357 -356
  11. package/dist/e2e.d.ts +49 -49
  12. package/dist/e2e.js +565 -539
  13. package/dist/entitlement.d.ts +11 -11
  14. package/dist/entitlement.js +90 -88
  15. package/dist/init.js +87 -87
  16. package/dist/multi-viewport.d.ts +31 -31
  17. package/dist/multi-viewport.js +298 -298
  18. package/dist/playwright-runner.d.ts +16 -16
  19. package/dist/playwright-runner.js +208 -208
  20. package/dist/report-markdown.d.ts +39 -39
  21. package/dist/report-markdown.js +386 -386
  22. package/dist/security-audit.d.ts +9 -9
  23. package/dist/security-audit.js +64 -64
  24. package/dist/serve.d.ts +13 -13
  25. package/dist/serve.js +249 -246
  26. package/dist/trend.d.ts +50 -49
  27. package/dist/trend.js +148 -147
  28. package/dist/verification-core/index.d.ts +3 -3
  29. package/dist/verification-core/index.js +19 -19
  30. package/dist/verification-core/report.d.ts +14 -14
  31. package/dist/verification-core/report.js +409 -404
  32. package/dist/verification-core/tier-policy.d.ts +13 -13
  33. package/dist/verification-core/tier-policy.js +60 -60
  34. package/dist/verification-core/types.d.ts +108 -108
  35. package/dist/verification-core/types.js +2 -2
  36. package/dist/visual-diff.d.ts +26 -26
  37. package/dist/visual-diff.js +178 -178
  38. package/package.json +67 -67
package/dist/e2e.d.ts CHANGED
@@ -1,49 +1,49 @@
1
- import type { VerificationTier } from "./verification-core/types.js";
2
- import type { UserScenario } from "./config.js";
3
- import { type CrawlOptions, type CrawlResult } from "./crawler.js";
4
- export interface E2EStep {
5
- type: "click" | "fill" | "check_visible" | "check_text" | "wait" | "scroll" | "clear_fill" | "check_validation" | "check_healthy_page" | "goto";
6
- selector?: string;
7
- value?: string;
8
- duration?: number;
9
- expectedText?: string;
10
- gotoUrl?: string;
11
- description: string;
12
- }
13
- export interface E2EScenario {
14
- name: string;
15
- steps: E2EStep[];
16
- initialUrl?: string;
17
- }
18
- export interface E2EStepResult {
19
- description: string;
20
- passed: boolean;
21
- error?: string;
22
- }
23
- export interface E2EScenarioResult {
24
- name: string;
25
- passed: boolean;
26
- steps: E2EStepResult[];
27
- error?: string;
28
- consoleErrors?: string[];
29
- }
30
- interface DomSnapshot {
31
- selectors: string[];
32
- structures: string[];
33
- }
34
- export declare function isNavigableInternalHref(href: string): boolean;
35
- export declare function getVerificationCoverageGaps(scenarios: E2EScenario[], tier: VerificationTier): string[];
36
- export declare function buildVerifyScenarios(snapshot: DomSnapshot, tier: VerificationTier): E2EScenario[];
37
- export declare function convertUserScenarios(userScenarios: UserScenario[]): E2EScenario[];
38
- export declare function runVerifyE2E(url: string, tier: VerificationTier, userScenarios?: UserScenario[], crawlOptions?: {
39
- enabled: boolean;
40
- } & CrawlOptions): Promise<{
41
- scenarios: E2EScenario[];
42
- results: E2EScenarioResult[];
43
- passed: number;
44
- failed: number;
45
- coverageGaps: string[];
46
- consoleErrors: string[];
47
- crawlResult?: CrawlResult;
48
- }>;
49
- export {};
1
+ import type { VerificationTier } from "./verification-core/types.js";
2
+ import type { UserScenario } from "./config.js";
3
+ import { type CrawlOptions, type CrawlResult } from "./crawler.js";
4
+ export interface E2EStep {
5
+ type: "click" | "fill" | "check_visible" | "check_text" | "wait" | "scroll" | "clear_fill" | "check_validation" | "check_healthy_page" | "goto";
6
+ selector?: string;
7
+ value?: string;
8
+ duration?: number;
9
+ expectedText?: string;
10
+ gotoUrl?: string;
11
+ description: string;
12
+ }
13
+ export interface E2EScenario {
14
+ name: string;
15
+ steps: E2EStep[];
16
+ initialUrl?: string;
17
+ }
18
+ export interface E2EStepResult {
19
+ description: string;
20
+ passed: boolean;
21
+ error?: string;
22
+ }
23
+ export interface E2EScenarioResult {
24
+ name: string;
25
+ passed: boolean;
26
+ steps: E2EStepResult[];
27
+ error?: string;
28
+ consoleErrors?: string[];
29
+ }
30
+ interface DomSnapshot {
31
+ selectors: string[];
32
+ structures: string[];
33
+ }
34
+ export declare function isNavigableInternalHref(href: string): boolean;
35
+ export declare function getVerificationCoverageGaps(scenarios: E2EScenario[], tier: VerificationTier): string[];
36
+ export declare function buildVerifyScenarios(snapshot: DomSnapshot, tier: VerificationTier): E2EScenario[];
37
+ export declare function convertUserScenarios(userScenarios: UserScenario[]): E2EScenario[];
38
+ export declare function runVerifyE2E(url: string, tier: VerificationTier, userScenarios?: UserScenario[], crawlOptions?: {
39
+ enabled: boolean;
40
+ } & CrawlOptions): Promise<{
41
+ scenarios: E2EScenario[];
42
+ results: E2EScenarioResult[];
43
+ passed: number;
44
+ failed: number;
45
+ coverageGaps: string[];
46
+ consoleErrors: string[];
47
+ crawlResult?: CrawlResult;
48
+ }>;
49
+ export {};