Adding public API def.

This commit is contained in:
mike12345567 2024-11-18 13:26:16 +00:00
parent cdf7cb9fab
commit 3149f0dbd7
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ export interface ViewV2 {
schema?: ViewV2Schema schema?: ViewV2Schema
} }
export interface PublicAPIView extends Omit<ViewV2, "query" | "queryUI"> {
query?: UISearchFilter
}
export type ViewV2Schema = Record<string, ViewFieldMetadata> export type ViewV2Schema = Record<string, ViewFieldMetadata>
export type ViewSchema = ViewCountOrSumSchema | ViewStatisticsSchema export type ViewSchema = ViewCountOrSumSchema | ViewStatisticsSchema