Skip to content

Commit

Permalink
Merge branch 'PalisadoesFoundation:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddheshKukade authored Jul 1, 2023
2 parents fa089e3 + ce51aa7 commit 6af8fff
Show file tree
Hide file tree
Showing 119 changed files with 22,170 additions and 9,702 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
"rules": {
"no-restricted-imports": "off"
}
},
{
// Disable explicit function return type for index.ts as it uses a lot of templated code
// which has convulated return types
"files": ["./src/index.ts", "./src/utilities/copyToClipboard.ts"],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-function": "off"
}
}
],

Expand Down
6 changes: 5 additions & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const config: CodegenConfig = {
// functionality is useful because what we retrieve from the database and what we choose to return from a graphql server
// could be completely different fields. Address to models here is relative to the location of generated types.
mappers: {
CheckIn: "../models/CheckIn#InterfaceCheckIn",

MessageChat: "../models/MessageChat#InterfaceMessageChat",

Comment: "../models/Comment#InterfaceComment",
Expand All @@ -38,7 +40,9 @@ const config: CodegenConfig = {

Event: "../models/Event#InterfaceEvent",

// EventProject: '../models/EventProject#InterfaceEventProject'
EventAttendee: "../models/EventAttendee#InterfaceEventAttendee",

EventProject: "../models/EventProject#InterfaceEventProject",

// File: '../models/File#InterfaceFile',

Expand Down
Loading

0 comments on commit 6af8fff

Please sign in to comment.