sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| import { BlurImage, YouTube } from "@dub/ui"; | |
| import { nFormatter } from "@dub/utils"; | |
| import { Eye, UserCheck, Video } from "lucide-react"; | |
| import { Suspense } from "react"; | |
| export function YoutubeChannel({ id }: { id: string }) { | |
| return ( | |
| <Suspense fallback={<div className="not-prose grid gap-4"></div>}> | |
| <YoutubeChannelRSC id={id} /> | |
| </Suspense> |
| type Fields = Record<string, string>; | |
| type EqualCondition = ["eq", string, string] | Record<string, string>; | |
| type StartsWithCondition = ["starts-with", string, string]; | |
| type ContentLengthRangeCondition = ["content-length-range", number, number]; | |
| export type PolicyEntry = | |
| | EqualCondition |
| import { AwsClient } from "aws4fetch"; | |
| import { deflate } from "pako"; | |
| const R2_ACCOUNT_ID = "SOMETHING" | |
| const R2_ACCESS_KEY_ID = "SOMETHING" | |
| const R2_SECRET_ACCESS_KEY ="SOMETHING" | |
| const R2_BUCKET = "SOMETHING" | |
| const R2_URL = `https://${R2_BUCKET}.${R2_ACCOUNT_ID}.r2.cloudflarestorage.com`; |
| { | |
| "schema_version": "v1", | |
| "name_for_model": "twilio", | |
| "name_for_human": "Twilio Plugin", | |
| "description_for_model": "Plugin for integrating the Twilio API to send SMS messages and make phone calls. Use it whenever a user wants to send a text message or make a call using their Twilio account.", | |
| "description_for_human": "Send text messages and make phone calls with Twilio.", | |
| "auth": { | |
| "type": "user_http", | |
| "authorization_type": "basic" | |
| }, |