@testerpaykit/expo 0.9.2 → 0.10.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/CHANGELOG.md +45 -0
- package/dist/index.d.mts +29 -14
- package/dist/index.d.ts +29 -14
- package/dist/index.js +1850 -1075
- package/dist/index.mjs +1859 -1071
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,51 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@testerpaykit/expo` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.10.1 — 2026-10-31
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **First-tap widget tour was unreadable**: the cards collapsed inside
|
|
9
|
+
the sheet, so the tour showed only a sliver of the first emoji and
|
|
10
|
+
could not be enlarged (reported from the Kinpal beta, iPhone 16 Pro
|
|
11
|
+
Max). The cards now take their content height; the sheet stays below
|
|
12
|
+
90 % of the screen and the tour's text scales with Dynamic Type up to
|
|
13
|
+
1.5×, so it also fits at the largest text sizes.
|
|
14
|
+
|
|
15
|
+
## 0.10.0 — 2026-10-30
|
|
16
|
+
|
|
17
|
+
Requires `@testerpaykit/core` 1.3.0 and `@testerpaykit/api-client` 1.5.0
|
|
18
|
+
(published together; `ai-tester` stays 0.5.0).
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- **Built-in retest sheet** ("My Retests" / "Meine Nachtests"): the
|
|
22
|
+
menu entry now opens `RetestSheet` when the host passes no
|
|
23
|
+
`onShowRetests`. Each acceptance step is judged ✓/✗, "Verified" stays
|
|
24
|
+
disabled until all passed, "Still broken" sends the bug back with a
|
|
25
|
+
reason; the verdicts go along (`step_results`). The wrapper counts the
|
|
26
|
+
open retests for the badge unless the host passes `retestCount`.
|
|
27
|
+
- **German and English on every tester surface**: workboard, session
|
|
28
|
+
end, general feedback, screenshot editor, tour, onboarding, welcome
|
|
29
|
+
sheet, invite code, My Bugs, Messages, session details and the AI
|
|
30
|
+
overlay now follow the device language like the menu and bug sheet
|
|
31
|
+
already did. `bugStatusStyle` / `bugSeverityLabel` take an optional
|
|
32
|
+
language (default German, as before).
|
|
33
|
+
- `formatTpkMoney` (money as "1,00 €" / "€1.00") and `useTr`.
|
|
34
|
+
|
|
35
|
+
### Removed
|
|
36
|
+
- The `mock*` fixtures (`mockBuildInfo`, `mockBugFixes`,
|
|
37
|
+
`mockFocusAreas`, `mockWelcomeBrief`, `mockWelcomeTasks`,
|
|
38
|
+
`mockWidgets`): the tester UI shows only real data.
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
- The voice/quick-action sheet is translucent by default
|
|
42
|
+
(`sheetOpacity` 0.82, was 1): the screen the tester reports on stays
|
|
43
|
+
visible behind it. Pass `sheetOpacity={1}` for the old opaque sheet.
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
- Quick-action labels wrap inside their button instead of running past
|
|
47
|
+
its edge ("Versteh ich nicht" on narrow phones).
|
|
48
|
+
- German voice-sheet hint no longer mixes in English field names.
|
|
49
|
+
|
|
5
50
|
## 0.9.2 — 2026-10-28
|
|
6
51
|
|
|
7
52
|
Same code as 0.9.1. 0.9.1 was published with `workspace:*` dependencies
|
package/dist/index.d.mts
CHANGED
|
@@ -1574,13 +1574,6 @@ declare class WidgetDiscovery {
|
|
|
1574
1574
|
/** Convenience shortcut. */
|
|
1575
1575
|
declare const widgetDiscovery: WidgetDiscovery;
|
|
1576
1576
|
|
|
1577
|
-
declare function mockBugFixes(): BugFix[];
|
|
1578
|
-
declare function mockBuildInfo(): BuildInfo;
|
|
1579
|
-
declare function mockFocusAreas(): FocusArea[];
|
|
1580
|
-
declare function mockWelcomeTasks(): WelcomeTask[];
|
|
1581
|
-
declare function mockWelcomeBrief(): WelcomeBrief;
|
|
1582
|
-
declare function mockWidgets(): WidgetInfo[];
|
|
1583
|
-
|
|
1584
1577
|
type FeedbackCategory = 'general' | 'featureRequest' | 'improvement' | 'complaint' | 'praise';
|
|
1585
1578
|
interface GeneralFeedbackDialogProps {
|
|
1586
1579
|
visible: boolean;
|
|
@@ -1613,6 +1606,15 @@ interface TpkIconProps {
|
|
|
1613
1606
|
}
|
|
1614
1607
|
declare function TpkIcon({ name, size, color, style, }: TpkIconProps): React.ReactElement;
|
|
1615
1608
|
|
|
1609
|
+
interface RetestSheetProps {
|
|
1610
|
+
visible: boolean;
|
|
1611
|
+
tpk: TpkExpo | null;
|
|
1612
|
+
onClose: () => void;
|
|
1613
|
+
/** Fired after a verify / reopen so the host can refresh its badge. */
|
|
1614
|
+
onChanged?: () => void;
|
|
1615
|
+
}
|
|
1616
|
+
declare function RetestSheet({ visible, tpk, onClose, onChanged, }: RetestSheetProps): React.ReactElement;
|
|
1617
|
+
|
|
1616
1618
|
type TpkLanguage = 'de' | 'en';
|
|
1617
1619
|
/** The device's UI language, reduced to `de` / `en`. */
|
|
1618
1620
|
declare function detectDeviceLanguage(): TpkLanguage;
|
|
@@ -1624,6 +1626,15 @@ declare function TpkLanguageProvider({ language, children, }: {
|
|
|
1624
1626
|
}): React.JSX.Element;
|
|
1625
1627
|
declare function useTpkLanguage(): TpkLanguage;
|
|
1626
1628
|
declare function useTpkStrings(): TpkStrings;
|
|
1629
|
+
/** Money in the tester's language: "1,00 €" in German, "€1.00" in
|
|
1630
|
+
* English. `currency` is an ISO-4217 code (EUR, USD, GBP …). */
|
|
1631
|
+
declare function formatTpkMoney(amount: number, currency: string, language: TpkLanguage): string;
|
|
1632
|
+
/** Picks the text for the active language: `tr({ en: '…', de: '…' })`.
|
|
1633
|
+
* For surfaces with a handful of texts; big surfaces use TPK_STRINGS. */
|
|
1634
|
+
declare function useTr(): (texts: {
|
|
1635
|
+
en: string;
|
|
1636
|
+
de: string;
|
|
1637
|
+
}) => string;
|
|
1627
1638
|
interface TpkStrings {
|
|
1628
1639
|
menuReportBug: string;
|
|
1629
1640
|
menuFeedback: string;
|
|
@@ -1893,8 +1904,9 @@ interface VoiceBugInputSheetProps {
|
|
|
1893
1904
|
accentColor?: string;
|
|
1894
1905
|
/**
|
|
1895
1906
|
* Opacity of the backdrop + sheet, together, on a 0..1 scale.
|
|
1896
|
-
* Default `
|
|
1897
|
-
*
|
|
1907
|
+
* Default `0.82` (since 0.9.3) — the screen behind stays faintly
|
|
1908
|
+
* visible while the text stays readable on light apps; `1` makes
|
|
1909
|
+
* it fully opaque as before. A tester describing a bug describes what's on the
|
|
1898
1910
|
* screen behind this sheet; at `1` that screen is completely
|
|
1899
1911
|
* hidden while they're doing it. Lower values (e.g. `0.35`, close
|
|
1900
1912
|
* to the ~30% overall coverage a host asked for) keep both layers
|
|
@@ -1986,9 +1998,10 @@ interface StatusStyle {
|
|
|
1986
1998
|
}
|
|
1987
1999
|
/** Label + colour for a bug status. Unknown statuses fall back to the raw
|
|
1988
2000
|
* status string on a neutral blue-grey. */
|
|
1989
|
-
declare function bugStatusStyle(status: string): StatusStyle;
|
|
1990
|
-
/**
|
|
1991
|
-
|
|
2001
|
+
declare function bugStatusStyle(status: string, language?: TpkLanguage): StatusStyle;
|
|
2002
|
+
/** Severity label in `language`, or the raw value if unknown, or null if
|
|
2003
|
+
* absent. */
|
|
2004
|
+
declare function bugSeverityLabel(severity?: string | null, language?: TpkLanguage): string | null;
|
|
1992
2005
|
|
|
1993
2006
|
interface NotificationsSheetProps {
|
|
1994
2007
|
visible: boolean;
|
|
@@ -2034,7 +2047,9 @@ interface TesterPayKitWrapperProps {
|
|
|
2034
2047
|
onShowDebugLogs?: () => void;
|
|
2035
2048
|
notificationCount?: number;
|
|
2036
2049
|
onFlushCachedCrashes?: () => Promise<number> | number;
|
|
2050
|
+
/** Badge on "My Retests". Default: the wrapper counts the open retests. */
|
|
2037
2051
|
retestCount?: number;
|
|
2052
|
+
/** Replaces the built-in retest sheet. */
|
|
2038
2053
|
onShowRetests?: () => void;
|
|
2039
2054
|
onViewDashboard?: () => void;
|
|
2040
2055
|
/** Initial position of the floating feedback button (top-left corner
|
|
@@ -2419,5 +2434,5 @@ declare function useTpkEarnings(tpk: TpkExpo | null, options?: {
|
|
|
2419
2434
|
payoutLimit?: number;
|
|
2420
2435
|
}): UseEarningsResult;
|
|
2421
2436
|
|
|
2422
|
-
export { ANNOTATION_PALETTE, AttachmentQueue, Breadcrumbs, BugReportSheet, CrashQueue, DEFAULT_STYLE, DEFAULT_TPK_THEME, ExpoStorage, FloatingFeedbackButton, GeneralFeedbackDialog, INTERACTION_NAV_WEIGHT, InviteCodeScreen, MIN_INTERACTIONS_PER_ACTIVE_MINUTE, MyBugsSheet, NotificationsSheet, ONBOARDING_DONE_STORAGE_KEY, SCREENSHOT_CONSENT_STORAGE_KEY, ScreenRecorder, ScreenshotAnnotationEditor, SessionDetailsSheet, SessionEndDialog, SubmitQueue, TPK_STRINGS, TaskAnnotationRegistry, TesterDashboard, TesterPayKitProvider, TesterPayKitWrapper, TpkAnnotated, TpkAnnotationOverlay, TpkExpo, TpkIcon, TpkIconsProvider, TpkLanguageProvider, TpkOnboarding, TpkSensitive, TpkTalker, TpkThemeProvider, TpkWelcomeSheet, VoiceBugInputSheet, VoiceNoteRecorder, WELCOME_ACK_STORAGE_KEY, WIDGET_TOUR_SEEN_STORAGE_KEY, WidgetDiscovery, WidgetTour, annotations, applySensitiveRedaction, arrowHeadPoints, beginNativeCapture, bugSeverityLabel, bugStatusStyle, canSubmitBugReportDraft, captureView, classificationToBugType, createBugReportDraft, deriveTaskProgress, detectDeviceLanguage, emptyAnnotationDoc, endNativeCapture, engagedMinutes, extractVoiceBug, findAssignmentForTask, getAppSnapshot, getDeviceSnapshot, getEventCounts, getNativeCaptureMode, getSessionStats, getUniqueScreens, hasCompletedOnboarding, hasScreenshotConsent, hasSeenWidgetTour, hasWelcomeBriefBeenSeen, installCrashHandler, installNetworkCapture, markOnboardingComplete, markWelcomeBriefAsSeen, markWidgetTourSeen,
|
|
2423
|
-
export type { AnnotatedElementInfo, AnnotatedScreenshotResult, AnnotationColor, AnnotationEvent, AnnotationEventType, AnnotationInteraction, AnnotationListener, AnnotationShape, AnnotationStyle, AnnotationTool, AppSnapshot, ArrowShape, AttachmentQueueFlushOptions, BlurShape, Breadcrumb, BugFix, BugReportDraft, BugReportSheetProps, BuildInfo, CachedCrash, CaptureViewOptions, CircleShape, CompletionTrigger, CrashHandlerOptions, CrashInfo, CreateBugReportDraftInput, DashboardData, DeviceSnapshot, DiscoverOptions, EarningsData, EngagedMinutesInput, FeedbackCategory, FloatingFeedbackButtonProps, FlushTelemetryResult, FocusArea, GeneralFeedbackDialogProps, InstallNetworkCaptureOptions, InteractionBounds, InteractionType, InviteCodeScreenProps, MyBugsSheetProps, NotificationsSheetProps, OnboardingStorage, PathShape, PeriodFilter, Point, QueueFlushOptions, QueueFlushResult, QuickActionKind, RecordInteractionDetails, RecordingOptions, RecordingResult, RecordingState, RectShape, RegisterAnnotationInput, ReleaseNote, ScreenshotAnnotationEditorProps, ScreenshotResult, SensitiveMaskingMode, SessionDetailsSheetProps, SessionEndDialogProps, SessionEndStats, SessionStatsSnapshot, StatusStyle, SubmitBugInput, TaskAnnotation, TaskInteractionSummary, TaskProgress, TesterDashboardProps, TesterPayKitContextValue, TesterPayKitProviderProps, TesterPayKitWrapperProps, TextShape, TpkAnnotatedProps, TpkAnnotationOverlayHandle, TpkAnnotationOverlayProps, TpkExpoConfig, TpkIconName, TpkIconOverrideMap, TpkIconProps, TpkLanguage, TpkLogEntry, TpkLogLevel, TpkOnboardingProps, TpkSensitiveProps, TpkStorage, TpkStrings, TpkTalkerListener, TpkTalkerOptions, TpkTheme, TpkWelcomeSheetProps, UseDashboardResult, UseEarningsResult, UseShakeOptions, UseTaskAnnotationOptions, UseTaskAnnotationResult, VersionRange, VoiceBugInputSheetProps, VoiceBugStrings, VoiceClassification, VoiceExtractAudio, VoiceExtractResult, VoiceNoteFileReader, VoiceNoteRecorderLike, VoiceNoteRecorderOptions, VoiceNoteResult, VoiceNoteState, WelcomeAckStorage, WelcomeBrief, WelcomeTask, WidgetInfo, WidgetTourProps };
|
|
2437
|
+
export { ANNOTATION_PALETTE, AttachmentQueue, Breadcrumbs, BugReportSheet, CrashQueue, DEFAULT_STYLE, DEFAULT_TPK_THEME, ExpoStorage, FloatingFeedbackButton, GeneralFeedbackDialog, INTERACTION_NAV_WEIGHT, InviteCodeScreen, MIN_INTERACTIONS_PER_ACTIVE_MINUTE, MyBugsSheet, NotificationsSheet, ONBOARDING_DONE_STORAGE_KEY, RetestSheet, SCREENSHOT_CONSENT_STORAGE_KEY, ScreenRecorder, ScreenshotAnnotationEditor, SessionDetailsSheet, SessionEndDialog, SubmitQueue, TPK_STRINGS, TaskAnnotationRegistry, TesterDashboard, TesterPayKitProvider, TesterPayKitWrapper, TpkAnnotated, TpkAnnotationOverlay, TpkExpo, TpkIcon, TpkIconsProvider, TpkLanguageProvider, TpkOnboarding, TpkSensitive, TpkTalker, TpkThemeProvider, TpkWelcomeSheet, VoiceBugInputSheet, VoiceNoteRecorder, WELCOME_ACK_STORAGE_KEY, WIDGET_TOUR_SEEN_STORAGE_KEY, WidgetDiscovery, WidgetTour, annotations, applySensitiveRedaction, arrowHeadPoints, beginNativeCapture, bugSeverityLabel, bugStatusStyle, canSubmitBugReportDraft, captureView, classificationToBugType, createBugReportDraft, deriveTaskProgress, detectDeviceLanguage, emptyAnnotationDoc, endNativeCapture, engagedMinutes, extractVoiceBug, findAssignmentForTask, formatTpkMoney, getAppSnapshot, getDeviceSnapshot, getEventCounts, getNativeCaptureMode, getSessionStats, getUniqueScreens, hasCompletedOnboarding, hasScreenshotConsent, hasSeenWidgetTour, hasWelcomeBriefBeenSeen, installCrashHandler, installNetworkCapture, markOnboardingComplete, markWelcomeBriefAsSeen, markWidgetTourSeen, parseVersionRange, pathToSvgD, quickDraftBug, resetOnboardingState, resetWelcomeBriefAck, resetWidgetTourSeen, simplifyPath, submitBugReportDraft, subscribeNativeCaptureMode, uploadScreenshotAttachment, useShake, useTaskAnnotation, useTesterPayKit, useTpkDashboard, useTpkEarnings, useTpkLanguage, useTpkStrings, useTpkTheme, useTr, versionSatisfies, widgetDiscovery, withNativeCapture };
|
|
2438
|
+
export type { AnnotatedElementInfo, AnnotatedScreenshotResult, AnnotationColor, AnnotationEvent, AnnotationEventType, AnnotationInteraction, AnnotationListener, AnnotationShape, AnnotationStyle, AnnotationTool, AppSnapshot, ArrowShape, AttachmentQueueFlushOptions, BlurShape, Breadcrumb, BugFix, BugReportDraft, BugReportSheetProps, BuildInfo, CachedCrash, CaptureViewOptions, CircleShape, CompletionTrigger, CrashHandlerOptions, CrashInfo, CreateBugReportDraftInput, DashboardData, DeviceSnapshot, DiscoverOptions, EarningsData, EngagedMinutesInput, FeedbackCategory, FloatingFeedbackButtonProps, FlushTelemetryResult, FocusArea, GeneralFeedbackDialogProps, InstallNetworkCaptureOptions, InteractionBounds, InteractionType, InviteCodeScreenProps, MyBugsSheetProps, NotificationsSheetProps, OnboardingStorage, PathShape, PeriodFilter, Point, QueueFlushOptions, QueueFlushResult, QuickActionKind, RecordInteractionDetails, RecordingOptions, RecordingResult, RecordingState, RectShape, RegisterAnnotationInput, ReleaseNote, RetestSheetProps, ScreenshotAnnotationEditorProps, ScreenshotResult, SensitiveMaskingMode, SessionDetailsSheetProps, SessionEndDialogProps, SessionEndStats, SessionStatsSnapshot, StatusStyle, SubmitBugInput, TaskAnnotation, TaskInteractionSummary, TaskProgress, TesterDashboardProps, TesterPayKitContextValue, TesterPayKitProviderProps, TesterPayKitWrapperProps, TextShape, TpkAnnotatedProps, TpkAnnotationOverlayHandle, TpkAnnotationOverlayProps, TpkExpoConfig, TpkIconName, TpkIconOverrideMap, TpkIconProps, TpkLanguage, TpkLogEntry, TpkLogLevel, TpkOnboardingProps, TpkSensitiveProps, TpkStorage, TpkStrings, TpkTalkerListener, TpkTalkerOptions, TpkTheme, TpkWelcomeSheetProps, UseDashboardResult, UseEarningsResult, UseShakeOptions, UseTaskAnnotationOptions, UseTaskAnnotationResult, VersionRange, VoiceBugInputSheetProps, VoiceBugStrings, VoiceClassification, VoiceExtractAudio, VoiceExtractResult, VoiceNoteFileReader, VoiceNoteRecorderLike, VoiceNoteRecorderOptions, VoiceNoteResult, VoiceNoteState, WelcomeAckStorage, WelcomeBrief, WelcomeTask, WidgetInfo, WidgetTourProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1574,13 +1574,6 @@ declare class WidgetDiscovery {
|
|
|
1574
1574
|
/** Convenience shortcut. */
|
|
1575
1575
|
declare const widgetDiscovery: WidgetDiscovery;
|
|
1576
1576
|
|
|
1577
|
-
declare function mockBugFixes(): BugFix[];
|
|
1578
|
-
declare function mockBuildInfo(): BuildInfo;
|
|
1579
|
-
declare function mockFocusAreas(): FocusArea[];
|
|
1580
|
-
declare function mockWelcomeTasks(): WelcomeTask[];
|
|
1581
|
-
declare function mockWelcomeBrief(): WelcomeBrief;
|
|
1582
|
-
declare function mockWidgets(): WidgetInfo[];
|
|
1583
|
-
|
|
1584
1577
|
type FeedbackCategory = 'general' | 'featureRequest' | 'improvement' | 'complaint' | 'praise';
|
|
1585
1578
|
interface GeneralFeedbackDialogProps {
|
|
1586
1579
|
visible: boolean;
|
|
@@ -1613,6 +1606,15 @@ interface TpkIconProps {
|
|
|
1613
1606
|
}
|
|
1614
1607
|
declare function TpkIcon({ name, size, color, style, }: TpkIconProps): React.ReactElement;
|
|
1615
1608
|
|
|
1609
|
+
interface RetestSheetProps {
|
|
1610
|
+
visible: boolean;
|
|
1611
|
+
tpk: TpkExpo | null;
|
|
1612
|
+
onClose: () => void;
|
|
1613
|
+
/** Fired after a verify / reopen so the host can refresh its badge. */
|
|
1614
|
+
onChanged?: () => void;
|
|
1615
|
+
}
|
|
1616
|
+
declare function RetestSheet({ visible, tpk, onClose, onChanged, }: RetestSheetProps): React.ReactElement;
|
|
1617
|
+
|
|
1616
1618
|
type TpkLanguage = 'de' | 'en';
|
|
1617
1619
|
/** The device's UI language, reduced to `de` / `en`. */
|
|
1618
1620
|
declare function detectDeviceLanguage(): TpkLanguage;
|
|
@@ -1624,6 +1626,15 @@ declare function TpkLanguageProvider({ language, children, }: {
|
|
|
1624
1626
|
}): React.JSX.Element;
|
|
1625
1627
|
declare function useTpkLanguage(): TpkLanguage;
|
|
1626
1628
|
declare function useTpkStrings(): TpkStrings;
|
|
1629
|
+
/** Money in the tester's language: "1,00 €" in German, "€1.00" in
|
|
1630
|
+
* English. `currency` is an ISO-4217 code (EUR, USD, GBP …). */
|
|
1631
|
+
declare function formatTpkMoney(amount: number, currency: string, language: TpkLanguage): string;
|
|
1632
|
+
/** Picks the text for the active language: `tr({ en: '…', de: '…' })`.
|
|
1633
|
+
* For surfaces with a handful of texts; big surfaces use TPK_STRINGS. */
|
|
1634
|
+
declare function useTr(): (texts: {
|
|
1635
|
+
en: string;
|
|
1636
|
+
de: string;
|
|
1637
|
+
}) => string;
|
|
1627
1638
|
interface TpkStrings {
|
|
1628
1639
|
menuReportBug: string;
|
|
1629
1640
|
menuFeedback: string;
|
|
@@ -1893,8 +1904,9 @@ interface VoiceBugInputSheetProps {
|
|
|
1893
1904
|
accentColor?: string;
|
|
1894
1905
|
/**
|
|
1895
1906
|
* Opacity of the backdrop + sheet, together, on a 0..1 scale.
|
|
1896
|
-
* Default `
|
|
1897
|
-
*
|
|
1907
|
+
* Default `0.82` (since 0.9.3) — the screen behind stays faintly
|
|
1908
|
+
* visible while the text stays readable on light apps; `1` makes
|
|
1909
|
+
* it fully opaque as before. A tester describing a bug describes what's on the
|
|
1898
1910
|
* screen behind this sheet; at `1` that screen is completely
|
|
1899
1911
|
* hidden while they're doing it. Lower values (e.g. `0.35`, close
|
|
1900
1912
|
* to the ~30% overall coverage a host asked for) keep both layers
|
|
@@ -1986,9 +1998,10 @@ interface StatusStyle {
|
|
|
1986
1998
|
}
|
|
1987
1999
|
/** Label + colour for a bug status. Unknown statuses fall back to the raw
|
|
1988
2000
|
* status string on a neutral blue-grey. */
|
|
1989
|
-
declare function bugStatusStyle(status: string): StatusStyle;
|
|
1990
|
-
/**
|
|
1991
|
-
|
|
2001
|
+
declare function bugStatusStyle(status: string, language?: TpkLanguage): StatusStyle;
|
|
2002
|
+
/** Severity label in `language`, or the raw value if unknown, or null if
|
|
2003
|
+
* absent. */
|
|
2004
|
+
declare function bugSeverityLabel(severity?: string | null, language?: TpkLanguage): string | null;
|
|
1992
2005
|
|
|
1993
2006
|
interface NotificationsSheetProps {
|
|
1994
2007
|
visible: boolean;
|
|
@@ -2034,7 +2047,9 @@ interface TesterPayKitWrapperProps {
|
|
|
2034
2047
|
onShowDebugLogs?: () => void;
|
|
2035
2048
|
notificationCount?: number;
|
|
2036
2049
|
onFlushCachedCrashes?: () => Promise<number> | number;
|
|
2050
|
+
/** Badge on "My Retests". Default: the wrapper counts the open retests. */
|
|
2037
2051
|
retestCount?: number;
|
|
2052
|
+
/** Replaces the built-in retest sheet. */
|
|
2038
2053
|
onShowRetests?: () => void;
|
|
2039
2054
|
onViewDashboard?: () => void;
|
|
2040
2055
|
/** Initial position of the floating feedback button (top-left corner
|
|
@@ -2419,5 +2434,5 @@ declare function useTpkEarnings(tpk: TpkExpo | null, options?: {
|
|
|
2419
2434
|
payoutLimit?: number;
|
|
2420
2435
|
}): UseEarningsResult;
|
|
2421
2436
|
|
|
2422
|
-
export { ANNOTATION_PALETTE, AttachmentQueue, Breadcrumbs, BugReportSheet, CrashQueue, DEFAULT_STYLE, DEFAULT_TPK_THEME, ExpoStorage, FloatingFeedbackButton, GeneralFeedbackDialog, INTERACTION_NAV_WEIGHT, InviteCodeScreen, MIN_INTERACTIONS_PER_ACTIVE_MINUTE, MyBugsSheet, NotificationsSheet, ONBOARDING_DONE_STORAGE_KEY, SCREENSHOT_CONSENT_STORAGE_KEY, ScreenRecorder, ScreenshotAnnotationEditor, SessionDetailsSheet, SessionEndDialog, SubmitQueue, TPK_STRINGS, TaskAnnotationRegistry, TesterDashboard, TesterPayKitProvider, TesterPayKitWrapper, TpkAnnotated, TpkAnnotationOverlay, TpkExpo, TpkIcon, TpkIconsProvider, TpkLanguageProvider, TpkOnboarding, TpkSensitive, TpkTalker, TpkThemeProvider, TpkWelcomeSheet, VoiceBugInputSheet, VoiceNoteRecorder, WELCOME_ACK_STORAGE_KEY, WIDGET_TOUR_SEEN_STORAGE_KEY, WidgetDiscovery, WidgetTour, annotations, applySensitiveRedaction, arrowHeadPoints, beginNativeCapture, bugSeverityLabel, bugStatusStyle, canSubmitBugReportDraft, captureView, classificationToBugType, createBugReportDraft, deriveTaskProgress, detectDeviceLanguage, emptyAnnotationDoc, endNativeCapture, engagedMinutes, extractVoiceBug, findAssignmentForTask, getAppSnapshot, getDeviceSnapshot, getEventCounts, getNativeCaptureMode, getSessionStats, getUniqueScreens, hasCompletedOnboarding, hasScreenshotConsent, hasSeenWidgetTour, hasWelcomeBriefBeenSeen, installCrashHandler, installNetworkCapture, markOnboardingComplete, markWelcomeBriefAsSeen, markWidgetTourSeen,
|
|
2423
|
-
export type { AnnotatedElementInfo, AnnotatedScreenshotResult, AnnotationColor, AnnotationEvent, AnnotationEventType, AnnotationInteraction, AnnotationListener, AnnotationShape, AnnotationStyle, AnnotationTool, AppSnapshot, ArrowShape, AttachmentQueueFlushOptions, BlurShape, Breadcrumb, BugFix, BugReportDraft, BugReportSheetProps, BuildInfo, CachedCrash, CaptureViewOptions, CircleShape, CompletionTrigger, CrashHandlerOptions, CrashInfo, CreateBugReportDraftInput, DashboardData, DeviceSnapshot, DiscoverOptions, EarningsData, EngagedMinutesInput, FeedbackCategory, FloatingFeedbackButtonProps, FlushTelemetryResult, FocusArea, GeneralFeedbackDialogProps, InstallNetworkCaptureOptions, InteractionBounds, InteractionType, InviteCodeScreenProps, MyBugsSheetProps, NotificationsSheetProps, OnboardingStorage, PathShape, PeriodFilter, Point, QueueFlushOptions, QueueFlushResult, QuickActionKind, RecordInteractionDetails, RecordingOptions, RecordingResult, RecordingState, RectShape, RegisterAnnotationInput, ReleaseNote, ScreenshotAnnotationEditorProps, ScreenshotResult, SensitiveMaskingMode, SessionDetailsSheetProps, SessionEndDialogProps, SessionEndStats, SessionStatsSnapshot, StatusStyle, SubmitBugInput, TaskAnnotation, TaskInteractionSummary, TaskProgress, TesterDashboardProps, TesterPayKitContextValue, TesterPayKitProviderProps, TesterPayKitWrapperProps, TextShape, TpkAnnotatedProps, TpkAnnotationOverlayHandle, TpkAnnotationOverlayProps, TpkExpoConfig, TpkIconName, TpkIconOverrideMap, TpkIconProps, TpkLanguage, TpkLogEntry, TpkLogLevel, TpkOnboardingProps, TpkSensitiveProps, TpkStorage, TpkStrings, TpkTalkerListener, TpkTalkerOptions, TpkTheme, TpkWelcomeSheetProps, UseDashboardResult, UseEarningsResult, UseShakeOptions, UseTaskAnnotationOptions, UseTaskAnnotationResult, VersionRange, VoiceBugInputSheetProps, VoiceBugStrings, VoiceClassification, VoiceExtractAudio, VoiceExtractResult, VoiceNoteFileReader, VoiceNoteRecorderLike, VoiceNoteRecorderOptions, VoiceNoteResult, VoiceNoteState, WelcomeAckStorage, WelcomeBrief, WelcomeTask, WidgetInfo, WidgetTourProps };
|
|
2437
|
+
export { ANNOTATION_PALETTE, AttachmentQueue, Breadcrumbs, BugReportSheet, CrashQueue, DEFAULT_STYLE, DEFAULT_TPK_THEME, ExpoStorage, FloatingFeedbackButton, GeneralFeedbackDialog, INTERACTION_NAV_WEIGHT, InviteCodeScreen, MIN_INTERACTIONS_PER_ACTIVE_MINUTE, MyBugsSheet, NotificationsSheet, ONBOARDING_DONE_STORAGE_KEY, RetestSheet, SCREENSHOT_CONSENT_STORAGE_KEY, ScreenRecorder, ScreenshotAnnotationEditor, SessionDetailsSheet, SessionEndDialog, SubmitQueue, TPK_STRINGS, TaskAnnotationRegistry, TesterDashboard, TesterPayKitProvider, TesterPayKitWrapper, TpkAnnotated, TpkAnnotationOverlay, TpkExpo, TpkIcon, TpkIconsProvider, TpkLanguageProvider, TpkOnboarding, TpkSensitive, TpkTalker, TpkThemeProvider, TpkWelcomeSheet, VoiceBugInputSheet, VoiceNoteRecorder, WELCOME_ACK_STORAGE_KEY, WIDGET_TOUR_SEEN_STORAGE_KEY, WidgetDiscovery, WidgetTour, annotations, applySensitiveRedaction, arrowHeadPoints, beginNativeCapture, bugSeverityLabel, bugStatusStyle, canSubmitBugReportDraft, captureView, classificationToBugType, createBugReportDraft, deriveTaskProgress, detectDeviceLanguage, emptyAnnotationDoc, endNativeCapture, engagedMinutes, extractVoiceBug, findAssignmentForTask, formatTpkMoney, getAppSnapshot, getDeviceSnapshot, getEventCounts, getNativeCaptureMode, getSessionStats, getUniqueScreens, hasCompletedOnboarding, hasScreenshotConsent, hasSeenWidgetTour, hasWelcomeBriefBeenSeen, installCrashHandler, installNetworkCapture, markOnboardingComplete, markWelcomeBriefAsSeen, markWidgetTourSeen, parseVersionRange, pathToSvgD, quickDraftBug, resetOnboardingState, resetWelcomeBriefAck, resetWidgetTourSeen, simplifyPath, submitBugReportDraft, subscribeNativeCaptureMode, uploadScreenshotAttachment, useShake, useTaskAnnotation, useTesterPayKit, useTpkDashboard, useTpkEarnings, useTpkLanguage, useTpkStrings, useTpkTheme, useTr, versionSatisfies, widgetDiscovery, withNativeCapture };
|
|
2438
|
+
export type { AnnotatedElementInfo, AnnotatedScreenshotResult, AnnotationColor, AnnotationEvent, AnnotationEventType, AnnotationInteraction, AnnotationListener, AnnotationShape, AnnotationStyle, AnnotationTool, AppSnapshot, ArrowShape, AttachmentQueueFlushOptions, BlurShape, Breadcrumb, BugFix, BugReportDraft, BugReportSheetProps, BuildInfo, CachedCrash, CaptureViewOptions, CircleShape, CompletionTrigger, CrashHandlerOptions, CrashInfo, CreateBugReportDraftInput, DashboardData, DeviceSnapshot, DiscoverOptions, EarningsData, EngagedMinutesInput, FeedbackCategory, FloatingFeedbackButtonProps, FlushTelemetryResult, FocusArea, GeneralFeedbackDialogProps, InstallNetworkCaptureOptions, InteractionBounds, InteractionType, InviteCodeScreenProps, MyBugsSheetProps, NotificationsSheetProps, OnboardingStorage, PathShape, PeriodFilter, Point, QueueFlushOptions, QueueFlushResult, QuickActionKind, RecordInteractionDetails, RecordingOptions, RecordingResult, RecordingState, RectShape, RegisterAnnotationInput, ReleaseNote, RetestSheetProps, ScreenshotAnnotationEditorProps, ScreenshotResult, SensitiveMaskingMode, SessionDetailsSheetProps, SessionEndDialogProps, SessionEndStats, SessionStatsSnapshot, StatusStyle, SubmitBugInput, TaskAnnotation, TaskInteractionSummary, TaskProgress, TesterDashboardProps, TesterPayKitContextValue, TesterPayKitProviderProps, TesterPayKitWrapperProps, TextShape, TpkAnnotatedProps, TpkAnnotationOverlayHandle, TpkAnnotationOverlayProps, TpkExpoConfig, TpkIconName, TpkIconOverrideMap, TpkIconProps, TpkLanguage, TpkLogEntry, TpkLogLevel, TpkOnboardingProps, TpkSensitiveProps, TpkStorage, TpkStrings, TpkTalkerListener, TpkTalkerOptions, TpkTheme, TpkWelcomeSheetProps, UseDashboardResult, UseEarningsResult, UseShakeOptions, UseTaskAnnotationOptions, UseTaskAnnotationResult, VersionRange, VoiceBugInputSheetProps, VoiceBugStrings, VoiceClassification, VoiceExtractAudio, VoiceExtractResult, VoiceNoteFileReader, VoiceNoteRecorderLike, VoiceNoteRecorderOptions, VoiceNoteResult, VoiceNoteState, WelcomeAckStorage, WelcomeBrief, WelcomeTask, WidgetInfo, WidgetTourProps };
|