Skip to content

Commit 7615f8c

Browse files
feat: add ASSET_SIDEBAR location constants
- Add LOCATION_ASSET_SIDEBAR to locations.ts - Update Locations interface in api.types.ts - Part of EXT-6786: Asset Sidebar App Framework Location
1 parent 0f64714 commit 7615f8c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/locations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const locations: Locations = {
44
LOCATION_ENTRY_FIELD: 'entry-field',
55
LOCATION_ENTRY_FIELD_SIDEBAR: 'entry-field-sidebar',
66
LOCATION_ENTRY_SIDEBAR: 'entry-sidebar',
7+
LOCATION_ASSET_SIDEBAR: 'asset-sidebar',
78
LOCATION_DIALOG: 'dialog',
89
LOCATION_ENTRY_EDITOR: 'entry-editor',
910
LOCATION_PAGE: 'page',

lib/types/api.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ export interface Locations {
384384
LOCATION_ENTRY_FIELD: 'entry-field'
385385
LOCATION_ENTRY_FIELD_SIDEBAR: 'entry-field-sidebar'
386386
LOCATION_ENTRY_SIDEBAR: 'entry-sidebar'
387+
LOCATION_ASSET_SIDEBAR: 'asset-sidebar'
387388
LOCATION_DIALOG: 'dialog'
388389
LOCATION_ENTRY_EDITOR: 'entry-editor'
389390
LOCATION_PAGE: 'page'

0 commit comments

Comments
 (0)