@flaghoist/server 0.1.0
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.
- package/LICENSE +201 -0
- package/dist/dashboard.cjs +30 -0
- package/dist/dashboard.d.cts +10 -0
- package/dist/dashboard.d.ts +10 -0
- package/dist/dashboard.js +5 -0
- package/dist/index.cjs +650 -0
- package/dist/index.d.cts +101 -0
- package/dist/index.d.ts +101 -0
- package/dist/index.js +621 -0
- package/package.json +64 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The admin dashboard as a single self-contained HTML document, ready to hand to
|
|
3
|
+
* `createFlagServer` as `config.dashboard` so it is served at `/admin`.
|
|
4
|
+
*
|
|
5
|
+
* Imported from a subpath (`@flaghoist/server/dashboard`) rather than the package root, so
|
|
6
|
+
* deployments that do not want the UI never pull the string into their bundle.
|
|
7
|
+
*/
|
|
8
|
+
declare const dashboardHtml: string;
|
|
9
|
+
|
|
10
|
+
export { dashboardHtml };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The admin dashboard as a single self-contained HTML document, ready to hand to
|
|
3
|
+
* `createFlagServer` as `config.dashboard` so it is served at `/admin`.
|
|
4
|
+
*
|
|
5
|
+
* Imported from a subpath (`@flaghoist/server/dashboard`) rather than the package root, so
|
|
6
|
+
* deployments that do not want the UI never pull the string into their bundle.
|
|
7
|
+
*/
|
|
8
|
+
declare const dashboardHtml: string;
|
|
9
|
+
|
|
10
|
+
export { dashboardHtml };
|