@dunx/dashboard 3.0.0 → 3.0.2

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.
@@ -1,13 +1,5 @@
1
1
  import { type ModuleRef } from '@dunx/core';
2
2
  import type { DashboardOptions } from '../options.js';
3
- import type { ConfigEntry, Meta, Snapshot } from './types.js';
4
- /**
5
- * Keys, types, and a value only where the app's `reveal` predicate said so.
6
- *
7
- * Sorted, because a config panel is read by scanning for a key rather than in
8
- * declaration order, and `validate` returns whatever object literal order the app
9
- * happened to write.
10
- */
11
- export declare const configEntries: (values: object, reveal: DashboardOptions['reveal']) => readonly ConfigEntry[];
3
+ import type { Meta, Snapshot } from './types.js';
12
4
  export declare const metaOf: (options: DashboardOptions) => Meta;
13
5
  export declare const snapshotOf: (root: ModuleRef, options: DashboardOptions) => Snapshot;
package/dist/board.d.ts CHANGED
@@ -36,7 +36,7 @@ export declare const buildBoard: (options: DashboardOptions, basePath: string, f
36
36
  * table it walks is the one bull-board handed over. Twenty lines here is the price
37
37
  * of not asking `HttpFactory` to accept a foreign route table at boot.
38
38
  */
39
- export interface BoardMatch {
39
+ interface BoardMatch {
40
40
  readonly handler: (req: Request) => Response | Promise<Response>;
41
41
  /**
42
42
  * What `Bun.serve` would have put on `BunRequest.params`.
@@ -50,3 +50,4 @@ export interface BoardMatch {
50
50
  readonly params: Record<string, string>;
51
51
  }
52
52
  export declare const matchBoard: (routes: BoardRoutes, method: string, pathname: string) => BoardMatch | undefined;
53
+ export {};