shokupan 0.10.2 → 0.10.3

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,9 +1,14 @@
1
1
  import { ShokupanRouter } from '../../../router';
2
+ import { Shokupan } from '../../../shokupan.ts';
3
+ import { ShokupanPlugin, ShokupanPluginOptions } from '../../../util/types.ts';
2
4
  export interface ApiExplorerOptions {
3
5
  baseDocument?: any;
4
6
  path?: string;
5
7
  }
6
- export declare class ApiExplorerPlugin extends ShokupanRouter {
7
- private readonly pluginOptions?;
8
+ export declare class ApiExplorerPlugin extends ShokupanRouter implements ShokupanPlugin {
9
+ private readonly pluginOptions;
8
10
  constructor(pluginOptions?: ApiExplorerOptions);
11
+ onInit(app: Shokupan, options?: ShokupanPluginOptions): void;
12
+ private static getBasePath;
13
+ init(): void;
9
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shokupan",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Shokupan is a low-lift modern web framework for Bun.",
5
5
  "author": "Andrew G. Knackstedt",
6
6
  "publishConfig": {