mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
chore: update supabase ui. fix type errors
This commit is contained in:
1 parent
dfba11aaa3
commit
f2454b6e3d
6 files changed
+35
-23
No files matched your search
+1
-1
@@ -119,7 +119,7 @@ export const getPostdata = async (slug: string, directory: string) => {
|
||||
return postContent
|
||||
}
|
||||
|
||||
export const getAllCategories = (directory: string) => {
|
||||
export const getAllCategories = (directory: Directories) => {
|
||||
const posts = getSortedPosts(directory)
|
||||
let categories: any = []
|
||||
|
||||
|
||||
Generated
+7
-7
@@ -13,7 +13,7 @@
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@next/mdx": "^10.0.7",
|
||||
"@supabase/supabase-js": "^1.6.0",
|
||||
"@supabase/ui": "^0.36.0",
|
||||
"@supabase/ui": "^0.36.1",
|
||||
"classnames": "2.2.6",
|
||||
"date-fns": "2.10.0",
|
||||
"globby": "^12.0.2",
|
||||
@@ -2253,9 +2253,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@supabase/ui": {
|
||||
"version": "0.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.36.0.tgz",
|
||||
"integrity": "sha512-LAaqfVvCjy1yJeo/wDxNDHepef0zlxHgM2kWAOSu8HUiYr3aLFk+hmrwx166b18Ji9Fmqqy6CdeY0hfsrkwEYA==",
|
||||
"version": "0.36.1",
|
||||
"resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.36.1.tgz",
|
||||
"integrity": "sha512-MlzXnPO/QQL/VOchtaIOEQTakHtdrEjihJgigww3bDb+Q/e85QCeW2Mluk3qm+KbRC/WS2/EAveGuhP/bYPzqA==",
|
||||
"dependencies": {
|
||||
"lodash": "^4.17.20",
|
||||
"prop-types": "^15.7.2"
|
||||
@@ -12722,9 +12722,9 @@
|
||||
}
|
||||
},
|
||||
"@supabase/ui": {
|
||||
"version": "0.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.36.0.tgz",
|
||||
"integrity": "sha512-LAaqfVvCjy1yJeo/wDxNDHepef0zlxHgM2kWAOSu8HUiYr3aLFk+hmrwx166b18Ji9Fmqqy6CdeY0hfsrkwEYA==",
|
||||
"version": "0.36.1",
|
||||
"resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.36.1.tgz",
|
||||
"integrity": "sha512-MlzXnPO/QQL/VOchtaIOEQTakHtdrEjihJgigww3bDb+Q/e85QCeW2Mluk3qm+KbRC/WS2/EAveGuhP/bYPzqA==",
|
||||
"requires": {
|
||||
"fsevents": "^2.3.2",
|
||||
"lodash": "^4.17.20",
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@next/mdx": "^10.0.7",
|
||||
"@supabase/supabase-js": "^1.6.0",
|
||||
"@supabase/ui": "^0.36.0",
|
||||
"@supabase/ui": "^0.36.1",
|
||||
"classnames": "2.2.6",
|
||||
"date-fns": "2.10.0",
|
||||
"globby": "^12.0.2",
|
||||
|
||||
@@ -7,7 +7,7 @@ import PostTypes from '~/types/post'
|
||||
import BlogHeader from '~/components/Blog/BlogHeader'
|
||||
|
||||
export async function getStaticProps({ params }: any) {
|
||||
const posts = getSortedPosts(0, [params.tag])
|
||||
const posts = getSortedPosts('_blog', 0, [params.tag])
|
||||
return {
|
||||
props: {
|
||||
tag: params.tag,
|
||||
@@ -17,7 +17,7 @@ export async function getStaticProps({ params }: any) {
|
||||
}
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const categories = getAllCategories()
|
||||
const categories = getAllCategories('_blog')
|
||||
return {
|
||||
paths: categories.map((category: any) => ({ params: { tag: category } })),
|
||||
fallback: false,
|
||||
|
||||
@@ -2,40 +2,40 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Blog - Supabase</title>
|
||||
<link>https://supabase.io</link>
|
||||
<link>https://supabase.com</link>
|
||||
<description>Latest news from Supabase</description>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Invalid Date</lastBuildDate>
|
||||
<atom:link href="https://supabase.io/blog/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="https://supabase.com/blog/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
|
||||
<item>
|
||||
<guid>https://supabase.io/blog//case-studies/xendit</guid>
|
||||
<guid>https://supabase.com/blog//case-studies/xendit</guid>
|
||||
<title>Xendit</title>
|
||||
<link>https://supabase.io/blog//case-studies/xendit</link>
|
||||
<link>https://supabase.com/blog//case-studies/xendit</link>
|
||||
<description>Two months of building</description>
|
||||
<pubDate>Invalid Date</pubDate>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<guid>https://supabase.io/blog//case-studies/replenysh</guid>
|
||||
<guid>https://supabase.com/blog//case-studies/replenysh</guid>
|
||||
<title>Replenysh</title>
|
||||
<link>https://supabase.io/blog//case-studies/replenysh</link>
|
||||
<link>https://supabase.com/blog//case-studies/replenysh</link>
|
||||
<description>Two months of building</description>
|
||||
<pubDate>Invalid Date</pubDate>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<guid>https://supabase.io/blog//case-studies/mobbin</guid>
|
||||
<guid>https://supabase.com/blog//case-studies/mobbin</guid>
|
||||
<title>Mobbin</title>
|
||||
<link>https://supabase.io/blog//case-studies/mobbin</link>
|
||||
<link>https://supabase.com/blog//case-studies/mobbin</link>
|
||||
<description>Two months of building</description>
|
||||
<pubDate>Invalid Date</pubDate>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<guid>https://supabase.io/blog//case-studies/epsilon3</guid>
|
||||
<guid>https://supabase.com/blog//case-studies/epsilon3</guid>
|
||||
<title>Epsilon3</title>
|
||||
<link>https://supabase.io/blog//case-studies/epsilon3</link>
|
||||
<link>https://supabase.com/blog//case-studies/epsilon3</link>
|
||||
<description>Two months of building</description>
|
||||
<pubDate>Invalid Date</pubDate>
|
||||
</item>
|
||||
|
||||
@@ -24,6 +24,12 @@
|
||||
<changefreq>0.5</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://supabase.com/case-studies</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<changefreq>0.5</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://supabase.com/company</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
@@ -37,13 +43,19 @@
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://supabase.com/storage</loc>
|
||||
<loc>https://supabase.com/auth</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<changefreq>0.5</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://supabase.com/auth</loc>
|
||||
<loc>https://supabase.com/case-studies/[slug]</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<changefreq>0.5</changefreq>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://supabase.com/storage</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<changefreq>0.5</changefreq>
|
||||
</url>
|
||||
|
||||
Reference in new issue
Block a user