@crvouga/mockingbird-service-plane 1.8.0 → 2.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/dist/cli.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-QT6V22QX.js";
7
- import "./chunk-LRGQXAHN.js";
6
+ } from "./chunk-4RCG3YYZ.js";
7
+ import "./chunk-NSDJM2TL.js";
8
8
 
9
9
  // src/cli.ts
10
10
  var code = await runCli(
package/dist/index.d.ts CHANGED
@@ -978,14 +978,15 @@ type PlaneRuntimeOptions = {
978
978
  sqlite?: SqliteClient;
979
979
  clock?: Clock;
980
980
  seed?: number | string;
981
+ adminPrefix?: string;
981
982
  adminKey?: string;
982
983
  onLog?: (entry: RequestLog) => void;
983
984
  settings?: Partial<Settings>;
984
985
  };
985
986
  type PlaneRuntime = ServiceRuntime<PlaneAPI>;
986
987
  /**
987
- * The Plane mock with Mockingbird's full service contract: `/health`, `/__admin/*`,
988
- * namespaces by header, by `/ns/<name>` path prefix, or by API key
988
+ * The Plane mock with Mockingbird's full service contract: `/__admin/health`, `/__admin/*`,
989
+ * namespaces by header, by `/__admin/ns/<name>` path prefix, or by API key
989
990
  * (`PUT /__admin/credentials {"credentials": {"<PLANE_ACCESS_TOKEN>": "<namespace>"}}`),
990
991
  * clock control, fault presets and a request journal.
991
992
  */
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  operationIds,
10
10
  supportedOperationIds,
11
11
  uuidFrom
12
- } from "./chunk-LRGQXAHN.js";
12
+ } from "./chunk-NSDJM2TL.js";
13
13
  export {
14
14
  DEFAULT_STATES,
15
15
  PLANE_NAMESPACE,
package/dist/server.d.ts CHANGED
@@ -593,6 +593,7 @@ type CliOption = {
593
593
  };
594
594
  type CliValues = Record<string, string | boolean | undefined>;
595
595
  type CommonServeOptions = {
596
+ adminPrefix?: string;
596
597
  adminKey: string | undefined;
597
598
  seed: string | undefined;
598
599
  onLog: ((entry: RequestLog$1) => void) | undefined;
@@ -1440,6 +1441,7 @@ type PlaneRuntimeOptions = {
1440
1441
  sqlite?: SqliteClient;
1441
1442
  clock?: Clock;
1442
1443
  seed?: number | string;
1444
+ adminPrefix?: string;
1443
1445
  adminKey?: string;
1444
1446
  onLog?: (entry: RequestLog) => void;
1445
1447
  settings?: Partial<Settings>;
package/dist/server.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-QT6V22QX.js";
6
- import "./chunk-LRGQXAHN.js";
5
+ } from "./chunk-4RCG3YYZ.js";
6
+ import "./chunk-NSDJM2TL.js";
7
7
  export {
8
8
  DEFAULT_PORT,
9
9
  createServer,