notion-ts-client
Version:
Generates an easy to use and fully typed API to access and modify the data in Notion Databases
22 lines (19 loc) • 391 B
text/typescript
export interface CustomTypesConfig {
[dbId: string]: CustomTypesPropertiesConfig
}
export interface CustomTypesPropertiesConfig {
[propId: string]: CustomTypesPropertyConfig
}
export interface CustomTypesPropertyConfig {
type: string
name: string
varName: string
options: {
name: string
color: string
}[]
groups?: {
name: string
optionIds: string[]
}[]
}