diff --git a/apps/www/pages/launch-week/launchWeek.css b/apps/www/pages/launch-week/launchWeek.css
index 3c1420f6843..bfd8b1b9187 100644
--- a/apps/www/pages/launch-week/launchWeek.css
+++ b/apps/www/pages/launch-week/launchWeek.css
@@ -28,7 +28,11 @@
}
.opacity-pulse {
- animation: opacity-pulse 3.5s ease-in-out infinite alternate both;
+ animation: opacity-pulse 0.6s ease-in-out infinite alternate both;
+}
+
+.opacity-pulse-full {
+ animation: opacity-pulse-full 0.6s ease-in-out infinite alternate both;
}
.glass-tile-gradient {
@@ -58,7 +62,16 @@
@keyframes opacity-pulse {
0% {
- opacity: 0.75;
+ opacity: 0.4;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+
+@keyframes opacity-pulse-full {
+ 0% {
+ opacity: 0;
}
100% {
opacity: 1;
diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsx
index e916dc8c0c5..fce17fec545 100644
--- a/apps/www/pages/launch-week/tickets/index.tsx
+++ b/apps/www/pages/launch-week/tickets/index.tsx
@@ -140,7 +140,7 @@ export default function TicketsPage({ users }: Props) {
diff --git a/apps/www/pages/security.mdx b/apps/www/pages/security.mdx
index 5277691489c..6c3728a78bd 100644
--- a/apps/www/pages/security.mdx
+++ b/apps/www/pages/security.mdx
@@ -52,7 +52,7 @@ export const Section = ({ children, icon, img }) => (
### SOC 2
-Supabase is SOC2 Type 1 compliant. Enterprise customers can request a copy of our SOC2 [here](https://forms.supabase.com/soc2).
+Supabase is SOC2 Type 2 compliant. Enterprise customers can request a copy of our SOC2 [here](https://forms.supabase.com/soc2).
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/beta-update-march-2023-meme.jpeg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/beta-update-march-2023-meme.jpeg
new file mode 100644
index 00000000000..9cb0a6364a2
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/beta-update-march-2023-meme.jpeg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/designing-the-new-ticket-system.jpg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/designing-the-new-ticket-system.jpg
new file mode 100644
index 00000000000..03e420d9307
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/designing-the-new-ticket-system.jpg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/hackathon-launch-week-7.jpg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/hackathon-launch-week-7.jpg
new file mode 100644
index 00000000000..4a3b709a0ce
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/hackathon-launch-week-7.jpg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/made-with-supabase-markprompt.png b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/made-with-supabase-markprompt.png
new file mode 100644
index 00000000000..10bb0ce32fc
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/made-with-supabase-markprompt.png differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/monthly-update-march-2023.jpg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/monthly-update-march-2023.jpg
new file mode 100644
index 00000000000..d21f59e4bc4
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/monthly-update-march-2023.jpg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/nextjs-openai-doc-search-template.jpg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/nextjs-openai-doc-search-template.jpg
new file mode 100644
index 00000000000..87eef6833be
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/nextjs-openai-doc-search-template.jpg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/supabase-launch-week-7.jpg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/supabase-launch-week-7.jpg
new file mode 100644
index 00000000000..968b652bfc1
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/supabase-launch-week-7.jpg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/supaclub.jpg b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/supaclub.jpg
new file mode 100644
index 00000000000..799650a1bf8
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/supaclub.jpg differ
diff --git a/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/twitter-space-lw7.png b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/twitter-space-lw7.png
new file mode 100644
index 00000000000..3899e6a44f5
Binary files /dev/null and b/apps/www/public/images/blog/2023-04-08-supabase-beta-update-march/twitter-space-lw7.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/00-ai-images-thumb.png b/apps/www/public/images/launchweek/seven/day0/ai-images/00-ai-images-thumb.png
new file mode 100644
index 00000000000..0af5ecd0ff0
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/00-ai-images-thumb.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-01.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-01.png
new file mode 100644
index 00000000000..7a17d050fcc
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-01.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-01.svg b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-01.svg
new file mode 100644
index 00000000000..cf6acdf57ac
--- /dev/null
+++ b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-01.svg
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-02.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-02.png
new file mode 100644
index 00000000000..a90a9c7df93
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-02.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-02.svg b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-02.svg
new file mode 100644
index 00000000000..9b482a63ec7
--- /dev/null
+++ b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-02.svg
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-03.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-03.png
new file mode 100644
index 00000000000..06d885ed408
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-03.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-03.svg b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-03.svg
new file mode 100644
index 00000000000..74f77965741
--- /dev/null
+++ b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-03.svg
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-04.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-04.png
new file mode 100644
index 00000000000..3f1837fdee3
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-04.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-04.svg b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-04.svg
new file mode 100644
index 00000000000..a454d46e5fe
--- /dev/null
+++ b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-04.svg
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-text-input.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-text-input.png
new file mode 100644
index 00000000000..15f393c9927
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-image-text-input.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-images-01.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-images-01.png
new file mode 100644
index 00000000000..878186ffd5f
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-images-01.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai-images-overlay.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-images-overlay.png
new file mode 100644
index 00000000000..42b259c0b36
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai-images-overlay.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/ai_images-preview.png b/apps/www/public/images/launchweek/seven/day0/ai-images/ai_images-preview.png
new file mode 100644
index 00000000000..6c652bc9ba7
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/ai_images-preview.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_0.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_0.png
new file mode 100644
index 00000000000..6214dc99551
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_0.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_1.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_1.png
new file mode 100644
index 00000000000..673e6ecb910
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_1.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_10.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_10.png
new file mode 100644
index 00000000000..b4dcc194743
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_10.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_11.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_11.png
new file mode 100644
index 00000000000..dbbf80406f1
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_11.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_12.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_12.png
new file mode 100644
index 00000000000..7272854b461
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_12.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_13.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_13.png
new file mode 100644
index 00000000000..ddbea9124d2
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_13.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_14.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_14.png
new file mode 100644
index 00000000000..165b1e99159
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_14.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_15.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_15.png
new file mode 100644
index 00000000000..88edc411a19
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_15.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_2.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_2.png
new file mode 100644
index 00000000000..fc5ae1511fb
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_2.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_3.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_3.png
new file mode 100644
index 00000000000..bc9d86d30df
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_3.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_4.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_4.png
new file mode 100644
index 00000000000..b4dae910f0f
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_4.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_5.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_5.png
new file mode 100644
index 00000000000..773a207ad42
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_5.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_6.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_6.png
new file mode 100644
index 00000000000..3ddd44781ea
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_6.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_7.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_7.png
new file mode 100644
index 00000000000..94b1bf6c8c1
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_7.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_8.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_8.png
new file mode 100644
index 00000000000..0ceb3f801d4
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_8.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_9.png b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_9.png
new file mode 100644
index 00000000000..0e4d5c0aa54
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai-images/images/img_9.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor-thumb.png b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor-thumb.png
new file mode 100644
index 00000000000..419f0a8a21e
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor-thumb.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_01.png b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_01.png
new file mode 100644
index 00000000000..a429943f126
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_01.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_01.svg b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_01.svg
new file mode 100644
index 00000000000..3debbb5daa4
--- /dev/null
+++ b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_01.svg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_02.png b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_02.png
new file mode 100644
index 00000000000..1ed2c15df5e
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_02.png differ
diff --git a/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_02.svg b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_02.svg
new file mode 100644
index 00000000000..d28722b8269
--- /dev/null
+++ b/apps/www/public/images/launchweek/seven/day0/supavisor/supavisor_02.svg
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index dea791e7db2..15de303b62c 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -21,7 +21,7 @@
}
html {
- scroll-behavior: smooth;
+ scroll-behavior: smooth !important;
}
body {
diff --git a/package-lock.json b/package-lock.json
index 60cd7d3e6e5..a6807e4717e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -670,6 +670,7 @@
"framer-motion": "^6.5.1",
"globby": "^12.0.2",
"gray-matter": "^4.0.2",
+ "lottie-react": "^2.4.0",
"markdown-toc": "^1.2.0",
"marked": "^4.0.12",
"next": "12.3.2",
@@ -69325,6 +69326,7 @@
"framer-motion": "^6.5.1",
"globby": "^12.0.2",
"gray-matter": "^4.0.2",
+ "lottie-react": "*",
"markdown-toc": "^1.2.0",
"marked": "^4.0.12",
"next": "12.3.2",
diff --git a/packages/ui/src/components/Accordion/Accordion.tsx b/packages/ui/src/components/Accordion/Accordion.tsx
index 167a4414ffa..a6992abce41 100644
--- a/packages/ui/src/components/Accordion/Accordion.tsx
+++ b/packages/ui/src/components/Accordion/Accordion.tsx
@@ -83,7 +83,7 @@ function Accordion({
if (onChange) onChange(e)
const value = e == typeof String ? e.split(' ') : e
// setCurrentItems(e)
- console.log('about to change state')
+ // console.log('about to change state')
// currentItems = e
// console.log('currentItems', currentItems)
}
diff --git a/spec/analytics_v0_config.yaml b/spec/analytics_v0_config.yaml
index 8753ffd0b7d..8d9664f3279 100644
--- a/spec/analytics_v0_config.yaml
+++ b/spec/analytics_v0_config.yaml
@@ -70,4 +70,4 @@ parameters:
default: 'info'
type: 'string'
description: |
- Allows the setting of the log level at runtime. For production settings, we advise `warn`.
\ No newline at end of file
+ Allows the setting of the log level at runtime. For production settings, we advise `warn`.
diff --git a/spec/analytics_v0_openapi.json b/spec/analytics_v0_openapi.json
index 345cae6aefd..9322f478f8c 100644
--- a/spec/analytics_v0_openapi.json
+++ b/spec/analytics_v0_openapi.json
@@ -1,1036 +1,983 @@
{
- "components": {
- "responses": {},
- "schemas": {
- "Accepted": {
- "title": "Accepted"
+ "components": {
+ "responses": {},
+ "schemas": {
+ "Accepted": {
+ "title": "Accepted"
+ },
+ "Endpoint": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": ["name", "query"],
+ "title": "Endpoint",
+ "type": "object"
+ },
+ "NotFound": {
+ "title": "NotFound"
+ },
+ "Notification": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
},
- "Endpoint": {
- "properties": {
- "cache_duration_seconds": {
- "type": "integer"
- },
- "enable_auth": {
- "type": "boolean"
- },
- "inserted_at": {
- "format": "date-time",
- "type": "string"
- },
- "max_limit": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "proactive_requerying_seconds": {
- "type": "integer"
- },
- "query": {
- "type": "string"
- },
- "sandboxable": {
- "type": "boolean"
- },
- "source_mapping": {
- "type": "object"
- },
- "token": {
- "type": "string"
- },
- "updated_at": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "name",
- "query"
- ],
- "title": "Endpoint",
- "type": "object"
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
},
- "NotFound": {
- "title": "NotFound"
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
},
- "Notification": {
- "properties": {
- "other_email_notifications": {
- "type": "string"
- },
- "team_user_ids_for_email": {
- "allOf": {
- "type": "string"
- },
- "type": "array"
- },
- "team_user_ids_for_schema_updates": {
- "allOf": {
- "type": "string"
- },
- "type": "array"
- },
- "team_user_ids_for_sms": {
- "allOf": {
- "type": "string"
- },
- "type": "array"
- },
- "user_email_notifications": {
- "type": "boolean"
- },
- "user_schema_update_notifications": {
- "type": "boolean"
- },
- "user_text_notifications": {
- "type": "boolean"
- }
- },
- "title": "Notification",
- "type": "object"
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "Source": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "$ref": "#/components/schemas/Notification"
},
- "Source": {
- "properties": {
- "api_quota": {
- "type": "integer"
- },
- "bigquery_table_ttl": {
- "type": "integer"
- },
- "bq_table_id": {
- "type": "string"
- },
- "bq_table_schema": {
- "type": "object"
- },
- "custom_event_message_keys": {
- "type": "string"
- },
- "favorite": {
- "type": "boolean"
- },
- "has_rejected_events": {
- "type": "boolean"
- },
- "id": {},
- "inserted_at": {
- "format": "date-time",
- "type": "string"
- },
- "metrics": {
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "notifications": {
- "items": {
- "$ref": "#/components/schemas/Notification"
- },
- "type": "array"
- },
- "public_token": {
- "type": "string"
- },
- "slack_hook_url": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "updated_at": {
- "format": "date-time",
- "type": "string"
- },
- "webhook_notification_url": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "title": "Source",
- "type": "object"
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": ["name"],
+ "title": "Source",
+ "type": "object"
+ },
+ "Team": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "$ref": "#/components/schemas/TeamUser"
},
- "Team": {
- "properties": {
- "name": {
- "type": "string"
- },
- "team_users": {
- "items": {
- "$ref": "#/components/schemas/TeamUser"
- },
- "type": "array"
- },
- "token": {
- "type": "string"
- },
- "user": {
- "$ref": "#/components/schemas/User"
- }
- },
- "required": [
- "name"
- ],
- "title": "Team",
- "type": "object"
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ }
+ },
+ "required": ["name"],
+ "title": "Team",
+ "type": "object"
+ },
+ "TeamUser": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": ["email", "name"],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "User": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
+ "title": "User",
+ "type": "object"
+ }
+ }
+ },
+ "info": {
+ "title": "logflare",
+ "version": "1.0.0"
+ },
+ "openapi": "3.0.0",
+ "paths": {
+ "/api/endpoints": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Endpoint"
+ },
+ "type": "array"
+ }
+ }
},
- "TeamUser": {
- "properties": {
- "email": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "email",
- "name"
- ],
- "title": "TeamUser",
- "type": "object"
- },
- "User": {
- "properties": {
- "api_key": {
- "type": "string"
- },
- "api_quota": {
- "type": "integer"
- },
- "bigquery_dataset_id": {
- "type": "string"
- },
- "bigquery_dataset_location": {
- "type": "string"
- },
- "bigquery_project_id": {
- "type": "string"
- },
- "company": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "email_me_product": {
- "type": "boolean"
- },
- "email_preferred": {
- "type": "string"
- },
- "image": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "provider": {
- "type": "string"
- },
- "token": {
- "type": "string"
- }
- },
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
- "title": "User",
- "type": "object"
+ "description": "Endpoint List Response"
+ }
+ },
+ "summary": "List endpoints",
+ "tags": ["management"]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
}
- }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create endpoint",
+ "tags": ["management"]
+ }
},
- "info": {
- "title": "logflare",
- "version": "1.0.0"
+ "/api/endpoints/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.delete",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete endpoint",
+ "tags": ["management", "management"]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.show",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch endpoint",
+ "tags": ["management"]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.update",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update endpoint",
+ "tags": ["management"]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.update (2)",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update endpoint",
+ "tags": ["management"]
+ }
},
- "openapi": "3.0.0",
- "paths": {
- "/api/endpoints": {
- "get": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.EndpointController.index",
- "parameters": [],
- "responses": {
- "200": {
- "content": {
- "application/json": {
- "schema": {
- "items": {
- "$ref": "#/components/schemas/Endpoint"
- },
- "type": "array"
- }
- }
- },
- "description": "Endpoint List Response"
- }
- },
- "summary": "List endpoints",
- "tags": [
- "management"
- ]
+ "/api/sources": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Source"
+ },
+ "type": "array"
+ }
+ }
},
- "post": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.EndpointController.create",
- "parameters": [],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Endpoint Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Create endpoint",
- "tags": [
- "management"
- ]
- }
+ "description": "Source List Response"
+ }
},
- "/api/endpoints/{token}": {
- "delete": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.EndpointController.delete",
- "parameters": [
- {
- "description": "Endpoint Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "204": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/Accepted"
- }
- }
- },
- "description": "Accepted Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Delete endpoint",
- "tags": [
- "management",
- "management"
- ]
- },
- "get": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.EndpointController.show",
- "parameters": [
- {
- "description": "Endpoint Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Endpoint Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Fetch endpoint",
- "tags": [
- "management"
- ]
- },
- "patch": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.EndpointController.update",
- "parameters": [
- {
- "description": "Endpoint Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Endpoint Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Update endpoint",
- "tags": [
- "management"
- ]
- },
- "put": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.EndpointController.update (2)",
- "parameters": [
- {
- "description": "Endpoint Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Endpoint Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Endpoint"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Update endpoint",
- "tags": [
- "management"
- ]
+ "summary": "List sources",
+ "tags": ["management"]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
}
+ },
+ "description": "Source Parameters",
+ "required": false
},
- "/api/sources": {
- "get": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.SourceController.index",
- "parameters": [],
- "responses": {
- "200": {
- "content": {
- "application/json": {
- "schema": {
- "items": {
- "$ref": "#/components/schemas/Source"
- },
- "type": "array"
- }
- }
- },
- "description": "Source List Response"
- }
- },
- "summary": "List sources",
- "tags": [
- "management"
- ]
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
},
- "post": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.SourceController.create",
- "parameters": [],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Source Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Create source",
- "tags": [
- "management"
- ]
- }
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
},
- "/api/sources/{token}": {
- "delete": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.SourceController.delete",
- "parameters": [
- {
- "description": "Source Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "204": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/Accepted"
- }
- }
- },
- "description": "Accepted Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Delete source",
- "tags": [
- "management"
- ]
- },
- "get": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.SourceController.show",
- "parameters": [
- {
- "description": "Source Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Source Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Fetch source",
- "tags": [
- "management"
- ]
- },
- "patch": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.SourceController.update",
- "parameters": [
- {
- "description": "Source Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Source Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Update source",
- "tags": [
- "management"
- ]
- },
- "put": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.SourceController.update (2)",
- "parameters": [
- {
- "description": "Source Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Source Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Source"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Update source",
- "tags": [
- "management"
- ]
- }
- },
- "/api/teams": {
- "get": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.TeamController.index",
- "parameters": [],
- "responses": {
- "200": {
- "content": {
- "application/json": {
- "schema": {
- "items": {
- "$ref": "#/components/schemas/Team"
- },
- "type": "array"
- }
- }
- },
- "description": "Team List Response"
- }
- },
- "summary": "List teams",
- "tags": [
- "management"
- ]
- },
- "post": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.TeamController.create",
- "parameters": [],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Team Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Create Team",
- "tags": [
- "management"
- ]
- }
- },
- "/api/teams/{token}": {
- "delete": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.TeamController.delete",
- "parameters": [
- {
- "description": "Team Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "204": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/Accepted"
- }
- }
- },
- "description": "Accepted Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Delete Team",
- "tags": [
- "management"
- ]
- },
- "get": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.TeamController.show",
- "parameters": [
- {
- "description": "Team Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Team Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Fetch team",
- "tags": [
- "management"
- ]
- },
- "patch": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.TeamController.update",
- "parameters": [
- {
- "description": "Team Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Team Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Update team",
- "tags": [
- "management"
- ]
- },
- "put": {
- "callbacks": {},
- "operationId": "LogflareWeb.Api.TeamController.update (2)",
- "parameters": [
- {
- "description": "Team Token",
- "in": "path",
- "name": "token",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Team Parameters",
- "required": false
- },
- "responses": {
- "201": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Team"
- }
- }
- },
- "description": "Created Response"
- },
- "404": {
- "content": {
- "text/plain": {
- "schema": {
- "$ref": "#/components/schemas/NotFound"
- }
- }
- },
- "description": "Not found"
- }
- },
- "summary": "Update team",
- "tags": [
- "management"
- ]
- }
- }
+ "summary": "Create source",
+ "tags": ["management"]
+ }
},
- "security": [],
- "servers": [
- {
- "url": "https://logflare.app",
- "variables": {}
- }
- ],
- "tags": []
-}
\ No newline at end of file
+ "/api/sources/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.delete",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete source",
+ "tags": ["management"]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.show",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch source",
+ "tags": ["management"]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.update",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update source",
+ "tags": ["management"]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.update (2)",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update source",
+ "tags": ["management"]
+ }
+ },
+ "/api/teams": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Team"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Team List Response"
+ }
+ },
+ "summary": "List teams",
+ "tags": ["management"]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create Team",
+ "tags": ["management"]
+ }
+ },
+ "/api/teams/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.delete",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete Team",
+ "tags": ["management"]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.show",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch team",
+ "tags": ["management"]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.update",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update team",
+ "tags": ["management"]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.update (2)",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update team",
+ "tags": ["management"]
+ }
+ }
+ },
+ "security": [],
+ "servers": [
+ {
+ "url": "https://logflare.app",
+ "variables": {}
+ }
+ ],
+ "tags": []
+}
diff --git a/spec/common-self-hosting-analytics-sections.json b/spec/common-self-hosting-analytics-sections.json
index b1eaffff1fb..21732ffa309 100644
--- a/spec/common-self-hosting-analytics-sections.json
+++ b/spec/common-self-hosting-analytics-sections.json
@@ -101,4 +101,4 @@
}
]
}
-]
\ No newline at end of file
+]
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index b927354fa38..564661874ac 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -14154,7 +14154,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 399,
+ "line": 396,
"character": 8
}
],
@@ -14206,7 +14206,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 605,
+ "line": 602,
"character": 8
}
],
@@ -14244,7 +14244,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 607,
+ "line": 604,
"character": 8
}
],
@@ -14266,7 +14266,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 608,
+ "line": 605,
"character": 10
}
],
@@ -14296,7 +14296,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 610,
+ "line": 607,
"character": 8
}
],
@@ -14333,7 +14333,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 613,
+ "line": 610,
"character": 8
}
],
@@ -14355,7 +14355,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 614,
+ "line": 611,
"character": 10
}
],
@@ -14384,7 +14384,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 616,
+ "line": 613,
"character": 8
}
],
@@ -14422,7 +14422,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 619,
+ "line": 616,
"character": 8
}
],
@@ -14444,7 +14444,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 620,
+ "line": 617,
"character": 10
}
],
@@ -14473,7 +14473,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 622,
+ "line": 619,
"character": 8
}
],
@@ -14511,7 +14511,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 668,
+ "line": 665,
"character": 8
}
],
@@ -14607,7 +14607,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 959,
+ "line": 956,
"character": 2
}
],
@@ -14709,7 +14709,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 960,
+ "line": 957,
"character": 4
}
],
@@ -14731,7 +14731,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 960,
+ "line": 957,
"character": 12
}
],
@@ -14983,7 +14983,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 814,
+ "line": 811,
"character": 8
}
],
@@ -15027,7 +15027,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 814,
+ "line": 811,
"character": 42
}
],
@@ -15073,7 +15073,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 999,
+ "line": 996,
"character": 8
}
],
@@ -15131,7 +15131,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1003,
+ "line": 1000,
"character": 6
}
],
@@ -15154,7 +15154,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1002,
+ "line": 999,
"character": 6
}
],
@@ -15200,7 +15200,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1007,
+ "line": 1004,
"character": 8
}
],
@@ -15224,7 +15224,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1008,
+ "line": 1005,
"character": 8
}
],
@@ -15261,7 +15261,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1010,
+ "line": 1007,
"character": 8
}
],
@@ -15279,7 +15279,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1010,
+ "line": 1007,
"character": 20
}
],
@@ -15318,7 +15318,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 750,
+ "line": 747,
"character": 8
}
],
@@ -15360,7 +15360,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 751,
+ "line": 748,
"character": 4
}
],
@@ -15378,7 +15378,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 752,
+ "line": 749,
"character": 4
}
],
@@ -15424,7 +15424,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 429,
+ "line": 426,
"character": 8
}
],
@@ -15662,7 +15662,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 384,
+ "line": 381,
"character": 8
}
],
@@ -16084,7 +16084,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 477,
+ "line": 474,
"character": 8
}
],
@@ -16530,7 +16530,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 333,
+ "line": 331,
"character": 8
}
],
@@ -16543,7 +16543,7 @@
"flags": {},
"comment": {
"shortText": "Log in an existing user with an email and password or phone and password.",
- "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login. Do note that you will need\nto configure a Whatsapp sender on Twilio if you are using phone sign in\nwith 'whatsapp'. The whatsapp channel is not supported on other providers\nat this time.\n"
+ "text": "Be aware that you may get back an error message that will not distingish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n"
},
"parameters": [
{
@@ -16554,10 +16554,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"dereferenced": {
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -16565,7 +16565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 370,
+ "line": 372,
"character": 12
}
],
@@ -16575,14 +16575,14 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 483,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -16593,7 +16593,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 373,
+ "line": 375,
"character": 6
}
],
@@ -16603,7 +16603,7 @@
}
},
{
- "id": 484,
+ "id": 485,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -16613,21 +16613,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 486,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 487,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -16640,7 +16640,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 380,
"character": 8
}
],
@@ -16654,13 +16654,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [486]
+ "children": [487]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 16
}
]
@@ -16668,7 +16668,7 @@
}
},
{
- "id": 483,
+ "id": 484,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -16679,7 +16679,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 377,
"character": 6
}
],
@@ -16693,13 +16693,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [482, 484, 483]
+ "children": [483, 485, 484]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 373,
"character": 4
}
]
@@ -16708,14 +16708,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 490,
+ "id": 491,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -16725,21 +16725,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 494,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -16752,7 +16752,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 396,
"character": 8
}
],
@@ -16762,39 +16762,7 @@
}
},
{
- "id": 494,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 396,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 492,
+ "id": 493,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16808,7 +16776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 394,
"character": 8
}
],
@@ -16822,13 +16790,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 494, 492]
+ "children": [494, 493]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 16
}
]
@@ -16836,7 +16804,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -16847,7 +16815,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 387,
"character": 6
}
],
@@ -16857,7 +16825,7 @@
}
},
{
- "id": 488,
+ "id": 489,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -16868,7 +16836,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 383,
+ "line": 385,
"character": 6
}
],
@@ -16882,13 +16850,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [490, 489, 488]
+ "children": [491, 490, 489]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 383,
"character": 4
}
]
@@ -16925,7 +16893,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 576,
+ "line": 573,
"character": 8
}
],
@@ -17268,7 +17236,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 934,
+ "line": 931,
"character": 8
}
],
@@ -17304,7 +17272,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 934,
+ "line": 931,
"character": 29
}
],
@@ -17615,7 +17583,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
},
"sources": [
{
@@ -17629,6 +17597,38 @@
"name": "string"
}
},
+ {
+ "id": 480,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
{
"id": 478,
"name": "data",
@@ -17658,7 +17658,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [479, 478]
+ "children": [479, 480, 478]
}
],
"sources": [
@@ -17761,7 +17761,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1288,
+ "line": 1285,
"character": 8
}
],
@@ -17774,7 +17774,7 @@
"flags": {},
"comment": {
"shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.",
- "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
+ "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desireable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
},
"type": {
"type": "reference",
@@ -17800,7 +17800,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1301,
+ "line": 1298,
"character": 8
}
],
@@ -17839,7 +17839,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 694,
"character": 8
}
],
@@ -18008,7 +18008,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 700,
+ "line": 697,
"character": 6
}
],
@@ -18055,7 +18055,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 522,
+ "line": 519,
"character": 8
}
],
@@ -28840,7 +28840,7 @@
}
},
{
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -28848,7 +28848,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 370,
+ "line": 372,
"character": 12
}
],
@@ -28858,14 +28858,14 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 483,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -28876,7 +28876,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 373,
+ "line": 375,
"character": 6
}
],
@@ -28886,7 +28886,7 @@
}
},
{
- "id": 484,
+ "id": 485,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28896,21 +28896,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 486,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 487,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -28923,7 +28923,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 380,
"character": 8
}
],
@@ -28937,13 +28937,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [486]
+ "children": [487]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 16
}
]
@@ -28951,7 +28951,7 @@
}
},
{
- "id": 483,
+ "id": 484,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -28962,7 +28962,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 377,
"character": 6
}
],
@@ -28976,13 +28976,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [482, 484, 483]
+ "children": [483, 485, 484]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 373,
"character": 4
}
]
@@ -28991,14 +28991,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 490,
+ "id": 491,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -29008,21 +29008,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 494,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -29035,7 +29035,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 396,
"character": 8
}
],
@@ -29045,39 +29045,7 @@
}
},
{
- "id": 494,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 396,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 492,
+ "id": 493,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -29091,7 +29059,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 394,
"character": 8
}
],
@@ -29105,13 +29073,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 494, 492]
+ "children": [494, 493]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 16
}
]
@@ -29119,7 +29087,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -29130,7 +29098,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 387,
"character": 6
}
],
@@ -29140,7 +29108,7 @@
}
},
{
- "id": 488,
+ "id": 489,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -29151,7 +29119,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 383,
+ "line": 385,
"character": 6
}
],
@@ -29165,13 +29133,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [490, 489, 488]
+ "children": [491, 490, 489]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 383,
"character": 4
}
]
@@ -30099,7 +30067,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
},
"sources": [
{
@@ -30113,6 +30081,38 @@
"name": "string"
}
},
+ {
+ "id": 480,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
{
"id": 478,
"name": "data",
@@ -30142,7 +30142,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [479, 478]
+ "children": [479, 480, 478]
}
],
"sources": [
@@ -31036,7 +31036,7 @@
"children": [
320, 319, 731, 722, 744, 735, 670, 646, 691, 680, 661, 633, 334, 690, 758, 552, 582,
572, 591, 605, 592, 612, 577, 566, 321, 755, 629, 626, 613, 618, 621, 551, 512, 347,
- 772, 765, 318, 360, 526, 513, 480, 495, 553, 464, 754, 369, 534
+ 772, 765, 318, 360, 526, 513, 481, 495, 553, 464, 754, 369, 534
]
},
{
@@ -77157,14 +77157,14 @@
"flags": {},
"children": [
{
- "id": 404,
+ "id": 415,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 405,
+ "id": 416,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -77178,14 +77178,14 @@
],
"signatures": [
{
- "id": 406,
+ "id": 417,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 407,
+ "id": 418,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -77196,7 +77196,7 @@
}
},
{
- "id": 408,
+ "id": 419,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -77209,24 +77209,24 @@
],
"type": {
"type": "reference",
- "id": 404,
+ "id": 415,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 401,
+ "id": 412,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 400,
+ "id": 411,
"name": "StorageError.constructor"
}
},
{
- "id": 409,
+ "id": 420,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -77244,7 +77244,7 @@
}
},
{
- "id": 410,
+ "id": 421,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -77258,7 +77258,7 @@
],
"signatures": [
{
- "id": 411,
+ "id": 422,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -77266,14 +77266,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 412,
+ "id": 423,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 414,
+ "id": 425,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -77292,7 +77292,7 @@
"defaultValue": "..."
},
{
- "id": 413,
+ "id": 424,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -77311,7 +77311,7 @@
"defaultValue": "..."
},
{
- "id": 415,
+ "id": 426,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -77334,7 +77334,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [414, 413, 415]
+ "children": [425, 424, 426]
}
]
}
@@ -77347,17 +77347,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [405]
+ "children": [416]
},
{
"title": "Properties",
"kind": 1024,
- "children": [409]
+ "children": [420]
},
{
"title": "Methods",
"kind": 2048,
- "children": [410]
+ "children": [421]
}
],
"sources": [
@@ -77370,20 +77370,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
]
},
{
- "id": 266,
+ "id": 270,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 267,
+ "id": 271,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -77397,14 +77397,14 @@
],
"signatures": [
{
- "id": 268,
+ "id": 272,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 269,
+ "id": 273,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -77415,7 +77415,7 @@
}
},
{
- "id": 270,
+ "id": 274,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -77423,20 +77423,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 275,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 272,
+ "id": 276,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 273,
+ "id": 277,
"name": "key",
"kind": 32768,
"flags": {},
@@ -77456,7 +77456,7 @@
"defaultValue": "{}"
},
{
- "id": 274,
+ "id": 278,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -77466,21 +77466,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 275,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 277,
+ "id": 281,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -77493,7 +77493,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -77530,7 +77530,7 @@
],
"type": {
"type": "reference",
- "id": 266,
+ "id": 270,
"name": "StorageClient"
},
"overwrites": {
@@ -77547,7 +77547,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -77555,13 +77555,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
+ "line": 81,
"character": 8
}
],
"signatures": [
{
- "id": 310,
+ "id": 314,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -77572,7 +77572,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 315,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -77586,7 +77586,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -77594,14 +77594,72 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 313,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 314,
+ "id": 320,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 319,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 318,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -77612,7 +77670,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 81,
+ "line": 83,
"character": 15
}
],
@@ -77626,7 +77684,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [314]
+ "children": [320, 319, 318]
}
]
}
@@ -77643,14 +77701,14 @@
{
"type": "reflection",
"declaration": {
- "id": 315,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -77658,7 +77716,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 88,
"character": 8
}
],
@@ -77667,7 +77725,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
},
{
@@ -77681,62 +77739,7 @@
}
},
{
- "id": 317,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [316, 317]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 318,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 319,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 320,
+ "id": 323,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -77748,9 +77751,64 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [322, 323]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 325,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -77759,7 +77817,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [319, 320]
+ "children": [325, 326]
}
]
}
@@ -77785,7 +77843,7 @@
}
},
{
- "id": 346,
+ "id": 354,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -77793,13 +77851,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
+ "line": 203,
"character": 8
}
],
"signatures": [
{
- "id": 347,
+ "id": 355,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -77809,7 +77867,7 @@
},
"parameters": [
{
- "id": 348,
+ "id": 356,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -77832,14 +77890,14 @@
{
"type": "reflection",
"declaration": {
- "id": 349,
+ "id": 357,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 350,
+ "id": 358,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -77847,21 +77905,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 352,
+ "id": 360,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -77869,7 +77927,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 16
}
],
@@ -77883,14 +77941,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [352]
+ "children": [360]
}
]
}
}
},
{
- "id": 353,
+ "id": 361,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -77898,7 +77956,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
+ "line": 208,
"character": 8
}
],
@@ -77912,7 +77970,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [350, 353]
+ "children": [358, 361]
}
]
}
@@ -77920,14 +77978,14 @@
{
"type": "reflection",
"declaration": {
- "id": 354,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 355,
+ "id": 363,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -77935,7 +77993,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
+ "line": 211,
"character": 8
}
],
@@ -77945,7 +78003,7 @@
}
},
{
- "id": 356,
+ "id": 364,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -77953,13 +78011,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
+ "line": 212,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -77968,7 +78026,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [355, 356]
+ "children": [363, 364]
}
]
}
@@ -77982,19 +78040,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 85,
"name": "default.deleteBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 80,
+ "id": 84,
"name": "default.deleteBucket"
}
},
{
- "id": 335,
+ "id": 343,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -78002,13 +78060,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
+ "line": 168,
"character": 8
}
],
"signatures": [
{
- "id": 336,
+ "id": 344,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -78018,7 +78076,7 @@
},
"parameters": [
{
- "id": 337,
+ "id": 345,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -78041,14 +78099,14 @@
{
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 339,
+ "id": 347,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78056,21 +78114,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 349,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -78078,7 +78136,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 16
}
],
@@ -78092,14 +78150,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [341]
+ "children": [349]
}
]
}
}
},
{
- "id": 342,
+ "id": 350,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78107,7 +78165,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
+ "line": 173,
"character": 8
}
],
@@ -78121,7 +78179,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 342]
+ "children": [347, 350]
}
]
}
@@ -78129,14 +78187,14 @@
{
"type": "reflection",
"declaration": {
- "id": 343,
+ "id": 351,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 344,
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78144,7 +78202,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
+ "line": 176,
"character": 8
}
],
@@ -78154,7 +78212,7 @@
}
},
{
- "id": 345,
+ "id": 353,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78162,13 +78220,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
+ "line": 177,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -78177,7 +78235,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344, 345]
+ "children": [352, 353]
}
]
}
@@ -78191,19 +78249,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 74,
"name": "default.emptyBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 69,
+ "id": 73,
"name": "default.emptyBucket"
}
},
{
- "id": 279,
+ "id": 283,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -78217,7 +78275,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -78227,7 +78285,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -78243,14 +78301,14 @@
],
"type": {
"type": "reference",
- "id": 92,
+ "id": 96,
"name": "default"
}
}
]
},
{
- "id": 300,
+ "id": 304,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -78264,7 +78322,7 @@
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -78274,7 +78332,7 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -78297,14 +78355,14 @@
{
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 304,
+ "id": 308,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78318,12 +78376,12 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
},
{
- "id": 305,
+ "id": 309,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78345,7 +78403,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304, 305]
+ "children": [308, 309]
}
]
}
@@ -78353,14 +78411,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78378,7 +78436,7 @@
}
},
{
- "id": 308,
+ "id": 312,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78392,7 +78450,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -78401,7 +78459,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [307, 308]
+ "children": [311, 312]
}
]
}
@@ -78427,7 +78485,7 @@
}
},
{
- "id": 292,
+ "id": 296,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -78441,7 +78499,7 @@
],
"signatures": [
{
- "id": 293,
+ "id": 297,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -78458,14 +78516,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78481,13 +78539,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78509,7 +78567,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [295, 296]
+ "children": [299, 300]
}
]
}
@@ -78517,14 +78575,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78542,7 +78600,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78556,7 +78614,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -78565,7 +78623,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 299]
+ "children": [302, 303]
}
]
}
@@ -78591,7 +78649,7 @@
}
},
{
- "id": 321,
+ "id": 327,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -78599,13 +78657,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 127,
"character": 8
}
],
"signatures": [
{
- "id": 322,
+ "id": 328,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -78615,7 +78673,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 329,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -78629,7 +78687,7 @@
}
},
{
- "id": 324,
+ "id": 330,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -78637,25 +78695,83 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 325,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 326,
+ "id": 334,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 333,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 332,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n"
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
},
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
+ "line": 129,
"character": 15
}
],
@@ -78669,7 +78785,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [326]
+ "children": [334, 333, 332]
}
]
}
@@ -78685,14 +78801,14 @@
{
"type": "reflection",
"declaration": {
- "id": 327,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 328,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78700,21 +78816,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 330,
+ "id": 338,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -78722,7 +78838,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 16
}
],
@@ -78736,14 +78852,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [330]
+ "children": [338]
}
]
}
}
},
{
- "id": 331,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78751,7 +78867,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
+ "line": 133,
"character": 8
}
],
@@ -78765,7 +78881,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [328, 331]
+ "children": [336, 339]
}
]
}
@@ -78773,14 +78889,14 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 340,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 333,
+ "id": 341,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -78788,7 +78904,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
+ "line": 136,
"character": 8
}
],
@@ -78798,7 +78914,7 @@
}
},
{
- "id": 334,
+ "id": 342,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -78806,13 +78922,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
+ "line": 137,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -78821,7 +78937,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 334]
+ "children": [341, 342]
}
]
}
@@ -78835,14 +78951,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 56,
+ "id": 58,
"name": "default.updateBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 55,
+ "id": 57,
"name": "default.updateBucket"
}
}
@@ -78851,12 +78967,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [267]
+ "children": [271]
},
{
"title": "Methods",
"kind": 2048,
- "children": [309, 346, 335, 279, 300, 292, 321]
+ "children": [313, 354, 343, 283, 304, 296, 327]
}
],
"sources": [
@@ -78875,14 +78991,14 @@
]
},
{
- "id": 399,
+ "id": 410,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 400,
+ "id": 411,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -78896,14 +79012,14 @@
],
"signatures": [
{
- "id": 401,
+ "id": 412,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 402,
+ "id": 413,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -78916,7 +79032,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
},
"overwrites": {
@@ -78935,7 +79051,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [400]
+ "children": [411]
}
],
"sources": [
@@ -78956,25 +79072,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 404,
+ "id": 415,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError"
}
]
},
{
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 418,
+ "id": 429,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -78988,14 +79104,14 @@
],
"signatures": [
{
- "id": 419,
+ "id": 430,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 420,
+ "id": 431,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -79006,7 +79122,7 @@
}
},
{
- "id": 421,
+ "id": 432,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -79019,24 +79135,24 @@
],
"type": {
"type": "reference",
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 401,
+ "id": 412,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 400,
+ "id": 411,
"name": "StorageError.constructor"
}
},
{
- "id": 422,
+ "id": 433,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -79058,12 +79174,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [418]
+ "children": [429]
},
{
"title": "Properties",
"kind": 1024,
- "children": [422]
+ "children": [433]
}
],
"sources": [
@@ -79076,20 +79192,43 @@
"extendedTypes": [
{
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
]
},
{
- "id": 357,
+ "id": 365,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
+ "name": "allowed_mime_types",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 371,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -79097,7 +79236,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 2
}
],
@@ -79107,7 +79246,27 @@
}
},
{
- "id": 358,
+ "id": 369,
+ "name": "file_size_limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -79125,7 +79284,7 @@
}
},
{
- "id": 359,
+ "id": 367,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -79143,7 +79302,7 @@
}
},
{
- "id": 360,
+ "id": 368,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -79161,7 +79320,7 @@
}
},
{
- "id": 363,
+ "id": 373,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -79169,7 +79328,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 9,
"character": 2
}
],
@@ -79179,7 +79338,7 @@
}
},
{
- "id": 362,
+ "id": 372,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -79187,7 +79346,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 6,
+ "line": 8,
"character": 2
}
],
@@ -79201,7 +79360,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 358, 359, 360, 363, 362]
+ "children": [370, 371, 369, 366, 367, 368, 373, 372]
}
],
"sources": [
@@ -79213,14 +79372,14 @@
]
},
{
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 387,
+ "id": 398,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -79233,7 +79392,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 74,
"character": 2
}
],
@@ -79249,26 +79408,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [387]
+ "children": [398]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 70,
"character": 17
}
]
},
{
- "id": 364,
+ "id": 374,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 376,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -79276,7 +79435,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 12,
+ "line": 14,
"character": 2
}
],
@@ -79286,7 +79445,7 @@
}
},
{
- "id": 373,
+ "id": 383,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -79294,23 +79453,46 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 19,
+ "line": 21,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket",
"dereferenced": {
- "id": 357,
+ "id": 365,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
+ "name": "allowed_mime_types",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 371,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -79318,7 +79500,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 2
}
],
@@ -79328,7 +79510,27 @@
}
},
{
- "id": 358,
+ "id": 369,
+ "name": "file_size_limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -79346,7 +79548,7 @@
}
},
{
- "id": 359,
+ "id": 367,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -79364,7 +79566,7 @@
}
},
{
- "id": 360,
+ "id": 368,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -79382,7 +79584,7 @@
}
},
{
- "id": 363,
+ "id": 373,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -79390,7 +79592,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 9,
"character": 2
}
],
@@ -79400,7 +79602,7 @@
}
},
{
- "id": 362,
+ "id": 372,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -79408,7 +79610,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 6,
+ "line": 8,
"character": 2
}
],
@@ -79422,7 +79624,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 358, 359, 360, 363, 362]
+ "children": [370, 371, 369, 366, 367, 368, 373, 372]
}
],
"sources": [
@@ -79436,11 +79638,29 @@
}
},
{
- "id": 370,
+ "id": 380,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 378,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -79454,25 +79674,7 @@
}
},
{
- "id": 368,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 371,
+ "id": 381,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -79480,7 +79682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 17,
+ "line": 19,
"character": 2
}
],
@@ -79490,7 +79692,7 @@
}
},
{
- "id": 372,
+ "id": 382,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -79498,7 +79700,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 18,
+ "line": 20,
"character": 2
}
],
@@ -79520,29 +79722,11 @@
}
},
{
- "id": 365,
+ "id": 375,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 367,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -79556,8 +79740,8 @@
}
},
{
- "id": 369,
- "name": "updated_at",
+ "id": 377,
+ "name": "owner",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -79572,32 +79756,50 @@
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 379,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [366, 373, 370, 368, 371, 372, 365, 367, 369]
+ "children": [376, 383, 380, 378, 381, 382, 375, 377, 379]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 10,
+ "line": 12,
"character": 17
}
]
},
{
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -79610,7 +79812,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -79620,7 +79822,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -79633,7 +79835,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -79643,7 +79845,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -79656,7 +79881,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -79670,26 +79895,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
},
{
- "id": 388,
+ "id": 399,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 400,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -79697,7 +79922,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 79,
"character": 2
}
],
@@ -79711,26 +79936,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [389]
+ "children": [400]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 78,
"character": 17
}
]
},
{
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 393,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -79743,7 +79968,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 52,
"character": 2
}
],
@@ -79753,7 +79978,7 @@
}
},
{
- "id": 383,
+ "id": 394,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -79766,7 +79991,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 57,
"character": 2
}
],
@@ -79776,7 +80001,7 @@
}
},
{
- "id": 385,
+ "id": 396,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -79789,7 +80014,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 67,
"character": 2
}
],
@@ -79799,7 +80024,7 @@
}
},
{
- "id": 384,
+ "id": 395,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -79812,23 +80037,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 62,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 374,
+ "id": 384,
"name": "SortBy",
"dereferenced": {
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -79838,7 +80063,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -79848,7 +80073,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -79858,7 +80083,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -79872,13 +80097,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
@@ -79890,26 +80115,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [382, 383, 385, 384]
+ "children": [393, 394, 396, 395]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 48,
"character": 17
}
]
},
{
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -79919,7 +80144,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -79929,7 +80154,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -79939,7 +80164,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -79953,26 +80178,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
},
{
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -79981,12 +80206,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -79996,7 +80221,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -80009,7 +80234,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -80019,7 +80244,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -80027,12 +80252,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -80042,7 +80267,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -80055,7 +80280,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -80078,7 +80303,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -80091,7 +80316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -80105,19 +80330,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
},
{
- "id": 396,
+ "id": 407,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -80131,14 +80356,14 @@
],
"signatures": [
{
- "id": 397,
+ "id": 408,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 398,
+ "id": 409,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -80155,7 +80380,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -80167,17 +80392,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [404, 266, 399, 417]
+ "children": [415, 270, 410, 428]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [357, 386, 364, 377, 388, 381, 374, 390]
+ "children": [365, 397, 374, 387, 399, 392, 384, 401]
},
{
"title": "Functions",
"kind": 64,
- "children": [396]
+ "children": [407]
}
],
"sources": [
@@ -80365,7 +80590,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
+ "line": 81,
"character": 8
}
],
@@ -80410,6 +80635,64 @@
"kindString": "Type literal",
"flags": {},
"children": [
+ {
+ "id": 50,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 49,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
{
"id": 48,
"name": "public",
@@ -80422,7 +80705,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 81,
+ "line": 83,
"character": 15
}
],
@@ -80436,7 +80719,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [48]
+ "children": [50, 49, 48]
}
]
}
@@ -80453,14 +80736,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 52,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -80468,7 +80751,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 88,
"character": 8
}
],
@@ -80477,7 +80760,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
},
{
@@ -80490,63 +80773,8 @@
"name": "Pick"
}
},
- {
- "id": 51,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [50, 51]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 52,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
{
"id": 53,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 54,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -80558,9 +80786,64 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52, 53]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 54,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 56,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -80569,7 +80852,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [53, 54]
+ "children": [55, 56]
}
]
}
@@ -80585,7 +80868,7 @@
]
},
{
- "id": 80,
+ "id": 84,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -80593,13 +80876,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
+ "line": 203,
"character": 8
}
],
"signatures": [
{
- "id": 81,
+ "id": 85,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -80609,7 +80892,7 @@
},
"parameters": [
{
- "id": 82,
+ "id": 86,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -80632,14 +80915,14 @@
{
"type": "reflection",
"declaration": {
- "id": 83,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 88,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -80647,21 +80930,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 89,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 90,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -80669,7 +80952,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 16
}
],
@@ -80683,14 +80966,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86]
+ "children": [90]
}
]
}
}
},
{
- "id": 87,
+ "id": 91,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -80698,7 +80981,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
+ "line": 208,
"character": 8
}
],
@@ -80712,7 +80995,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 87]
+ "children": [88, 91]
}
]
}
@@ -80720,14 +81003,14 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 89,
+ "id": 93,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -80735,7 +81018,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
+ "line": 211,
"character": 8
}
],
@@ -80745,7 +81028,7 @@
}
},
{
- "id": 90,
+ "id": 94,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -80753,13 +81036,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
+ "line": 212,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -80768,7 +81051,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [89, 90]
+ "children": [93, 94]
}
]
}
@@ -80784,7 +81067,7 @@
]
},
{
- "id": 69,
+ "id": 73,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -80792,13 +81075,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
+ "line": 168,
"character": 8
}
],
"signatures": [
{
- "id": 70,
+ "id": 74,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -80808,7 +81091,7 @@
},
"parameters": [
{
- "id": 71,
+ "id": 75,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -80831,14 +81114,14 @@
{
"type": "reflection",
"declaration": {
- "id": 72,
+ "id": 76,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 73,
+ "id": 77,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -80846,21 +81129,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 74,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 75,
+ "id": 79,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -80868,7 +81151,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 16
}
],
@@ -80882,14 +81165,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [75]
+ "children": [79]
}
]
}
}
},
{
- "id": 76,
+ "id": 80,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -80897,7 +81180,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
+ "line": 173,
"character": 8
}
],
@@ -80911,7 +81194,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [73, 76]
+ "children": [77, 80]
}
]
}
@@ -80919,14 +81202,14 @@
{
"type": "reflection",
"declaration": {
- "id": 77,
+ "id": 81,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 78,
+ "id": 82,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -80934,7 +81217,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
+ "line": 176,
"character": 8
}
],
@@ -80944,7 +81227,7 @@
}
},
{
- "id": 79,
+ "id": 83,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -80952,13 +81235,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
+ "line": 177,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -80967,7 +81250,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [82, 83]
}
]
}
@@ -81051,7 +81334,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
},
@@ -81125,7 +81408,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -81204,7 +81487,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
}
@@ -81279,7 +81562,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -81304,7 +81587,7 @@
]
},
{
- "id": 55,
+ "id": 57,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -81312,13 +81595,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 127,
"character": 8
}
],
"signatures": [
{
- "id": 56,
+ "id": 58,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -81328,7 +81611,7 @@
},
"parameters": [
{
- "id": 57,
+ "id": 59,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -81342,7 +81625,7 @@
}
},
{
- "id": 58,
+ "id": 60,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -81350,25 +81633,83 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 60,
+ "id": 64,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 63,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 62,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n"
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
},
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
+ "line": 129,
"character": 15
}
],
@@ -81382,7 +81723,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [60]
+ "children": [64, 63, 62]
}
]
}
@@ -81398,14 +81739,14 @@
{
"type": "reflection",
"declaration": {
- "id": 61,
+ "id": 65,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 62,
+ "id": 66,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -81413,21 +81754,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 63,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 64,
+ "id": 68,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -81435,7 +81776,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 16
}
],
@@ -81449,14 +81790,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [64]
+ "children": [68]
}
]
}
}
},
{
- "id": 65,
+ "id": 69,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -81464,7 +81805,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
+ "line": 133,
"character": 8
}
],
@@ -81478,7 +81819,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [62, 65]
+ "children": [66, 69]
}
]
}
@@ -81486,14 +81827,14 @@
{
"type": "reflection",
"declaration": {
- "id": 66,
+ "id": 70,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 67,
+ "id": 71,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -81501,7 +81842,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
+ "line": 136,
"character": 8
}
],
@@ -81511,7 +81852,7 @@
}
},
{
- "id": 68,
+ "id": 72,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -81519,13 +81860,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
+ "line": 137,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -81534,7 +81875,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [67, 68]
+ "children": [71, 72]
}
]
}
@@ -81559,7 +81900,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [43, 80, 69, 34, 26, 55]
+ "children": [43, 84, 73, 34, 26, 57]
}
],
"sources": [
@@ -81572,7 +81913,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 266,
+ "id": 270,
"name": "StorageClient"
}
]
@@ -81594,21 +81935,21 @@
]
},
{
- "id": 91,
+ "id": 95,
"name": "packages/StorageFileApi",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 92,
+ "id": 96,
"name": "default",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 93,
+ "id": 97,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -81622,14 +81963,14 @@
],
"signatures": [
{
- "id": 94,
+ "id": 98,
"name": "new default",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 95,
+ "id": 99,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -81640,7 +81981,7 @@
}
},
{
- "id": 96,
+ "id": 100,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -81648,20 +81989,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 97,
+ "id": 101,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 98,
+ "id": 102,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 99,
+ "id": 103,
"name": "key",
"kind": 32768,
"flags": {},
@@ -81681,7 +82022,7 @@
"defaultValue": "{}"
},
{
- "id": 100,
+ "id": 104,
"name": "bucketId",
"kind": 32768,
"kindString": "Parameter",
@@ -81694,7 +82035,7 @@
}
},
{
- "id": 101,
+ "id": 105,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -81704,21 +82045,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 103,
+ "id": 107,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 104,
+ "id": 108,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -81731,7 +82072,7 @@
}
},
{
- "id": 105,
+ "id": 109,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -81768,14 +82109,14 @@
],
"type": {
"type": "reference",
- "id": 92,
+ "id": 96,
"name": "default"
}
}
]
},
{
- "id": 169,
+ "id": 173,
"name": "copy",
"kind": 2048,
"kindString": "Method",
@@ -81783,13 +82124,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 232,
+ "line": 233,
"character": 8
}
],
"signatures": [
{
- "id": 170,
+ "id": 174,
"name": "copy",
"kind": 4096,
"kindString": "Call signature",
@@ -81799,7 +82140,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 175,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -81813,7 +82154,7 @@
}
},
{
- "id": 172,
+ "id": 176,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -81836,14 +82177,14 @@
{
"type": "reflection",
"declaration": {
- "id": 173,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 174,
+ "id": 178,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -81851,21 +82192,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 237,
+ "line": 238,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 175,
+ "id": 179,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 176,
+ "id": 180,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -81873,7 +82214,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 237,
+ "line": 238,
"character": 16
}
],
@@ -81887,14 +82228,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [176]
+ "children": [180]
}
]
}
}
},
{
- "id": 177,
+ "id": 181,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -81902,7 +82243,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 239,
"character": 8
}
],
@@ -81916,7 +82257,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [174, 177]
+ "children": [178, 181]
}
]
}
@@ -81924,36 +82265,18 @@
{
"type": "reflection",
"declaration": {
- "id": 178,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 179,
+ "id": 183,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 241,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 180,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -81961,9 +82284,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 184,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -81972,7 +82313,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179, 180]
+ "children": [183, 184]
}
]
}
@@ -81988,7 +82329,7 @@
]
},
{
- "id": 181,
+ "id": 185,
"name": "createSignedUrl",
"kind": 2048,
"kindString": "Method",
@@ -81996,13 +82337,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 270,
+ "line": 271,
"character": 8
}
],
"signatures": [
{
- "id": 182,
+ "id": 186,
"name": "createSignedUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -82012,7 +82353,7 @@
},
"parameters": [
{
- "id": 183,
+ "id": 187,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -82026,7 +82367,7 @@
}
},
{
- "id": 184,
+ "id": 188,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -82040,7 +82381,7 @@
}
},
{
- "id": 185,
+ "id": 189,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -82050,14 +82391,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 186,
+ "id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 187,
+ "id": 191,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -82070,7 +82411,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
+ "line": 274,
"character": 16
}
],
@@ -82089,7 +82430,7 @@
}
},
{
- "id": 188,
+ "id": 192,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -82102,23 +82443,23 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
+ "line": 274,
"character": 45
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"dereferenced": {
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -82127,12 +82468,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -82142,7 +82483,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -82155,7 +82496,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -82165,7 +82506,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -82173,12 +82514,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -82188,7 +82529,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -82201,7 +82542,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -82224,7 +82565,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -82237,7 +82578,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -82251,13 +82592,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
@@ -82269,7 +82610,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [187, 188]
+ "children": [191, 192]
}
]
}
@@ -82285,14 +82626,14 @@
{
"type": "reflection",
"declaration": {
- "id": 189,
+ "id": 193,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 190,
+ "id": 194,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -82300,21 +82641,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 276,
+ "line": 277,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 192,
+ "id": 196,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -82322,7 +82663,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 276,
+ "line": 277,
"character": 16
}
],
@@ -82336,14 +82677,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [192]
+ "children": [196]
}
]
}
}
},
{
- "id": 193,
+ "id": 197,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -82351,7 +82692,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 277,
+ "line": 278,
"character": 8
}
],
@@ -82365,7 +82706,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [190, 193]
+ "children": [194, 197]
}
]
}
@@ -82373,36 +82714,18 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 198,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 195,
+ "id": 199,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 196,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -82410,9 +82733,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 200,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 282,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -82421,7 +82762,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [195, 196]
+ "children": [199, 200]
}
]
}
@@ -82437,7 +82778,7 @@
]
},
{
- "id": 197,
+ "id": 201,
"name": "createSignedUrls",
"kind": 2048,
"kindString": "Method",
@@ -82445,13 +82786,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 315,
+ "line": 316,
"character": 8
}
],
"signatures": [
{
- "id": 198,
+ "id": 202,
"name": "createSignedUrls",
"kind": 4096,
"kindString": "Call signature",
@@ -82461,7 +82802,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 203,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -82478,7 +82819,7 @@
}
},
{
- "id": 200,
+ "id": 204,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -82492,7 +82833,7 @@
}
},
{
- "id": 201,
+ "id": 205,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -82502,14 +82843,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 202,
+ "id": 206,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 203,
+ "id": 207,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -82520,7 +82861,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 319,
"character": 16
}
],
@@ -82543,7 +82884,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [203]
+ "children": [207]
}
]
}
@@ -82559,14 +82900,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 209,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -82574,7 +82915,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 8
}
],
@@ -82583,14 +82924,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 207,
+ "id": 211,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -82598,7 +82939,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 16
}
],
@@ -82617,7 +82958,7 @@
}
},
{
- "id": 208,
+ "id": 212,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -82625,7 +82966,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 38
}
],
@@ -82644,7 +82985,7 @@
}
},
{
- "id": 209,
+ "id": 213,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -82652,7 +82993,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 59
}
],
@@ -82666,7 +83007,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [207, 208, 209]
+ "children": [211, 212, 213]
}
]
}
@@ -82674,7 +83015,7 @@
}
},
{
- "id": 210,
+ "id": 214,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -82682,7 +83023,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 323,
"character": 8
}
],
@@ -82696,7 +83037,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 210]
+ "children": [209, 214]
}
]
}
@@ -82704,36 +83045,18 @@
{
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 212,
+ "id": 216,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 325,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 213,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -82741,9 +83064,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 217,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 327,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -82752,7 +83093,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [212, 213]
+ "children": [216, 217]
}
]
}
@@ -82768,7 +83109,7 @@
]
},
{
- "id": 214,
+ "id": 218,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -82776,13 +83117,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 364,
+ "line": 365,
"character": 8
}
],
"signatures": [
{
- "id": 215,
+ "id": 219,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -82792,7 +83133,7 @@
},
"parameters": [
{
- "id": 216,
+ "id": 220,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -82806,7 +83147,7 @@
}
},
{
- "id": 217,
+ "id": 221,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -82816,14 +83157,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 219,
+ "id": 223,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -82836,23 +83177,23 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 366,
+ "line": 367,
"character": 16
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"dereferenced": {
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -82861,12 +83202,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -82876,7 +83217,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -82889,7 +83230,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -82899,7 +83240,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -82907,12 +83248,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -82922,7 +83263,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -82935,7 +83276,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -82958,7 +83299,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -82971,7 +83312,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -82985,13 +83326,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
@@ -83003,7 +83344,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [219]
+ "children": [223]
}
]
}
@@ -83019,38 +83360,18 @@
{
"type": "reflection",
"declaration": {
- "id": 220,
+ "id": 224,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 221,
+ "id": 225,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 369,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- }
- },
- {
- "id": 222,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -83058,6 +83379,26 @@
"character": 8
}
],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ }
+ },
+ {
+ "id": 226,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 371,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -83068,7 +83409,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [221, 222]
+ "children": [225, 226]
}
]
}
@@ -83076,36 +83417,18 @@
{
"type": "reflection",
"declaration": {
- "id": 223,
+ "id": 227,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 224,
+ "id": 228,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 373,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 225,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -83113,9 +83436,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 229,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 375,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -83124,7 +83465,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [224, 225]
+ "children": [228, 229]
}
]
}
@@ -83140,7 +83481,7 @@
]
},
{
- "id": 226,
+ "id": 230,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -83148,13 +83489,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 408,
"character": 2
}
],
"signatures": [
{
- "id": 227,
+ "id": 231,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -83164,7 +83505,7 @@
},
"parameters": [
{
- "id": 228,
+ "id": 232,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -83178,7 +83519,7 @@
}
},
{
- "id": 229,
+ "id": 233,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -83188,14 +83529,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 234,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 231,
+ "id": 235,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -83208,7 +83549,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 409,
+ "line": 410,
"character": 16
}
],
@@ -83227,7 +83568,7 @@
}
},
{
- "id": 232,
+ "id": 236,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -83240,23 +83581,23 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 409,
+ "line": 410,
"character": 45
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"dereferenced": {
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -83265,12 +83606,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -83280,7 +83621,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -83293,7 +83634,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -83303,7 +83644,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -83311,12 +83652,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -83326,7 +83667,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -83339,7 +83680,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -83362,7 +83703,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -83375,7 +83716,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -83389,13 +83730,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
@@ -83407,7 +83748,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [231, 232]
+ "children": [235, 236]
}
]
}
@@ -83417,14 +83758,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -83432,21 +83773,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
+ "line": 411,
"character": 7
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 235,
+ "id": 239,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 236,
+ "id": 240,
"name": "publicUrl",
"kind": 1024,
"kindString": "Property",
@@ -83454,7 +83795,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
+ "line": 411,
"character": 15
}
],
@@ -83468,7 +83809,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [236]
+ "children": [240]
}
]
}
@@ -83479,7 +83820,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [234]
+ "children": [238]
}
]
}
@@ -83488,7 +83829,7 @@
]
},
{
- "id": 246,
+ "id": 250,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -83496,13 +83837,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 541,
+ "line": 542,
"character": 8
}
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -83512,7 +83853,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -83528,7 +83869,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -83537,17 +83878,17 @@
},
"type": {
"type": "reference",
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"dereferenced": {
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 393,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -83560,7 +83901,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 52,
"character": 2
}
],
@@ -83570,7 +83911,7 @@
}
},
{
- "id": 383,
+ "id": 394,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -83583,7 +83924,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 57,
"character": 2
}
],
@@ -83593,7 +83934,7 @@
}
},
{
- "id": 385,
+ "id": 396,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -83606,7 +83947,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 67,
"character": 2
}
],
@@ -83616,7 +83957,7 @@
}
},
{
- "id": 384,
+ "id": 395,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -83629,23 +83970,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 62,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 374,
+ "id": 384,
"name": "SortBy",
"dereferenced": {
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -83655,7 +83996,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -83665,7 +84006,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -83675,7 +84016,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -83689,13 +84030,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
@@ -83707,13 +84048,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [382, 383, 385, 384]
+ "children": [393, 394, 396, 395]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 48,
"character": 17
}
]
@@ -83721,7 +84062,7 @@
}
},
{
- "id": 250,
+ "id": 254,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -83730,17 +84071,17 @@
},
"type": {
"type": "reference",
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"dereferenced": {
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 387,
+ "id": 398,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -83753,7 +84094,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 74,
"character": 2
}
],
@@ -83769,13 +84110,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [387]
+ "children": [398]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 70,
"character": 17
}
]
@@ -83792,40 +84133,18 @@
{
"type": "reflection",
"declaration": {
- "id": 251,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 252,
+ "id": 256,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 547,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 364,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 253,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -83833,6 +84152,28 @@
"character": 8
}
],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 374,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 257,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 549,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -83843,7 +84184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [252, 253]
+ "children": [256, 257]
}
]
}
@@ -83851,36 +84192,18 @@
{
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 255,
+ "id": 259,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 551,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 256,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -83888,9 +84211,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 260,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 553,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -83899,7 +84240,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [255, 256]
+ "children": [259, 260]
}
]
}
@@ -83915,7 +84256,7 @@
]
},
{
- "id": 157,
+ "id": 161,
"name": "move",
"kind": 2048,
"kindString": "Method",
@@ -83923,13 +84264,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 196,
+ "line": 197,
"character": 8
}
],
"signatures": [
{
- "id": 158,
+ "id": 162,
"name": "move",
"kind": 4096,
"kindString": "Call signature",
@@ -83939,7 +84280,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 163,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -83953,7 +84294,7 @@
}
},
{
- "id": 160,
+ "id": 164,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -83976,14 +84317,14 @@
{
"type": "reflection",
"declaration": {
- "id": 161,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 162,
+ "id": 166,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -83991,21 +84332,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 201,
+ "line": 202,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 163,
+ "id": 167,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 164,
+ "id": 168,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -84013,7 +84354,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 201,
+ "line": 202,
"character": 16
}
],
@@ -84027,14 +84368,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [164]
+ "children": [168]
}
]
}
}
},
{
- "id": 165,
+ "id": 169,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -84042,7 +84383,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 203,
"character": 8
}
],
@@ -84056,7 +84397,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [162, 165]
+ "children": [166, 169]
}
]
}
@@ -84064,36 +84405,18 @@
{
"type": "reflection",
"declaration": {
- "id": 166,
+ "id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 167,
+ "id": 171,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 205,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 168,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -84101,9 +84424,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 172,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 207,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -84112,7 +84453,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [171, 172]
}
]
}
@@ -84128,7 +84469,7 @@
]
},
{
- "id": 237,
+ "id": 241,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -84136,13 +84477,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 445,
+ "line": 446,
"character": 8
}
],
"signatures": [
{
- "id": 238,
+ "id": 242,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -84152,7 +84493,7 @@
},
"parameters": [
{
- "id": 239,
+ "id": 243,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -84178,40 +84519,18 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 241,
+ "id": 245,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 449,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 364,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 242,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -84219,6 +84538,28 @@
"character": 8
}
],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 374,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 246,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 451,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -84229,7 +84570,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [241, 242]
+ "children": [245, 246]
}
]
}
@@ -84237,36 +84578,18 @@
{
"type": "reflection",
"declaration": {
- "id": 243,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 244,
+ "id": 248,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 453,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 245,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -84274,9 +84597,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 249,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 455,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -84285,7 +84626,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [244, 245]
+ "children": [248, 249]
}
]
}
@@ -84301,7 +84642,7 @@
]
},
{
- "id": 144,
+ "id": 148,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -84309,13 +84650,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 163,
+ "line": 164,
"character": 8
}
],
"signatures": [
{
- "id": 145,
+ "id": 149,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -84325,7 +84666,7 @@
},
"parameters": [
{
- "id": 146,
+ "id": 150,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -84339,7 +84680,7 @@
}
},
{
- "id": 147,
+ "id": 151,
"name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
@@ -84420,7 +84761,7 @@
}
},
{
- "id": 148,
+ "id": 152,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -84429,17 +84770,17 @@
},
"type": {
"type": "reference",
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"dereferenced": {
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -84452,7 +84793,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -84462,7 +84803,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -84475,7 +84816,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -84485,7 +84826,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -84498,7 +84862,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -84512,13 +84876,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
@@ -84535,14 +84899,14 @@
{
"type": "reflection",
"declaration": {
- "id": 149,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 150,
+ "id": 154,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -84550,21 +84914,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 179,
+ "line": 180,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 151,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 152,
+ "id": 156,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -84572,7 +84936,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 179,
+ "line": 180,
"character": 16
}
],
@@ -84586,14 +84950,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [152]
+ "children": [156]
}
]
}
}
},
{
- "id": 153,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -84601,7 +84965,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 180,
+ "line": 181,
"character": 8
}
],
@@ -84615,7 +84979,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [150, 153]
+ "children": [154, 157]
}
]
}
@@ -84623,36 +84987,18 @@
{
"type": "reflection",
"declaration": {
- "id": 154,
+ "id": 158,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 155,
+ "id": 159,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 183,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 156,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -84660,9 +85006,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 160,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -84671,7 +85035,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155, 156]
+ "children": [159, 160]
}
]
}
@@ -84687,7 +85051,7 @@
]
},
{
- "id": 131,
+ "id": 135,
"name": "upload",
"kind": 2048,
"kindString": "Method",
@@ -84695,13 +85059,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 130,
+ "line": 131,
"character": 8
}
],
"signatures": [
{
- "id": 132,
+ "id": 136,
"name": "upload",
"kind": 4096,
"kindString": "Call signature",
@@ -84711,7 +85075,7 @@
},
"parameters": [
{
- "id": 133,
+ "id": 137,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -84725,7 +85089,7 @@
}
},
{
- "id": 134,
+ "id": 138,
"name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
@@ -84806,7 +85170,7 @@
}
},
{
- "id": 135,
+ "id": 139,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -84815,17 +85179,17 @@
},
"type": {
"type": "reference",
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"dereferenced": {
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -84838,7 +85202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -84848,7 +85212,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -84861,7 +85225,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -84871,7 +85235,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -84884,7 +85271,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -84898,13 +85285,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
@@ -84921,14 +85308,14 @@
{
"type": "reflection",
"declaration": {
- "id": 136,
+ "id": 140,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 137,
+ "id": 141,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -84936,21 +85323,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 146,
+ "line": 147,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 138,
+ "id": 142,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 139,
+ "id": 143,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -84958,7 +85345,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 146,
+ "line": 147,
"character": 16
}
],
@@ -84972,14 +85359,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [139]
+ "children": [143]
}
]
}
}
},
{
- "id": 140,
+ "id": 144,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -84987,7 +85374,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 147,
+ "line": 148,
"character": 8
}
],
@@ -85001,7 +85388,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [137, 140]
+ "children": [141, 144]
}
]
}
@@ -85009,36 +85396,18 @@
{
"type": "reflection",
"declaration": {
- "id": 141,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 142,
+ "id": 146,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 150,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 143,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -85046,9 +85415,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 147,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -85057,7 +85444,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [142, 143]
+ "children": [146, 147]
}
]
}
@@ -85077,12 +85464,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [93]
+ "children": [97]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 197, 214, 226, 246, 157, 237, 144, 131]
+ "children": [173, 185, 201, 218, 230, 250, 161, 241, 148, 135]
}
],
"sources": [
@@ -85098,7 +85485,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [92]
+ "children": [96]
}
],
"sources": [
@@ -85114,7 +85501,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 2, 91]
+ "children": [1, 2, 95]
}
]
},
diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json
index 6496309fd73..0f50192178f 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -3191,7 +3191,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 399,
+ "line": 396,
"character": 8
}
],
@@ -3243,7 +3243,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 605,
+ "line": 602,
"character": 8
}
],
@@ -3281,7 +3281,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 607,
+ "line": 604,
"character": 8
}
],
@@ -3303,7 +3303,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 608,
+ "line": 605,
"character": 10
}
],
@@ -3333,7 +3333,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 610,
+ "line": 607,
"character": 8
}
],
@@ -3370,7 +3370,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 613,
+ "line": 610,
"character": 8
}
],
@@ -3392,7 +3392,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 614,
+ "line": 611,
"character": 10
}
],
@@ -3421,7 +3421,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 616,
+ "line": 613,
"character": 8
}
],
@@ -3459,7 +3459,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 619,
+ "line": 616,
"character": 8
}
],
@@ -3481,7 +3481,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 620,
+ "line": 617,
"character": 10
}
],
@@ -3510,7 +3510,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 622,
+ "line": 619,
"character": 8
}
],
@@ -3548,7 +3548,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 668,
+ "line": 665,
"character": 8
}
],
@@ -3644,7 +3644,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 959,
+ "line": 956,
"character": 2
}
],
@@ -3746,7 +3746,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 960,
+ "line": 957,
"character": 4
}
],
@@ -3768,7 +3768,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 960,
+ "line": 957,
"character": 12
}
],
@@ -3811,7 +3811,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 814,
+ "line": 811,
"character": 8
}
],
@@ -3855,7 +3855,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 814,
+ "line": 811,
"character": 42
}
],
@@ -3901,7 +3901,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 999,
+ "line": 996,
"character": 8
}
],
@@ -3959,7 +3959,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1003,
+ "line": 1000,
"character": 6
}
],
@@ -3982,7 +3982,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1002,
+ "line": 999,
"character": 6
}
],
@@ -4028,7 +4028,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1007,
+ "line": 1004,
"character": 8
}
],
@@ -4052,7 +4052,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1008,
+ "line": 1005,
"character": 8
}
],
@@ -4089,7 +4089,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1010,
+ "line": 1007,
"character": 8
}
],
@@ -4107,7 +4107,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1010,
+ "line": 1007,
"character": 20
}
],
@@ -4146,7 +4146,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 750,
+ "line": 747,
"character": 8
}
],
@@ -4188,7 +4188,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 751,
+ "line": 748,
"character": 4
}
],
@@ -4206,7 +4206,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 752,
+ "line": 749,
"character": 4
}
],
@@ -4252,7 +4252,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 429,
+ "line": 426,
"character": 8
}
],
@@ -4311,7 +4311,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 384,
+ "line": 381,
"character": 8
}
],
@@ -4364,7 +4364,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 477,
+ "line": 474,
"character": 8
}
],
@@ -4418,7 +4418,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 333,
+ "line": 331,
"character": 8
}
],
@@ -4431,7 +4431,7 @@
"flags": {},
"comment": {
"shortText": "Log in an existing user with an email and password or phone and password.",
- "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login. Do note that you will need\nto configure a Whatsapp sender on Twilio if you are using phone sign in\nwith 'whatsapp'. The whatsapp channel is not supported on other providers\nat this time.\n"
+ "text": "Be aware that you may get back an error message that will not distingish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n"
},
"parameters": [
{
@@ -4442,7 +4442,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials"
}
}
@@ -4472,7 +4472,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 576,
+ "line": 573,
"character": 8
}
],
@@ -4526,7 +4526,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 934,
+ "line": 931,
"character": 8
}
],
@@ -4562,7 +4562,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 934,
+ "line": 931,
"character": 29
}
],
@@ -4663,7 +4663,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1288,
+ "line": 1285,
"character": 8
}
],
@@ -4676,7 +4676,7 @@
"flags": {},
"comment": {
"shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.",
- "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
+ "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desireable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
},
"type": {
"type": "reference",
@@ -4702,7 +4702,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1301,
+ "line": 1298,
"character": 8
}
],
@@ -4741,7 +4741,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 694,
"character": 8
}
],
@@ -4794,7 +4794,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 700,
+ "line": 697,
"character": 6
}
],
@@ -4841,7 +4841,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 522,
+ "line": 519,
"character": 8
}
],
@@ -13095,7 +13095,7 @@
}
},
{
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -13103,7 +13103,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 370,
+ "line": 372,
"character": 12
}
],
@@ -13113,14 +13113,14 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 483,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -13131,7 +13131,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 373,
+ "line": 375,
"character": 6
}
],
@@ -13141,7 +13141,7 @@
}
},
{
- "id": 484,
+ "id": 485,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13151,21 +13151,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 486,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 487,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -13178,7 +13178,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 380,
"character": 8
}
],
@@ -13192,13 +13192,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [486]
+ "children": [487]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 16
}
]
@@ -13206,7 +13206,7 @@
}
},
{
- "id": 483,
+ "id": 484,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13217,7 +13217,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 377,
"character": 6
}
],
@@ -13231,13 +13231,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [482, 484, 483]
+ "children": [483, 485, 484]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 373,
"character": 4
}
]
@@ -13246,14 +13246,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 490,
+ "id": 491,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13263,21 +13263,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 494,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -13290,7 +13290,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 396,
"character": 8
}
],
@@ -13300,39 +13300,7 @@
}
},
{
- "id": 494,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 396,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 492,
+ "id": 493,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13346,7 +13314,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 394,
"character": 8
}
],
@@ -13360,13 +13328,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 494, 492]
+ "children": [494, 493]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 16
}
]
@@ -13374,7 +13342,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13385,7 +13353,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 387,
"character": 6
}
],
@@ -13395,7 +13363,7 @@
}
},
{
- "id": 488,
+ "id": 489,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13406,7 +13374,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 383,
+ "line": 385,
"character": 6
}
],
@@ -13420,13 +13388,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [490, 489, 488]
+ "children": [491, 490, 489]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 383,
"character": 4
}
]
@@ -14354,7 +14322,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
},
"sources": [
{
@@ -14368,6 +14336,38 @@
"name": "string"
}
},
+ {
+ "id": 480,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
{
"id": 478,
"name": "data",
@@ -14397,7 +14397,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [479, 478]
+ "children": [479, 480, 478]
}
],
"sources": [
@@ -14887,7 +14887,7 @@
"children": [
320, 319, 731, 722, 744, 735, 670, 646, 691, 680, 661, 633, 334, 690, 758, 552, 582, 572,
591, 605, 592, 612, 577, 566, 321, 755, 629, 626, 613, 618, 621, 551, 512, 347, 772, 765,
- 318, 360, 526, 513, 480, 495, 553, 464, 754, 369, 534
+ 318, 360, 526, 513, 481, 495, 553, 464, 754, 369, 534
]
},
{
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index a32dbbfa4c8..0b60089d780 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -8113,7 +8113,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 399,
+ "line": 396,
"character": 8
}
],
@@ -8165,7 +8165,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 605,
+ "line": 602,
"character": 8
}
],
@@ -8203,7 +8203,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 607,
+ "line": 604,
"character": 8
}
],
@@ -8225,7 +8225,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 608,
+ "line": 605,
"character": 10
}
],
@@ -8255,7 +8255,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 610,
+ "line": 607,
"character": 8
}
],
@@ -8292,7 +8292,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 613,
+ "line": 610,
"character": 8
}
],
@@ -8314,7 +8314,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 614,
+ "line": 611,
"character": 10
}
],
@@ -8343,7 +8343,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 616,
+ "line": 613,
"character": 8
}
],
@@ -8381,7 +8381,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 619,
+ "line": 616,
"character": 8
}
],
@@ -8403,7 +8403,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 620,
+ "line": 617,
"character": 10
}
],
@@ -8432,7 +8432,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 622,
+ "line": 619,
"character": 8
}
],
@@ -8470,7 +8470,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 668,
+ "line": 665,
"character": 8
}
],
@@ -8566,7 +8566,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 959,
+ "line": 956,
"character": 2
}
],
@@ -8668,7 +8668,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 960,
+ "line": 957,
"character": 4
}
],
@@ -8690,7 +8690,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 960,
+ "line": 957,
"character": 12
}
],
@@ -8942,7 +8942,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 814,
+ "line": 811,
"character": 8
}
],
@@ -8986,7 +8986,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 814,
+ "line": 811,
"character": 42
}
],
@@ -9032,7 +9032,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 999,
+ "line": 996,
"character": 8
}
],
@@ -9090,7 +9090,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1003,
+ "line": 1000,
"character": 6
}
],
@@ -9113,7 +9113,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1002,
+ "line": 999,
"character": 6
}
],
@@ -9159,7 +9159,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1007,
+ "line": 1004,
"character": 8
}
],
@@ -9183,7 +9183,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1008,
+ "line": 1005,
"character": 8
}
],
@@ -9220,7 +9220,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1010,
+ "line": 1007,
"character": 8
}
],
@@ -9238,7 +9238,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1010,
+ "line": 1007,
"character": 20
}
],
@@ -9277,7 +9277,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 750,
+ "line": 747,
"character": 8
}
],
@@ -9319,7 +9319,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 751,
+ "line": 748,
"character": 4
}
],
@@ -9337,7 +9337,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 752,
+ "line": 749,
"character": 4
}
],
@@ -9383,7 +9383,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 429,
+ "line": 426,
"character": 8
}
],
@@ -9621,7 +9621,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 384,
+ "line": 381,
"character": 8
}
],
@@ -10043,7 +10043,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 477,
+ "line": 474,
"character": 8
}
],
@@ -10489,7 +10489,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 333,
+ "line": 331,
"character": 8
}
],
@@ -10502,7 +10502,7 @@
"flags": {},
"comment": {
"shortText": "Log in an existing user with an email and password or phone and password.",
- "text": "Be aware that you may get back an error message that will not distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login. Do note that you will need\nto configure a Whatsapp sender on Twilio if you are using phone sign in\nwith 'whatsapp'. The whatsapp channel is not supported on other providers\nat this time.\n"
+ "text": "Be aware that you may get back an error message that will not distingish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login.\n"
},
"parameters": [
{
@@ -10513,10 +10513,10 @@
"flags": {},
"type": {
"type": "reference",
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"dereferenced": {
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -10524,7 +10524,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 370,
+ "line": 372,
"character": 12
}
],
@@ -10534,14 +10534,14 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 483,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10552,7 +10552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 373,
+ "line": 375,
"character": 6
}
],
@@ -10562,7 +10562,7 @@
}
},
{
- "id": 484,
+ "id": 485,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10572,21 +10572,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 486,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 487,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10599,7 +10599,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 380,
"character": 8
}
],
@@ -10613,13 +10613,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [486]
+ "children": [487]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 16
}
]
@@ -10627,7 +10627,7 @@
}
},
{
- "id": 483,
+ "id": 484,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10638,7 +10638,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 377,
"character": 6
}
],
@@ -10652,13 +10652,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [482, 484, 483]
+ "children": [483, 485, 484]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 373,
"character": 4
}
]
@@ -10667,14 +10667,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 490,
+ "id": 491,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10684,21 +10684,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 494,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10711,7 +10711,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 396,
"character": 8
}
],
@@ -10721,39 +10721,7 @@
}
},
{
- "id": 494,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 396,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 492,
+ "id": 493,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10767,7 +10735,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 394,
"character": 8
}
],
@@ -10781,13 +10749,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 494, 492]
+ "children": [494, 493]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 16
}
]
@@ -10795,7 +10763,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10806,7 +10774,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 387,
"character": 6
}
],
@@ -10816,7 +10784,7 @@
}
},
{
- "id": 488,
+ "id": 489,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -10827,7 +10795,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 383,
+ "line": 385,
"character": 6
}
],
@@ -10841,13 +10809,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [490, 489, 488]
+ "children": [491, 490, 489]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 383,
"character": 4
}
]
@@ -10884,7 +10852,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 576,
+ "line": 573,
"character": 8
}
],
@@ -11227,7 +11195,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 934,
+ "line": 931,
"character": 8
}
],
@@ -11263,7 +11231,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 934,
+ "line": 931,
"character": 29
}
],
@@ -11574,7 +11542,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
},
"sources": [
{
@@ -11588,6 +11556,38 @@
"name": "string"
}
},
+ {
+ "id": 480,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
{
"id": 478,
"name": "data",
@@ -11617,7 +11617,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [479, 478]
+ "children": [479, 480, 478]
}
],
"sources": [
@@ -11720,7 +11720,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1288,
+ "line": 1285,
"character": 8
}
],
@@ -11733,7 +11733,7 @@
"flags": {},
"comment": {
"shortText": "Starts an auto-refresh process in the background. The session is checked\nevery few seconds. Close to the time of expiration a process is started to\nrefresh the session. If refreshing fails it will be retried for as long as\nnecessary.",
- "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
+ "text": "If you set the {@link GoTrueClientOptions#autoRefreshToken} you don't need\nto call this function, it will be called for you.\n\nOn browsers the refresh process works only when the tab/window is in the\nforeground to conserve resources as well as prevent race conditions and\nflooding auth with requests. If you call this method any managed\nvisibility change callback will be removed and you must manage visibility\nchanges on your own.\n\nOn non-browser platforms the refresh process works *continuously* in the\nbackground, which may not be desireable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
},
"type": {
"type": "reference",
@@ -11759,7 +11759,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1301,
+ "line": 1298,
"character": 8
}
],
@@ -11798,7 +11798,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 697,
+ "line": 694,
"character": 8
}
],
@@ -11967,7 +11967,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 700,
+ "line": 697,
"character": 6
}
],
@@ -12014,7 +12014,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 522,
+ "line": 519,
"character": 8
}
],
@@ -22799,7 +22799,7 @@
}
},
{
- "id": 480,
+ "id": 481,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -22807,7 +22807,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 370,
+ "line": 372,
"character": 12
}
],
@@ -22817,14 +22817,14 @@
{
"type": "reflection",
"declaration": {
- "id": 481,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 482,
+ "id": 483,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -22835,7 +22835,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 373,
+ "line": 375,
"character": 6
}
],
@@ -22845,7 +22845,7 @@
}
},
{
- "id": 484,
+ "id": 485,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22855,21 +22855,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 486,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 486,
+ "id": 487,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -22882,7 +22882,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 378,
+ "line": 380,
"character": 8
}
],
@@ -22896,13 +22896,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [486]
+ "children": [487]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 376,
+ "line": 378,
"character": 16
}
]
@@ -22910,7 +22910,7 @@
}
},
{
- "id": 483,
+ "id": 484,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -22921,7 +22921,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 375,
+ "line": 377,
"character": 6
}
],
@@ -22935,13 +22935,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [482, 484, 483]
+ "children": [483, 485, 484]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 371,
+ "line": 373,
"character": 4
}
]
@@ -22950,14 +22950,14 @@
{
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 488,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 490,
+ "id": 491,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22967,21 +22967,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 492,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "id": 494,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -22994,7 +22994,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 394,
+ "line": 396,
"character": 8
}
],
@@ -23004,39 +23004,7 @@
}
},
{
- "id": 494,
- "name": "channel",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 396,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "sms"
- },
- {
- "type": "literal",
- "value": "whatsapp"
- }
- ]
- }
- },
- {
- "id": 492,
+ "id": 493,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23050,7 +23018,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 392,
+ "line": 394,
"character": 8
}
],
@@ -23064,13 +23032,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 494, 492]
+ "children": [494, 493]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 386,
+ "line": 388,
"character": 16
}
]
@@ -23078,7 +23046,7 @@
}
},
{
- "id": 489,
+ "id": 490,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -23089,7 +23057,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 387,
"character": 6
}
],
@@ -23099,7 +23067,7 @@
}
},
{
- "id": 488,
+ "id": 489,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -23110,7 +23078,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 383,
+ "line": 385,
"character": 6
}
],
@@ -23124,13 +23092,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [490, 489, 488]
+ "children": [491, 490, 489]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 381,
+ "line": 383,
"character": 4
}
]
@@ -24058,7 +24026,7 @@
"isOptional": true
},
"comment": {
- "shortText": "Verification token received when the user completes the captcha on the site."
+ "shortText": "Verification token received when the user completes the captcha on the site. Requires a configured WhatsApp sender on Twilio"
},
"sources": [
{
@@ -24072,6 +24040,38 @@
"name": "string"
}
},
+ {
+ "id": 480,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Messaging channel to use (e.g. whatsapp or sms)"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 369,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
{
"id": 478,
"name": "data",
@@ -24101,7 +24101,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [479, 478]
+ "children": [479, 480, 478]
}
],
"sources": [
@@ -24993,7 +24993,7 @@
"children": [
320, 319, 731, 722, 744, 735, 670, 646, 691, 680, 661, 633, 334, 690, 758, 552, 582, 572,
591, 605, 592, 612, 577, 566, 321, 755, 629, 626, 613, 618, 621, 551, 512, 347, 772, 765,
- 318, 360, 526, 513, 480, 495, 553, 464, 754, 369, 534
+ 318, 360, 526, 513, 481, 495, 553, 464, 754, 369, 534
]
},
{
diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json
index 2d317df0658..8fd5766d11c 100644
--- a/spec/enrichments/tsdoc_v2/storage.json
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 404,
+ "id": 415,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 405,
+ "id": 416,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 406,
+ "id": 417,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 407,
+ "id": 418,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 408,
+ "id": 419,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,24 +65,24 @@
],
"type": {
"type": "reference",
- "id": 404,
+ "id": 415,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 401,
+ "id": 412,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 400,
+ "id": 411,
"name": "StorageError.constructor"
}
},
{
- "id": 409,
+ "id": 420,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -100,7 +100,7 @@
}
},
{
- "id": 410,
+ "id": 421,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -114,7 +114,7 @@
],
"signatures": [
{
- "id": 411,
+ "id": 422,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -122,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 412,
+ "id": 423,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 414,
+ "id": 425,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -148,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 413,
+ "id": 424,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -167,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 415,
+ "id": 426,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -190,7 +190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [414, 413, 415]
+ "children": [425, 424, 426]
}
]
}
@@ -203,17 +203,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [405]
+ "children": [416]
},
{
"title": "Properties",
"kind": 1024,
- "children": [409]
+ "children": [420]
},
{
"title": "Methods",
"kind": 2048,
- "children": [410]
+ "children": [421]
}
],
"sources": [
@@ -226,20 +226,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
]
},
{
- "id": 266,
+ "id": 270,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 267,
+ "id": 271,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -253,14 +253,14 @@
],
"signatures": [
{
- "id": 268,
+ "id": 272,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 269,
+ "id": 273,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -271,7 +271,7 @@
}
},
{
- "id": 270,
+ "id": 274,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -279,20 +279,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 275,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 272,
+ "id": 276,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 273,
+ "id": 277,
"name": "key",
"kind": 32768,
"flags": {},
@@ -312,7 +312,7 @@
"defaultValue": "{}"
},
{
- "id": 274,
+ "id": 278,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -322,21 +322,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 275,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 277,
+ "id": 281,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -349,7 +349,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +386,7 @@
],
"type": {
"type": "reference",
- "id": 266,
+ "id": 270,
"name": "StorageClient"
},
"overwrites": {
@@ -403,7 +403,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -411,13 +411,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
+ "line": 81,
"character": 8
}
],
"signatures": [
{
- "id": 310,
+ "id": 314,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -428,7 +428,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 315,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -442,7 +442,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -450,14 +450,72 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 313,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 314,
+ "id": 320,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 319,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 318,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -468,7 +526,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 81,
+ "line": 83,
"character": 15
}
],
@@ -482,7 +540,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [314]
+ "children": [320, 319, 318]
}
]
}
@@ -499,14 +557,14 @@
{
"type": "reflection",
"declaration": {
- "id": 315,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -514,7 +572,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 88,
"character": 8
}
],
@@ -523,7 +581,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
},
{
@@ -537,62 +595,7 @@
}
},
{
- "id": 317,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [316, 317]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 318,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 319,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 320,
+ "id": 323,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -604,9 +607,64 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [322, 323]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 325,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -615,7 +673,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [319, 320]
+ "children": [325, 326]
}
]
}
@@ -641,7 +699,7 @@
}
},
{
- "id": 346,
+ "id": 354,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -649,13 +707,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
+ "line": 203,
"character": 8
}
],
"signatures": [
{
- "id": 347,
+ "id": 355,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -665,7 +723,7 @@
},
"parameters": [
{
- "id": 348,
+ "id": 356,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -688,14 +746,14 @@
{
"type": "reflection",
"declaration": {
- "id": 349,
+ "id": 357,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 350,
+ "id": 358,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -703,21 +761,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 352,
+ "id": 360,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -725,7 +783,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 16
}
],
@@ -739,14 +797,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [352]
+ "children": [360]
}
]
}
}
},
{
- "id": 353,
+ "id": 361,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -754,7 +812,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
+ "line": 208,
"character": 8
}
],
@@ -768,7 +826,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [350, 353]
+ "children": [358, 361]
}
]
}
@@ -776,14 +834,14 @@
{
"type": "reflection",
"declaration": {
- "id": 354,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 355,
+ "id": 363,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -791,7 +849,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
+ "line": 211,
"character": 8
}
],
@@ -801,7 +859,7 @@
}
},
{
- "id": 356,
+ "id": 364,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -809,13 +867,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
+ "line": 212,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -824,7 +882,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [355, 356]
+ "children": [363, 364]
}
]
}
@@ -838,19 +896,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 85,
"name": "default.deleteBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 80,
+ "id": 84,
"name": "default.deleteBucket"
}
},
{
- "id": 335,
+ "id": 343,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -858,13 +916,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
+ "line": 168,
"character": 8
}
],
"signatures": [
{
- "id": 336,
+ "id": 344,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -874,7 +932,7 @@
},
"parameters": [
{
- "id": 337,
+ "id": 345,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -897,14 +955,14 @@
{
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 339,
+ "id": 347,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -912,21 +970,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 349,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -934,7 +992,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 16
}
],
@@ -948,14 +1006,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [341]
+ "children": [349]
}
]
}
}
},
{
- "id": 342,
+ "id": 350,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -963,7 +1021,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
+ "line": 173,
"character": 8
}
],
@@ -977,7 +1035,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 342]
+ "children": [347, 350]
}
]
}
@@ -985,14 +1043,14 @@
{
"type": "reflection",
"declaration": {
- "id": 343,
+ "id": 351,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 344,
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1000,7 +1058,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
+ "line": 176,
"character": 8
}
],
@@ -1010,7 +1068,7 @@
}
},
{
- "id": 345,
+ "id": 353,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1018,13 +1076,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
+ "line": 177,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1033,7 +1091,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344, 345]
+ "children": [352, 353]
}
]
}
@@ -1047,19 +1105,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 74,
"name": "default.emptyBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 69,
+ "id": 73,
"name": "default.emptyBucket"
}
},
{
- "id": 279,
+ "id": 283,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1073,7 +1131,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1083,7 +1141,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1099,14 +1157,14 @@
],
"type": {
"type": "reference",
- "id": 92,
+ "id": 96,
"name": "default"
}
}
]
},
{
- "id": 300,
+ "id": 304,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1120,7 +1178,7 @@
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1130,7 +1188,7 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1153,14 +1211,14 @@
{
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 304,
+ "id": 308,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1174,12 +1232,12 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
},
{
- "id": 305,
+ "id": 309,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1201,7 +1259,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304, 305]
+ "children": [308, 309]
}
]
}
@@ -1209,14 +1267,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1234,7 +1292,7 @@
}
},
{
- "id": 308,
+ "id": 312,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1248,7 +1306,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1257,7 +1315,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [307, 308]
+ "children": [311, 312]
}
]
}
@@ -1283,7 +1341,7 @@
}
},
{
- "id": 292,
+ "id": 296,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -1297,7 +1355,7 @@
],
"signatures": [
{
- "id": 293,
+ "id": 297,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -1314,14 +1372,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1337,13 +1395,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1365,7 +1423,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [295, 296]
+ "children": [299, 300]
}
]
}
@@ -1373,14 +1431,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1398,7 +1456,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1412,7 +1470,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1421,7 +1479,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 299]
+ "children": [302, 303]
}
]
}
@@ -1447,7 +1505,7 @@
}
},
{
- "id": 321,
+ "id": 327,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1455,13 +1513,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 127,
"character": 8
}
],
"signatures": [
{
- "id": 322,
+ "id": 328,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1471,7 +1529,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 329,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1485,7 +1543,7 @@
}
},
{
- "id": 324,
+ "id": 330,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1493,25 +1551,83 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 325,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 326,
+ "id": 334,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 333,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 332,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n"
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
},
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
+ "line": 129,
"character": 15
}
],
@@ -1525,7 +1641,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [326]
+ "children": [334, 333, 332]
}
]
}
@@ -1541,14 +1657,14 @@
{
"type": "reflection",
"declaration": {
- "id": 327,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 328,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1556,21 +1672,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 330,
+ "id": 338,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1578,7 +1694,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 16
}
],
@@ -1592,14 +1708,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [330]
+ "children": [338]
}
]
}
}
},
{
- "id": 331,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1607,7 +1723,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
+ "line": 133,
"character": 8
}
],
@@ -1621,7 +1737,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [328, 331]
+ "children": [336, 339]
}
]
}
@@ -1629,14 +1745,14 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 340,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 333,
+ "id": 341,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1644,7 +1760,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
+ "line": 136,
"character": 8
}
],
@@ -1654,7 +1770,7 @@
}
},
{
- "id": 334,
+ "id": 342,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1662,13 +1778,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
+ "line": 137,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1677,7 +1793,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 334]
+ "children": [341, 342]
}
]
}
@@ -1691,14 +1807,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 56,
+ "id": 58,
"name": "default.updateBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 55,
+ "id": 57,
"name": "default.updateBucket"
}
}
@@ -1707,12 +1823,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [267]
+ "children": [271]
},
{
"title": "Methods",
"kind": 2048,
- "children": [309, 346, 335, 279, 300, 292, 321]
+ "children": [313, 354, 343, 283, 304, 296, 327]
}
],
"sources": [
@@ -1731,14 +1847,14 @@
]
},
{
- "id": 399,
+ "id": 410,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 400,
+ "id": 411,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1752,14 +1868,14 @@
],
"signatures": [
{
- "id": 401,
+ "id": 412,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 402,
+ "id": 413,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1772,7 +1888,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
},
"overwrites": {
@@ -1791,7 +1907,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [400]
+ "children": [411]
}
],
"sources": [
@@ -1812,25 +1928,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 404,
+ "id": 415,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError"
}
]
},
{
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 418,
+ "id": 429,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1844,14 +1960,14 @@
],
"signatures": [
{
- "id": 419,
+ "id": 430,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 420,
+ "id": 431,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1862,7 +1978,7 @@
}
},
{
- "id": 421,
+ "id": 432,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1875,24 +1991,24 @@
],
"type": {
"type": "reference",
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 401,
+ "id": 412,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 400,
+ "id": 411,
"name": "StorageError.constructor"
}
},
{
- "id": 422,
+ "id": 433,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1914,12 +2030,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [418]
+ "children": [429]
},
{
"title": "Properties",
"kind": 1024,
- "children": [422]
+ "children": [433]
}
],
"sources": [
@@ -1932,20 +2048,43 @@
"extendedTypes": [
{
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
]
},
{
- "id": 357,
+ "id": 365,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
+ "name": "allowed_mime_types",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 371,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -1953,7 +2092,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 2
}
],
@@ -1963,7 +2102,27 @@
}
},
{
- "id": 358,
+ "id": 369,
+ "name": "file_size_limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -1981,7 +2140,7 @@
}
},
{
- "id": 359,
+ "id": 367,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1999,7 +2158,7 @@
}
},
{
- "id": 360,
+ "id": 368,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2017,7 +2176,7 @@
}
},
{
- "id": 363,
+ "id": 373,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2025,7 +2184,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 9,
"character": 2
}
],
@@ -2035,7 +2194,7 @@
}
},
{
- "id": 362,
+ "id": 372,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2043,7 +2202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 6,
+ "line": 8,
"character": 2
}
],
@@ -2057,7 +2216,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 358, 359, 360, 363, 362]
+ "children": [370, 371, 369, 366, 367, 368, 373, 372]
}
],
"sources": [
@@ -2069,14 +2228,14 @@
]
},
{
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 387,
+ "id": 398,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2089,7 +2248,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 74,
"character": 2
}
],
@@ -2105,85 +2264,30 @@
{
"title": "Properties",
"kind": 1024,
- "children": [387]
+ "children": [398]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 70,
"character": 17
}
]
},
{
- "id": 364,
+ "id": 374,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 376,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 373,
- "name": "buckets",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "id": 357,
- "name": "Bucket"
- }
- },
- {
- "id": 370,
- "name": "created_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 368,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -2197,15 +2301,34 @@
}
},
{
- "id": 371,
- "name": "last_accessed_at",
+ "id": 383,
+ "name": "buckets",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 17,
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 365,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 380,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
"character": 2
}
],
@@ -2215,7 +2338,43 @@
}
},
{
- "id": 372,
+ "id": 378,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 16,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 381,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 382,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2223,7 +2382,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 18,
+ "line": 20,
"character": 2
}
],
@@ -2245,29 +2404,11 @@
}
},
{
- "id": 365,
+ "id": 375,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 367,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -2281,8 +2422,8 @@
}
},
{
- "id": 369,
- "name": "updated_at",
+ "id": 377,
+ "name": "owner",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -2297,32 +2438,50 @@
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 379,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [366, 373, 370, 368, 371, 372, 365, 367, 369]
+ "children": [376, 383, 380, 378, 381, 382, 375, 377, 379]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 10,
+ "line": 12,
"character": 17
}
]
},
{
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -2335,7 +2494,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -2345,7 +2504,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -2358,7 +2517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -2368,7 +2527,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -2381,7 +2563,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -2395,26 +2577,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
},
{
- "id": 388,
+ "id": 399,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 400,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2422,7 +2604,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 79,
"character": 2
}
],
@@ -2436,26 +2618,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [389]
+ "children": [400]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 78,
"character": 17
}
]
},
{
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 393,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2468,7 +2650,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 52,
"character": 2
}
],
@@ -2478,7 +2660,7 @@
}
},
{
- "id": 383,
+ "id": 394,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2491,7 +2673,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 57,
"character": 2
}
],
@@ -2501,7 +2683,7 @@
}
},
{
- "id": 385,
+ "id": 396,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2514,7 +2696,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 67,
"character": 2
}
],
@@ -2524,7 +2706,7 @@
}
},
{
- "id": 384,
+ "id": 395,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2537,13 +2719,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 62,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 374,
+ "id": 384,
"name": "SortBy"
}
}
@@ -2552,26 +2734,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [382, 383, 385, 384]
+ "children": [393, 394, 396, 395]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 48,
"character": 17
}
]
},
{
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2581,7 +2763,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -2591,7 +2773,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2601,7 +2783,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -2615,26 +2797,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
},
{
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -2643,12 +2825,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -2658,7 +2840,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -2671,7 +2853,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -2681,7 +2863,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -2689,12 +2871,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -2704,7 +2886,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -2717,7 +2899,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -2740,7 +2922,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -2753,7 +2935,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -2767,19 +2949,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
},
{
- "id": 396,
+ "id": 407,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2793,14 +2975,14 @@
],
"signatures": [
{
- "id": 397,
+ "id": 408,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 398,
+ "id": 409,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -2817,7 +2999,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -2829,17 +3011,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [404, 266, 399, 417]
+ "children": [415, 270, 410, 428]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [357, 386, 364, 377, 388, 381, 374, 390]
+ "children": [365, 397, 374, 387, 399, 392, 384, 401]
},
{
"title": "Functions",
"kind": 64,
- "children": [396]
+ "children": [407]
}
],
"sources": [
@@ -3027,7 +3209,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
+ "line": 81,
"character": 8
}
],
@@ -3072,6 +3254,64 @@
"kindString": "Type literal",
"flags": {},
"children": [
+ {
+ "id": 50,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 49,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
{
"id": 48,
"name": "public",
@@ -3084,7 +3324,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 81,
+ "line": 83,
"character": 15
}
],
@@ -3098,7 +3338,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [48]
+ "children": [50, 49, 48]
}
]
}
@@ -3115,14 +3355,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 52,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3130,7 +3370,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 88,
"character": 8
}
],
@@ -3139,7 +3379,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
},
{
@@ -3152,63 +3392,8 @@
"name": "Pick"
}
},
- {
- "id": 51,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [50, 51]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 52,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
{
"id": 53,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 54,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3220,9 +3405,64 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52, 53]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 54,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 56,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3231,7 +3471,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [53, 54]
+ "children": [55, 56]
}
]
}
@@ -3247,7 +3487,7 @@
]
},
{
- "id": 80,
+ "id": 84,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -3255,13 +3495,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
+ "line": 203,
"character": 8
}
],
"signatures": [
{
- "id": 81,
+ "id": 85,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -3271,7 +3511,7 @@
},
"parameters": [
{
- "id": 82,
+ "id": 86,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -3294,14 +3534,14 @@
{
"type": "reflection",
"declaration": {
- "id": 83,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 88,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3309,21 +3549,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 89,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 90,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -3331,7 +3571,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 16
}
],
@@ -3345,14 +3585,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86]
+ "children": [90]
}
]
}
}
},
{
- "id": 87,
+ "id": 91,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3360,7 +3600,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
+ "line": 208,
"character": 8
}
],
@@ -3374,7 +3614,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 87]
+ "children": [88, 91]
}
]
}
@@ -3382,14 +3622,14 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 89,
+ "id": 93,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3397,7 +3637,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
+ "line": 211,
"character": 8
}
],
@@ -3407,7 +3647,7 @@
}
},
{
- "id": 90,
+ "id": 94,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3415,13 +3655,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
+ "line": 212,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3430,7 +3670,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [89, 90]
+ "children": [93, 94]
}
]
}
@@ -3446,7 +3686,7 @@
]
},
{
- "id": 69,
+ "id": 73,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -3454,13 +3694,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
+ "line": 168,
"character": 8
}
],
"signatures": [
{
- "id": 70,
+ "id": 74,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -3470,7 +3710,7 @@
},
"parameters": [
{
- "id": 71,
+ "id": 75,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -3493,14 +3733,14 @@
{
"type": "reflection",
"declaration": {
- "id": 72,
+ "id": 76,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 73,
+ "id": 77,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3508,21 +3748,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 74,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 75,
+ "id": 79,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -3530,7 +3770,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 16
}
],
@@ -3544,14 +3784,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [75]
+ "children": [79]
}
]
}
}
},
{
- "id": 76,
+ "id": 80,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3559,7 +3799,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
+ "line": 173,
"character": 8
}
],
@@ -3573,7 +3813,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [73, 76]
+ "children": [77, 80]
}
]
}
@@ -3581,14 +3821,14 @@
{
"type": "reflection",
"declaration": {
- "id": 77,
+ "id": 81,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 78,
+ "id": 82,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3596,7 +3836,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
+ "line": 176,
"character": 8
}
],
@@ -3606,7 +3846,7 @@
}
},
{
- "id": 79,
+ "id": 83,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3614,13 +3854,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
+ "line": 177,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3629,7 +3869,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [82, 83]
}
]
}
@@ -3713,7 +3953,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
},
@@ -3787,7 +4027,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3866,7 +4106,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
}
@@ -3941,7 +4181,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3966,7 +4206,7 @@
]
},
{
- "id": 55,
+ "id": 57,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -3974,13 +4214,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 127,
"character": 8
}
],
"signatures": [
{
- "id": 56,
+ "id": 58,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -3990,7 +4230,7 @@
},
"parameters": [
{
- "id": 57,
+ "id": 59,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -4004,7 +4244,7 @@
}
},
{
- "id": 58,
+ "id": 60,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4012,25 +4252,83 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 60,
+ "id": 64,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 63,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 62,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n"
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
},
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
+ "line": 129,
"character": 15
}
],
@@ -4044,7 +4342,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [60]
+ "children": [64, 63, 62]
}
]
}
@@ -4060,14 +4358,14 @@
{
"type": "reflection",
"declaration": {
- "id": 61,
+ "id": 65,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 62,
+ "id": 66,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4075,21 +4373,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 63,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 64,
+ "id": 68,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -4097,7 +4395,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 16
}
],
@@ -4111,14 +4409,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [64]
+ "children": [68]
}
]
}
}
},
{
- "id": 65,
+ "id": 69,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4126,7 +4424,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
+ "line": 133,
"character": 8
}
],
@@ -4140,7 +4438,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [62, 65]
+ "children": [66, 69]
}
]
}
@@ -4148,14 +4446,14 @@
{
"type": "reflection",
"declaration": {
- "id": 66,
+ "id": 70,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 67,
+ "id": 71,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4163,7 +4461,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
+ "line": 136,
"character": 8
}
],
@@ -4173,7 +4471,7 @@
}
},
{
- "id": 68,
+ "id": 72,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4181,13 +4479,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
+ "line": 137,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4196,7 +4494,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [67, 68]
+ "children": [71, 72]
}
]
}
@@ -4221,7 +4519,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [43, 80, 69, 34, 26, 55]
+ "children": [43, 84, 73, 34, 26, 57]
}
],
"sources": [
@@ -4234,7 +4532,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 266,
+ "id": 270,
"name": "StorageClient"
}
]
@@ -4256,21 +4554,21 @@
]
},
{
- "id": 91,
+ "id": 95,
"name": "packages/StorageFileApi",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 92,
+ "id": 96,
"name": "default",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 93,
+ "id": 97,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4284,14 +4582,14 @@
],
"signatures": [
{
- "id": 94,
+ "id": 98,
"name": "new default",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 95,
+ "id": 99,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4302,7 +4600,7 @@
}
},
{
- "id": 96,
+ "id": 100,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -4310,20 +4608,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 97,
+ "id": 101,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 98,
+ "id": 102,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 99,
+ "id": 103,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4343,7 +4641,7 @@
"defaultValue": "{}"
},
{
- "id": 100,
+ "id": 104,
"name": "bucketId",
"kind": 32768,
"kindString": "Parameter",
@@ -4356,7 +4654,7 @@
}
},
{
- "id": 101,
+ "id": 105,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -4366,21 +4664,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 103,
+ "id": 107,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 104,
+ "id": 108,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -4393,7 +4691,7 @@
}
},
{
- "id": 105,
+ "id": 109,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -4430,14 +4728,14 @@
],
"type": {
"type": "reference",
- "id": 92,
+ "id": 96,
"name": "default"
}
}
]
},
{
- "id": 169,
+ "id": 173,
"name": "copy",
"kind": 2048,
"kindString": "Method",
@@ -4445,13 +4743,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 232,
+ "line": 233,
"character": 8
}
],
"signatures": [
{
- "id": 170,
+ "id": 174,
"name": "copy",
"kind": 4096,
"kindString": "Call signature",
@@ -4461,7 +4759,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 175,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -4475,7 +4773,7 @@
}
},
{
- "id": 172,
+ "id": 176,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -4498,14 +4796,14 @@
{
"type": "reflection",
"declaration": {
- "id": 173,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 174,
+ "id": 178,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4513,21 +4811,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 237,
+ "line": 238,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 175,
+ "id": 179,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 176,
+ "id": 180,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -4535,7 +4833,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 237,
+ "line": 238,
"character": 16
}
],
@@ -4549,14 +4847,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [176]
+ "children": [180]
}
]
}
}
},
{
- "id": 177,
+ "id": 181,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4564,7 +4862,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 239,
"character": 8
}
],
@@ -4578,7 +4876,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [174, 177]
+ "children": [178, 181]
}
]
}
@@ -4586,36 +4884,18 @@
{
"type": "reflection",
"declaration": {
- "id": 178,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 179,
+ "id": 183,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 241,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 180,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -4623,9 +4903,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 184,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4634,7 +4932,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179, 180]
+ "children": [183, 184]
}
]
}
@@ -4650,7 +4948,7 @@
]
},
{
- "id": 181,
+ "id": 185,
"name": "createSignedUrl",
"kind": 2048,
"kindString": "Method",
@@ -4658,13 +4956,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 270,
+ "line": 271,
"character": 8
}
],
"signatures": [
{
- "id": 182,
+ "id": 186,
"name": "createSignedUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -4674,7 +4972,7 @@
},
"parameters": [
{
- "id": 183,
+ "id": 187,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -4688,7 +4986,7 @@
}
},
{
- "id": 184,
+ "id": 188,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -4702,7 +5000,7 @@
}
},
{
- "id": 185,
+ "id": 189,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4712,14 +5010,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 186,
+ "id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 187,
+ "id": 191,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -4732,7 +5030,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
+ "line": 274,
"character": 16
}
],
@@ -4751,7 +5049,7 @@
}
},
{
- "id": 188,
+ "id": 192,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -4764,13 +5062,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
+ "line": 274,
"character": 45
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions"
}
}
@@ -4779,7 +5077,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [187, 188]
+ "children": [191, 192]
}
]
}
@@ -4795,14 +5093,14 @@
{
"type": "reflection",
"declaration": {
- "id": 189,
+ "id": 193,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 190,
+ "id": 194,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4810,21 +5108,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 276,
+ "line": 277,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 192,
+ "id": 196,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -4832,7 +5130,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 276,
+ "line": 277,
"character": 16
}
],
@@ -4846,14 +5144,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [192]
+ "children": [196]
}
]
}
}
},
{
- "id": 193,
+ "id": 197,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4861,7 +5159,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 277,
+ "line": 278,
"character": 8
}
],
@@ -4875,7 +5173,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [190, 193]
+ "children": [194, 197]
}
]
}
@@ -4883,36 +5181,18 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 198,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 195,
+ "id": 199,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 196,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -4920,9 +5200,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 200,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 282,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4931,7 +5229,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [195, 196]
+ "children": [199, 200]
}
]
}
@@ -4947,7 +5245,7 @@
]
},
{
- "id": 197,
+ "id": 201,
"name": "createSignedUrls",
"kind": 2048,
"kindString": "Method",
@@ -4955,13 +5253,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 315,
+ "line": 316,
"character": 8
}
],
"signatures": [
{
- "id": 198,
+ "id": 202,
"name": "createSignedUrls",
"kind": 4096,
"kindString": "Call signature",
@@ -4971,7 +5269,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 203,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -4988,7 +5286,7 @@
}
},
{
- "id": 200,
+ "id": 204,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -5002,7 +5300,7 @@
}
},
{
- "id": 201,
+ "id": 205,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5012,14 +5310,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 202,
+ "id": 206,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 203,
+ "id": 207,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -5030,7 +5328,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 319,
"character": 16
}
],
@@ -5053,7 +5351,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [203]
+ "children": [207]
}
]
}
@@ -5069,14 +5367,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 209,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5084,7 +5382,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 8
}
],
@@ -5093,14 +5391,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 207,
+ "id": 211,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5108,7 +5406,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 16
}
],
@@ -5127,7 +5425,7 @@
}
},
{
- "id": 208,
+ "id": 212,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -5135,7 +5433,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 38
}
],
@@ -5154,7 +5452,7 @@
}
},
{
- "id": 209,
+ "id": 213,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -5162,7 +5460,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 59
}
],
@@ -5176,7 +5474,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [207, 208, 209]
+ "children": [211, 212, 213]
}
]
}
@@ -5184,7 +5482,7 @@
}
},
{
- "id": 210,
+ "id": 214,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5192,7 +5490,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 323,
"character": 8
}
],
@@ -5206,7 +5504,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 210]
+ "children": [209, 214]
}
]
}
@@ -5214,36 +5512,18 @@
{
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 212,
+ "id": 216,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 325,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 213,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5251,9 +5531,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 217,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 327,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -5262,7 +5560,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [212, 213]
+ "children": [216, 217]
}
]
}
@@ -5278,7 +5576,7 @@
]
},
{
- "id": 214,
+ "id": 218,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -5286,13 +5584,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 364,
+ "line": 365,
"character": 8
}
],
"signatures": [
{
- "id": 215,
+ "id": 219,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -5302,7 +5600,7 @@
},
"parameters": [
{
- "id": 216,
+ "id": 220,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5316,7 +5614,7 @@
}
},
{
- "id": 217,
+ "id": 221,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5326,14 +5624,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 219,
+ "id": 223,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -5346,13 +5644,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 366,
+ "line": 367,
"character": 16
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions"
}
}
@@ -5361,7 +5659,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [219]
+ "children": [223]
}
]
}
@@ -5377,38 +5675,18 @@
{
"type": "reflection",
"declaration": {
- "id": 220,
+ "id": 224,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 221,
+ "id": 225,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 369,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- }
- },
- {
- "id": 222,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5416,6 +5694,26 @@
"character": 8
}
],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ }
+ },
+ {
+ "id": 226,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 371,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5426,7 +5724,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [221, 222]
+ "children": [225, 226]
}
]
}
@@ -5434,36 +5732,18 @@
{
"type": "reflection",
"declaration": {
- "id": 223,
+ "id": 227,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 224,
+ "id": 228,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 373,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 225,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5471,9 +5751,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 229,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 375,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -5482,7 +5780,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [224, 225]
+ "children": [228, 229]
}
]
}
@@ -5498,7 +5796,7 @@
]
},
{
- "id": 226,
+ "id": 230,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -5506,13 +5804,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 408,
"character": 2
}
],
"signatures": [
{
- "id": 227,
+ "id": 231,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -5522,7 +5820,7 @@
},
"parameters": [
{
- "id": 228,
+ "id": 232,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5536,7 +5834,7 @@
}
},
{
- "id": 229,
+ "id": 233,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5546,14 +5844,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 234,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 231,
+ "id": 235,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -5566,7 +5864,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 409,
+ "line": 410,
"character": 16
}
],
@@ -5585,7 +5883,7 @@
}
},
{
- "id": 232,
+ "id": 236,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -5598,13 +5896,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 409,
+ "line": 410,
"character": 45
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions"
}
}
@@ -5613,7 +5911,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [231, 232]
+ "children": [235, 236]
}
]
}
@@ -5623,14 +5921,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5638,21 +5936,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
+ "line": 411,
"character": 7
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 235,
+ "id": 239,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 236,
+ "id": 240,
"name": "publicUrl",
"kind": 1024,
"kindString": "Property",
@@ -5660,7 +5958,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
+ "line": 411,
"character": 15
}
],
@@ -5674,7 +5972,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [236]
+ "children": [240]
}
]
}
@@ -5685,7 +5983,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [234]
+ "children": [238]
}
]
}
@@ -5694,7 +5992,7 @@
]
},
{
- "id": 246,
+ "id": 250,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -5702,13 +6000,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 541,
+ "line": 542,
"character": 8
}
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -5718,7 +6016,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5734,7 +6032,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5743,12 +6041,12 @@
},
"type": {
"type": "reference",
- "id": 381,
+ "id": 392,
"name": "SearchOptions"
}
},
{
- "id": 250,
+ "id": 254,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5757,7 +6055,7 @@
},
"type": {
"type": "reference",
- "id": 386,
+ "id": 397,
"name": "FetchParameters"
}
}
@@ -5771,40 +6069,18 @@
{
"type": "reflection",
"declaration": {
- "id": 251,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 252,
+ "id": 256,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 547,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 364,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 253,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5812,6 +6088,28 @@
"character": 8
}
],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 374,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 257,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 549,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5822,7 +6120,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [252, 253]
+ "children": [256, 257]
}
]
}
@@ -5830,36 +6128,18 @@
{
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 255,
+ "id": 259,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 551,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 256,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5867,9 +6147,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 260,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 553,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -5878,7 +6176,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [255, 256]
+ "children": [259, 260]
}
]
}
@@ -5894,7 +6192,7 @@
]
},
{
- "id": 157,
+ "id": 161,
"name": "move",
"kind": 2048,
"kindString": "Method",
@@ -5902,13 +6200,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 196,
+ "line": 197,
"character": 8
}
],
"signatures": [
{
- "id": 158,
+ "id": 162,
"name": "move",
"kind": 4096,
"kindString": "Call signature",
@@ -5918,7 +6216,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 163,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -5932,7 +6230,7 @@
}
},
{
- "id": 160,
+ "id": 164,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -5955,14 +6253,14 @@
{
"type": "reflection",
"declaration": {
- "id": 161,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 162,
+ "id": 166,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5970,21 +6268,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 201,
+ "line": 202,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 163,
+ "id": 167,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 164,
+ "id": 168,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -5992,7 +6290,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 201,
+ "line": 202,
"character": 16
}
],
@@ -6006,14 +6304,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [164]
+ "children": [168]
}
]
}
}
},
{
- "id": 165,
+ "id": 169,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6021,7 +6319,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 203,
"character": 8
}
],
@@ -6035,7 +6333,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [162, 165]
+ "children": [166, 169]
}
]
}
@@ -6043,36 +6341,18 @@
{
"type": "reflection",
"declaration": {
- "id": 166,
+ "id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 167,
+ "id": 171,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 205,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 168,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6080,9 +6360,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 172,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 207,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -6091,7 +6389,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [171, 172]
}
]
}
@@ -6107,7 +6405,7 @@
]
},
{
- "id": 237,
+ "id": 241,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -6115,13 +6413,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 445,
+ "line": 446,
"character": 8
}
],
"signatures": [
{
- "id": 238,
+ "id": 242,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -6131,7 +6429,7 @@
},
"parameters": [
{
- "id": 239,
+ "id": 243,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -6157,40 +6455,18 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 241,
+ "id": 245,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 449,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 364,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 242,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6198,6 +6474,28 @@
"character": 8
}
],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 374,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 246,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 451,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6208,7 +6506,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [241, 242]
+ "children": [245, 246]
}
]
}
@@ -6216,36 +6514,18 @@
{
"type": "reflection",
"declaration": {
- "id": 243,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 244,
+ "id": 248,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 453,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 245,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6253,9 +6533,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 249,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 455,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -6264,7 +6562,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [244, 245]
+ "children": [248, 249]
}
]
}
@@ -6280,7 +6578,7 @@
]
},
{
- "id": 144,
+ "id": 148,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -6288,13 +6586,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 163,
+ "line": 164,
"character": 8
}
],
"signatures": [
{
- "id": 145,
+ "id": 149,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -6304,7 +6602,7 @@
},
"parameters": [
{
- "id": 146,
+ "id": 150,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -6318,7 +6616,7 @@
}
},
{
- "id": 147,
+ "id": 151,
"name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
@@ -6399,7 +6697,7 @@
}
},
{
- "id": 148,
+ "id": 152,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -6408,7 +6706,7 @@
},
"type": {
"type": "reference",
- "id": 377,
+ "id": 387,
"name": "FileOptions"
}
}
@@ -6422,14 +6720,14 @@
{
"type": "reflection",
"declaration": {
- "id": 149,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 150,
+ "id": 154,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6437,21 +6735,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 179,
+ "line": 180,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 151,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 152,
+ "id": 156,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -6459,7 +6757,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 179,
+ "line": 180,
"character": 16
}
],
@@ -6473,14 +6771,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [152]
+ "children": [156]
}
]
}
}
},
{
- "id": 153,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6488,7 +6786,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 180,
+ "line": 181,
"character": 8
}
],
@@ -6502,7 +6800,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [150, 153]
+ "children": [154, 157]
}
]
}
@@ -6510,36 +6808,18 @@
{
"type": "reflection",
"declaration": {
- "id": 154,
+ "id": 158,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 155,
+ "id": 159,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 183,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 156,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6547,9 +6827,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 160,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -6558,7 +6856,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155, 156]
+ "children": [159, 160]
}
]
}
@@ -6574,7 +6872,7 @@
]
},
{
- "id": 131,
+ "id": 135,
"name": "upload",
"kind": 2048,
"kindString": "Method",
@@ -6582,13 +6880,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 130,
+ "line": 131,
"character": 8
}
],
"signatures": [
{
- "id": 132,
+ "id": 136,
"name": "upload",
"kind": 4096,
"kindString": "Call signature",
@@ -6598,7 +6896,7 @@
},
"parameters": [
{
- "id": 133,
+ "id": 137,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -6612,7 +6910,7 @@
}
},
{
- "id": 134,
+ "id": 138,
"name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
@@ -6693,7 +6991,7 @@
}
},
{
- "id": 135,
+ "id": 139,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -6702,7 +7000,7 @@
},
"type": {
"type": "reference",
- "id": 377,
+ "id": 387,
"name": "FileOptions"
}
}
@@ -6716,14 +7014,14 @@
{
"type": "reflection",
"declaration": {
- "id": 136,
+ "id": 140,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 137,
+ "id": 141,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6731,21 +7029,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 146,
+ "line": 147,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 138,
+ "id": 142,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 139,
+ "id": 143,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -6753,7 +7051,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 146,
+ "line": 147,
"character": 16
}
],
@@ -6767,14 +7065,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [139]
+ "children": [143]
}
]
}
}
},
{
- "id": 140,
+ "id": 144,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6782,7 +7080,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 147,
+ "line": 148,
"character": 8
}
],
@@ -6796,7 +7094,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [137, 140]
+ "children": [141, 144]
}
]
}
@@ -6804,36 +7102,18 @@
{
"type": "reflection",
"declaration": {
- "id": 141,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 142,
+ "id": 146,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 150,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 143,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6841,9 +7121,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 147,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -6852,7 +7150,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [142, 143]
+ "children": [146, 147]
}
]
}
@@ -6872,12 +7170,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [93]
+ "children": [97]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 197, 214, 226, 246, 157, 237, 144, 131]
+ "children": [173, 185, 201, 218, 230, 250, 161, 241, 148, 135]
}
],
"sources": [
@@ -6893,7 +7191,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [92]
+ "children": [96]
}
],
"sources": [
@@ -6909,7 +7207,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 2, 91]
+ "children": [1, 2, 95]
}
]
}
diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
index e411c6eaa2c..79bc3c4ce89 100644
--- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 404,
+ "id": 415,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 405,
+ "id": 416,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 406,
+ "id": 417,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 407,
+ "id": 418,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 408,
+ "id": 419,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,24 +65,24 @@
],
"type": {
"type": "reference",
- "id": 404,
+ "id": 415,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 401,
+ "id": 412,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 400,
+ "id": 411,
"name": "StorageError.constructor"
}
},
{
- "id": 409,
+ "id": 420,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -100,7 +100,7 @@
}
},
{
- "id": 410,
+ "id": 421,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -114,7 +114,7 @@
],
"signatures": [
{
- "id": 411,
+ "id": 422,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -122,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 412,
+ "id": 423,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 414,
+ "id": 425,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -148,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 413,
+ "id": 424,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -167,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 415,
+ "id": 426,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -190,7 +190,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [414, 413, 415]
+ "children": [425, 424, 426]
}
]
}
@@ -203,17 +203,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [405]
+ "children": [416]
},
{
"title": "Properties",
"kind": 1024,
- "children": [409]
+ "children": [420]
},
{
"title": "Methods",
"kind": 2048,
- "children": [410]
+ "children": [421]
}
],
"sources": [
@@ -226,20 +226,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
]
},
{
- "id": 266,
+ "id": 270,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 267,
+ "id": 271,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -253,14 +253,14 @@
],
"signatures": [
{
- "id": 268,
+ "id": 272,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 269,
+ "id": 273,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -271,7 +271,7 @@
}
},
{
- "id": 270,
+ "id": 274,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -279,20 +279,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 275,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 272,
+ "id": 276,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 273,
+ "id": 277,
"name": "key",
"kind": 32768,
"flags": {},
@@ -312,7 +312,7 @@
"defaultValue": "{}"
},
{
- "id": 274,
+ "id": 278,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -322,21 +322,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 275,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 277,
+ "id": 281,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -349,7 +349,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +386,7 @@
],
"type": {
"type": "reference",
- "id": 266,
+ "id": 270,
"name": "StorageClient"
},
"overwrites": {
@@ -403,7 +403,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -411,13 +411,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
+ "line": 81,
"character": 8
}
],
"signatures": [
{
- "id": 310,
+ "id": 314,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -428,7 +428,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 315,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -442,7 +442,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -450,14 +450,72 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 313,
+ "id": 317,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 314,
+ "id": 320,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 319,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 318,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -468,7 +526,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 81,
+ "line": 83,
"character": 15
}
],
@@ -482,7 +540,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [314]
+ "children": [320, 319, 318]
}
]
}
@@ -499,14 +557,14 @@
{
"type": "reflection",
"declaration": {
- "id": 315,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -514,7 +572,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 88,
"character": 8
}
],
@@ -523,7 +581,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
},
{
@@ -537,62 +595,7 @@
}
},
{
- "id": 317,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [316, 317]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 318,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 319,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 320,
+ "id": 323,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -604,9 +607,64 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [322, 323]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 324,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 325,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 326,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -615,7 +673,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [319, 320]
+ "children": [325, 326]
}
]
}
@@ -641,7 +699,7 @@
}
},
{
- "id": 346,
+ "id": 354,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -649,13 +707,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
+ "line": 203,
"character": 8
}
],
"signatures": [
{
- "id": 347,
+ "id": 355,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -665,7 +723,7 @@
},
"parameters": [
{
- "id": 348,
+ "id": 356,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -688,14 +746,14 @@
{
"type": "reflection",
"declaration": {
- "id": 349,
+ "id": 357,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 350,
+ "id": 358,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -703,21 +761,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 351,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 352,
+ "id": 360,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -725,7 +783,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 16
}
],
@@ -739,14 +797,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [352]
+ "children": [360]
}
]
}
}
},
{
- "id": 353,
+ "id": 361,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -754,7 +812,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
+ "line": 208,
"character": 8
}
],
@@ -768,7 +826,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [350, 353]
+ "children": [358, 361]
}
]
}
@@ -776,14 +834,14 @@
{
"type": "reflection",
"declaration": {
- "id": 354,
+ "id": 362,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 355,
+ "id": 363,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -791,7 +849,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
+ "line": 211,
"character": 8
}
],
@@ -801,7 +859,7 @@
}
},
{
- "id": 356,
+ "id": 364,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -809,13 +867,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
+ "line": 212,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -824,7 +882,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [355, 356]
+ "children": [363, 364]
}
]
}
@@ -838,19 +896,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 81,
+ "id": 85,
"name": "default.deleteBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 80,
+ "id": 84,
"name": "default.deleteBucket"
}
},
{
- "id": 335,
+ "id": 343,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -858,13 +916,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
+ "line": 168,
"character": 8
}
],
"signatures": [
{
- "id": 336,
+ "id": 344,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -874,7 +932,7 @@
},
"parameters": [
{
- "id": 337,
+ "id": 345,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -897,14 +955,14 @@
{
"type": "reflection",
"declaration": {
- "id": 338,
+ "id": 346,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 339,
+ "id": 347,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -912,21 +970,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 341,
+ "id": 349,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -934,7 +992,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 16
}
],
@@ -948,14 +1006,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [341]
+ "children": [349]
}
]
}
}
},
{
- "id": 342,
+ "id": 350,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -963,7 +1021,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
+ "line": 173,
"character": 8
}
],
@@ -977,7 +1035,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339, 342]
+ "children": [347, 350]
}
]
}
@@ -985,14 +1043,14 @@
{
"type": "reflection",
"declaration": {
- "id": 343,
+ "id": 351,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 344,
+ "id": 352,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1000,7 +1058,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
+ "line": 176,
"character": 8
}
],
@@ -1010,7 +1068,7 @@
}
},
{
- "id": 345,
+ "id": 353,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1018,13 +1076,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
+ "line": 177,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1033,7 +1091,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [344, 345]
+ "children": [352, 353]
}
]
}
@@ -1047,19 +1105,19 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 70,
+ "id": 74,
"name": "default.emptyBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 69,
+ "id": 73,
"name": "default.emptyBucket"
}
},
{
- "id": 279,
+ "id": 283,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1073,7 +1131,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1083,7 +1141,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1099,14 +1157,14 @@
],
"type": {
"type": "reference",
- "id": 92,
+ "id": 96,
"name": "default"
}
}
]
},
{
- "id": 300,
+ "id": 304,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1120,7 +1178,7 @@
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1130,7 +1188,7 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1153,14 +1211,14 @@
{
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 304,
+ "id": 308,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1174,12 +1232,12 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
},
{
- "id": 305,
+ "id": 309,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1201,7 +1259,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304, 305]
+ "children": [308, 309]
}
]
}
@@ -1209,14 +1267,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1234,7 +1292,7 @@
}
},
{
- "id": 308,
+ "id": 312,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1248,7 +1306,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1257,7 +1315,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [307, 308]
+ "children": [311, 312]
}
]
}
@@ -1283,7 +1341,7 @@
}
},
{
- "id": 292,
+ "id": 296,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -1297,7 +1355,7 @@
],
"signatures": [
{
- "id": 293,
+ "id": 297,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -1314,14 +1372,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1337,13 +1395,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1365,7 +1423,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [295, 296]
+ "children": [299, 300]
}
]
}
@@ -1373,14 +1431,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1398,7 +1456,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1412,7 +1470,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1421,7 +1479,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [298, 299]
+ "children": [302, 303]
}
]
}
@@ -1447,7 +1505,7 @@
}
},
{
- "id": 321,
+ "id": 327,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1455,13 +1513,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 127,
"character": 8
}
],
"signatures": [
{
- "id": 322,
+ "id": 328,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1471,7 +1529,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 329,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1485,7 +1543,7 @@
}
},
{
- "id": 324,
+ "id": 330,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1493,25 +1551,83 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 325,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 326,
+ "id": 334,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 333,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 332,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n"
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
},
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
+ "line": 129,
"character": 15
}
],
@@ -1525,7 +1641,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [326]
+ "children": [334, 333, 332]
}
]
}
@@ -1541,14 +1657,14 @@
{
"type": "reflection",
"declaration": {
- "id": 327,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 328,
+ "id": 336,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1556,21 +1672,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 329,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 330,
+ "id": 338,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1578,7 +1694,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 16
}
],
@@ -1592,14 +1708,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [330]
+ "children": [338]
}
]
}
}
},
{
- "id": 331,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1607,7 +1723,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
+ "line": 133,
"character": 8
}
],
@@ -1621,7 +1737,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [328, 331]
+ "children": [336, 339]
}
]
}
@@ -1629,14 +1745,14 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 340,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 333,
+ "id": 341,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1644,7 +1760,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
+ "line": 136,
"character": 8
}
],
@@ -1654,7 +1770,7 @@
}
},
{
- "id": 334,
+ "id": 342,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1662,13 +1778,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
+ "line": 137,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -1677,7 +1793,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [333, 334]
+ "children": [341, 342]
}
]
}
@@ -1691,14 +1807,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 56,
+ "id": 58,
"name": "default.updateBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 55,
+ "id": 57,
"name": "default.updateBucket"
}
}
@@ -1707,12 +1823,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [267]
+ "children": [271]
},
{
"title": "Methods",
"kind": 2048,
- "children": [309, 346, 335, 279, 300, 292, 321]
+ "children": [313, 354, 343, 283, 304, 296, 327]
}
],
"sources": [
@@ -1731,14 +1847,14 @@
]
},
{
- "id": 399,
+ "id": 410,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 400,
+ "id": 411,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1752,14 +1868,14 @@
],
"signatures": [
{
- "id": 401,
+ "id": 412,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 402,
+ "id": 413,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1772,7 +1888,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
},
"overwrites": {
@@ -1791,7 +1907,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [400]
+ "children": [411]
}
],
"sources": [
@@ -1812,25 +1928,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 404,
+ "id": 415,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError"
}
]
},
{
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 418,
+ "id": 429,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1844,14 +1960,14 @@
],
"signatures": [
{
- "id": 419,
+ "id": 430,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 420,
+ "id": 431,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1862,7 +1978,7 @@
}
},
{
- "id": 421,
+ "id": 432,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1875,24 +1991,24 @@
],
"type": {
"type": "reference",
- "id": 417,
+ "id": 428,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 401,
+ "id": 412,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 400,
+ "id": 411,
"name": "StorageError.constructor"
}
},
{
- "id": 422,
+ "id": 433,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1914,12 +2030,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [418]
+ "children": [429]
},
{
"title": "Properties",
"kind": 1024,
- "children": [422]
+ "children": [433]
}
],
"sources": [
@@ -1932,20 +2048,43 @@
"extendedTypes": [
{
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
]
},
{
- "id": 357,
+ "id": 365,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
+ "name": "allowed_mime_types",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 371,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -1953,7 +2092,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 2
}
],
@@ -1963,7 +2102,27 @@
}
},
{
- "id": 358,
+ "id": 369,
+ "name": "file_size_limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -1981,7 +2140,7 @@
}
},
{
- "id": 359,
+ "id": 367,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1999,7 +2158,7 @@
}
},
{
- "id": 360,
+ "id": 368,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2017,7 +2176,7 @@
}
},
{
- "id": 363,
+ "id": 373,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2025,7 +2184,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 9,
"character": 2
}
],
@@ -2035,7 +2194,7 @@
}
},
{
- "id": 362,
+ "id": 372,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2043,7 +2202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 6,
+ "line": 8,
"character": 2
}
],
@@ -2057,7 +2216,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 358, 359, 360, 363, 362]
+ "children": [370, 371, 369, 366, 367, 368, 373, 372]
}
],
"sources": [
@@ -2069,14 +2228,14 @@
]
},
{
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 387,
+ "id": 398,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -2089,7 +2248,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 74,
"character": 2
}
],
@@ -2105,26 +2264,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [387]
+ "children": [398]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 70,
"character": 17
}
]
},
{
- "id": 364,
+ "id": 374,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 376,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -2132,7 +2291,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 12,
+ "line": 14,
"character": 2
}
],
@@ -2142,7 +2301,7 @@
}
},
{
- "id": 373,
+ "id": 383,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -2150,23 +2309,46 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 19,
+ "line": 21,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket",
"dereferenced": {
- "id": 357,
+ "id": 365,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 370,
+ "name": "allowed_mime_types",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 371,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2174,7 +2356,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 2
}
],
@@ -2184,7 +2366,27 @@
}
},
{
- "id": 358,
+ "id": 369,
+ "name": "file_size_limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 366,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2202,7 +2404,7 @@
}
},
{
- "id": 359,
+ "id": 367,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2220,7 +2422,7 @@
}
},
{
- "id": 360,
+ "id": 368,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2238,7 +2440,7 @@
}
},
{
- "id": 363,
+ "id": 373,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2246,7 +2448,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 9,
"character": 2
}
],
@@ -2256,7 +2458,7 @@
}
},
{
- "id": 362,
+ "id": 372,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2264,7 +2466,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 6,
+ "line": 8,
"character": 2
}
],
@@ -2278,7 +2480,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [361, 358, 359, 360, 363, 362]
+ "children": [370, 371, 369, 366, 367, 368, 373, 372]
}
],
"sources": [
@@ -2292,11 +2494,29 @@
}
},
{
- "id": 370,
+ "id": 380,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 378,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -2310,25 +2530,7 @@
}
},
{
- "id": 368,
- "name": "id",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 371,
+ "id": 381,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -2336,7 +2538,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 17,
+ "line": 19,
"character": 2
}
],
@@ -2346,7 +2548,7 @@
}
},
{
- "id": 372,
+ "id": 382,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2354,7 +2556,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 18,
+ "line": 20,
"character": 2
}
],
@@ -2376,29 +2578,11 @@
}
},
{
- "id": 365,
+ "id": 375,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 367,
- "name": "owner",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -2412,8 +2596,8 @@
}
},
{
- "id": 369,
- "name": "updated_at",
+ "id": 377,
+ "name": "owner",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -2428,32 +2612,50 @@
"type": "intrinsic",
"name": "string"
}
+ },
+ {
+ "id": 379,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [366, 373, 370, 368, 371, 372, 365, 367, 369]
+ "children": [376, 383, 380, 378, 381, 382, 375, 377, 379]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 10,
+ "line": 12,
"character": 17
}
]
},
{
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -2466,7 +2668,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -2476,7 +2678,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -2489,7 +2691,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -2499,7 +2701,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -2512,7 +2737,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -2526,26 +2751,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
},
{
- "id": 388,
+ "id": 399,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 400,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2553,7 +2778,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 79,
"character": 2
}
],
@@ -2567,26 +2792,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [389]
+ "children": [400]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 72,
+ "line": 78,
"character": 17
}
]
},
{
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 393,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2599,7 +2824,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 52,
"character": 2
}
],
@@ -2609,7 +2834,7 @@
}
},
{
- "id": 383,
+ "id": 394,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2622,7 +2847,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 57,
"character": 2
}
],
@@ -2632,7 +2857,7 @@
}
},
{
- "id": 385,
+ "id": 396,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2645,7 +2870,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 67,
"character": 2
}
],
@@ -2655,7 +2880,7 @@
}
},
{
- "id": 384,
+ "id": 395,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2668,23 +2893,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 62,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 374,
+ "id": 384,
"name": "SortBy",
"dereferenced": {
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2694,7 +2919,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -2704,7 +2929,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2714,7 +2939,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -2728,13 +2953,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
@@ -2746,26 +2971,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [382, 383, 385, 384]
+ "children": [393, 394, 396, 395]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 48,
"character": 17
}
]
},
{
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2775,7 +3000,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -2785,7 +3010,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2795,7 +3020,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -2809,26 +3034,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
},
{
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -2837,12 +3062,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -2852,7 +3077,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -2865,7 +3090,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -2875,7 +3100,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -2883,12 +3108,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -2898,7 +3123,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -2911,7 +3136,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -2934,7 +3159,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -2947,7 +3172,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -2961,19 +3186,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
},
{
- "id": 396,
+ "id": 407,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2987,14 +3212,14 @@
],
"signatures": [
{
- "id": 397,
+ "id": 408,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 398,
+ "id": 409,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -3011,7 +3236,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3023,17 +3248,17 @@
{
"title": "Classes",
"kind": 128,
- "children": [404, 266, 399, 417]
+ "children": [415, 270, 410, 428]
},
{
"title": "Interfaces",
"kind": 256,
- "children": [357, 386, 364, 377, 388, 381, 374, 390]
+ "children": [365, 397, 374, 387, 399, 392, 384, 401]
},
{
"title": "Functions",
"kind": 64,
- "children": [396]
+ "children": [407]
}
],
"sources": [
@@ -3221,7 +3446,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 79,
+ "line": 81,
"character": 8
}
],
@@ -3266,6 +3491,64 @@
"kindString": "Type literal",
"flags": {},
"children": [
+ {
+ "id": 50,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 49,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 83,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
{
"id": 48,
"name": "public",
@@ -3278,7 +3561,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 81,
+ "line": 83,
"character": 15
}
],
@@ -3292,7 +3575,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [48]
+ "children": [50, 49, 48]
}
]
}
@@ -3309,14 +3592,14 @@
{
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 50,
+ "id": 52,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3324,7 +3607,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 88,
"character": 8
}
],
@@ -3333,7 +3616,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
},
{
@@ -3346,63 +3629,8 @@
"name": "Pick"
}
},
- {
- "id": 51,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [50, 51]
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 52,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
{
"id": 53,
- "name": "data",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 54,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3414,9 +3642,64 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52, 53]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 54,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 92,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 56,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 93,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3425,7 +3708,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [53, 54]
+ "children": [55, 56]
}
]
}
@@ -3441,7 +3724,7 @@
]
},
{
- "id": 80,
+ "id": 84,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -3449,13 +3732,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 185,
+ "line": 203,
"character": 8
}
],
"signatures": [
{
- "id": 81,
+ "id": 85,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -3465,7 +3748,7 @@
},
"parameters": [
{
- "id": 82,
+ "id": 86,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -3488,14 +3771,14 @@
{
"type": "reflection",
"declaration": {
- "id": 83,
+ "id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 84,
+ "id": 88,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3503,21 +3786,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 85,
+ "id": 89,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 86,
+ "id": 90,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -3525,7 +3808,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 189,
+ "line": 207,
"character": 16
}
],
@@ -3539,14 +3822,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [86]
+ "children": [90]
}
]
}
}
},
{
- "id": 87,
+ "id": 91,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3554,7 +3837,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 190,
+ "line": 208,
"character": 8
}
],
@@ -3568,7 +3851,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [84, 87]
+ "children": [88, 91]
}
]
}
@@ -3576,14 +3859,14 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 92,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 89,
+ "id": 93,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3591,7 +3874,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 193,
+ "line": 211,
"character": 8
}
],
@@ -3601,7 +3884,7 @@
}
},
{
- "id": 90,
+ "id": 94,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3609,13 +3892,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 194,
+ "line": 212,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3624,7 +3907,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [89, 90]
+ "children": [93, 94]
}
]
}
@@ -3640,7 +3923,7 @@
]
},
{
- "id": 69,
+ "id": 73,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -3648,13 +3931,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 150,
+ "line": 168,
"character": 8
}
],
"signatures": [
{
- "id": 70,
+ "id": 74,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -3664,7 +3947,7 @@
},
"parameters": [
{
- "id": 71,
+ "id": 75,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -3687,14 +3970,14 @@
{
"type": "reflection",
"declaration": {
- "id": 72,
+ "id": 76,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 73,
+ "id": 77,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3702,21 +3985,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 74,
+ "id": 78,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 75,
+ "id": 79,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -3724,7 +4007,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 154,
+ "line": 172,
"character": 16
}
],
@@ -3738,14 +4021,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [75]
+ "children": [79]
}
]
}
}
},
{
- "id": 76,
+ "id": 80,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3753,7 +4036,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 155,
+ "line": 173,
"character": 8
}
],
@@ -3767,7 +4050,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [73, 76]
+ "children": [77, 80]
}
]
}
@@ -3775,14 +4058,14 @@
{
"type": "reflection",
"declaration": {
- "id": 77,
+ "id": 81,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 78,
+ "id": 82,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -3790,7 +4073,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 158,
+ "line": 176,
"character": 8
}
],
@@ -3800,7 +4083,7 @@
}
},
{
- "id": 79,
+ "id": 83,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -3808,13 +4091,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 159,
+ "line": 177,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -3823,7 +4106,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [78, 79]
+ "children": [82, 83]
}
]
}
@@ -3907,7 +4190,7 @@
],
"type": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
},
@@ -3981,7 +4264,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4060,7 +4343,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 357,
+ "id": 365,
"name": "Bucket"
}
}
@@ -4135,7 +4418,7 @@
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4160,7 +4443,7 @@
]
},
{
- "id": 55,
+ "id": 57,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -4168,13 +4451,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 127,
"character": 8
}
],
"signatures": [
{
- "id": 56,
+ "id": 58,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -4184,7 +4467,7 @@
},
"parameters": [
{
- "id": 57,
+ "id": 59,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -4198,7 +4481,7 @@
}
},
{
- "id": 58,
+ "id": 60,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4206,25 +4489,83 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 61,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 60,
+ "id": 64,
+ "name": "allowedMimeTypes",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the allowed mime types that this bucket can accept during upload\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 65
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 63,
+ "name": "fileSizeLimit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "specifies the file size limit that this bucket can accept during upload"
+ },
+ "sources": [
+ {
+ "fileName": "src/packages/StorageBucketApi.ts",
+ "line": 129,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 62,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations.\n"
+ "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
},
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 117,
+ "line": 129,
"character": 15
}
],
@@ -4238,7 +4579,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [60]
+ "children": [64, 63, 62]
}
]
}
@@ -4254,14 +4595,14 @@
{
"type": "reflection",
"declaration": {
- "id": 61,
+ "id": 65,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 62,
+ "id": 66,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4269,21 +4610,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 63,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 64,
+ "id": 68,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -4291,7 +4632,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 120,
+ "line": 132,
"character": 16
}
],
@@ -4305,14 +4646,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [64]
+ "children": [68]
}
]
}
}
},
{
- "id": 65,
+ "id": 69,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4320,7 +4661,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 121,
+ "line": 133,
"character": 8
}
],
@@ -4334,7 +4675,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [62, 65]
+ "children": [66, 69]
}
]
}
@@ -4342,14 +4683,14 @@
{
"type": "reflection",
"declaration": {
- "id": 66,
+ "id": 70,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 67,
+ "id": 71,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4357,7 +4698,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 124,
+ "line": 136,
"character": 8
}
],
@@ -4367,7 +4708,7 @@
}
},
{
- "id": 68,
+ "id": 72,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4375,13 +4716,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 125,
+ "line": 137,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4390,7 +4731,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [67, 68]
+ "children": [71, 72]
}
]
}
@@ -4415,7 +4756,7 @@
{
"title": "Methods",
"kind": 2048,
- "children": [43, 80, 69, 34, 26, 55]
+ "children": [43, 84, 73, 34, 26, 57]
}
],
"sources": [
@@ -4428,7 +4769,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 266,
+ "id": 270,
"name": "StorageClient"
}
]
@@ -4450,21 +4791,21 @@
]
},
{
- "id": 91,
+ "id": 95,
"name": "packages/StorageFileApi",
"kind": 2,
"kindString": "Module",
"flags": {},
"children": [
{
- "id": 92,
+ "id": 96,
"name": "default",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 93,
+ "id": 97,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4478,14 +4819,14 @@
],
"signatures": [
{
- "id": 94,
+ "id": 98,
"name": "new default",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 95,
+ "id": 99,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4496,7 +4837,7 @@
}
},
{
- "id": 96,
+ "id": 100,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -4504,20 +4845,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 97,
+ "id": 101,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 98,
+ "id": 102,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 99,
+ "id": 103,
"name": "key",
"kind": 32768,
"flags": {},
@@ -4537,7 +4878,7 @@
"defaultValue": "{}"
},
{
- "id": 100,
+ "id": 104,
"name": "bucketId",
"kind": 32768,
"kindString": "Parameter",
@@ -4550,7 +4891,7 @@
}
},
{
- "id": 101,
+ "id": 105,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -4560,21 +4901,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 106,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 103,
+ "id": 107,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 104,
+ "id": 108,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -4587,7 +4928,7 @@
}
},
{
- "id": 105,
+ "id": 109,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -4624,14 +4965,14 @@
],
"type": {
"type": "reference",
- "id": 92,
+ "id": 96,
"name": "default"
}
}
]
},
{
- "id": 169,
+ "id": 173,
"name": "copy",
"kind": 2048,
"kindString": "Method",
@@ -4639,13 +4980,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 232,
+ "line": 233,
"character": 8
}
],
"signatures": [
{
- "id": 170,
+ "id": 174,
"name": "copy",
"kind": 4096,
"kindString": "Call signature",
@@ -4655,7 +4996,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 175,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -4669,7 +5010,7 @@
}
},
{
- "id": 172,
+ "id": 176,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -4692,14 +5033,14 @@
{
"type": "reflection",
"declaration": {
- "id": 173,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 174,
+ "id": 178,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -4707,21 +5048,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 237,
+ "line": 238,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 175,
+ "id": 179,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 176,
+ "id": 180,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -4729,7 +5070,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 237,
+ "line": 238,
"character": 16
}
],
@@ -4743,14 +5084,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [176]
+ "children": [180]
}
]
}
}
},
{
- "id": 177,
+ "id": 181,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -4758,7 +5099,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 239,
"character": 8
}
],
@@ -4772,7 +5113,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [174, 177]
+ "children": [178, 181]
}
]
}
@@ -4780,36 +5121,18 @@
{
"type": "reflection",
"declaration": {
- "id": 178,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 179,
+ "id": 183,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 241,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 180,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -4817,9 +5140,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 184,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 243,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -4828,7 +5169,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [179, 180]
+ "children": [183, 184]
}
]
}
@@ -4844,7 +5185,7 @@
]
},
{
- "id": 181,
+ "id": 185,
"name": "createSignedUrl",
"kind": 2048,
"kindString": "Method",
@@ -4852,13 +5193,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 270,
+ "line": 271,
"character": 8
}
],
"signatures": [
{
- "id": 182,
+ "id": 186,
"name": "createSignedUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -4868,7 +5209,7 @@
},
"parameters": [
{
- "id": 183,
+ "id": 187,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -4882,7 +5223,7 @@
}
},
{
- "id": 184,
+ "id": 188,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -4896,7 +5237,7 @@
}
},
{
- "id": 185,
+ "id": 189,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4906,14 +5247,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 186,
+ "id": 190,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 187,
+ "id": 191,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -4926,7 +5267,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
+ "line": 274,
"character": 16
}
],
@@ -4945,7 +5286,7 @@
}
},
{
- "id": 188,
+ "id": 192,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -4958,23 +5299,23 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 273,
+ "line": 274,
"character": 45
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"dereferenced": {
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -4983,12 +5324,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -4998,7 +5339,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -5011,7 +5352,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -5021,7 +5362,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -5029,12 +5370,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -5044,7 +5385,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -5057,7 +5398,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -5080,7 +5421,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -5093,7 +5434,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -5107,13 +5448,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
@@ -5125,7 +5466,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [187, 188]
+ "children": [191, 192]
}
]
}
@@ -5141,14 +5482,14 @@
{
"type": "reflection",
"declaration": {
- "id": 189,
+ "id": 193,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 190,
+ "id": 194,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5156,21 +5497,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 276,
+ "line": 277,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 192,
+ "id": 196,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -5178,7 +5519,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 276,
+ "line": 277,
"character": 16
}
],
@@ -5192,14 +5533,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [192]
+ "children": [196]
}
]
}
}
},
{
- "id": 193,
+ "id": 197,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5207,7 +5548,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 277,
+ "line": 278,
"character": 8
}
],
@@ -5221,7 +5562,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [190, 193]
+ "children": [194, 197]
}
]
}
@@ -5229,36 +5570,18 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 198,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 195,
+ "id": 199,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 196,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5266,9 +5589,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 200,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 282,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -5277,7 +5618,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [195, 196]
+ "children": [199, 200]
}
]
}
@@ -5293,7 +5634,7 @@
]
},
{
- "id": 197,
+ "id": 201,
"name": "createSignedUrls",
"kind": 2048,
"kindString": "Method",
@@ -5301,13 +5642,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 315,
+ "line": 316,
"character": 8
}
],
"signatures": [
{
- "id": 198,
+ "id": 202,
"name": "createSignedUrls",
"kind": 4096,
"kindString": "Call signature",
@@ -5317,7 +5658,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 203,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -5334,7 +5675,7 @@
}
},
{
- "id": 200,
+ "id": 204,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -5348,7 +5689,7 @@
}
},
{
- "id": 201,
+ "id": 205,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5358,14 +5699,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 202,
+ "id": 206,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 203,
+ "id": 207,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -5376,7 +5717,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 319,
"character": 16
}
],
@@ -5399,7 +5740,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [203]
+ "children": [207]
}
]
}
@@ -5415,14 +5756,14 @@
{
"type": "reflection",
"declaration": {
- "id": 204,
+ "id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 205,
+ "id": 209,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5430,7 +5771,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 8
}
],
@@ -5439,14 +5780,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 207,
+ "id": 211,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5454,7 +5795,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 16
}
],
@@ -5473,7 +5814,7 @@
}
},
{
- "id": 208,
+ "id": 212,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -5481,7 +5822,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 38
}
],
@@ -5500,7 +5841,7 @@
}
},
{
- "id": 209,
+ "id": 213,
"name": "signedUrl",
"kind": 1024,
"kindString": "Property",
@@ -5508,7 +5849,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 321,
+ "line": 322,
"character": 59
}
],
@@ -5522,7 +5863,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [207, 208, 209]
+ "children": [211, 212, 213]
}
]
}
@@ -5530,7 +5871,7 @@
}
},
{
- "id": 210,
+ "id": 214,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -5538,7 +5879,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 323,
"character": 8
}
],
@@ -5552,7 +5893,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [205, 210]
+ "children": [209, 214]
}
]
}
@@ -5560,36 +5901,18 @@
{
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 212,
+ "id": 216,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 325,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 213,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5597,9 +5920,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 217,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 327,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -5608,7 +5949,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [212, 213]
+ "children": [216, 217]
}
]
}
@@ -5624,7 +5965,7 @@
]
},
{
- "id": 214,
+ "id": 218,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -5632,13 +5973,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 364,
+ "line": 365,
"character": 8
}
],
"signatures": [
{
- "id": 215,
+ "id": 219,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -5648,7 +5989,7 @@
},
"parameters": [
{
- "id": 216,
+ "id": 220,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5662,7 +6003,7 @@
}
},
{
- "id": 217,
+ "id": 221,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5672,14 +6013,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 219,
+ "id": 223,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -5692,23 +6033,23 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 366,
+ "line": 367,
"character": 16
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"dereferenced": {
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -5717,12 +6058,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -5732,7 +6073,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -5745,7 +6086,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -5755,7 +6096,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -5763,12 +6104,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -5778,7 +6119,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -5791,7 +6132,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -5814,7 +6155,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -5827,7 +6168,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -5841,13 +6182,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
@@ -5859,7 +6200,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [219]
+ "children": [223]
}
]
}
@@ -5875,38 +6216,18 @@
{
"type": "reflection",
"declaration": {
- "id": 220,
+ "id": 224,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 221,
+ "id": 225,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 369,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "qualifiedName": "Blob",
- "package": "typescript",
- "name": "Blob"
- }
- },
- {
- "id": 222,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5914,6 +6235,26 @@
"character": 8
}
],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Blob",
+ "package": "typescript",
+ "name": "Blob"
+ }
+ },
+ {
+ "id": 226,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 371,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -5924,7 +6265,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [221, 222]
+ "children": [225, 226]
}
]
}
@@ -5932,36 +6273,18 @@
{
"type": "reflection",
"declaration": {
- "id": 223,
+ "id": 227,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 224,
+ "id": 228,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 373,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 225,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -5969,9 +6292,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 229,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 375,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -5980,7 +6321,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [224, 225]
+ "children": [228, 229]
}
]
}
@@ -5996,7 +6337,7 @@
]
},
{
- "id": 226,
+ "id": 230,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -6004,13 +6345,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 408,
"character": 2
}
],
"signatures": [
{
- "id": 227,
+ "id": 231,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -6020,7 +6361,7 @@
},
"parameters": [
{
- "id": 228,
+ "id": 232,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -6034,7 +6375,7 @@
}
},
{
- "id": 229,
+ "id": 233,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6044,14 +6385,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 234,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 231,
+ "id": 235,
"name": "download",
"kind": 1024,
"kindString": "Property",
@@ -6064,7 +6405,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 409,
+ "line": 410,
"character": 16
}
],
@@ -6083,7 +6424,7 @@
}
},
{
- "id": 232,
+ "id": 236,
"name": "transform",
"kind": 1024,
"kindString": "Property",
@@ -6096,23 +6437,23 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 409,
+ "line": 410,
"character": 45
}
],
"type": {
"type": "reference",
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"dereferenced": {
- "id": 390,
+ "id": 401,
"name": "TransformOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 395,
+ "id": 406,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -6121,12 +6462,12 @@
},
"comment": {
"shortText": "Specify the format of the image requested.",
- "text": "When using 'origin' we force the format to be the same as the original image,\nbypassing automatic browser optimisation such as webp conversion\n"
+ "text": "When using 'origin' we force the format to be the same as the original image.\nWhen this option is not passed in, images are optimized to modern image formats like Webp.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 102,
+ "line": 110,
"character": 2
}
],
@@ -6136,7 +6477,7 @@
}
},
{
- "id": 392,
+ "id": 403,
"name": "height",
"kind": 1024,
"kindString": "Property",
@@ -6149,7 +6490,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 84,
+ "line": 90,
"character": 2
}
],
@@ -6159,7 +6500,7 @@
}
},
{
- "id": 394,
+ "id": 405,
"name": "quality",
"kind": 1024,
"kindString": "Property",
@@ -6167,12 +6508,12 @@
"isOptional": true
},
"comment": {
- "shortText": "Set the quality of the returned image, this is percentage based, default 80"
+ "shortText": "Set the quality of the returned image.\nA number from 20 to 100, with 100 being the highest quality.\nDefaults to 80"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 103,
"character": 2
}
],
@@ -6182,7 +6523,7 @@
}
},
{
- "id": 393,
+ "id": 404,
"name": "resize",
"kind": 1024,
"kindString": "Property",
@@ -6195,7 +6536,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 97,
"character": 2
}
],
@@ -6218,7 +6559,7 @@
}
},
{
- "id": 391,
+ "id": 402,
"name": "width",
"kind": 1024,
"kindString": "Property",
@@ -6231,7 +6572,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 86,
"character": 2
}
],
@@ -6245,13 +6586,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [395, 392, 394, 393, 391]
+ "children": [406, 403, 405, 404, 402]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 76,
+ "line": 82,
"character": 17
}
]
@@ -6263,7 +6604,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [231, 232]
+ "children": [235, 236]
}
]
}
@@ -6273,14 +6614,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6288,21 +6629,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
+ "line": 411,
"character": 7
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 235,
+ "id": 239,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 236,
+ "id": 240,
"name": "publicUrl",
"kind": 1024,
"kindString": "Property",
@@ -6310,7 +6651,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 410,
+ "line": 411,
"character": 15
}
],
@@ -6324,7 +6665,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [236]
+ "children": [240]
}
]
}
@@ -6335,7 +6676,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [234]
+ "children": [238]
}
]
}
@@ -6344,7 +6685,7 @@
]
},
{
- "id": 246,
+ "id": 250,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -6352,13 +6693,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 541,
+ "line": 542,
"character": 8
}
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -6368,7 +6709,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -6384,7 +6725,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6393,17 +6734,17 @@
},
"type": {
"type": "reference",
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"dereferenced": {
- "id": 381,
+ "id": 392,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 382,
+ "id": 393,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -6416,7 +6757,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 52,
"character": 2
}
],
@@ -6426,7 +6767,7 @@
}
},
{
- "id": 383,
+ "id": 394,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -6439,7 +6780,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 51,
+ "line": 57,
"character": 2
}
],
@@ -6449,7 +6790,7 @@
}
},
{
- "id": 385,
+ "id": 396,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -6462,7 +6803,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 61,
+ "line": 67,
"character": 2
}
],
@@ -6472,7 +6813,7 @@
}
},
{
- "id": 384,
+ "id": 395,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -6485,23 +6826,23 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 56,
+ "line": 62,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 374,
+ "id": 384,
"name": "SortBy",
"dereferenced": {
- "id": 374,
+ "id": 384,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 375,
+ "id": 385,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -6511,7 +6852,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 23,
+ "line": 25,
"character": 2
}
],
@@ -6521,7 +6862,7 @@
}
},
{
- "id": 376,
+ "id": 386,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -6531,7 +6872,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 26,
"character": 2
}
],
@@ -6545,13 +6886,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [375, 376]
+ "children": [385, 386]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 22,
+ "line": 24,
"character": 17
}
]
@@ -6563,13 +6904,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [382, 383, 385, 384]
+ "children": [393, 394, 396, 395]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 48,
"character": 17
}
]
@@ -6577,7 +6918,7 @@
}
},
{
- "id": 250,
+ "id": 254,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6586,17 +6927,17 @@
},
"type": {
"type": "reference",
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"dereferenced": {
- "id": 386,
+ "id": 397,
"name": "FetchParameters",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 387,
+ "id": 398,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -6609,7 +6950,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 68,
+ "line": 74,
"character": 2
}
],
@@ -6625,13 +6966,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [387]
+ "children": [398]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 64,
+ "line": 70,
"character": 17
}
]
@@ -6648,40 +6989,18 @@
{
"type": "reflection",
"declaration": {
- "id": 251,
+ "id": 255,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 252,
+ "id": 256,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 547,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 364,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 253,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6689,6 +7008,28 @@
"character": 8
}
],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 374,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 257,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 549,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -6699,7 +7040,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [252, 253]
+ "children": [256, 257]
}
]
}
@@ -6707,36 +7048,18 @@
{
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 255,
+ "id": 259,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 551,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 256,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6744,9 +7067,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 260,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 553,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -6755,7 +7096,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [255, 256]
+ "children": [259, 260]
}
]
}
@@ -6771,7 +7112,7 @@
]
},
{
- "id": 157,
+ "id": 161,
"name": "move",
"kind": 2048,
"kindString": "Method",
@@ -6779,13 +7120,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 196,
+ "line": 197,
"character": 8
}
],
"signatures": [
{
- "id": 158,
+ "id": 162,
"name": "move",
"kind": 4096,
"kindString": "Call signature",
@@ -6795,7 +7136,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 163,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -6809,7 +7150,7 @@
}
},
{
- "id": 160,
+ "id": 164,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -6832,14 +7173,14 @@
{
"type": "reflection",
"declaration": {
- "id": 161,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 162,
+ "id": 166,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6847,21 +7188,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 201,
+ "line": 202,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 163,
+ "id": 167,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 164,
+ "id": 168,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -6869,7 +7210,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 201,
+ "line": 202,
"character": 16
}
],
@@ -6883,14 +7224,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [164]
+ "children": [168]
}
]
}
}
},
{
- "id": 165,
+ "id": 169,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6898,7 +7239,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 203,
"character": 8
}
],
@@ -6912,7 +7253,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [162, 165]
+ "children": [166, 169]
}
]
}
@@ -6920,36 +7261,18 @@
{
"type": "reflection",
"declaration": {
- "id": 166,
+ "id": 170,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 167,
+ "id": 171,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 205,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 168,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -6957,9 +7280,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 172,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 207,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -6968,7 +7309,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [167, 168]
+ "children": [171, 172]
}
]
}
@@ -6984,7 +7325,7 @@
]
},
{
- "id": 237,
+ "id": 241,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -6992,13 +7333,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 445,
+ "line": 446,
"character": 8
}
],
"signatures": [
{
- "id": 238,
+ "id": 242,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -7008,7 +7349,7 @@
},
"parameters": [
{
- "id": 239,
+ "id": 243,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -7034,40 +7375,18 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 244,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 241,
+ "id": 245,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 449,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "id": 364,
- "name": "FileObject"
- }
- }
- },
- {
- "id": 242,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -7075,6 +7394,28 @@
"character": 8
}
],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 374,
+ "name": "FileObject"
+ }
+ }
+ },
+ {
+ "id": 246,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 451,
+ "character": 8
+ }
+ ],
"type": {
"type": "literal",
"value": null
@@ -7085,7 +7426,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [241, 242]
+ "children": [245, 246]
}
]
}
@@ -7093,36 +7434,18 @@
{
"type": "reflection",
"declaration": {
- "id": 243,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 244,
+ "id": 248,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 453,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 245,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -7130,9 +7453,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 249,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 455,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -7141,7 +7482,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [244, 245]
+ "children": [248, 249]
}
]
}
@@ -7157,7 +7498,7 @@
]
},
{
- "id": 144,
+ "id": 148,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -7165,13 +7506,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 163,
+ "line": 164,
"character": 8
}
],
"signatures": [
{
- "id": 145,
+ "id": 149,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -7181,7 +7522,7 @@
},
"parameters": [
{
- "id": 146,
+ "id": 150,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -7195,7 +7536,7 @@
}
},
{
- "id": 147,
+ "id": 151,
"name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
@@ -7276,7 +7617,7 @@
}
},
{
- "id": 148,
+ "id": 152,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -7285,17 +7626,17 @@
},
"type": {
"type": "reference",
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"dereferenced": {
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -7308,7 +7649,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -7318,7 +7659,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -7331,7 +7672,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -7341,7 +7682,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -7354,7 +7718,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -7368,13 +7732,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
@@ -7391,14 +7755,14 @@
{
"type": "reflection",
"declaration": {
- "id": 149,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 150,
+ "id": 154,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7406,21 +7770,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 179,
+ "line": 180,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 151,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 152,
+ "id": 156,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -7428,7 +7792,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 179,
+ "line": 180,
"character": 16
}
],
@@ -7442,14 +7806,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [152]
+ "children": [156]
}
]
}
}
},
{
- "id": 153,
+ "id": 157,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7457,7 +7821,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 180,
+ "line": 181,
"character": 8
}
],
@@ -7471,7 +7835,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [150, 153]
+ "children": [154, 157]
}
]
}
@@ -7479,36 +7843,18 @@
{
"type": "reflection",
"declaration": {
- "id": 154,
+ "id": 158,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 155,
+ "id": 159,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 183,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 156,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -7516,9 +7862,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 160,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 185,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -7527,7 +7891,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [155, 156]
+ "children": [159, 160]
}
]
}
@@ -7543,7 +7907,7 @@
]
},
{
- "id": 131,
+ "id": 135,
"name": "upload",
"kind": 2048,
"kindString": "Method",
@@ -7551,13 +7915,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 130,
+ "line": 131,
"character": 8
}
],
"signatures": [
{
- "id": 132,
+ "id": 136,
"name": "upload",
"kind": 4096,
"kindString": "Call signature",
@@ -7567,7 +7931,7 @@
},
"parameters": [
{
- "id": 133,
+ "id": 137,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -7581,7 +7945,7 @@
}
},
{
- "id": 134,
+ "id": 138,
"name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
@@ -7662,7 +8026,7 @@
}
},
{
- "id": 135,
+ "id": 139,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -7671,17 +8035,17 @@
},
"type": {
"type": "reference",
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"dereferenced": {
- "id": 377,
+ "id": 387,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 378,
+ "id": 388,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
@@ -7694,7 +8058,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 33,
"character": 2
}
],
@@ -7704,7 +8068,7 @@
}
},
{
- "id": 379,
+ "id": 389,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -7717,7 +8081,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -7727,7 +8091,30 @@
}
},
{
- "id": 380,
+ "id": 391,
+ "name": "duplex",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The duplex option is a string parameter that enables or disables duplex streaming, allowing for both reading and writing data in the same stream. It can be passed as an option to the fetch() method."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
@@ -7740,7 +8127,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 41,
"character": 2
}
],
@@ -7754,13 +8141,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [378, 379, 380]
+ "children": [388, 389, 391, 390]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 29,
"character": 17
}
]
@@ -7777,14 +8164,14 @@
{
"type": "reflection",
"declaration": {
- "id": 136,
+ "id": 140,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 137,
+ "id": 141,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7792,21 +8179,21 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 146,
+ "line": 147,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 138,
+ "id": 142,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 139,
+ "id": 143,
"name": "path",
"kind": 1024,
"kindString": "Property",
@@ -7814,7 +8201,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 146,
+ "line": 147,
"character": 16
}
],
@@ -7828,14 +8215,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [139]
+ "children": [143]
}
]
}
}
},
{
- "id": 140,
+ "id": 144,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7843,7 +8230,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 147,
+ "line": 148,
"character": 8
}
],
@@ -7857,7 +8244,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [137, 140]
+ "children": [141, 144]
}
]
}
@@ -7865,36 +8252,18 @@
{
"type": "reflection",
"declaration": {
- "id": 141,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 142,
+ "id": 146,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 150,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": null
- }
- },
- {
- "id": 143,
- "name": "error",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
@@ -7902,9 +8271,27 @@
"character": 8
}
],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 147,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 152,
+ "character": 8
+ }
+ ],
"type": {
"type": "reference",
- "id": 399,
+ "id": 410,
"name": "StorageError"
}
}
@@ -7913,7 +8300,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [142, 143]
+ "children": [146, 147]
}
]
}
@@ -7933,12 +8320,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [93]
+ "children": [97]
},
{
"title": "Methods",
"kind": 2048,
- "children": [169, 181, 197, 214, 226, 246, 157, 237, 144, 131]
+ "children": [173, 185, 201, 218, 230, 250, 161, 241, 148, 135]
}
],
"sources": [
@@ -7954,7 +8341,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [92]
+ "children": [96]
}
],
"sources": [
@@ -7970,7 +8357,7 @@
{
"title": "Modules",
"kind": 2,
- "children": [1, 2, 91]
+ "children": [1, 2, 95]
}
]
}
diff --git a/spec/examples/examples.yml b/spec/examples/examples.yml
index addc287a9d5..5b00d6b5071 100644
--- a/spec/examples/examples.yml
+++ b/spec/examples/examples.yml
@@ -4966,7 +4966,8 @@ functions:
})
if (error instanceof FunctionsHttpError) {
- console.log('Function returned an error', error.message)
+ const errorMessage = await error.context.json()
+ console.log('Function returned an error', errorMessage)
} else if (error instanceof FunctionsRelayError) {
console.log('Relay error:', error.message)
} else if (error instanceof FunctionsFetchError) {
diff --git a/spec/storage_v0_openapi.json b/spec/storage_v0_openapi.json
index 2e55841a828..60b352d84d1 100644
--- a/spec/storage_v0_openapi.json
+++ b/spec/storage_v0_openapi.json
@@ -12,7 +12,9 @@
"properties": {
"authorization": {
"type": "string",
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "examples": [
+ "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ ]
}
},
"required": ["authorization"],
@@ -31,6 +33,43 @@
}
},
"paths": {
+ "/metrics": { "get": { "responses": { "200": { "description": "Default Response" } } } },
+ "/upload/resumable/": {
+ "post": {
+ "summary": "Handle POST request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": { "200": { "description": "Default Response" } }
+ },
+ "options": {
+ "summary": "Handle OPTIONS request for TUS Resumable uploads",
+ "tags": ["object"],
+ "description": "Handle OPTIONS request for TUS Resumable uploads",
+ "responses": { "200": { "description": "Default Response" } }
+ }
+ },
+ "/upload/resumable/{wildcard}": {
+ "post": {
+ "summary": "Handle POST request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": { "200": { "description": "Default Response" } }
+ },
+ "put": {
+ "summary": "Handle PUT request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": { "200": { "description": "Default Response" } }
+ },
+ "patch": {
+ "summary": "Handle PATCH request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": { "200": { "description": "Default Response" } }
+ },
+ "options": {
+ "summary": "Handle OPTIONS request for TUS Resumable uploads",
+ "tags": ["object"],
+ "description": "Handle OPTIONS request for TUS Resumable uploads",
+ "responses": { "200": { "description": "Default Response" } }
+ }
+ },
"/bucket/": {
"post": {
"summary": "Create a bucket",
@@ -41,11 +80,20 @@
"schema": {
"type": "object",
"properties": {
- "name": { "type": "string", "example": "avatars" },
- "id": { "type": "string", "example": "avatars" },
- "public": { "type": "boolean", "example": false },
- "file_size_limit": { "anyOf": [{ "type": "integer" }, { "type": "string" }] },
- "allowed_mime_types": { "type": "array", "items": { "type": "string" } }
+ "name": { "type": "string", "examples": ["avatars"] },
+ "id": { "type": "string", "examples": ["avatars"] },
+ "public": { "type": "boolean", "examples": [false] },
+ "file_size_limit": {
+ "anyOf": [
+ { "type": "integer", "examples": [1000] },
+ { "type": "string", "examples": ["100MB"] }
+ ]
+ },
+ "allowed_mime_types": {
+ "type": "array",
+ "items": { "type": "string" },
+ "examples": [["image/png", "image/jpg"]]
+ }
},
"required": ["name"]
}
@@ -55,11 +103,11 @@
},
"parameters": [
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -70,7 +118,7 @@
"schema": {
"description": "Successful response",
"type": "object",
- "properties": { "name": { "type": "string", "example": "avatars" } },
+ "properties": { "name": { "type": "string", "examples": ["avatars"] } },
"required": ["name"]
}
}
@@ -91,11 +139,11 @@
"tags": ["bucket"],
"parameters": [
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -123,30 +171,29 @@
},
"required": ["id", "name"],
"additionalProperties": false,
- "title": "bucketSchema",
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
- },
- "example": [
- {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
- ]
+ "examples": [
+ {
+ "id": "bucket2",
+ "name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
+ "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "created_at": "2021-02-17T04:43:32.770206+00:00",
+ "updated_at": "2021-02-17T04:43:32.770206+00:00"
+ }
+ ],
+ "title": "bucketSchema"
+ }
},
"example": [
{
- "id": "bucket2",
- "name": "bucket2",
+ "id": "avatars",
+ "name": "avatars",
"owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
"created_at": "2021-02-17T04:43:32.770206+00:00",
"updated_at": "2021-02-17T04:43:32.770206+00:00"
}
@@ -171,18 +218,18 @@
"tags": ["bucket"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketId",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -194,7 +241,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "message": { "type": "string", "example": "Successfully emptied" }
+ "message": { "type": "string", "examples": ["Successfully emptied"] }
}
}
}
@@ -217,18 +264,18 @@
"tags": ["bucket"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketId",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -253,18 +300,14 @@
"updated_at": { "type": "string" }
},
"required": ["id", "name"],
- "additionalProperties": false,
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
+ "additionalProperties": false
},
"example": {
"id": "bucket2",
"name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
"owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
"created_at": "2021-02-17T04:43:32.770206+00:00",
"updated_at": "2021-02-17T04:43:32.770206+00:00"
@@ -291,9 +334,17 @@
"schema": {
"type": "object",
"properties": {
- "public": { "type": "boolean", "example": false },
- "file_size_limit": { "anyOf": [{ "type": "integer" }, { "type": "string" }] },
- "allowed_mime_types": { "type": "array", "items": { "type": "string" } }
+ "public": { "type": "boolean", "examples": [false] },
+ "file_size_limit": {
+ "anyOf": [
+ { "type": "integer", "examples": [1000] },
+ { "type": "string", "examples": ["100MB"] }
+ ]
+ },
+ "allowed_mime_types": {
+ "type": "array",
+ "items": { "type": "string", "examples": [["image/png", "image/jpg"]] }
+ }
}
}
}
@@ -301,11 +352,11 @@
},
"parameters": [
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -317,7 +368,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "message": { "type": "string", "example": "Successfully updated" }
+ "message": { "type": "string", "examples": ["Successfully updated"] }
},
"required": ["message"]
}
@@ -339,18 +390,18 @@
"tags": ["bucket"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketId",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -362,7 +413,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "message": { "type": "string", "example": "Successfully deleted" }
+ "message": { "type": "string", "examples": ["Successfully deleted"] }
}
}
}
@@ -385,25 +436,25 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -415,7 +466,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "message": { "type": "string", "example": "Successfully deleted" }
+ "message": { "type": "string", "examples": ["Successfully deleted"] }
}
}
}
@@ -437,25 +488,25 @@
"description": "use GET /object/authenticated/{bucketName} instead",
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -472,25 +523,25 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -502,7 +553,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "Key": { "type": "string", "example": "projectref/avatars/folder/cat.png" }
+ "Key": { "type": "string", "examples": ["avatars/folder/cat.png"] }
},
"required": ["Key"]
}
@@ -524,25 +575,25 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -554,7 +605,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "Key": { "type": "string", "example": "avatars/folder/cat.png" }
+ "Key": { "type": "string", "examples": ["avatars/folder/cat.png"] }
},
"required": ["Key"]
}
@@ -586,7 +637,7 @@
"type": "array",
"items": { "type": "string" },
"minItems": 1,
- "example": ["folder/cat.png", "folder/morecats.png"]
+ "examples": [["folder/cat.png", "folder/morecats.png"]]
}
},
"required": ["prefixes"]
@@ -597,18 +648,18 @@
},
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -625,9 +676,9 @@
"name": { "type": "string" },
"bucket_id": { "type": "string" },
"owner": { "type": "string" },
+ "version": { "type": "string" },
"id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"updated_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
- "version": { "type": "string" },
"created_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"last_accessed_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"metadata": {
@@ -653,28 +704,35 @@
},
"required": ["id", "name"],
"additionalProperties": false,
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
+ "examples": [
+ {
+ "id": "bucket2",
+ "name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
+ "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "created_at": "2021-02-17T04:43:32.770206+00:00",
+ "updated_at": "2021-02-17T04:43:32.770206+00:00"
+ }
+ ]
}
},
"required": ["name"],
"additionalProperties": false,
- "title": "objectSchema",
- "example": {
- "name": "folder/cat.png",
- "bucket_id": "avatars",
- "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
- "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
- "updated_at": "2021-04-06T16:30:35.394674+00:00",
- "created_at": "2021-04-06T16:30:35.394674+00:00",
- "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
- "metadata": { "size": 1234 }
- }
+ "examples": [
+ {
+ "name": "folder/cat.png",
+ "bucket_id": "avatars",
+ "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
+ "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
+ "updated_at": "2021-04-06T16:30:35.394674+00:00",
+ "created_at": "2021-04-06T16:30:35.394674+00:00",
+ "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
+ "metadata": { "size": 1234 }
+ }
+ ],
+ "title": "objectSchema"
}
}
}
@@ -697,25 +755,25 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -736,25 +794,25 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -768,7 +826,9 @@
"properties": {
"url": {
"type": "string",
- "example": "/object/sign/upload/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ "examples": [
+ "/object/sign/upload/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ ]
}
},
"required": ["url"]
@@ -791,24 +851,21 @@
"tags": ["object"],
"parameters": [
{
- "schema": {
- "type": "string",
- "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk"
- },
+ "schema": { "type": "string" },
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk",
"in": "query",
"name": "token",
"required": true
},
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
@@ -817,14 +874,14 @@
],
"responses": {
"200": {
- "description": "Successful response",
+ "description": "Succesful response",
"content": {
"application/json": {
"schema": {
- "description": "Successful response",
+ "description": "Succesful response",
"type": "object",
"properties": {
- "Key": { "type": "string", "example": "projectref/avatars/folder/cat.png" }
+ "Key": { "type": "string", "examples": ["avatars/folder/cat.png"] }
},
"required": ["Key"]
}
@@ -852,12 +909,12 @@
"schema": {
"type": "object",
"properties": {
- "expiresIn": { "type": "integer", "minimum": 1, "example": 60000 },
+ "expiresIn": { "type": "integer", "minimum": 1, "examples": [60000] },
"transform": {
"type": "object",
"properties": {
- "height": { "type": "integer", "minimum": 0, "example": 100 },
- "width": { "type": "integer", "minimum": 0, "example": 100 },
+ "height": { "type": "integer", "examples": [100], "minimum": 0 },
+ "width": { "type": "integer", "examples": [100], "minimum": 0 },
"resize": { "type": "string", "enum": ["cover", "contain", "fill"] },
"format": { "type": "string", "enum": ["origin", "avif"] },
"quality": { "type": "integer", "minimum": 20, "maximum": 100 }
@@ -872,25 +929,25 @@
},
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -904,7 +961,9 @@
"properties": {
"signedURL": {
"type": "string",
- "example": "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ "examples": [
+ "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ ]
}
},
"required": ["signedURL"]
@@ -937,24 +996,21 @@
"required": false
},
{
- "schema": {
- "type": "string",
- "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk"
- },
+ "schema": { "type": "string" },
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk",
"in": "query",
"name": "token",
"required": true
},
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
@@ -983,12 +1039,12 @@
"schema": {
"type": "object",
"properties": {
- "expiresIn": { "type": "integer", "minimum": 1, "example": 60000 },
+ "expiresIn": { "type": "integer", "minimum": 1, "examples": [60000] },
"paths": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
- "example": ["folder/cat.png", "folder/morecats.png"]
+ "examples": [["folder/cat.png", "folder/morecats.png"]]
}
},
"required": ["expiresIn", "paths"]
@@ -999,18 +1055,18 @@
},
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -1026,12 +1082,16 @@
"properties": {
"error": {
"error": ["string", "null"],
- "example": "Either the object does not exist or you do not have access to it"
+ "examples": [
+ "Either the object does not exist or you do not have access to it"
+ ]
},
- "path": { "type": "string", "example": "folder/cat.png" },
+ "version": { "type": "string", "examples": ["folder/cat.png"] },
"signedURL": {
"type": ["null", "string"],
- "example": "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ "examples": [
+ "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ ]
}
},
"required": ["error", "path", "signedURL"]
@@ -1061,9 +1121,9 @@
"schema": {
"type": "object",
"properties": {
- "bucketId": { "type": "string", "example": "avatars" },
- "sourceKey": { "type": "string", "example": "folder/cat.png" },
- "destinationKey": { "type": "string", "example": "folder/newcat.png" }
+ "bucketId": { "type": "string", "examples": ["avatars"] },
+ "sourceKey": { "type": "string", "examples": ["folder/cat.png"] },
+ "destinationKey": { "type": "string", "examples": ["folder/newcat.png"] }
},
"required": ["bucketId", "sourceKey", "destinationKey"]
}
@@ -1073,11 +1133,11 @@
},
"parameters": [
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -1089,7 +1149,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "message": { "type": "string", "example": "Successfully moved" }
+ "message": { "type": "string", "examples": ["Successfully moved"] }
},
"required": ["message"]
}
@@ -1117,9 +1177,9 @@
"schema": {
"type": "object",
"properties": {
- "prefix": { "type": "string", "example": "folder/subfolder" },
- "limit": { "type": "integer", "minimum": 1, "example": 10 },
- "offset": { "type": "integer", "minimum": 0, "example": 0 },
+ "prefix": { "type": "string", "examples": ["folder/subfolder"] },
+ "limit": { "type": "integer", "minimum": 1, "examples": [10] },
+ "offset": { "type": "integer", "minimum": 0, "examples": [0] },
"sortBy": {
"type": "object",
"properties": {
@@ -1142,11 +1202,11 @@
"parameters": [
{ "schema": { "type": "string" }, "in": "path", "name": "bucketName", "required": true },
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -1163,9 +1223,9 @@
"name": { "type": "string" },
"bucket_id": { "type": "string" },
"owner": { "type": "string" },
+ "version": { "type": "string" },
"id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"updated_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
- "version": { "type": "string" },
"created_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"last_accessed_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"metadata": {
@@ -1191,27 +1251,34 @@
},
"required": ["id", "name"],
"additionalProperties": false,
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
+ "examples": [
+ {
+ "id": "bucket2",
+ "name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
+ "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "created_at": "2021-02-17T04:43:32.770206+00:00",
+ "updated_at": "2021-02-17T04:43:32.770206+00:00"
+ }
+ ]
}
},
"required": ["name"],
"additionalProperties": false,
- "example": {
- "name": "folder/cat.png",
- "bucket_id": "avatars",
- "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
- "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
- "updated_at": "2021-04-06T16:30:35.394674+00:00",
- "created_at": "2021-04-06T16:30:35.394674+00:00",
- "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
- "metadata": { "size": 1234 }
- }
+ "examples": [
+ {
+ "name": "folder/cat.png",
+ "bucket_id": "avatars",
+ "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
+ "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
+ "updated_at": "2021-04-06T16:30:35.394674+00:00",
+ "created_at": "2021-04-06T16:30:35.394674+00:00",
+ "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
+ "metadata": { "size": 1234 }
+ }
+ ]
}
}
}
@@ -1234,25 +1301,25 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -1274,25 +1341,25 @@
"description": "use HEAD /object/authenticated/{bucketName} instead",
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -1315,9 +1382,9 @@
"schema": {
"type": "object",
"properties": {
- "sourceKey": { "type": "string", "example": "folder/source.png" },
- "bucketId": { "type": "string", "example": "avatars" },
- "destinationKey": { "type": "string", "example": "folder/destination.png" }
+ "sourceKey": { "type": "string", "examples": ["folder/source.png"] },
+ "bucketId": { "type": "string", "examples": ["avatars"] },
+ "destinationKey": { "type": "string", "examples": ["folder/destination.png"] }
},
"required": ["sourceKey", "bucketId", "destinationKey"]
}
@@ -1327,11 +1394,11 @@
},
"parameters": [
{
+ "schema": { "type": "string" },
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
- "required": true,
- "schema": { "type": "string" },
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "required": true
}
],
"responses": {
@@ -1343,7 +1410,7 @@
"description": "Successful response",
"type": "object",
"properties": {
- "Key": { "type": "string", "example": "folder/destination.png" }
+ "Key": { "type": "string", "examples": ["folder/destination.png"] }
},
"required": ["Key"]
}
@@ -1367,14 +1434,14 @@
"tags": ["object"],
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
@@ -1396,17 +1463,18 @@
"/object/info/public/{bucketName}/{wildcard}": {
"get": {
"summary": "Get object info",
+ "tags": ["object"],
"description": "returns object info",
"parameters": [
{
- "schema": { "type": "string", "example": "avatars" },
+ "schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
- "schema": { "type": "string", "example": "folder/cat.png" },
+ "schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
@@ -1422,6 +1490,194 @@
}
}
}
+ },
+ "/render/image/authenticated/{bucketName}/{wildcard}": {
+ "get": {
+ "summary": "Render an authenticated image with the given transformations",
+ "tags": ["object"],
+ "parameters": [
+ {
+ "schema": { "type": "integer", "minimum": 0 },
+ "example": 100,
+ "in": "query",
+ "name": "height",
+ "required": false
+ },
+ {
+ "schema": { "type": "integer", "minimum": 0 },
+ "example": 100,
+ "in": "query",
+ "name": "width",
+ "required": false
+ },
+ {
+ "schema": { "type": "string", "enum": ["cover", "contain", "fill"] },
+ "in": "query",
+ "name": "resize",
+ "required": false
+ },
+ {
+ "schema": { "type": "string", "enum": ["origin", "avif"] },
+ "in": "query",
+ "name": "format",
+ "required": false
+ },
+ {
+ "schema": { "type": "integer", "minimum": 20, "maximum": 100 },
+ "in": "query",
+ "name": "quality",
+ "required": false
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "filename.png",
+ "in": "query",
+ "name": "download",
+ "required": false
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "avatars",
+ "in": "path",
+ "name": "bucketName",
+ "required": true
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "folder/cat.png",
+ "in": "path",
+ "name": "*",
+ "required": true
+ }
+ ],
+ "responses": {
+ "4XX": {
+ "description": "Error response",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/def-1", "description": "Error response" }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/render/image/sign/{bucketName}/{wildcard}": {
+ "get": {
+ "summary": "Render an authenticated image with the given transformations",
+ "tags": ["object"],
+ "parameters": [
+ {
+ "schema": { "type": "string" },
+ "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk",
+ "in": "query",
+ "name": "token",
+ "required": true
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "filename.png",
+ "in": "query",
+ "name": "download",
+ "required": false
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "avatars",
+ "in": "path",
+ "name": "bucketName",
+ "required": true
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "folder/cat.png",
+ "in": "path",
+ "name": "*",
+ "required": true
+ }
+ ],
+ "responses": {
+ "4XX": {
+ "description": "Error response",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/def-1", "description": "Error response" }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/render/image/public/{bucketName}/{wildcard}": {
+ "get": {
+ "summary": "Render a public image with the given transformations",
+ "tags": ["object"],
+ "parameters": [
+ {
+ "schema": { "type": "integer", "minimum": 0 },
+ "example": 100,
+ "in": "query",
+ "name": "height",
+ "required": false
+ },
+ {
+ "schema": { "type": "integer", "minimum": 0 },
+ "example": 100,
+ "in": "query",
+ "name": "width",
+ "required": false
+ },
+ {
+ "schema": { "type": "string", "enum": ["cover", "contain", "fill"] },
+ "in": "query",
+ "name": "resize",
+ "required": false
+ },
+ {
+ "schema": { "type": "string", "enum": ["origin", "avif"] },
+ "in": "query",
+ "name": "format",
+ "required": false
+ },
+ {
+ "schema": { "type": "integer", "minimum": 20, "maximum": 100 },
+ "in": "query",
+ "name": "quality",
+ "required": false
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "filename.png",
+ "in": "query",
+ "name": "download",
+ "required": false
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "avatars",
+ "in": "path",
+ "name": "bucketName",
+ "required": true
+ },
+ {
+ "schema": { "type": "string" },
+ "example": "folder/cat.png",
+ "in": "path",
+ "name": "*",
+ "required": true
+ }
+ ],
+ "responses": {
+ "4XX": {
+ "description": "Error response",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/def-1", "description": "Error response" }
+ }
+ }
+ }
+ }
+ }
}
},
"tags": [
diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml
index 8c8df4ce60b..b3931572bca 100644
--- a/spec/supabase_js_v2.yml
+++ b/spec/supabase_js_v2.yml
@@ -325,7 +325,7 @@ functions:
notes: |
- Before you can call this method you need to [establish a connection](/docs/guides/auth/sso/auth-sso-saml#managing-saml-20-connections) to an identity provider. Use the [CLI commands](/docs/reference/cli/supabase-sso) to do this.
- If you've associated an email domain to the identity provider, you can use the `domain` property to start a sign-in flow.
- - In case you need to use a different way to start the authentication flow with an identity provider, you can use the `providerId` property. For example:
+ - In case you need to use a different way to start the authentication flow with an identity provider, you can use the `providerId` property. For example:
- Mapping specific user email addresses with an identity provider.
- Using different hints to identity the identity provider to be used by the user, like a company-specific page, IP address or other tracking information.
examples:
@@ -4201,7 +4201,8 @@ functions:
})
if (error instanceof FunctionsHttpError) {
- console.log('Function returned an error', error.message)
+ const errorMessage = await error.context.json()
+ console.log('Function returned an error', errorMessage)
} else if (error instanceof FunctionsRelayError) {
console.log('Relay error:', error.message)
} else if (error instanceof FunctionsFetchError) {
diff --git a/spec/transforms/analytics_v0_openapi_deparsed.json b/spec/transforms/analytics_v0_openapi_deparsed.json
index 0f150f95c54..868f70d3849 100644
--- a/spec/transforms/analytics_v0_openapi_deparsed.json
+++ b/spec/transforms/analytics_v0_openapi_deparsed.json
@@ -43,10 +43,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
},
@@ -179,9 +176,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
},
@@ -200,10 +195,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -257,20 +249,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
},
@@ -283,10 +267,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -335,13 +316,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
@@ -401,10 +376,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
},
@@ -416,9 +388,7 @@
}
},
"summary": "List endpoints",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"post": {
"callbacks": {},
@@ -465,10 +435,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -519,10 +486,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -542,9 +506,7 @@
}
},
"summary": "Create endpoint",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
}
},
"/api/endpoints/{token}": {
@@ -585,10 +547,7 @@
}
},
"summary": "Delete endpoint",
- "tags": [
- "management",
- "management"
- ]
+ "tags": ["management", "management"]
},
"get": {
"callbacks": {},
@@ -646,10 +605,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -669,9 +625,7 @@
}
},
"summary": "Fetch endpoint",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"patch": {
"callbacks": {},
@@ -728,10 +682,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -782,10 +733,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -805,9 +753,7 @@
}
},
"summary": "Update endpoint",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"put": {
"callbacks": {},
@@ -864,10 +810,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -918,10 +861,7 @@
"type": "string"
}
},
- "required": [
- "name",
- "query"
- ],
+ "required": ["name", "query"],
"title": "Endpoint",
"type": "object"
}
@@ -941,9 +881,7 @@
}
},
"summary": "Update endpoint",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
}
},
"/api/sources": {
@@ -1046,9 +984,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
},
@@ -1060,9 +996,7 @@
}
},
"summary": "List sources",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"post": {
"callbacks": {},
@@ -1161,9 +1095,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1266,9 +1198,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1288,9 +1218,7 @@
}
},
"summary": "Create source",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
}
},
"/api/sources/{token}": {
@@ -1331,9 +1259,7 @@
}
},
"summary": "Delete source",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"get": {
"callbacks": {},
@@ -1443,9 +1369,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1465,9 +1389,7 @@
}
},
"summary": "Fetch source",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"patch": {
"callbacks": {},
@@ -1576,9 +1498,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1681,9 +1601,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1703,9 +1621,7 @@
}
},
"summary": "Update source",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"put": {
"callbacks": {},
@@ -1814,9 +1730,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1919,9 +1833,7 @@
"type": "string"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Source",
"type": "object"
}
@@ -1941,9 +1853,7 @@
}
},
"summary": "Update source",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
}
},
"/api/teams": {
@@ -1971,10 +1881,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2028,20 +1935,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
},
@@ -2053,9 +1952,7 @@
}
},
"summary": "List teams",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"post": {
"callbacks": {},
@@ -2079,10 +1976,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2136,20 +2030,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2177,10 +2063,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2234,20 +2117,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2267,9 +2142,7 @@
}
},
"summary": "Create Team",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
}
},
"/api/teams/{token}": {
@@ -2310,9 +2183,7 @@
}
},
"summary": "Delete Team",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"get": {
"callbacks": {},
@@ -2347,10 +2218,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2404,20 +2272,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2437,9 +2297,7 @@
}
},
"summary": "Fetch team",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"patch": {
"callbacks": {},
@@ -2473,10 +2331,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2530,20 +2385,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2571,10 +2418,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2628,20 +2472,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2661,9 +2497,7 @@
}
},
"summary": "Update team",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
},
"put": {
"callbacks": {},
@@ -2697,10 +2531,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2754,20 +2585,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2795,10 +2618,7 @@
"type": "string"
}
},
- "required": [
- "email",
- "name"
- ],
+ "required": ["email", "name"],
"title": "TeamUser",
"type": "object"
},
@@ -2852,20 +2672,12 @@
"type": "string"
}
},
- "required": [
- "email",
- "provider",
- "token",
- "provider_uid",
- "api_key"
- ],
+ "required": ["email", "provider", "token", "provider_uid", "api_key"],
"title": "User",
"type": "object"
}
},
- "required": [
- "name"
- ],
+ "required": ["name"],
"title": "Team",
"type": "object"
}
@@ -2885,9 +2697,7 @@
}
},
"summary": "Update team",
- "tags": [
- "management"
- ]
+ "tags": ["management"]
}
}
},
diff --git a/spec/transforms/storage_v0_openapi_deparsed.json b/spec/transforms/storage_v0_openapi_deparsed.json
index 992bf307a3a..d3a5b288c84 100644
--- a/spec/transforms/storage_v0_openapi_deparsed.json
+++ b/spec/transforms/storage_v0_openapi_deparsed.json
@@ -12,7 +12,9 @@
"properties": {
"authorization": {
"type": "string",
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "examples": [
+ "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ ]
}
},
"required": ["authorization"],
@@ -37,6 +39,75 @@
}
},
"paths": {
+ "/metrics": {
+ "get": {
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ }
+ },
+ "/upload/resumable/": {
+ "post": {
+ "summary": "Handle POST request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ },
+ "options": {
+ "summary": "Handle OPTIONS request for TUS Resumable uploads",
+ "tags": ["object"],
+ "description": "Handle OPTIONS request for TUS Resumable uploads",
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ }
+ },
+ "/upload/resumable/{wildcard}": {
+ "post": {
+ "summary": "Handle POST request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ },
+ "put": {
+ "summary": "Handle PUT request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Handle PATCH request for TUS Resumable uploads",
+ "tags": ["object"],
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ },
+ "options": {
+ "summary": "Handle OPTIONS request for TUS Resumable uploads",
+ "tags": ["object"],
+ "description": "Handle OPTIONS request for TUS Resumable uploads",
+ "responses": {
+ "200": {
+ "description": "Default Response"
+ }
+ }
+ }
+ },
"/bucket/": {
"post": {
"summary": "Create a bucket",
@@ -49,23 +120,25 @@
"properties": {
"name": {
"type": "string",
- "example": "avatars"
+ "examples": ["avatars"]
},
"id": {
"type": "string",
- "example": "avatars"
+ "examples": ["avatars"]
},
"public": {
"type": "boolean",
- "example": false
+ "examples": [false]
},
"file_size_limit": {
"anyOf": [
{
- "type": "integer"
+ "type": "integer",
+ "examples": [1000]
},
{
- "type": "string"
+ "type": "string",
+ "examples": ["100MB"]
}
]
},
@@ -73,7 +146,8 @@
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [["image/png", "image/jpg"]]
}
},
"required": ["name"]
@@ -84,13 +158,13 @@
},
"parameters": [
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -104,7 +178,7 @@
"properties": {
"name": {
"type": "string",
- "example": "avatars"
+ "examples": ["avatars"]
}
},
"required": ["name"]
@@ -143,13 +217,13 @@
"tags": ["bucket"],
"parameters": [
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -193,30 +267,29 @@
},
"required": ["id", "name"],
"additionalProperties": false,
- "title": "bucketSchema",
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
- },
- "example": [
- {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
- ]
+ "examples": [
+ {
+ "id": "bucket2",
+ "name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
+ "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "created_at": "2021-02-17T04:43:32.770206+00:00",
+ "updated_at": "2021-02-17T04:43:32.770206+00:00"
+ }
+ ],
+ "title": "bucketSchema"
+ }
},
"example": [
{
- "id": "bucket2",
- "name": "bucket2",
+ "id": "avatars",
+ "name": "avatars",
"owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
"created_at": "2021-02-17T04:43:32.770206+00:00",
"updated_at": "2021-02-17T04:43:32.770206+00:00"
}
@@ -258,8 +331,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -267,13 +339,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -287,7 +359,7 @@
"properties": {
"message": {
"type": "string",
- "example": "Successfully emptied"
+ "examples": ["Successfully emptied"]
}
}
}
@@ -328,8 +400,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -337,13 +408,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -384,18 +455,14 @@
}
},
"required": ["id", "name"],
- "additionalProperties": false,
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
+ "additionalProperties": false
},
"example": {
"id": "bucket2",
"name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
"owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
"created_at": "2021-02-17T04:43:32.770206+00:00",
"updated_at": "2021-02-17T04:43:32.770206+00:00"
@@ -440,22 +507,25 @@
"properties": {
"public": {
"type": "boolean",
- "example": false
+ "examples": [false]
},
"file_size_limit": {
"anyOf": [
{
- "type": "integer"
+ "type": "integer",
+ "examples": [1000]
},
{
- "type": "string"
+ "type": "string",
+ "examples": ["100MB"]
}
]
},
"allowed_mime_types": {
"type": "array",
"items": {
- "type": "string"
+ "type": "string",
+ "examples": [["image/png", "image/jpg"]]
}
}
}
@@ -465,13 +535,13 @@
},
"parameters": [
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -485,7 +555,7 @@
"properties": {
"message": {
"type": "string",
- "example": "Successfully updated"
+ "examples": ["Successfully updated"]
}
},
"required": ["message"]
@@ -525,8 +595,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -534,13 +603,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -554,7 +623,7 @@
"properties": {
"message": {
"type": "string",
- "example": "Successfully deleted"
+ "examples": ["Successfully deleted"]
}
}
}
@@ -595,8 +664,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -605,8 +673,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -614,13 +681,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -634,7 +701,7 @@
"properties": {
"message": {
"type": "string",
- "example": "Successfully deleted"
+ "examples": ["Successfully deleted"]
}
}
}
@@ -674,8 +741,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -684,8 +750,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -693,13 +758,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -734,8 +799,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -744,8 +808,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -753,13 +816,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -773,7 +836,7 @@
"properties": {
"Key": {
"type": "string",
- "example": "projectref/avatars/folder/cat.png"
+ "examples": ["avatars/folder/cat.png"]
}
},
"required": ["Key"]
@@ -813,8 +876,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -823,8 +885,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -832,13 +893,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -852,7 +913,7 @@
"properties": {
"Key": {
"type": "string",
- "example": "avatars/folder/cat.png"
+ "examples": ["avatars/folder/cat.png"]
}
},
"required": ["Key"]
@@ -903,7 +964,7 @@
"type": "string"
},
"minItems": 1,
- "example": ["folder/cat.png", "folder/morecats.png"]
+ "examples": [["folder/cat.png", "folder/morecats.png"]]
}
},
"required": ["prefixes"]
@@ -915,8 +976,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -924,13 +984,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -953,6 +1013,9 @@
"owner": {
"type": "string"
},
+ "version": {
+ "type": "string"
+ },
"id": {
"anyOf": [
{
@@ -973,9 +1036,6 @@
}
]
},
- "version": {
- "type": "string"
- },
"created_at": {
"anyOf": [
{
@@ -1040,30 +1100,37 @@
},
"required": ["id", "name"],
"additionalProperties": false,
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
+ "examples": [
+ {
+ "id": "bucket2",
+ "name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
+ "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "created_at": "2021-02-17T04:43:32.770206+00:00",
+ "updated_at": "2021-02-17T04:43:32.770206+00:00"
+ }
+ ]
}
},
"required": ["name"],
"additionalProperties": false,
- "title": "objectSchema",
- "example": {
- "name": "folder/cat.png",
- "bucket_id": "avatars",
- "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
- "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
- "updated_at": "2021-04-06T16:30:35.394674+00:00",
- "created_at": "2021-04-06T16:30:35.394674+00:00",
- "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
- "metadata": {
- "size": 1234
+ "examples": [
+ {
+ "name": "folder/cat.png",
+ "bucket_id": "avatars",
+ "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
+ "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
+ "updated_at": "2021-04-06T16:30:35.394674+00:00",
+ "created_at": "2021-04-06T16:30:35.394674+00:00",
+ "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
+ "metadata": {
+ "size": 1234
+ }
}
- }
+ ],
+ "title": "objectSchema"
}
}
}
@@ -1103,8 +1170,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1113,8 +1179,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -1122,13 +1187,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -1166,8 +1231,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1176,8 +1240,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -1185,13 +1248,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -1205,7 +1268,9 @@
"properties": {
"url": {
"type": "string",
- "example": "/object/sign/upload/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ "examples": [
+ "/object/sign/upload/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ ]
}
},
"required": ["url"]
@@ -1245,8 +1310,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk"
+ "type": "string"
},
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk",
"in": "query",
@@ -1255,8 +1319,7 @@
},
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1265,8 +1328,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -1276,16 +1338,16 @@
],
"responses": {
"200": {
- "description": "Successful response",
+ "description": "Succesful response",
"content": {
"application/json": {
"schema": {
- "description": "Successful response",
+ "description": "Succesful response",
"type": "object",
"properties": {
"Key": {
"type": "string",
- "example": "projectref/avatars/folder/cat.png"
+ "examples": ["avatars/folder/cat.png"]
}
},
"required": ["Key"]
@@ -1333,20 +1395,20 @@
"expiresIn": {
"type": "integer",
"minimum": 1,
- "example": 60000
+ "examples": [60000]
},
"transform": {
"type": "object",
"properties": {
"height": {
"type": "integer",
- "minimum": 0,
- "example": 100
+ "examples": [100],
+ "minimum": 0
},
"width": {
"type": "integer",
- "minimum": 0,
- "example": 100
+ "examples": [100],
+ "minimum": 0
},
"resize": {
"type": "string",
@@ -1373,8 +1435,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1383,8 +1444,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -1392,13 +1452,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -1412,7 +1472,9 @@
"properties": {
"signedURL": {
"type": "string",
- "example": "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ "examples": [
+ "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ ]
}
},
"required": ["signedURL"]
@@ -1468,8 +1530,7 @@
},
{
"schema": {
- "type": "string",
- "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk"
+ "type": "string"
},
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk",
"in": "query",
@@ -1478,8 +1539,7 @@
},
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1488,8 +1548,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -1538,7 +1597,7 @@
"expiresIn": {
"type": "integer",
"minimum": 1,
- "example": 60000
+ "examples": [60000]
},
"paths": {
"type": "array",
@@ -1546,7 +1605,7 @@
"type": "string"
},
"minItems": 1,
- "example": ["folder/cat.png", "folder/morecats.png"]
+ "examples": [["folder/cat.png", "folder/morecats.png"]]
}
},
"required": ["expiresIn", "paths"]
@@ -1558,8 +1617,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1567,13 +1625,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -1589,15 +1647,19 @@
"properties": {
"error": {
"error": ["string", "null"],
- "example": "Either the object does not exist or you do not have access to it"
+ "examples": [
+ "Either the object does not exist or you do not have access to it"
+ ]
},
- "path": {
+ "version": {
"type": "string",
- "example": "folder/cat.png"
+ "examples": ["folder/cat.png"]
},
"signedURL": {
"type": ["null", "string"],
- "example": "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ "examples": [
+ "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4"
+ ]
}
},
"required": ["error", "path", "signedURL"]
@@ -1645,15 +1707,15 @@
"properties": {
"bucketId": {
"type": "string",
- "example": "avatars"
+ "examples": ["avatars"]
},
"sourceKey": {
"type": "string",
- "example": "folder/cat.png"
+ "examples": ["folder/cat.png"]
},
"destinationKey": {
"type": "string",
- "example": "folder/newcat.png"
+ "examples": ["folder/newcat.png"]
}
},
"required": ["bucketId", "sourceKey", "destinationKey"]
@@ -1664,13 +1726,13 @@
},
"parameters": [
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -1684,7 +1746,7 @@
"properties": {
"message": {
"type": "string",
- "example": "Successfully moved"
+ "examples": ["Successfully moved"]
}
},
"required": ["message"]
@@ -1731,17 +1793,17 @@
"properties": {
"prefix": {
"type": "string",
- "example": "folder/subfolder"
+ "examples": ["folder/subfolder"]
},
"limit": {
"type": "integer",
"minimum": 1,
- "example": 10
+ "examples": [10]
},
"offset": {
"type": "integer",
"minimum": 0,
- "example": 0
+ "examples": [0]
},
"sortBy": {
"type": "object",
@@ -1777,13 +1839,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -1806,6 +1868,9 @@
"owner": {
"type": "string"
},
+ "version": {
+ "type": "string"
+ },
"id": {
"anyOf": [
{
@@ -1826,9 +1891,6 @@
}
]
},
- "version": {
- "type": "string"
- },
"created_at": {
"anyOf": [
{
@@ -1893,29 +1955,36 @@
},
"required": ["id", "name"],
"additionalProperties": false,
- "example": {
- "id": "bucket2",
- "name": "bucket2",
- "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
- "created_at": "2021-02-17T04:43:32.770206+00:00",
- "updated_at": "2021-02-17T04:43:32.770206+00:00"
- }
+ "examples": [
+ {
+ "id": "bucket2",
+ "name": "bucket2",
+ "public": false,
+ "file_size_limit": 1000000,
+ "allowed_mime_types": ["image/png", "image/jpeg"],
+ "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142",
+ "created_at": "2021-02-17T04:43:32.770206+00:00",
+ "updated_at": "2021-02-17T04:43:32.770206+00:00"
+ }
+ ]
}
},
"required": ["name"],
"additionalProperties": false,
- "example": {
- "name": "folder/cat.png",
- "bucket_id": "avatars",
- "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
- "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
- "updated_at": "2021-04-06T16:30:35.394674+00:00",
- "created_at": "2021-04-06T16:30:35.394674+00:00",
- "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
- "metadata": {
- "size": 1234
+ "examples": [
+ {
+ "name": "folder/cat.png",
+ "bucket_id": "avatars",
+ "owner": "317eadce-631a-4429-a0bb-f19a7a517b4a",
+ "id": "eaa8bdb5-2e00-4767-b5a9-d2502efe2196",
+ "updated_at": "2021-04-06T16:30:35.394674+00:00",
+ "created_at": "2021-04-06T16:30:35.394674+00:00",
+ "last_accessed_at": "2021-04-06T16:30:35.394674+00:00",
+ "metadata": {
+ "size": 1234
+ }
}
- }
+ ]
}
}
}
@@ -1955,8 +2024,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -1965,8 +2033,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -1974,13 +2041,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -2019,8 +2086,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -2029,8 +2095,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -2038,13 +2103,13 @@
"required": true
},
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -2086,15 +2151,15 @@
"properties": {
"sourceKey": {
"type": "string",
- "example": "folder/source.png"
+ "examples": ["folder/source.png"]
},
"bucketId": {
"type": "string",
- "example": "avatars"
+ "examples": ["avatars"]
},
"destinationKey": {
"type": "string",
- "example": "folder/destination.png"
+ "examples": ["folder/destination.png"]
}
},
"required": ["sourceKey", "bucketId", "destinationKey"]
@@ -2105,13 +2170,13 @@
},
"parameters": [
{
- "in": "header",
- "name": "authorization",
- "required": true,
"schema": {
"type": "string"
},
- "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs"
+ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
+ "in": "header",
+ "name": "authorization",
+ "required": true
}
],
"responses": {
@@ -2125,7 +2190,7 @@
"properties": {
"Key": {
"type": "string",
- "example": "folder/destination.png"
+ "examples": ["folder/destination.png"]
}
},
"required": ["Key"]
@@ -2167,8 +2232,7 @@
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -2177,8 +2241,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -2217,12 +2280,12 @@
"/object/info/public/{bucketName}/{wildcard}": {
"get": {
"summary": "Get object info",
+ "tags": ["object"],
"description": "returns object info",
"parameters": [
{
"schema": {
- "type": "string",
- "example": "avatars"
+ "type": "string"
},
"example": "avatars",
"in": "path",
@@ -2231,8 +2294,7 @@
},
{
"schema": {
- "type": "string",
- "example": "folder/cat.png"
+ "type": "string"
},
"example": "folder/cat.png",
"in": "path",
@@ -2266,6 +2328,294 @@
}
}
}
+ },
+ "/render/image/authenticated/{bucketName}/{wildcard}": {
+ "get": {
+ "summary": "Render an authenticated image with the given transformations",
+ "tags": ["object"],
+ "parameters": [
+ {
+ "schema": {
+ "type": "integer",
+ "minimum": 0
+ },
+ "example": 100,
+ "in": "query",
+ "name": "height",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "integer",
+ "minimum": 0
+ },
+ "example": 100,
+ "in": "query",
+ "name": "width",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string",
+ "enum": ["cover", "contain", "fill"]
+ },
+ "in": "query",
+ "name": "resize",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string",
+ "enum": ["origin", "avif"]
+ },
+ "in": "query",
+ "name": "format",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "integer",
+ "minimum": 20,
+ "maximum": 100
+ },
+ "in": "query",
+ "name": "quality",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "filename.png",
+ "in": "query",
+ "name": "download",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "avatars",
+ "in": "path",
+ "name": "bucketName",
+ "required": true
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "folder/cat.png",
+ "in": "path",
+ "name": "*",
+ "required": true
+ }
+ ],
+ "responses": {
+ "4XX": {
+ "description": "Error response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "description": "Error response",
+ "type": "object",
+ "properties": {
+ "statusCode": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": ["statusCode", "error", "message"],
+ "title": "errorSchema"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/render/image/sign/{bucketName}/{wildcard}": {
+ "get": {
+ "summary": "Render an authenticated image with the given transformations",
+ "tags": ["object"],
+ "parameters": [
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk",
+ "in": "query",
+ "name": "token",
+ "required": true
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "filename.png",
+ "in": "query",
+ "name": "download",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "avatars",
+ "in": "path",
+ "name": "bucketName",
+ "required": true
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "folder/cat.png",
+ "in": "path",
+ "name": "*",
+ "required": true
+ }
+ ],
+ "responses": {
+ "4XX": {
+ "description": "Error response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "description": "Error response",
+ "type": "object",
+ "properties": {
+ "statusCode": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": ["statusCode", "error", "message"],
+ "title": "errorSchema"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/render/image/public/{bucketName}/{wildcard}": {
+ "get": {
+ "summary": "Render a public image with the given transformations",
+ "tags": ["object"],
+ "parameters": [
+ {
+ "schema": {
+ "type": "integer",
+ "minimum": 0
+ },
+ "example": 100,
+ "in": "query",
+ "name": "height",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "integer",
+ "minimum": 0
+ },
+ "example": 100,
+ "in": "query",
+ "name": "width",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string",
+ "enum": ["cover", "contain", "fill"]
+ },
+ "in": "query",
+ "name": "resize",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string",
+ "enum": ["origin", "avif"]
+ },
+ "in": "query",
+ "name": "format",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "integer",
+ "minimum": 20,
+ "maximum": 100
+ },
+ "in": "query",
+ "name": "quality",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "filename.png",
+ "in": "query",
+ "name": "download",
+ "required": false
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "avatars",
+ "in": "path",
+ "name": "bucketName",
+ "required": true
+ },
+ {
+ "schema": {
+ "type": "string"
+ },
+ "example": "folder/cat.png",
+ "in": "path",
+ "name": "*",
+ "required": true
+ }
+ ],
+ "responses": {
+ "4XX": {
+ "description": "Error response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "description": "Error response",
+ "type": "object",
+ "properties": {
+ "statusCode": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": ["statusCode", "error", "message"],
+ "title": "errorSchema"
+ }
+ }
+ }
+ }
+ }
+ }
}
},
"tags": [