Skip to content

Commit beb58ef

Browse files
feat: [EXT-7181] experience-toolbar-location-constant (#2477)
This reverts commit 6f5dc4a, as it was intended to be a beta release.
1 parent a02156e commit beb58ef

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

lib/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const LOCATION_TO_API_PRODUCERS: { [location: string]: ProducerFunc[] } = {
4747
[locations.LOCATION_HOME]: [makeSharedAPI],
4848
[locations.LOCATION_APP_CONFIG]: [makeSharedAPI, makeAppAPI],
4949
[locations.LOCATION_AGENT]: [makeSharedAPI, makeAgentAPI, makeWindowAPI],
50-
[locations.LOCATION_EXPERIENCE_TOOLBAR]: [makeSharedAPI],
5150
}
5251

5352
export default function createAPI(

lib/locations.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const locations: Locations = {
1111
LOCATION_APP_CONFIG: 'app-config',
1212
LOCATION_HOME: 'home',
1313
LOCATION_AGENT: 'agent',
14-
LOCATION_EXPERIENCE_TOOLBAR: 'experience-toolbar',
1514
}
1615

1716
export default locations

lib/types/api.types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,6 @@ export interface Locations {
405405
LOCATION_HOME: 'home'
406406
LOCATION_APP_CONFIG: 'app-config'
407407
LOCATION_AGENT: 'agent'
408-
LOCATION_EXPERIENCE_TOOLBAR: 'experience-toolbar'
409408
}
410409

411410
export interface ConnectMessage {

test/unit/api.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ describe('createAPI()', () => {
133133
test(expected, locations.LOCATION_PAGE)
134134
})
135135

136-
it('returns correct shape of the ExO experience toolbar API (experience-toolbar)', () => {
137-
const expected: string[] = []
138-
139-
test(expected, locations.LOCATION_EXPERIENCE_TOOLBAR)
140-
})
141-
142136
it('returns correct shape of the app API (app)', () => {
143137
const expected = ['app']
144138

0 commit comments

Comments
 (0)