Ayato
Explore posts from serversCDCloudflare Developers
•Created by Ayato on 8/23/2024 in #general-help
Tunnel SSH SetUp Help
9 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 6/14/2023 in #questions
YouTube Data API
Hi, I would like to write a script, that get the channel_id from a channel url.
For this, I was trying to use the username:
https://www.youtube.com/@t3dotgg
-> t3dotgg
https://youtube.googleapis.com/youtube/v3/channels?part=id&forUsername=t3dotgg&key=[YOUR_API_KEY]
but I get this response:
200
but if I use a different username like ludwig
it works:
200
7 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/13/2023 in #questions
typescript-eslint
Can Somehow help me fix this?
2 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/10/2023 in #questions
Which icon set would you recommend?
If you have a different icon set that you like, I will add it to the list.
🇦 - Heroicons 2 https://github.com/tailwindlabs/heroicons
🇧 - Material Design icons http://google.github.io/material-design-icons
🇨 - Ant Design Icons https://github.com/ant-design/ant-design-icons
🇩 - Font Awesome 5 https://fontawesome.com/
🇪 - Bootstrap Icons https://github.com/twbs/icons
🇫 - Radix Icons https://icons.radix-ui.com
🇬 - Ionicons 5 https://ionicons.com
🇭 - Feather https://feathericons.com
2 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/5/2023 in #questions
findUnique from current user
Hi, I would like to get 1 entry by id, but only if the entry belongs to the current user.
Is that possible with
findUnique
or do I have to use find findMany
or findFirst
?
Example:
11 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
Hi, its my first time using tRCP and I would like to ask how I can get something by id from the current user.
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
Planet Scale alternative
I was wondering if there are any goo alternatives to Planet Scale with a good free tier?
Because
relationMode = "prisma"
does not like my current schema11 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/3/2023 in #questions
Prisma 2 relations to the same model
Hi, I'm working with Prisma for the first time, and I'm having trouble with a relation:
I have a Transfer and a Deposit model, but the Transfer has a from and a to relation both relating to the Deposit how can I implement this?
schema.prisma:
full schema.prisma: https://pastecord.com/upuxegexeg.prisma
4 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/3/2023 in #questions
create-t3-app | /app directory
Hello, I was wondering if I can create a t3 project with the new folder structure of next js or if there are any plans of updating it to the new folder structure
6 replies