Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CRAKZOR committed Aug 29, 2023
2 parents 3f87937 + 0550994 commit eb3d2fe
Show file tree
Hide file tree
Showing 17 changed files with 3,394 additions and 88 deletions.
4 changes: 0 additions & 4 deletions example.env

This file was deleted.

7 changes: 0 additions & 7 deletions server/db/db.ts

This file was deleted.

16 changes: 0 additions & 16 deletions server/db/example.ts

This file was deleted.

56 changes: 0 additions & 56 deletions server/supabase-types/database.types.ts

This file was deleted.

10 changes: 5 additions & 5 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
"use client"
import * as THREE from 'three';
import { useEffect, useState } from 'react';
import { ThreeScene, AnimeExample, ReactFiber } from "../../components/test"
import { ThreeScene, AnimeExample, ReactFiber } from "../components/test"
import WebGL from 'three/addons/capabilities/WebGL.js';
import { testSupabase } from '../../server/db/example';
import { BasicScene } from "../../components/basicScene";
import {CameraSwitch} from "../../components/ui/buttons/cameraSwitch"
// import { testSupabase } from '../utils/types/example';
import { BasicScene } from "../components/basicScene";
import {CameraSwitch} from "../components/ui/buttons/cameraSwitch"

export default function Home() {
const [isWebGLAvailable, setIsWebGLAvailable] = useState(false);

useEffect(() => {
setIsWebGLAvailable(WebGL.isWebGLAvailable());
testSupabase()
// testSupabase()
}, []);

return (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions src/components/forms/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const LoginForm: React.FC = () => {

const [ state, dispatch ] = useReducer(reducer, initialState );

<<<<<<< HEAD
const handleSubmit = ( e:Event ) => {
e.preventDefault();

Expand All @@ -45,6 +46,9 @@ export const LoginForm: React.FC = () => {
console.log(state);
}
}
=======
const handleSubmit = (e:Event) =>
>>>>>>> main

const { register, handleSubmit, errors, watch } = useForm<State>();
const password = useRef({});
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
59 changes: 59 additions & 0 deletions src/utils/types/user.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,65 @@
<<<<<<< HEAD
export type User = {
id: string;
email: string;
name?: string;
created_at: Date;
};
=======
export type Json =
| string
| number
| boolean
| null
| { [key: string]: Json | undefined }
| Json[]

export interface Database {
public: {
Tables: {
"testing-work-flow-action": {
Row: {
created_at: string | null
id: number
}
Insert: {
created_at?: string | null
id?: number
}
Update: {
created_at?: string | null
id?: number
}
Relationships: []
}
TestTable: {
Row: {
id: number
testing: string | null
}
Insert: {
id?: number
testing?: string | null
}
Update: {
id?: number
testing?: string | null
}
Relationships: []
}
}
Views: {
[_ in never]: never
}
Functions: {
[_ in never]: never
}
Enums: {
[_ in never]: never
}
CompositeTypes: {
[_ in never]: never
}
}
}
>>>>>>> main
Loading

0 comments on commit eb3d2fe

Please sign in to comment.