slotlock 0.3.0 → 0.5.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.
@@ -17,6 +17,12 @@ export interface SlotlockStoreAgentBackendOptions {
17
17
  * writes events through the store itself and shows them to agents beside the tools' own results.
18
18
  */
19
19
  export declare function projectSlotlockCalendarEvent(event: SlotlockCalendarEvent): Record<string, unknown>;
20
+ /**
21
+ * The HTTP status a store refusal answers with on every agent surface: a missing or foreign
22
+ * record 404, a malformed request 400, a full agent quota 429, and any other conflict with what is
23
+ * stored 409. rest-api.ts declares the 404 and 409 each route can answer from this.
24
+ */
25
+ export declare function slotlockAgentErrorStatus(code: string): 400 | 404 | 409 | 429;
20
26
  /** Bind the protocol server to the production store without giving a request control of tenancy. */
21
27
  export declare function createSlotlockStoreAgentBackend(store: SlotlockStore, options: SlotlockStoreAgentBackendOptions): SlotlockAgentCalendarBackend;
22
28
  export interface SlotlockStoreApplicationBackendOptions {