Drop js-sdk

This commit is contained in:
Half-Shot 2025-06-17 13:33:41 +01:00
parent 56d0c5656a
commit b38f0f2dd2
3 changed files with 0 additions and 16 deletions

View File

@ -4,10 +4,7 @@
```ts
import { EventStatus } from 'matrix-js-sdk';
import { IEventRelation } from 'matrix-js-sdk';
import { JSX } from 'react';
import { Membership } from 'matrix-js-sdk';
import { ModuleApi } from '@matrix-org/react-sdk-module-api';
import { Root } from 'react-dom/client';
import { RuntimeModule } from '@matrix-org/react-sdk-module-api';
@ -146,22 +143,16 @@ export interface MatrixEvent {
// (undocumented)
eventId: string;
// (undocumented)
membership?: Membership;
// (undocumented)
originServerTs: number;
// (undocumented)
redacts?: string;
// (undocumented)
relation?: IEventRelation | null;
// (undocumented)
roomId?: string;
// (undocumented)
sender: string;
// (undocumented)
stateKey?: string;
// (undocumented)
status: EventStatus;
// (undocumented)
type: string;
// (undocumented)
unsigned: Record<string, unknown>;

View File

@ -38,7 +38,6 @@
"@types/react-dom": "^19.0.4",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^3.0.4",
"matrix-js-sdk": "^37.5.0",
"matrix-web-i18n": "^3.3.0",
"semver": "^7.6.3",
"typescript": "^5.7.3",
@ -51,7 +50,6 @@
"@matrix-org/react-sdk-module-api": "*",
"@types/react": "*",
"@types/react-dom": "*",
"matrix-js-sdk": "*",
"matrix-web-i18n": "*",
"react": "^19"
},

View File

@ -1,5 +1,3 @@
import type { EventStatus, IEventRelation, Membership } from "matrix-js-sdk";
/**
* Representation of a Matrix event.
* @beta
@ -14,8 +12,5 @@ export interface MatrixEvent {
stateKey?: string;
originServerTs: number;
redacts?: string;
membership?: Membership;
status: EventStatus;
relation?: IEventRelation | null;
age?: number;
}