@crvouga/mockingbird-service-payload-cms 3.8.0 → 3.10.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 +18 -1
- package/dist/chunk-PKHJ6HMZ.js +5534 -0
- package/dist/chunk-PKHJ6HMZ.js.map +7 -0
- package/dist/{chunk-RDI4CYK7.js → chunk-YW7FMGOL.js} +3 -3
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-4LD2P27R.js +0 -5525
- package/dist/chunk-4LD2P27R.js.map +0 -7
- /package/dist/{chunk-RDI4CYK7.js.map → chunk-YW7FMGOL.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseFaultHeader,
|
|
10
10
|
resolveAdminPrefix,
|
|
11
11
|
restoreClock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PKHJ6HMZ.js";
|
|
13
13
|
|
|
14
14
|
// src/server.ts
|
|
15
15
|
import { readFile as readFile6 } from "node:fs/promises";
|
|
@@ -3060,7 +3060,7 @@ async function preflightFleet(config, options) {
|
|
|
3060
3060
|
break;
|
|
3061
3061
|
}
|
|
3062
3062
|
}
|
|
3063
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.
|
|
3063
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.10.0" });
|
|
3064
3064
|
} catch (error) {
|
|
3065
3065
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3066
3066
|
}
|
|
@@ -5032,4 +5032,4 @@ export {
|
|
|
5032
5032
|
createServer2 as createServer,
|
|
5033
5033
|
serveTarget
|
|
5034
5034
|
};
|
|
5035
|
-
//# sourceMappingURL=chunk-
|
|
5035
|
+
//# sourceMappingURL=chunk-YW7FMGOL.js.map
|
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,8 @@ declare class Collection<T> {
|
|
|
163
163
|
readonly namespace: string;
|
|
164
164
|
/** Table name inside the namespace. Stable across resets of the rows themselves. */
|
|
165
165
|
readonly collectionName: string;
|
|
166
|
+
private readonly statements;
|
|
167
|
+
private prepare;
|
|
166
168
|
constructor(sqlite: SqliteClient$1,
|
|
167
169
|
/** Storage namespace. Admin introspection uses this to ignore another namespace's tables. */
|
|
168
170
|
namespace: string,
|
package/dist/index.js
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -1147,6 +1147,8 @@ declare class Collection<T> {
|
|
|
1147
1147
|
readonly namespace: string;
|
|
1148
1148
|
/** Table name inside the namespace. Stable across resets of the rows themselves. */
|
|
1149
1149
|
readonly collectionName: string;
|
|
1150
|
+
private readonly statements;
|
|
1151
|
+
private prepare;
|
|
1150
1152
|
constructor(sqlite: SqliteClient$1,
|
|
1151
1153
|
/** Storage namespace. Admin introspection uses this to ignore another namespace's tables. */
|
|
1152
1154
|
namespace: string,
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-payload-cms",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"description": "Stateful emulator of the Payload CMS collection REST API: paginated finds with a where-query subset, find by id, a seeded marketing collection and admin-editable documents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@crvouga/mockingbird-service-sqlite": "3.
|
|
100
|
+
"@crvouga/mockingbird-service-sqlite": "3.4.0",
|
|
101
101
|
"hono": "4.11.9"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|