@crvouga/mockingbird-service-payload-cms 1.0.2 → 1.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createRuntime
3
- } from "./chunk-XODLTRB7.js";
3
+ } from "./chunk-6B7DJGRU.js";
4
4
 
5
5
  // src/server.ts
6
6
  import { readFile as readFile2 } from "node:fs/promises";
@@ -349,4 +349,4 @@ export {
349
349
  createServer2 as createServer,
350
350
  serveTarget
351
351
  };
352
- //# sourceMappingURL=chunk-UN6I5JYO.js.map
352
+ //# sourceMappingURL=chunk-S3DNKFEU.js.map
package/dist/cli.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-UN6I5JYO.js";
7
- import "./chunk-XODLTRB7.js";
6
+ } from "./chunk-S3DNKFEU.js";
7
+ import "./chunk-6B7DJGRU.js";
8
8
 
9
9
  // src/cli.ts
10
10
  var code = await runCli(
package/dist/index.d.ts CHANGED
@@ -530,7 +530,7 @@ type WebhookHub = {
530
530
  messages(namespace?: string): WebhookMessage[];
531
531
  deliveries(namespace?: string): WebhookDelivery[];
532
532
  replay(deliveryId: string): Promise<WebhookDelivery | undefined>;
533
- /** Run every pending retry (and release held reordered messages) now. */
533
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
534
534
  flush(): Promise<void>;
535
535
  /** Resolve once nothing is in flight. */
536
536
  idle(): Promise<void>;
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  payloadCredential,
12
12
  payloadError,
13
13
  supportedOperationIds
14
- } from "./chunk-XODLTRB7.js";
14
+ } from "./chunk-6B7DJGRU.js";
15
15
  export {
16
16
  DEFAULT_MARKETING_DOCS,
17
17
  MARKETING_FIELDS,
package/dist/server.d.ts CHANGED
@@ -459,7 +459,7 @@ type WebhookHub$1 = {
459
459
  messages(namespace?: string): WebhookMessage$1[];
460
460
  deliveries(namespace?: string): WebhookDelivery$1[];
461
461
  replay(deliveryId: string): Promise<WebhookDelivery$1 | undefined>;
462
- /** Run every pending retry (and release held reordered messages) now. */
462
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
463
463
  flush(): Promise<void>;
464
464
  /** Resolve once nothing is in flight. */
465
465
  idle(): Promise<void>;
@@ -1058,7 +1058,7 @@ type WebhookHub = {
1058
1058
  messages(namespace?: string): WebhookMessage[];
1059
1059
  deliveries(namespace?: string): WebhookDelivery[];
1060
1060
  replay(deliveryId: string): Promise<WebhookDelivery | undefined>;
1061
- /** Run every pending retry (and release held reordered messages) now. */
1061
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
1062
1062
  flush(): Promise<void>;
1063
1063
  /** Resolve once nothing is in flight. */
1064
1064
  idle(): Promise<void>;
package/dist/server.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-UN6I5JYO.js";
6
- import "./chunk-XODLTRB7.js";
5
+ } from "./chunk-S3DNKFEU.js";
6
+ import "./chunk-6B7DJGRU.js";
7
7
  export {
8
8
  DEFAULT_PORT,
9
9
  createServer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-payload-cms",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "Stateful mock 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",