mirror of https://github.com/Budibase/budibase.git
12 changed files with 86 additions and 28 deletions
@ -0,0 +1,29 @@ |
|||||
|
<script> |
||||
|
import { Table } from "@budibase/bbui" |
||||
|
import CapitaliseRenderer from "components/common/renderers/CapitaliseRenderer.svelte" |
||||
|
|
||||
|
export let authConfigs = [] |
||||
|
|
||||
|
const schema = { |
||||
|
name: "", |
||||
|
type: "", |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<div> |
||||
|
{#if authConfigs && authConfigs.length > 0} |
||||
|
<div class="query-list"> |
||||
|
<Table |
||||
|
{schema} |
||||
|
data={authConfigs} |
||||
|
allowEditColumns={false} |
||||
|
allowEditRows={false} |
||||
|
allowSelectRows={false} |
||||
|
customRenderers={[{ column: "type", component: CapitaliseRenderer }]} |
||||
|
/> |
||||
|
</div> |
||||
|
{/if} |
||||
|
</div> |
||||
|
|
||||
|
<style> |
||||
|
</style> |
||||
@ -1,6 +1,6 @@ |
|||||
export interface IntegrationBase { |
export interface IntegrationBase { |
||||
create?(query: any): Promise<any[]|any> |
create?(query: any): Promise<any[] | any> |
||||
read?(query: any): Promise<any[]|any> |
read?(query: any): Promise<any[] | any> |
||||
update?(query: any): Promise<any[]|any> |
update?(query: any): Promise<any[] | any> |
||||
delete?(query: any): Promise<any[]|any> |
delete?(query: any): Promise<any[] | any> |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue