-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace costro/jsx by jsx-dom
- Loading branch information
Showing
27 changed files
with
650 additions
and
483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/popup/components/detail/assets/scripts/templates/detail.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ declare module '*.svg' { | |
const content: any | ||
export default content | ||
} | ||
declare module 'validate-target' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
export type Condition = { | ||
name?: string | ||
value: string | ||
include: boolean | ||
condition: number | ||
url?: string | ||
operator?: string | ||
favorite_url_id: string | ||
} | ||
|
||
export type FavoriteUrlScope = { | ||
favoriteUrlScopeConditions: Condition[] | ||
urlScopes: Condition[] | ||
} | ||
|
||
export type Targeting = { | ||
key: string | ||
success: boolean | ||
conditions?: Condition[] | FavoriteUrlScope | ||
name: string | ||
} | ||
|
||
export type Result = { | ||
key: string | ||
name: string | ||
type: string | ||
status: string | ||
variationID: number | ||
variationName: string | ||
targetings: { | ||
targetPages: Record<string, Targeting> | ||
qaParameters: Record<string, Targeting> | ||
segment: Targeting[] | ||
trigger: Targeting[] | ||
} | ||
} | ||
|
||
export type Variation = { | ||
id: number | ||
name: string | ||
traffic: number | ||
} | ||
|
||
export type Variations = Record<string, Variation> | ||
|
||
export type Tracking = { | ||
name: string | ||
selector: string | ||
} | ||
|
||
export type Trackings = { | ||
click: Tracking[] | ||
mousedown: Tracking[] | ||
submit: Tracking[] | ||
} | ||
|
||
export type Test = { | ||
id: number | ||
isAsync: string | ||
parentID: number | ||
asyncVariationInfoById: Variations | ||
actionTrackings: Trackings | ||
traffic: number | ||
} | ||
|
||
export type Results = Record<string, Result> | ||
|
||
export type Data = { | ||
accountData: { | ||
tests: Record<string, any> | ||
} | ||
results: Results | ||
debug: boolean | ||
} | ||
|
||
export type TestsSortedByStatus = { | ||
accepted: Result[] | ||
rejected: Result[] | ||
} | ||
|
||
export type TargetingItemSortedByStatus = { | ||
accepted: Targeting[] | ||
rejected: Targeting[] | ||
} | ||
|
||
export type TargetingsSortedByStatus = Record<string, TargetingItemSortedByStatus> | ||
|
||
export type CustomEvent = { | ||
detail: object | ||
} | ||
|
||
export type Wording = Record<string, string> | ||
|
||
export type DetailData = { | ||
testId: string | ||
identifier: string | ||
test: Test | ||
result: Result | ||
targetingSorted: TargetingItemSortedByStatus | ||
} | ||
|
||
export type ListData = { | ||
testsSortedByStatus: TestsSortedByStatus | ||
debug: boolean | ||
} | ||
|
||
export type ChangeInfo = { | ||
status: string | ||
} | ||
|
||
export type TrafficAllocation = { | ||
original: number | ||
untracked: number | ||
} |
Oops, something went wrong.