@knapsack/core 4.104.2 → 4.105.0-canary-20261006234845

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.
@@ -33,4 +33,19 @@ export declare function isReservedInstanceSlug(slug: string): slug is ReservedIn
33
33
  */
34
34
  export declare const READ_ONLY_DEPLOY_SLUG_REGEX: RegExp;
35
35
  export declare function isUrlSafeReadOnlyDeploySlug(slug: string): boolean;
36
+ /**
37
+ * Rows `Query.publishHistory` serves when the caller asks for a non-positive
38
+ * `limit`. Enough for the menu's first page; callers that want more say so.
39
+ */
40
+ export declare const PUBLISH_HISTORY_DEFAULT_LIMIT = 25;
41
+ /**
42
+ * Ceiling `Query.publishHistory` clamps `limit` to. The query runs against
43
+ * Hasura with the admin secret, so the caller cannot be trusted to keep the
44
+ * sort bounded on its own.
45
+ *
46
+ * Sized so no realistic site could ever hit it (10 publishes/day for 30 years
47
+ * is ~110k rows) and so the App UI's "show everything" search — which asks for
48
+ * one row past what it intends to display — still gets a complete answer.
49
+ */
50
+ export declare const PUBLISH_HISTORY_MAX_LIMIT = 100001;
36
51
  //# sourceMappingURL=branches.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"branches.d.ts","sourceRoot":"","sources":["../src/branches.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,eAAO,MAAM,2BAA2B,EAAE,yBAAyB,EAElE,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,yBAAyB,EAGrE,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,yBAAyB,EACpC,CAAC;AAEzC,eAAO,MAAM,2BAA2B,GAAI,qBAEzC;IACD,cAAc,EAAE,yBAAyB,CAAC;CAC3C,KAAG,OAAyE,CAAC;AAE9E,eAAO,MAAM,qBAAqB,GAAI,qBAEnC;IACD,cAAc,EAAE,yBAAyB,CAAC;CAC3C,KAAG,OAA+D,CAAC;AAEpE,e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