-
-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into dehydration_v2
- Loading branch information
Showing
12 changed files
with
1,098 additions
and
163 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
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,36 @@ | ||
import { KnipConfig } from "knip"; | ||
|
||
export default { | ||
entry: [ | ||
"src/index.ts", | ||
"src/types.ts", | ||
"src/browser-index.ts", | ||
"src/indexeddb-worker.ts", | ||
"scripts/**", | ||
"spec/**", | ||
"release.sh", | ||
// For now, we include all source files as entrypoints as we have been bad about gutwrenched imports | ||
"src/**", | ||
], | ||
project: ["**/*.{js,ts}"], | ||
ignore: ["examples/**"], | ||
ignoreDependencies: [ | ||
// Required for `action-validator` | ||
"@action-validator/*", | ||
// Used for git pre-commit hooks | ||
"husky", | ||
// Used in script which only runs in environment with `@octokit/rest` installed | ||
"@octokit/rest", | ||
// Used by jest | ||
"jest-environment-jsdom", | ||
"babel-jest", | ||
"ts-node", | ||
// Used by `@babel/plugin-transform-runtime` | ||
"@babel/runtime", | ||
], | ||
ignoreBinaries: [ | ||
// Used when available by reusable workflow `.github/workflows/release-make.yml` | ||
"dist", | ||
], | ||
ignoreExportsUsedInFile: true, | ||
} satisfies KnipConfig; |
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,24 @@ | ||
/* | ||
Copyright 2024 The Matrix.org Foundation C.I.C. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
import "oidc-client-ts"; | ||
|
||
declare module "oidc-client-ts" { | ||
interface OidcMetadata { | ||
// Add the missing device_authorization_endpoint field to the OidcMetadata interface | ||
device_authorization_endpoint?: string; | ||
} | ||
} |
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
Oops, something went wrong.