Skip to content

Commit 978ba90

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 2642730 commit 978ba90

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
@@ -386,6 +386,7 @@ export interface Locations {
386386
LOCATION_ENTRY_FIELD: 'entry-field'
387387
LOCATION_ENTRY_FIELD_SIDEBAR: 'entry-field-sidebar'
388388
LOCATION_ENTRY_SIDEBAR: 'entry-sidebar'
389+
LOCATION_ASSET_SIDEBAR: 'asset-sidebar'
389390
LOCATION_DIALOG: 'dialog'
390391
LOCATION_ENTRY_EDITOR: 'entry-editor'
391392
LOCATION_PAGE: 'page'

0 commit comments

Comments
 (0)