Skip to main content

review-master

Classes

Type Aliases

Review

Ƭ Review: Object

Review interface defining the structure of a single review analysis.

Type declaration

NameType
datestring
generalSentimentstring
negativeCategoriesstring[]
positiveCategoriesstring[]
reviewIdstring
starsstring

Defined in

components/AnalysisModel.tsx:6

Variables

negativeBackgroundColor

Const negativeBackgroundColor: string

Defined in

components/ColorPalette.ts:8


negativeBorderColor

Const negativeBorderColor: string

Defined in

components/ColorPalette.ts:7


negativeColor

Const negativeColor: "255, 99, 132"

Defined in

components/ColorPalette.ts:6


positiveBackgroundColor

Const positiveBackgroundColor: string

Defined in

components/ColorPalette.ts:4


positiveBorderColor

Const positiveBorderColor: string

Defined in

components/ColorPalette.ts:3


positiveColor

Const positiveColor: "53, 162, 235"

Defined in

components/ColorPalette.ts:1

Functions

formatDate

formatDate(dateObj): string

Format a Date object into a string in the format MM/DD/YYYY.

Parameters

NameTypeDescription
dateObjDateThe Date object to be formatted.

Returns

string

The formatted date string.

Defined in

components/DateUtils.ts:7