@michijs/dev-server 0.7.7 → 0.7.8

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.
Files changed (2) hide show
  1. package/bin/types.d.ts +6 -0
  2. package/package.json +1 -1
package/bin/types.d.ts CHANGED
@@ -129,10 +129,15 @@ export interface PublicOptions {
129
129
  options?: ServerWebAppManifest;
130
130
  };
131
131
  }
132
+ interface ProtocolHandler {
133
+ protocol: string;
134
+ url: string;
135
+ }
132
136
  export interface ServerWebAppManifest extends WebAppManifest {
133
137
  scope_extensions?: {
134
138
  origin: string;
135
139
  }[];
140
+ protocol_handlers?: ProtocolHandler[];
136
141
  file_handlers?: FileHandler[];
137
142
  }
138
143
  export interface FileHandler {
@@ -189,3 +194,4 @@ export interface ServerConfigFactoryProps<T extends string> {
189
194
  environment: T;
190
195
  }
191
196
  export type ServerConfigFactory<T extends string = DefaultEnvironment> = (props: ServerConfigFactoryProps<T>) => ServerConfig;
197
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@michijs/dev-server",
3
3
  "license": "MIT",
4
- "version": "0.7.7",
4
+ "version": "0.7.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/michijs/dev-server.git"