You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-07 23:02:56 +03:00
Tidy up some main exports (#4649)
Fix knip config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ed397d99ed
commit
161da05972
18
knip.ts
18
knip.ts
@@ -6,11 +6,21 @@ export default {
|
|||||||
"src/types.ts",
|
"src/types.ts",
|
||||||
"src/browser-index.ts",
|
"src/browser-index.ts",
|
||||||
"src/indexeddb-worker.ts",
|
"src/indexeddb-worker.ts",
|
||||||
|
"src/crypto-api/index.ts",
|
||||||
|
"src/testing.ts",
|
||||||
|
"src/matrix.ts",
|
||||||
"scripts/**",
|
"scripts/**",
|
||||||
"spec/**",
|
"spec/**",
|
||||||
"release.sh",
|
// XXX: these look entirely unused
|
||||||
// For now, we include all source files as entrypoints as we have been bad about gutwrenched imports
|
"src/crypto/aes.ts",
|
||||||
"src/**",
|
"src/crypto/crypto.ts",
|
||||||
|
"src/crypto/recoverykey.ts",
|
||||||
|
// XXX: these should be re-exported by one of the supported exports
|
||||||
|
"src/matrixrtc/index.ts",
|
||||||
|
"src/sliding-sync.ts",
|
||||||
|
"src/webrtc/groupCall.ts",
|
||||||
|
"src/webrtc/stats/media/mediaTrackStats.ts",
|
||||||
|
"src/rendezvous/RendezvousChannel.ts",
|
||||||
],
|
],
|
||||||
project: ["**/*.{js,ts}"],
|
project: ["**/*.{js,ts}"],
|
||||||
ignore: ["examples/**"],
|
ignore: ["examples/**"],
|
||||||
@@ -33,4 +43,6 @@ export default {
|
|||||||
"dist",
|
"dist",
|
||||||
],
|
],
|
||||||
ignoreExportsUsedInFile: true,
|
ignoreExportsUsedInFile: true,
|
||||||
|
includeEntryExports: false,
|
||||||
|
exclude: ["enumMembers"],
|
||||||
} satisfies KnipConfig;
|
} satisfies KnipConfig;
|
||||||
|
@@ -49,6 +49,7 @@ export * from "./scheduler.ts";
|
|||||||
export * from "./filter.ts";
|
export * from "./filter.ts";
|
||||||
export * from "./timeline-window.ts";
|
export * from "./timeline-window.ts";
|
||||||
export * from "./interactive-auth.ts";
|
export * from "./interactive-auth.ts";
|
||||||
|
export * from "./version-support.ts";
|
||||||
export * from "./service-types.ts";
|
export * from "./service-types.ts";
|
||||||
export * from "./store/memory.ts";
|
export * from "./store/memory.ts";
|
||||||
export * from "./store/indexeddb.ts";
|
export * from "./store/indexeddb.ts";
|
||||||
@@ -79,6 +80,8 @@ export type * from "./@types/IIdentityServerProvider.ts";
|
|||||||
export * from "./@types/membership.ts";
|
export * from "./@types/membership.ts";
|
||||||
export * from "./models/room-summary.ts";
|
export * from "./models/room-summary.ts";
|
||||||
export * from "./models/event-status.ts";
|
export * from "./models/event-status.ts";
|
||||||
|
export * from "./models/profile-keys.ts";
|
||||||
|
export * from "./models/related-relations.ts";
|
||||||
export type { RoomSummary } from "./client.ts";
|
export type { RoomSummary } from "./client.ts";
|
||||||
export * as ContentHelpers from "./content-helpers.ts";
|
export * as ContentHelpers from "./content-helpers.ts";
|
||||||
export * as SecretStorage from "./secret-storage.ts";
|
export * as SecretStorage from "./secret-storage.ts";
|
||||||
@@ -106,7 +109,7 @@ export { CallFeedEvent } from "./webrtc/callFeed.ts";
|
|||||||
export { StatsReport } from "./webrtc/stats/statsReport.ts";
|
export { StatsReport } from "./webrtc/stats/statsReport.ts";
|
||||||
export { Relations, RelationsEvent } from "./models/relations.ts";
|
export { Relations, RelationsEvent } from "./models/relations.ts";
|
||||||
export { TypedEventEmitter } from "./models/typed-event-emitter.ts";
|
export { TypedEventEmitter } from "./models/typed-event-emitter.ts";
|
||||||
export { LocalStorageErrors } from "./store/local-storage-events-emitter.ts";
|
export { LocalStorageErrors, localStorageErrorsEventsEmitter } from "./store/local-storage-events-emitter.ts";
|
||||||
export { IdentityProviderBrand, SSOAction } from "./@types/auth.ts";
|
export { IdentityProviderBrand, SSOAction } from "./@types/auth.ts";
|
||||||
export type { ISSOFlow as SSOFlow, LoginFlow } from "./@types/auth.ts";
|
export type { ISSOFlow as SSOFlow, LoginFlow } from "./@types/auth.ts";
|
||||||
export type { IHierarchyRelation as HierarchyRelation, IHierarchyRoom as HierarchyRoom } from "./@types/spaces.ts";
|
export type { IHierarchyRelation as HierarchyRelation, IHierarchyRoom as HierarchyRoom } from "./@types/spaces.ts";
|
||||||
|
@@ -3,5 +3,6 @@
|
|||||||
* match a timezone provided in https://www.iana.org/time-zones.
|
* match a timezone provided in https://www.iana.org/time-zones.
|
||||||
*
|
*
|
||||||
* @see https://github.com/matrix-org/matrix-spec-proposals/blob/clokep/profile-tz/proposals/4175-profile-field-time-zone.md
|
* @see https://github.com/matrix-org/matrix-spec-proposals/blob/clokep/profile-tz/proposals/4175-profile-field-time-zone.md
|
||||||
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export const ProfileKeyMSC4175Timezone = "us.cloke.msc4175.tz";
|
export const ProfileKeyMSC4175Timezone = "us.cloke.msc4175.tz";
|
||||||
|
Reference in New Issue
Block a user