Prettier -_-
This commit is contained in:
@@ -3,8 +3,9 @@
|
|||||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { ModuleApi } from "@matrix-org/react-sdk-module-api";
|
|
||||||
import { RuntimeModule } from "@matrix-org/react-sdk-module-api";
|
import { ModuleApi } from '@matrix-org/react-sdk-module-api';
|
||||||
|
import { RuntimeModule } from '@matrix-org/react-sdk-module-api';
|
||||||
|
|
||||||
// @alpha @deprecated (undocumented)
|
// @alpha @deprecated (undocumented)
|
||||||
export interface AliasCustomisations {
|
export interface AliasCustomisations {
|
||||||
@@ -34,16 +35,7 @@ export interface ChatExportCustomisations<ExportFormat, ExportType> {
|
|||||||
|
|
||||||
// @alpha @deprecated (undocumented)
|
// @alpha @deprecated (undocumented)
|
||||||
export interface ComponentVisibilityCustomisations {
|
export interface ComponentVisibilityCustomisations {
|
||||||
shouldShowComponent?(
|
shouldShowComponent?(component: "UIComponent.sendInvites" | "UIComponent.roomCreation" | "UIComponent.spaceCreation" | "UIComponent.exploreRooms" | "UIComponent.addIntegrations" | "UIComponent.filterContainer" | "UIComponent.roomOptionsMenu"): boolean;
|
||||||
component:
|
|
||||||
| "UIComponent.sendInvites"
|
|
||||||
| "UIComponent.roomCreation"
|
|
||||||
| "UIComponent.spaceCreation"
|
|
||||||
| "UIComponent.exploreRooms"
|
|
||||||
| "UIComponent.addIntegrations"
|
|
||||||
| "UIComponent.filterContainer"
|
|
||||||
| "UIComponent.roomOptionsMenu",
|
|
||||||
): boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// @public
|
// @public
|
||||||
@@ -90,9 +82,7 @@ export interface LegacyCustomisationsApiExtension {
|
|||||||
// @deprecated (undocumented)
|
// @deprecated (undocumented)
|
||||||
readonly _registerLegacyUserIdentifierCustomisations: LegacyCustomisations<UserIdentifierCustomisations>;
|
readonly _registerLegacyUserIdentifierCustomisations: LegacyCustomisations<UserIdentifierCustomisations>;
|
||||||
// @deprecated (undocumented)
|
// @deprecated (undocumented)
|
||||||
readonly _registerLegacyWidgetPermissionsCustomisations: LegacyCustomisations<
|
readonly _registerLegacyWidgetPermissionsCustomisations: LegacyCustomisations<WidgetPermissionsCustomisations<never, never>>;
|
||||||
WidgetPermissionsCustomisations<never, never>
|
|
||||||
>;
|
|
||||||
// @deprecated (undocumented)
|
// @deprecated (undocumented)
|
||||||
readonly _registerLegacyWidgetVariablesCustomisations: LegacyCustomisations<WidgetVariablesCustomisations>;
|
readonly _registerLegacyWidgetVariablesCustomisations: LegacyCustomisations<WidgetVariablesCustomisations>;
|
||||||
}
|
}
|
||||||
@@ -191,13 +181,10 @@ export type RuntimeModuleConstructor = new (api: ModuleApi) => RuntimeModule;
|
|||||||
|
|
||||||
// @alpha @deprecated (undocumented)
|
// @alpha @deprecated (undocumented)
|
||||||
export interface UserIdentifierCustomisations {
|
export interface UserIdentifierCustomisations {
|
||||||
getDisplayUserIdentifier(
|
getDisplayUserIdentifier(userId: string, opts: {
|
||||||
userId: string,
|
roomId?: string;
|
||||||
opts: {
|
withDisplayName?: boolean;
|
||||||
roomId?: string;
|
}): string | null;
|
||||||
withDisplayName?: boolean;
|
|
||||||
},
|
|
||||||
): string | null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// @alpha @deprecated (undocumented)
|
// @alpha @deprecated (undocumented)
|
||||||
@@ -221,4 +208,5 @@ export interface WidgetVariablesCustomisations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// (No @packageDocumentation comment for this package)
|
// (No @packageDocumentation comment for this package)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user