Skip to content

Commit

Permalink
Merge pull request #244 from CodeCrowCorp/dev
Browse files Browse the repository at this point in the history
Fix: websockets, error handling, and issues with unauthenticated users
  • Loading branch information
gagansuie authored Feb 6, 2023
2 parents 2da9333 + becc64a commit d68a7cf
Show file tree
Hide file tree
Showing 85 changed files with 4,631 additions and 2,722 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ module.exports = {
es2017: true,
node: true
}
};
}
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
"semi": false,
"bracketSameLine": true
"bracketSameLine": true,
"arrow-parens": "always"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage-website",
"version": "0.0.2",
"version": "0.0.1",
"license": "GPL-3.0",
"private": true,
"type": "module",
Expand Down Expand Up @@ -39,6 +39,7 @@
"svelte": "^3.55.1",
"svelte-check": "^3.0.2",
"svelte-preprocess": "^5.0.1",
"svelte-tags-input": "^4.0.0",
"svgo": "^3.0.2",
"tailwind-clip-path": "^1.0.0",
"tailwind-scrollbar": "^2.1.0",
Expand Down
25 changes: 14 additions & 11 deletions src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@
// and what to do when importing types

declare namespace App {
interface Locals {
user: {
token?: string
userId?: string
user?: object
}
}
// interface PageData {}
// interface Error {}
// interface Platform {}
interface Locals {
user: {
token?: string
userId?: string
user?: object
}
isBanned?: boolean
}
// interface PageData {}
// interface Error {}
// interface Platform {}
}

declare const __VERSION__ : string
declare const __VERSION__: string

declare module 'svelte-tags-input'
12 changes: 6 additions & 6 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
%sveltekit.head%
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
%sveltekit.head%
</head>

<body
class="scrollbar-thin scrollbar-thumb-[#aeaeae] scrollbar-track-[#25252A] overflow-y-scroll scrollbar-thumb-rounded">
<div style="display: contents">%sveltekit.body%</div>
class="scrollbar-thin scrollbar-thumb-[#aeaeae] scrollbar-track-[#25252A] overflow-y-scroll scrollbar-thumb-rounded">
<div style="display: contents">%sveltekit.body%</div>
</body>

</html>
Loading

0 comments on commit d68a7cf

Please sign in to comment.