@divizend/scratch-core 1.0.2 → 1.0.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.
|
@@ -27,6 +27,12 @@ export interface HttpServer {
|
|
|
27
27
|
*/
|
|
28
28
|
registerStaticFiles(rootPath: string): void;
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Load and register built-in default endpoints and supporting middleware.
|
|
32
|
+
* Must be called before registering static files so endpoints take precedence.
|
|
33
|
+
*/
|
|
34
|
+
initializeDefaultEndpoints(): Promise<void>;
|
|
35
|
+
|
|
30
36
|
/**
|
|
31
37
|
* Load endpoints from a URL
|
|
32
38
|
* @param url - URL to load endpoints from (file:// or https://github.com)
|