@rebasepro/server 0.9.1-canary.58368ce → 0.9.1-canary.73476f2
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/dist/api/rest/api-generator.d.ts +1 -4
- package/dist/env.d.ts +0 -1
- package/dist/index.es.js +33 -396
- package/dist/index.es.js.map +1 -1
- package/dist/init/middlewares.d.ts +0 -1
- package/dist/init.d.ts +0 -29
- package/dist/{jwt-C6pbGtvf.js → jwt-BwIn8xmk.js} +4 -157
- package/dist/jwt-BwIn8xmk.js.map +1 -0
- package/dist/ms-DnYXB-Wd.js +162 -0
- package/dist/ms-DnYXB-Wd.js.map +1 -0
- package/dist/{src-CsHhSKbi.js → src-B4OLmNVa.js} +2 -60
- package/dist/src-B4OLmNVa.js.map +1 -0
- package/dist/src-B9tjYmqP.js +24598 -0
- package/dist/src-B9tjYmqP.js.map +1 -0
- package/package.json +7 -8
- package/dist/jwt-C6pbGtvf.js.map +0 -1
- package/dist/src-CsHhSKbi.js.map +0 -1
- package/dist/utils/compression.d.ts +0 -16
|
@@ -5,15 +5,12 @@ import { HonoEnv } from "../types";
|
|
|
5
5
|
* Lightweight REST API generator that leverages existing Rebase DataDriver.
|
|
6
6
|
* Supports `include` query parameter for eager-loading relations via Drizzle.
|
|
7
7
|
*/
|
|
8
|
-
/** Rows accepted by a single POST /<collection>/bulk. See `maxBulkRows`. */
|
|
9
|
-
export declare const DEFAULT_MAX_BULK_ROWS = 1000;
|
|
10
8
|
export declare class RestApiGenerator {
|
|
11
9
|
private collections;
|
|
12
10
|
private router;
|
|
13
11
|
private driver;
|
|
14
|
-
private maxBulkRows;
|
|
15
12
|
private authAdapter?;
|
|
16
|
-
constructor(collections: CollectionConfig[], driver: DataDriver, authAdapter?: AuthAdapter
|
|
13
|
+
constructor(collections: CollectionConfig[], driver: DataDriver, authAdapter?: AuthAdapter);
|
|
17
14
|
/**
|
|
18
15
|
* Generate REST routes using existing DataDriver
|
|
19
16
|
*/
|