mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fix typos
This commit is contained in:
1 parent
3c992d2dc0
commit
5813b2bbec
3 files changed
+4
-4
No files matched your search
@@ -44,7 +44,7 @@ export default async function gen(inputFileName: string, outputDir: string) {
|
||||
if (hasTsRef && !tsDefinition) throw new Error('Definition not found: ' + hasTsRef)
|
||||
|
||||
const description =
|
||||
pageSpec.description || tsDocCommentToMdComment(getDescriptionFromDefintion(tsDefinition))
|
||||
pageSpec.description || tsDocCommentToMdComment(getDescriptionFromDefinition(tsDefinition))
|
||||
|
||||
// Create page
|
||||
const content = Page({
|
||||
@@ -86,7 +86,7 @@ function generateParameters(tsDefinition: any) {
|
||||
return methodListGroup(parameters)
|
||||
}
|
||||
|
||||
function getDescriptionFromDefintion(tsDefinition) {
|
||||
function getDescriptionFromDefinition(tsDefinition) {
|
||||
if (!tsDefinition) return null
|
||||
if (['Method', 'Constructor', 'Constructor signature'].includes(tsDefinition.kindString))
|
||||
return tsDefinition?.signatures[0].comment
|
||||
|
||||
@@ -152,7 +152,7 @@ const formSpacer = SizedBox(width: 16, height: 16);
|
||||
const formPadding = EdgeInsets.symmetric(vertical: 20, horizontal: 16);
|
||||
|
||||
/// Error message to display the user when unexpected error occurs.
|
||||
const unexpectedErrorMessage = 'Unexpected error occured.';
|
||||
const unexpectedErrorMessage = 'Unexpected error occurred.';
|
||||
|
||||
/// Basic theme to change the look and feel of the app
|
||||
final appTheme = ThemeData.light().copyWith(
|
||||
|
||||
@@ -108,7 +108,7 @@ parameters:
|
||||
required: true
|
||||
default: 'realtime_rls'
|
||||
description: |
|
||||
A unique name for Postgres to track the Write-Ahead Logging (WAL). If the Realtime server dies then this slot can keep the changes since the last commited position.
|
||||
A unique name for Postgres to track the Write-Ahead Logging (WAL). If the Realtime server dies then this slot can keep the changes since the last committed position.
|
||||
|
||||
- id: 'TEMPORARY_SLOT' # {string} A unique identifier for this param.
|
||||
title: 'TEMPORARY_SLOT' # {string} Any name.
|
||||
|
||||
Reference in new issue
Block a user