Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[chore] Update SavedCustomMapStyle accessToken property to be defined as optional (#2278)

Igor D963df0cf3e8f
diff --git a/src/schemas/src/schema-manager.ts b/src/schemas/src/schema-manager.ts
index a7131020d..934c478fe 100644
--- a/src/schemas/src/schema-manager.ts
+++ b/src/schemas/src/schema-manager.ts
@@ -51,7 +51,7 @@ export type SavedLayerGroups = {
export type SavedCustomMapStyle = {
[key: string]: {
- accessToken: string;
+ accessToken?: string;
custom: BaseMapStyle['custom'];
icon: string;
id: string;
diff --git a/src/types/schemas.d.ts b/src/types/schemas.d.ts
index 159229631..827ecc050 100644
--- a/src/types/schemas.d.ts
+++ b/src/types/schemas.d.ts
@@ -141,7 +141,7 @@ export type SavedLayerGroups = {
export type SavedCustomMapStyle = {
[key: string]: {
- accessToken: string;
+ accessToken?: string;
custom: boolean;
icon: string;
id: string;