@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/CHANGELOG.md +35 -1
- package/DISCOVERY.md +55 -0
- package/README.md +1 -1
- package/SUPPORT.md +21 -0
- package/dist/{chunk-QT6V22QX.js → chunk-4RCG3YYZ.js} +44 -24
- package/dist/chunk-4RCG3YYZ.js.map +7 -0
- package/dist/chunk-NSDJM2TL.js +3781 -0
- package/dist/chunk-NSDJM2TL.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/openapi.yaml +1014 -0
- package/package.json +29 -4
- package/dist/chunk-LRGQXAHN.js +0 -5618
- package/dist/chunk-LRGQXAHN.js.map +0 -7
- package/dist/chunk-QT6V22QX.js.map +0 -7
package/dist/cli.js
CHANGED
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
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>;
|