This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client' | |
import * as Dialog from '@radix-ui/react-dialog' | |
import * as Tabs from '@radix-ui/react-tabs' | |
import { Switch } from '@radix-ui/themes' | |
import { ChevronDownIcon } from '@radix-ui/react-icons' | |
import { DialogTitle } from "@radix-ui/react-dialog"; | |
import { Button } from "@/components/ui/button"; | |
import { useState } from "react"; | |
import { IconUser, IconSettings, IconBell, IconUsers, IconFolder, IconChartBar } from '@tabler/icons-react' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {useContext} from 'react' | |
import { View, Text, ActivityIndicator, StyleSheet } from 'react-native' | |
import { NavigationContainer } from '@react-navigation/native' | |
import AuthStack from './AuthStack' | |
import AppStack from './AppStack' | |
import {AuthContext} from "../Manager/AuthContext" | |
const AppNav = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { default: installExtension, VUEJS3_DEVTOOLS } = require('electron-devtools-installer') | |
const {app, BrowserWindow, ipcMain} = require('electron') | |
const Path = require('path') | |
const isDevelopment = process.env.NODE_ENV !== 'production' | |
function createWindow() | |
{ | |
const mainWindow = new BrowserWindow({ | |
width: 800, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import path from 'path' | |
import webpack from 'webpack' | |
import VueLoaderPlugin from 'vue-loader-plugin' | |
import HTMLWebpackPlugin from 'html-webpack-plugin' | |
import url from "url"; | |
const __filename = url.fileURLToPath(import.meta.url) | |
const __dirname = path.dirname(__filename) | |
const buildDir = path.join(__dirname, '..', 'build') | |
const indexHTMLFile = path.join(__dirname, '..', 'src', 'renderer', 'index.html') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import App from './App.vue' | |
import router from './router/router' | |
import VueI18n from 'vue-i18n' | |
import { BootstrapVue } from 'bootstrap-vue' | |
import { IconsPlugin } from 'bootstrap-vue' | |
import { BootstrapVueIcons } from 'bootstrap-vue' | |
import { library } from '@fortawesome/fontawesome-svg-core' | |
import { faUserSecret } from '@fortawesome/free-solid-svg-icons' | |
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as fs from 'fs' | |
import * as typeorm from 'typeorm' | |
import {Public} from './../entity/Public' | |
import {Genre} from './../entity/Genre' | |
import {Platform} from './../entity/Platform' | |
import {Theme} from './../entity/Theme' | |
import {Game} from './../entity/Game' | |
export default class connectionManager | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async setAll(entity, data) | |
{ | |
let connection = await this.init() | |
const queryRunner = connection.createQueryRunner() | |
await queryRunner.connect() | |
console.log(queryRunner) | |
let model = this.selectEntityModel(entity) |