Skip to content

Commit

Permalink
[chore] Update SavedCustomMapStyle accessToken property to be defined…
Browse files Browse the repository at this point in the history
… as optional (#2278)

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Co-authored-by: Jacob Wasilkowski <4933392+jwasilgeo@users.noreply.github.com>
  • Loading branch information
igorDykhta and jwasilgeo committed Jun 21, 2023
1 parent 46df601 commit 963df0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/schemas/src/schema-manager.ts
Expand Up @@ -51,7 +51,7 @@ export type SavedLayerGroups = {

export type SavedCustomMapStyle = {
[key: string]: {
accessToken: string;
accessToken?: string;
custom: BaseMapStyle['custom'];
icon: string;
id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/types/schemas.d.ts
Expand Up @@ -141,7 +141,7 @@ export type SavedLayerGroups = {

export type SavedCustomMapStyle = {
[key: string]: {
accessToken: string;
accessToken?: string;
custom: boolean;
icon: string;
id: string;
Expand Down

0 comments on commit 963df0c

Please sign in to comment.