These are the GraphQL queries and mutations for the YouTube course.
{
clients {
name
}
<script lang="ts"> | |
import type { HTMLInputAttributes } from 'svelte/elements'; | |
import type { InputEvents } from './index.js'; | |
import { cn } from '$lib/utils.js'; | |
import { EyeIcon, EyeOffIcon } from 'lucide-svelte'; | |
import Button from '../button/button.svelte'; | |
type $$Props = HTMLInputAttributes; | |
type $$Events = InputEvents; |
## Pre-requisite: You have to know your last commit message from your deleted branch. | |
git reflog | |
# Search for message in the list | |
# a901eda HEAD@{18}: commit: <last commit message> | |
# Now you have two options, either checkout revision or HEAD | |
git checkout a901eda | |
# Or | |
git checkout HEAD@{18} |
// Basic Types | |
let id: number = 5 | |
let company: string = 'Traversy Media' | |
let isPublished: boolean = true | |
let x: any = 'Hello' | |
let ids: number[] = [1, 2, 3, 4, 5] | |
let arr: any[] = [1, true, 'Hello'] | |
// Tuple |