From 4a83d0fc1c562d4c71084b5b7b1d7564d7a039a9 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 15 Jan 2025 11:47:33 +0100 Subject: [PATCH] Type parameters --- .../client/src/components/app/DataProvider.svelte | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/app/DataProvider.svelte b/packages/client/src/components/app/DataProvider.svelte index 6f316c6548..3f03067b81 100644 --- a/packages/client/src/components/app/DataProvider.svelte +++ b/packages/client/src/components/app/DataProvider.svelte @@ -15,6 +15,7 @@ TableSchema, SortOrder, SearchFilters, + UISearchFilter, } from "@budibase/types" import { SDK, Component } from "../../index" @@ -24,12 +25,12 @@ > export let dataSource: ProviderDatasource - export let filter - export let sortColumn - export let sortOrder - export let limit - export let paginate - export let autoRefresh + export let filter: UISearchFilter + export let sortColumn: string + export let sortOrder: SortOrder + export let limit: number + export let paginate: boolean + export let autoRefresh: number const { styleable, Provider, ActionTypes, API } = getContext("sdk") const component = getContext("component")