@vizzly-testing/cli 0.15.1 → 0.16.1
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/client/index.js +21 -4
- package/dist/reporter/reporter-bundle.css +1 -1
- package/dist/reporter/reporter-bundle.iife.js +11 -11
- package/dist/sdk/index.js +6 -6
- package/dist/services/api-service.js +42 -0
- package/dist/services/tdd-service.js +189 -6
- package/dist/services/test-runner.js +0 -8
- package/dist/services/uploader.js +1 -1
- package/dist/types/client.d.ts +88 -0
- package/dist/types/config.d.ts +29 -0
- package/dist/types/index.d.ts +426 -9
- package/dist/types/sdk.d.ts +146 -0
- package/dist/utils/config-helpers.js +2 -2
- package/docs/tdd-mode.md +34 -0
- package/package.json +21 -4
- package/dist/types/cli.d.ts +0 -2
- package/dist/types/client/index.d.ts +0 -80
- package/dist/types/commands/doctor.d.ts +0 -11
- package/dist/types/commands/finalize.d.ts +0 -13
- package/dist/types/commands/init.d.ts +0 -32
- package/dist/types/commands/login.d.ts +0 -11
- package/dist/types/commands/logout.d.ts +0 -11
- package/dist/types/commands/project.d.ts +0 -28
- package/dist/types/commands/run.d.ts +0 -16
- package/dist/types/commands/status.d.ts +0 -13
- package/dist/types/commands/tdd-daemon.d.ts +0 -24
- package/dist/types/commands/tdd.d.ts +0 -17
- package/dist/types/commands/upload.d.ts +0 -13
- package/dist/types/commands/whoami.d.ts +0 -11
- package/dist/types/errors/vizzly-error.d.ts +0 -75
- package/dist/types/plugin-loader.d.ts +0 -7
- package/dist/types/reporter/src/api/client.d.ts +0 -178
- package/dist/types/reporter/src/components/app-router.d.ts +0 -1
- package/dist/types/reporter/src/components/code-block.d.ts +0 -4
- package/dist/types/reporter/src/components/comparison/comparison-actions.d.ts +0 -5
- package/dist/types/reporter/src/components/comparison/comparison-card.d.ts +0 -7
- package/dist/types/reporter/src/components/comparison/comparison-group.d.ts +0 -10
- package/dist/types/reporter/src/components/comparison/comparison-list.d.ts +0 -6
- package/dist/types/reporter/src/components/comparison/comparison-modes/onion-skin-mode.d.ts +0 -10
- package/dist/types/reporter/src/components/comparison/comparison-modes/overlay-mode.d.ts +0 -11
- package/dist/types/reporter/src/components/comparison/comparison-modes/shared/base-comparison-mode.d.ts +0 -14
- package/dist/types/reporter/src/components/comparison/comparison-modes/shared/image-renderer.d.ts +0 -30
- package/dist/types/reporter/src/components/comparison/comparison-modes/toggle-view.d.ts +0 -8
- package/dist/types/reporter/src/components/comparison/comparison-viewer.d.ts +0 -8
- package/dist/types/reporter/src/components/comparison/fullscreen-viewer.d.ts +0 -13
- package/dist/types/reporter/src/components/comparison/screenshot-display.d.ts +0 -16
- package/dist/types/reporter/src/components/comparison/screenshot-list.d.ts +0 -9
- package/dist/types/reporter/src/components/comparison/variant-selector.d.ts +0 -9
- package/dist/types/reporter/src/components/comparison/view-mode-selector.d.ts +0 -4
- package/dist/types/reporter/src/components/dashboard/dashboard-filters.d.ts +0 -16
- package/dist/types/reporter/src/components/design-system/alert.d.ts +0 -9
- package/dist/types/reporter/src/components/design-system/badge.d.ts +0 -17
- package/dist/types/reporter/src/components/design-system/button.d.ts +0 -19
- package/dist/types/reporter/src/components/design-system/card.d.ts +0 -31
- package/dist/types/reporter/src/components/design-system/empty-state.d.ts +0 -13
- package/dist/types/reporter/src/components/design-system/form-controls.d.ts +0 -44
- package/dist/types/reporter/src/components/design-system/health-ring.d.ts +0 -7
- package/dist/types/reporter/src/components/design-system/index.d.ts +0 -11
- package/dist/types/reporter/src/components/design-system/modal.d.ts +0 -10
- package/dist/types/reporter/src/components/design-system/skeleton.d.ts +0 -19
- package/dist/types/reporter/src/components/design-system/spinner.d.ts +0 -10
- package/dist/types/reporter/src/components/design-system/tabs.d.ts +0 -13
- package/dist/types/reporter/src/components/layout/header.d.ts +0 -5
- package/dist/types/reporter/src/components/layout/index.d.ts +0 -2
- package/dist/types/reporter/src/components/layout/layout.d.ts +0 -6
- package/dist/types/reporter/src/components/ui/smart-image.d.ts +0 -7
- package/dist/types/reporter/src/components/ui/toast.d.ts +0 -4
- package/dist/types/reporter/src/components/views/builds-view.d.ts +0 -1
- package/dist/types/reporter/src/components/views/comparison-detail-view.d.ts +0 -5
- package/dist/types/reporter/src/components/views/comparisons-view.d.ts +0 -5
- package/dist/types/reporter/src/components/views/projects-view.d.ts +0 -1
- package/dist/types/reporter/src/components/views/settings-view.d.ts +0 -1
- package/dist/types/reporter/src/components/views/stats-view.d.ts +0 -1
- package/dist/types/reporter/src/components/waiting-for-screenshots.d.ts +0 -1
- package/dist/types/reporter/src/hooks/queries/use-auth-queries.d.ts +0 -15
- package/dist/types/reporter/src/hooks/queries/use-cloud-queries.d.ts +0 -6
- package/dist/types/reporter/src/hooks/queries/use-config-queries.d.ts +0 -6
- package/dist/types/reporter/src/hooks/queries/use-tdd-queries.d.ts +0 -9
- package/dist/types/reporter/src/hooks/use-comparison-filters.d.ts +0 -20
- package/dist/types/reporter/src/hooks/use-image-loader.d.ts +0 -1
- package/dist/types/reporter/src/lib/query-client.d.ts +0 -2
- package/dist/types/reporter/src/lib/query-keys.d.ts +0 -13
- package/dist/types/reporter/src/main.d.ts +0 -1
- package/dist/types/reporter/src/services/api-client.d.ts +0 -11
- package/dist/types/reporter/src/utils/comparison-helpers.d.ts +0 -16
- package/dist/types/reporter/src/utils/constants.d.ts +0 -37
- package/dist/types/reporter/vite.config.d.ts +0 -2
- package/dist/types/reporter/vite.dev.config.d.ts +0 -2
- package/dist/types/sdk/index.d.ts +0 -110
- package/dist/types/server/handlers/api-handler.d.ts +0 -88
- package/dist/types/server/handlers/tdd-handler.d.ts +0 -162
- package/dist/types/server/http-server.d.ts +0 -6
- package/dist/types/server/middleware/cors.d.ts +0 -11
- package/dist/types/server/middleware/json-parser.d.ts +0 -10
- package/dist/types/server/middleware/response.d.ts +0 -50
- package/dist/types/server/routers/assets.d.ts +0 -6
- package/dist/types/server/routers/auth.d.ts +0 -9
- package/dist/types/server/routers/baseline.d.ts +0 -13
- package/dist/types/server/routers/cloud-proxy.d.ts +0 -11
- package/dist/types/server/routers/config.d.ts +0 -9
- package/dist/types/server/routers/dashboard.d.ts +0 -6
- package/dist/types/server/routers/health.d.ts +0 -11
- package/dist/types/server/routers/projects.d.ts +0 -9
- package/dist/types/server/routers/screenshot.d.ts +0 -11
- package/dist/types/services/api-service.d.ts +0 -100
- package/dist/types/services/auth-service.d.ts +0 -59
- package/dist/types/services/build-manager.d.ts +0 -69
- package/dist/types/services/config-service.d.ts +0 -97
- package/dist/types/services/html-report-generator.d.ts +0 -52
- package/dist/types/services/index.d.ts +0 -7
- package/dist/types/services/project-service.d.ts +0 -105
- package/dist/types/services/report-generator/viewer.d.ts +0 -0
- package/dist/types/services/screenshot-server.d.ts +0 -10
- package/dist/types/services/server-manager.d.ts +0 -269
- package/dist/types/services/static-report-generator.d.ts +0 -25
- package/dist/types/services/tdd-service.d.ts +0 -95
- package/dist/types/services/test-runner.d.ts +0 -31
- package/dist/types/services/uploader.d.ts +0 -36
- package/dist/types/utils/browser.d.ts +0 -6
- package/dist/types/utils/build-history.d.ts +0 -16
- package/dist/types/utils/ci-env.d.ts +0 -55
- package/dist/types/utils/colors.d.ts +0 -12
- package/dist/types/utils/config-helpers.d.ts +0 -6
- package/dist/types/utils/config-loader.d.ts +0 -25
- package/dist/types/utils/config-schema.d.ts +0 -51
- package/dist/types/utils/environment-config.d.ts +0 -59
- package/dist/types/utils/environment.d.ts +0 -36
- package/dist/types/utils/fetch-utils.d.ts +0 -1
- package/dist/types/utils/file-helpers.d.ts +0 -18
- package/dist/types/utils/git.d.ts +0 -56
- package/dist/types/utils/global-config.d.ts +0 -84
- package/dist/types/utils/image-input-detector.d.ts +0 -71
- package/dist/types/utils/output.d.ts +0 -84
- package/dist/types/utils/package-info.d.ts +0 -15
- package/dist/types/utils/security.d.ts +0 -30
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function ToggleView({ baselineImageUrl, currentImageUrl, screenshot, onImageError, onImageLoad, imageErrors, }: {
|
|
2
|
-
baselineImageUrl: any;
|
|
3
|
-
currentImageUrl: any;
|
|
4
|
-
screenshot: any;
|
|
5
|
-
onImageError: any;
|
|
6
|
-
onImageLoad: any;
|
|
7
|
-
imageErrors?: Set<any>;
|
|
8
|
-
}): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fullscreen comparison viewer - mirrors the Vizzly cloud product UI exactly
|
|
3
|
-
* Displays a single comparison with navigation between screenshots
|
|
4
|
-
*/
|
|
5
|
-
export default function FullscreenViewer({ comparison, comparisons, onClose, onAccept, onReject, onNavigate, userAction, }: {
|
|
6
|
-
comparison: any;
|
|
7
|
-
comparisons?: any[];
|
|
8
|
-
onClose: any;
|
|
9
|
-
onAccept: any;
|
|
10
|
-
onReject: any;
|
|
11
|
-
onNavigate: any;
|
|
12
|
-
userAction: any;
|
|
13
|
-
}): any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Unified Screenshot Display Component - matches Observatory architecture
|
|
3
|
-
* Handles zoom calculations and renders the appropriate comparison mode
|
|
4
|
-
* inside a zoom wrapper so all modes scale together
|
|
5
|
-
*/
|
|
6
|
-
export function ScreenshotDisplay({ comparison, viewMode, showDiffOverlay, onionSkinPosition, onOnionSkinChange, onDiffToggle, disableLoadingOverlay, zoom, className, }: {
|
|
7
|
-
comparison: any;
|
|
8
|
-
viewMode?: string;
|
|
9
|
-
showDiffOverlay?: boolean;
|
|
10
|
-
onionSkinPosition?: number;
|
|
11
|
-
onOnionSkinChange: any;
|
|
12
|
-
onDiffToggle: any;
|
|
13
|
-
disableLoadingOverlay?: boolean;
|
|
14
|
-
zoom?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
}): any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Screenshot list component - simple scannable list
|
|
3
|
-
* Click any row to open the fullscreen comparison viewer
|
|
4
|
-
*/
|
|
5
|
-
export default function ScreenshotList({ comparisons, onSelectComparison, loadingStates, }: {
|
|
6
|
-
comparisons: any;
|
|
7
|
-
onSelectComparison: any;
|
|
8
|
-
loadingStates?: {};
|
|
9
|
-
}): any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Variant selector for toggling between different viewport sizes and browsers
|
|
3
|
-
* Mobile-first with horizontal scroll
|
|
4
|
-
*/
|
|
5
|
-
export default function VariantSelector({ group, selectedIndex, onSelect }: {
|
|
6
|
-
group: any;
|
|
7
|
-
selectedIndex: any;
|
|
8
|
-
onSelect: any;
|
|
9
|
-
}): any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default function DashboardFilters({ filter, setFilter, sortBy, setSortBy, searchQuery, setSearchQuery, selectedBrowser, setSelectedBrowser, selectedViewport, setSelectedViewport, availableFilters, counts, onRefresh, loading, }: {
|
|
2
|
-
filter: any;
|
|
3
|
-
setFilter: any;
|
|
4
|
-
sortBy: any;
|
|
5
|
-
setSortBy: any;
|
|
6
|
-
searchQuery: any;
|
|
7
|
-
setSearchQuery: any;
|
|
8
|
-
selectedBrowser: any;
|
|
9
|
-
setSelectedBrowser: any;
|
|
10
|
-
selectedViewport: any;
|
|
11
|
-
setSelectedViewport: any;
|
|
12
|
-
availableFilters: any;
|
|
13
|
-
counts: any;
|
|
14
|
-
onRefresh: any;
|
|
15
|
-
loading: any;
|
|
16
|
-
}): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Badge Component
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* For status indicators, labels, and counts
|
|
6
|
-
* Variants: default, success, warning, danger, info, purple
|
|
7
|
-
* Sizes: sm, md
|
|
8
|
-
*/
|
|
9
|
-
export function Badge({ children, variant, size, dot, pulseDot, className, ...props }: {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
children: any;
|
|
12
|
-
variant?: string;
|
|
13
|
-
size?: string;
|
|
14
|
-
dot?: boolean;
|
|
15
|
-
pulseDot?: boolean;
|
|
16
|
-
className?: string;
|
|
17
|
-
}): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Button Component
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* Variants: primary, secondary, ghost, danger, warning, success
|
|
6
|
-
* Sizes: sm, md, lg
|
|
7
|
-
*/
|
|
8
|
-
export function Button({ children, variant, size, disabled, loading, icon: Icon, iconPosition, fullWidth, className, ...props }: {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
children: any;
|
|
11
|
-
variant?: string;
|
|
12
|
-
size?: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
icon: any;
|
|
16
|
-
iconPosition?: string;
|
|
17
|
-
fullWidth?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
}): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Card Component
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* Container component with optional accent borders
|
|
6
|
-
* Variants: default, success, warning, danger, info, purple
|
|
7
|
-
*/
|
|
8
|
-
export function Card({ children, variant, hover, className, ...props }: {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
children: any;
|
|
11
|
-
variant: any;
|
|
12
|
-
hover?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
}): any;
|
|
15
|
-
export function CardHeader({ icon: Icon, title, description, iconColor, actions, className, }: {
|
|
16
|
-
icon: any;
|
|
17
|
-
title: any;
|
|
18
|
-
description: any;
|
|
19
|
-
iconColor?: string;
|
|
20
|
-
actions: any;
|
|
21
|
-
className?: string;
|
|
22
|
-
}): any;
|
|
23
|
-
export function CardBody({ children, className, padding }: {
|
|
24
|
-
children: any;
|
|
25
|
-
className?: string;
|
|
26
|
-
padding?: string;
|
|
27
|
-
}): any;
|
|
28
|
-
export function CardFooter({ children, className }: {
|
|
29
|
-
children: any;
|
|
30
|
-
className?: string;
|
|
31
|
-
}): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Empty State Component
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* For empty lists, waiting states, errors
|
|
6
|
-
*/
|
|
7
|
-
export function EmptyState({ icon: Icon, title, description, action, className, }: {
|
|
8
|
-
icon: any;
|
|
9
|
-
title: any;
|
|
10
|
-
description: any;
|
|
11
|
-
action: any;
|
|
12
|
-
className?: string;
|
|
13
|
-
}): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Form Controls
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* Input, Select, Checkbox, Toggle
|
|
6
|
-
*/
|
|
7
|
-
export function Input({ label, hint, error, icon: Icon, size, className, ...props }: {
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
label: any;
|
|
10
|
-
hint: any;
|
|
11
|
-
error: any;
|
|
12
|
-
icon: any;
|
|
13
|
-
size?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
}): any;
|
|
16
|
-
export function Select({ label, hint, error, options, placeholder, size, className, ...props }: {
|
|
17
|
-
[x: string]: any;
|
|
18
|
-
label: any;
|
|
19
|
-
hint: any;
|
|
20
|
-
error: any;
|
|
21
|
-
options?: any[];
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
size?: string;
|
|
24
|
-
className?: string;
|
|
25
|
-
}): any;
|
|
26
|
-
export function Checkbox({ label, description, checked, onChange, disabled, className, ...props }: {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
label: any;
|
|
29
|
-
description: any;
|
|
30
|
-
checked: any;
|
|
31
|
-
onChange: any;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
className?: string;
|
|
34
|
-
}): any;
|
|
35
|
-
export function Toggle({ label, description, checked, onChange, disabled, size, className, ...props }: {
|
|
36
|
-
[x: string]: any;
|
|
37
|
-
label: any;
|
|
38
|
-
description: any;
|
|
39
|
-
checked: any;
|
|
40
|
-
onChange: any;
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
size?: string;
|
|
43
|
-
className?: string;
|
|
44
|
-
}): any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { Button } from "./button.jsx";
|
|
2
|
-
export { Badge } from "./badge.jsx";
|
|
3
|
-
export { Alert } from "./alert.jsx";
|
|
4
|
-
export { HealthRing } from "./health-ring.jsx";
|
|
5
|
-
export { Tabs } from "./tabs.jsx";
|
|
6
|
-
export { EmptyState } from "./empty-state.jsx";
|
|
7
|
-
export { Modal } from "./modal.jsx";
|
|
8
|
-
export { Spinner } from "./spinner.jsx";
|
|
9
|
-
export { Input, Select, Checkbox, Toggle } from "./form-controls.jsx";
|
|
10
|
-
export { Card, CardHeader, CardBody, CardFooter } from "./card.jsx";
|
|
11
|
-
export { Skeleton, SkeletonCard, SkeletonTable } from "./skeleton.jsx";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export function Modal({ isOpen, onClose, title, description, children, size, showCloseButton, className, }: {
|
|
2
|
-
isOpen: any;
|
|
3
|
-
onClose: any;
|
|
4
|
-
title: any;
|
|
5
|
-
description: any;
|
|
6
|
-
children: any;
|
|
7
|
-
size?: string;
|
|
8
|
-
showCloseButton?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
}): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Skeleton Components
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* Loading placeholder animations
|
|
6
|
-
*/
|
|
7
|
-
export function Skeleton({ variant, className, count }: {
|
|
8
|
-
variant?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
count?: number;
|
|
11
|
-
}): any;
|
|
12
|
-
export function SkeletonCard({ className }: {
|
|
13
|
-
className?: string;
|
|
14
|
-
}): any;
|
|
15
|
-
export function SkeletonTable({ rows, columns, className }: {
|
|
16
|
-
rows?: number;
|
|
17
|
-
columns?: number;
|
|
18
|
-
className?: string;
|
|
19
|
-
}): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tabs Component
|
|
3
|
-
* Observatory Design System
|
|
4
|
-
*
|
|
5
|
-
* Variants: default, pills, underline
|
|
6
|
-
*/
|
|
7
|
-
export function Tabs({ tabs, activeTab, onChange, variant, className, }: {
|
|
8
|
-
tabs?: any[];
|
|
9
|
-
activeTab: any;
|
|
10
|
-
onChange: any;
|
|
11
|
-
variant?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
}): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function BuildsView(): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function ProjectsView(): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function SettingsView(): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function StatsView(): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function WaitingForScreenshots(): any;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export function useAuthStatus(): import("@tanstack/react-query").UseQueryResult<{
|
|
2
|
-
authenticated: boolean;
|
|
3
|
-
user: any | null;
|
|
4
|
-
}, Error>;
|
|
5
|
-
export function useInitiateLogin(): import("@tanstack/react-query").UseMutationResult<{
|
|
6
|
-
deviceCode: string;
|
|
7
|
-
userCode: string;
|
|
8
|
-
verificationUri: string;
|
|
9
|
-
expiresIn: number;
|
|
10
|
-
}, Error, void, unknown>;
|
|
11
|
-
export function usePollAuthorization(): import("@tanstack/react-query").UseMutationResult<{
|
|
12
|
-
status: "pending" | "complete";
|
|
13
|
-
user?: any;
|
|
14
|
-
}, Error, void, unknown>;
|
|
15
|
-
export function useLogout(): import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export function useProjects(options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
2
|
-
export function useBuilds(orgSlug: any, projectSlug: any, options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
3
|
-
export function useDownloadBaselines(): import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
4
|
-
export function useProjectMappings(options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
5
|
-
export function useCreateProjectMapping(): import("@tanstack/react-query").UseMutationResult<any, Error, any, unknown>;
|
|
6
|
-
export function useDeleteProjectMapping(): import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export function useConfig(options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
2
|
-
export function useProjectConfig(options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
3
|
-
export function useGlobalConfig(options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
4
|
-
export function useUpdateProjectConfig(): import("@tanstack/react-query").UseMutationResult<any, Error, any, unknown>;
|
|
5
|
-
export function useUpdateGlobalConfig(): import("@tanstack/react-query").UseMutationResult<any, Error, any, unknown>;
|
|
6
|
-
export function useValidateConfig(): import("@tanstack/react-query").UseMutationResult<any, Error, any, unknown>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export function useReportData(options?: {}): import("@tanstack/react-query").DefinedUseQueryResult<any, Error>;
|
|
2
|
-
export function useTddStatus(options?: {}): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
3
|
-
export function useAcceptBaseline(): import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
4
|
-
export function useAcceptAllBaselines(): import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
5
|
-
export function useResetBaselines(): import("@tanstack/react-query").UseMutationResult<any, Error, void, unknown>;
|
|
6
|
-
export function useRejectBaseline(): import("@tanstack/react-query").UseMutationResult<{
|
|
7
|
-
success: boolean;
|
|
8
|
-
id: void;
|
|
9
|
-
}, Error, void, unknown>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export default function useComparisonFilters(comparisons?: any[]): {
|
|
2
|
-
filteredComparisons: any;
|
|
3
|
-
filter: any;
|
|
4
|
-
setFilter: any;
|
|
5
|
-
sortBy: any;
|
|
6
|
-
setSortBy: any;
|
|
7
|
-
searchQuery: any;
|
|
8
|
-
setSearchQuery: any;
|
|
9
|
-
selectedBrowser: any;
|
|
10
|
-
setSelectedBrowser: any;
|
|
11
|
-
selectedViewport: any;
|
|
12
|
-
setSelectedViewport: any;
|
|
13
|
-
availableFilters: any;
|
|
14
|
-
counts: {
|
|
15
|
-
all: number;
|
|
16
|
-
failed: number;
|
|
17
|
-
passed: number;
|
|
18
|
-
new: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useImageLoader(src: any): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export namespace queryKeys {
|
|
2
|
-
let auth: string[];
|
|
3
|
-
function authStatus(): string[];
|
|
4
|
-
let config: string[];
|
|
5
|
-
function projectConfig(): string[];
|
|
6
|
-
function globalConfig(): string[];
|
|
7
|
-
let tdd: string[];
|
|
8
|
-
function reportData(): string[];
|
|
9
|
-
function status(): string[];
|
|
10
|
-
let cloud: string[];
|
|
11
|
-
function projects(): string[];
|
|
12
|
-
function builds(orgSlug: any, projectSlug: any): any[];
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Check if we're in static mode (data embedded in HTML)
|
|
3
|
-
*/
|
|
4
|
-
export function isStaticMode(): boolean;
|
|
5
|
-
/**
|
|
6
|
-
* Fetch report data from server or return embedded static data
|
|
7
|
-
*/
|
|
8
|
-
export function fetchReportData(): Promise<any>;
|
|
9
|
-
export function acceptBaseline(comparisonId: any): Promise<any>;
|
|
10
|
-
export function acceptAllBaselines(): Promise<any>;
|
|
11
|
-
export function resetBaselines(): Promise<any>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export function getStatusInfo(comparison: any): {
|
|
2
|
-
type: string;
|
|
3
|
-
label: string;
|
|
4
|
-
description: string;
|
|
5
|
-
icon: React.ForwardRefExoticComponent<any>;
|
|
6
|
-
colorClass: string;
|
|
7
|
-
} | {
|
|
8
|
-
type: string;
|
|
9
|
-
label: string;
|
|
10
|
-
icon: React.ForwardRefExoticComponent<any>;
|
|
11
|
-
colorClass: string;
|
|
12
|
-
description?: undefined;
|
|
13
|
-
};
|
|
14
|
-
export function calculatePassRate(summary: any): number;
|
|
15
|
-
export function sortComparisons(comparisons: any, sortBy: any): any[];
|
|
16
|
-
export function filterComparisons(comparisons: any, filter: any): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export namespace VIEW_MODES {
|
|
2
|
-
let OVERLAY: string;
|
|
3
|
-
let TOGGLE: string;
|
|
4
|
-
let ONION: string;
|
|
5
|
-
let SIDE_BY_SIDE: string;
|
|
6
|
-
}
|
|
7
|
-
export namespace FILTER_TYPES {
|
|
8
|
-
let ALL: string;
|
|
9
|
-
let FAILED: string;
|
|
10
|
-
let PASSED: string;
|
|
11
|
-
let NEW: string;
|
|
12
|
-
}
|
|
13
|
-
export namespace SORT_TYPES {
|
|
14
|
-
let PRIORITY: string;
|
|
15
|
-
let NAME: string;
|
|
16
|
-
let TIME: string;
|
|
17
|
-
}
|
|
18
|
-
export namespace CONNECTION_STATUS {
|
|
19
|
-
let CONNECTING: string;
|
|
20
|
-
let CONNECTED: string;
|
|
21
|
-
let DISCONNECTED: string;
|
|
22
|
-
}
|
|
23
|
-
export namespace COMPARISON_STATUS {
|
|
24
|
-
let PASSED_1: string;
|
|
25
|
-
export { PASSED_1 as PASSED };
|
|
26
|
-
let FAILED_1: string;
|
|
27
|
-
export { FAILED_1 as FAILED };
|
|
28
|
-
let NEW_1: string;
|
|
29
|
-
export { NEW_1 as NEW };
|
|
30
|
-
export let BASELINE_CREATED: string;
|
|
31
|
-
export let ERROR: string;
|
|
32
|
-
}
|
|
33
|
-
export namespace USER_ACTION {
|
|
34
|
-
let ACCEPTING: string;
|
|
35
|
-
let ACCEPTED: string;
|
|
36
|
-
let REJECTED: string;
|
|
37
|
-
}
|