suitest-js-api
Version:
Suitest is a test automation and device manipulation tool for living room devices and web browsers.
87 lines (85 loc) • 2.94 kB
TypeScript
export type ElementProps = {
color: string,
opacity: number,
backgroundColor: string,
borderStyle: string,
borderWidth: string,
borderColor: string,
zIndex: number,
top: number,
left: number,
width: number,
height: number,
id: string,
class: string,
href: string,
url: string,
image: string,
text: string,
videoState: string,
videoLength: string,
videoPos: number,
videoUrl: string,
visibility: string,
margin: number,
padding: number,
fontSize: number,
fontFamily: string,
fontURI: string,
fontWeight: number,
name: string,
automationName: string,
automationId: string,
focusMargin: number,
focusPrimaryColor: string,
focusSecondaryColor: string,
focusPrimaryWidth: number,
focusSecondaryWidth: number,
alpha: number,
textSize: number,
tag: string,
contentDescription: string,
hint: string,
isCompletelyDisplayed: boolean,
isEnabled: boolean,
hasFocus: boolean,
isClickable: boolean,
isChecked: boolean,
isSelected: boolean,
isFocusable: boolean,
isTouchable: boolean,
itemFocused: number,
scaleX: number,
scaleY: number,
translationX: number,
translationY: number,
pivotX: number,
pivotY: number,
packageName: string,
tagInt: number,
accessibilityIdentifier: string,
barTintColor: string,
contentMode: string,
imageHash: string,
fontName: string,
hasMetaData: boolean,
hasNavMarkers: boolean,
isOpaque: boolean,
isFocused: boolean,
numberOfSegments: number,
placeholder: string,
proposalURL: string,
selectedImageTintColor: string,
state: string,
textAlignment: string,
imageLoadState: string,
leftAbsolute: number,
topAbsolute: number,
tintColor: string,
value: string,
children: number,
extends: string,
uiElementId: string,
index: number,
}
export type PlayStationVideoProps = Pick<ElementProps, 'videoLength' | 'videoPos' | 'videoState' | 'videoUrl'>