mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
Update the nuxt3 version. Co-authored-by: Jonathan Adeline <jonathan@baserow.io> Co-authored-by: Bram Wiepjes <bramw@protonmail.com> Co-authored-by: Cezary <cezary@baserow.io> Co-authored-by: Tsering Paljor <tsering@baserow.io> Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io> Co-authored-by: Bram <bram2w@users.noreply.github.com>
66 lines
1.4 KiB
Vue
66 lines
1.4 KiB
Vue
<template>
|
|
<div class="api-docs__item">
|
|
<div class="api-docs__left">
|
|
<div class="api-docs__heading-wrapper">
|
|
<h3 :id="'section-list-tables'" class="api-docs__heading-3">
|
|
<span>
|
|
{{ $t('apiDocsListTables.listTables') }}
|
|
</span>
|
|
</h3>
|
|
<div class="api-docs__endpoint-type"></div>
|
|
</div>
|
|
<MarkdownIt
|
|
class="api-docs__content"
|
|
:content="$t('apiDocsListTables.listTablesDescription')"
|
|
/>
|
|
</div>
|
|
|
|
<div class="api-docs__right">
|
|
<APIDocsExample
|
|
:value="value"
|
|
type="GET"
|
|
:url="getListTablesUrl()"
|
|
:response="getListTablesResponse()"
|
|
:include-user-fields-checkbox="false"
|
|
@input="$emit('input', $event)"
|
|
></APIDocsExample>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import APIDocsExample from '@baserow/modules/database/components/docs/APIDocsExample'
|
|
|
|
export default {
|
|
name: 'APIDocsListTables',
|
|
components: {
|
|
APIDocsExample,
|
|
},
|
|
props: {
|
|
value: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
},
|
|
emits: ['input'],
|
|
methods: {
|
|
getListTablesResponse() {
|
|
return [
|
|
{
|
|
id: 0,
|
|
name: 'string',
|
|
order: 2147483647,
|
|
database_id: 0,
|
|
},
|
|
]
|
|
},
|
|
getListTablesUrl() {
|
|
return (
|
|
this.$config.public.publicBackendUrl +
|
|
'/api/database/tables/all-tables/'
|
|
)
|
|
},
|
|
},
|
|
}
|
|
</script>
|