apps 0.0.1-beta.67 → 0.0.1-beta.68

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.
@@ -2,6 +2,8 @@
2
2
  import { Schema, type Effect } from "effect";
3
3
  declare const CacheError_base: Schema.Class<CacheError, Schema.TaggedStruct<"CacheError", {
4
4
  readonly reason: Schema.Literals<readonly ["unavailable", "storage", "invalid", "capacity", "timeout"]>;
5
+ /** Which of `cacheLimits` the request exceeded, when one did. */
6
+ readonly limit: Schema.optionalKey<Schema.Literals<readonly ["keyBytes", "entryBytes", "batchBytes", "batchEntries", "totalBytes", "totalEntries"]>>;
5
7
  }>, import("effect/Cause").YieldableError>;
6
8
  /** Expected cache failures never include keys, values or upstream exception text. */
7
9
  export declare class CacheError extends CacheError_base {
@@ -56,3 +56,8 @@ export interface AppSqlStorage {
56
56
  export declare const reservedTablePrefix = "_executor_";
57
57
  /** Where an app keeps its migrations: `0001_create_notes.sql`, applied in number order. */
58
58
  export declare const migrationsDirectory = "migrations";
59
+ /**
60
+ * The most values one statement may bind. Durable Object SQLite sets `SQLITE_LIMIT_VARIABLE_NUMBER`
61
+ * to 100 on every host; `ctx.sql` checks it first so the error names the limit.
62
+ */
63
+ export declare const sqlBindingsLimit = 100;