-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e87e832
commit 51b0a4f
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { GeoJsonObject } from "geojson"; | ||
|
||
export interface Team { | ||
id: number; | ||
name: string; | ||
slug: string; | ||
settings?: TeamSettings; | ||
theme?: TeamTheme; | ||
notifyPersonalisation?: NotifyPersonalisation; | ||
boundaryBBox?: GeoJsonObject; | ||
} | ||
|
||
export interface TeamTheme { | ||
primary?: string; | ||
logo?: string; | ||
} | ||
|
||
export interface TeamSettings { | ||
design?: { | ||
color?: string; | ||
}; | ||
homepage?: string; | ||
externalPlanningSite: { | ||
name: string; | ||
url: string; | ||
}; | ||
supportEmail?: string; | ||
boundary?: string; | ||
} | ||
|
||
export interface NotifyPersonalisation { | ||
helpEmail: string; | ||
helpPhone: string; | ||
emailReplyToId: string; | ||
helpOpeningHours: string; | ||
} |