diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-04-15 07:16:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 07:16:37 -0600 |
commit | cbba61b40112b41c43285a1a279969e68df1a2e9 (patch) | |
tree | 6f2e95326033396c5f7b79b48e5a3febb0877ff3 /src/models | |
parent | 6.7.3-nightly.10 [skip ci] (diff) | |
download | ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.tar.gz ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.tar.zst ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.zip |
refactor: project maintenance (#1682)
- remove redundant `@adonisjs/auth`, `@adonisjs/session` and `@emotion/react` dependencies
- remove `.vscode` folder
- clean up some TS and ESLint issues
- migrate from deprecated "husky install" to "husky"
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Recipe.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index e8f11df5f..11eb1884f 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts | |||
@@ -50,14 +50,14 @@ export interface IRecipe { | |||
50 | partition: string; | 50 | partition: string; |
51 | local: boolean; | 51 | local: boolean; |
52 | 52 | ||
53 | // eslint-disable-next-line @typescript-eslint/ban-types | 53 | readonly overrideUserAgent?: () => string; |
54 | readonly overrideUserAgent?: null | Function; | 54 | |
55 | // eslint-disable-next-line @typescript-eslint/ban-types | 55 | readonly buildUrl?: (url: string) => string; |
56 | readonly buildUrl?: null | Function; | 56 | |
57 | // eslint-disable-next-line @typescript-eslint/ban-types | 57 | readonly modifyRequestHeaders?: () => void; |
58 | readonly modifyRequestHeaders?: null | Function; | 58 | |
59 | // eslint-disable-next-line @typescript-eslint/ban-types | 59 | readonly knownCertificateHosts?: () => void; |
60 | readonly knownCertificateHosts?: null | Function; | 60 | |
61 | readonly events?: null | ((key: string) => string); | 61 | readonly events?: null | ((key: string) => string); |
62 | 62 | ||
63 | // TODO: [TS DEBT] Need to check if below properties are needed and where is inherited / implemented from | 63 | // TODO: [TS DEBT] Need to check if below properties are needed and where is inherited / implemented from |