-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring/frontend recoil mvvm (#90)
* Added recoil and major refactoring * Fixed add todo * Added css * Fixed login logout * Working version * Completed TodoViewModel with Recoil integration * Fixed all issues and added eslint
- Loading branch information
Showing
83 changed files
with
9,264 additions
and
9,210 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*/proto/* | ||
/src/bitloops/proto/* | ||
*/src/bitloops/proto/* | ||
/src/bitloops/proto/todo.ts | ||
*/src/bitloops/proto/todo.ts | ||
/src/bitloops/proto/todo_pb.d.ts | ||
*/src/bitloops/proto/todo_pb.d.ts | ||
/src/bitloops/proto/TodoServiceClient_Pb.ts | ||
*/src/bitloops/proto/TodoServiceClient_Pb.ts |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"settings": { | ||
"import/resolver": { | ||
"node": { | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"airbnb", | ||
"airbnb-typescript", | ||
"plugin:react/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
"prettier" | ||
], | ||
"overrides": [ | ||
{ | ||
"extends": [], | ||
"files": [ | ||
"*.ts", | ||
"*.tsx" | ||
] | ||
} | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": [ | ||
"react", | ||
"jsx-a11y", | ||
"react-hooks", | ||
"@typescript-eslint", | ||
"prettier" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"no-shadow": "off", | ||
"@typescript-eslint/no-shadow": ["error"], | ||
"react/function-component-definition": "off", | ||
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".ts"] }], | ||
"react/react-in-jsx-scope": "off", | ||
"class-methods-use-this": "off", | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
"ts": "never", | ||
"tsx": "never", | ||
"js": "never", | ||
"jsx": "never" | ||
} | ||
], | ||
"quotes": ["error", "single"], | ||
"@typescript-eslint/quotes": ["error", "single"], | ||
"no-underscore-dangle": "off" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
# dependencies | ||
/node_modules | ||
node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*/proto/* | ||
/src/bitloops/proto/* | ||
*/src/bitloops/proto/* | ||
/src/bitloops/proto/todo.ts | ||
*/src/bitloops/proto/todo.ts | ||
/src/bitloops/proto/todo_pb.d.ts | ||
*/src/bitloops/proto/todo_pb.d.ts | ||
/src/bitloops/proto/TodoServiceClient_Pb.ts | ||
*/src/bitloops/proto/TodoServiceClient_Pb.ts |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{ | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"printWidth": 100, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"trailingComma": "es5" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/grpc-web/index.d.ts b/node_modules/grpc-web/index.d.ts | ||
index 09fb671..9b6b233 100644 | ||
--- a/node_modules/grpc-web/index.d.ts | ||
+++ b/node_modules/grpc-web/index.d.ts | ||
@@ -71,8 +71,8 @@ declare module "grpc-web" { | ||
export class MethodDescriptor<REQ, RESP> { | ||
constructor(name: string, | ||
methodType: string, | ||
- requestType: new (...args: unknown[]) => REQ, | ||
- responseType: new (...args: unknown[]) => RESP, | ||
+ requestType: new (...args: any) => REQ, | ||
+ responseType: new (...args: any) => RESP, | ||
requestSerializeFn: any, | ||
responseDeserializeFn: any); | ||
getName(): string; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.