@kl-c/matrixos 0.1.23 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ export interface GatewayTokenBody {
2
+ type: unknown;
3
+ token: unknown;
4
+ passphrase: unknown;
5
+ }
6
+ export interface GatewayTokenResult {
7
+ status: number;
8
+ body: Record<string, unknown>;
9
+ }
10
+ export declare function handleGatewayTokenRequest(body: GatewayTokenBody, configPassphrase: string | undefined): GatewayTokenResult;
@@ -3,6 +3,8 @@ export interface DashboardServerConfig {
3
3
  port: number;
4
4
  host: string;
5
5
  frontendDir: string;
6
+ /** Passphrase required to submit gateway tokens via POST /api/gateway/token */
7
+ gatewayPassphrase?: string;
6
8
  }
7
9
  export declare function createDashboardServer(dataProvider: DataProvider, config: DashboardServerConfig): {
8
10
  start(): void;