@rebasepro/server 0.0.1-canary.4829d6e

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.
Files changed (127) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +77 -0
  3. package/dist/api/ast-schema-editor.d.ts +21 -0
  4. package/dist/api/collections_for_test/callbacks_test_collection.d.ts +2 -0
  5. package/dist/api/errors.d.ts +53 -0
  6. package/dist/api/index.d.ts +7 -0
  7. package/dist/api/logs-routes.d.ts +37 -0
  8. package/dist/api/openapi-generator.d.ts +16 -0
  9. package/dist/api/rest/api-generator.d.ts +68 -0
  10. package/dist/api/rest/index.d.ts +1 -0
  11. package/dist/api/rest/query-parser.d.ts +6 -0
  12. package/dist/api/schema-editor-routes.d.ts +3 -0
  13. package/dist/api/types.d.ts +56 -0
  14. package/dist/auth/adapter-middleware.d.ts +43 -0
  15. package/dist/auth/admin-roles-route.d.ts +18 -0
  16. package/dist/auth/admin-user-ops.d.ts +80 -0
  17. package/dist/auth/admin-users-route.d.ts +28 -0
  18. package/dist/auth/api-keys/api-key-middleware.d.ts +39 -0
  19. package/dist/auth/api-keys/api-key-permission-guard.d.ts +32 -0
  20. package/dist/auth/api-keys/api-key-routes.d.ts +20 -0
  21. package/dist/auth/api-keys/api-key-store.d.ts +35 -0
  22. package/dist/auth/api-keys/api-key-types.d.ts +96 -0
  23. package/dist/auth/api-keys/index.d.ts +17 -0
  24. package/dist/auth/apple-oauth.d.ts +30 -0
  25. package/dist/auth/auth-hooks.d.ts +242 -0
  26. package/dist/auth/bitbucket-oauth.d.ts +11 -0
  27. package/dist/auth/builtin-auth-adapter.d.ts +55 -0
  28. package/dist/auth/cookie-utils.d.ts +32 -0
  29. package/dist/auth/crypto-utils.d.ts +16 -0
  30. package/dist/auth/custom-auth-adapter.d.ts +39 -0
  31. package/dist/auth/discord-oauth.d.ts +14 -0
  32. package/dist/auth/facebook-oauth.d.ts +14 -0
  33. package/dist/auth/github-oauth.d.ts +15 -0
  34. package/dist/auth/gitlab-oauth.d.ts +13 -0
  35. package/dist/auth/google-oauth.d.ts +47 -0
  36. package/dist/auth/index.d.ts +38 -0
  37. package/dist/auth/interfaces.d.ts +431 -0
  38. package/dist/auth/jwt.d.ts +67 -0
  39. package/dist/auth/linkedin-oauth.d.ts +18 -0
  40. package/dist/auth/magic-link-routes.d.ts +32 -0
  41. package/dist/auth/mfa-crypto.d.ts +23 -0
  42. package/dist/auth/mfa-routes.d.ts +7 -0
  43. package/dist/auth/mfa.d.ts +49 -0
  44. package/dist/auth/microsoft-oauth.d.ts +16 -0
  45. package/dist/auth/middleware.d.ts +158 -0
  46. package/dist/auth/password.d.ts +22 -0
  47. package/dist/auth/rate-limiter.d.ts +50 -0
  48. package/dist/auth/reset-password-admin.d.ts +29 -0
  49. package/dist/auth/rls-scope.d.ts +31 -0
  50. package/dist/auth/routes.d.ts +66 -0
  51. package/dist/auth/session-routes.d.ts +29 -0
  52. package/dist/auth/slack-oauth.d.ts +12 -0
  53. package/dist/auth/spotify-oauth.d.ts +12 -0
  54. package/dist/auth/twitter-oauth.d.ts +18 -0
  55. package/dist/backup/backup-common.d.ts +31 -0
  56. package/dist/backup/backup-routes.d.ts +22 -0
  57. package/dist/backup/index.d.ts +7 -0
  58. package/dist/collections/BackendCollectionRegistry.d.ts +13 -0
  59. package/dist/collections/loader.d.ts +39 -0
  60. package/dist/cron/cron-loader.d.ts +18 -0
  61. package/dist/cron/cron-routes.d.ts +14 -0
  62. package/dist/cron/cron-scheduler.d.ts +106 -0
  63. package/dist/cron/cron-store.d.ts +32 -0
  64. package/dist/cron/define-cron.d.ts +28 -0
  65. package/dist/cron/index.d.ts +7 -0
  66. package/dist/db/interfaces.d.ts +18 -0
  67. package/dist/dynamic-import-Dvh-K5fl.js +22 -0
  68. package/dist/dynamic-import-Dvh-K5fl.js.map +1 -0
  69. package/dist/email/index.d.ts +6 -0
  70. package/dist/email/smtp-email-service.d.ts +30 -0
  71. package/dist/email/templates.d.ts +50 -0
  72. package/dist/email/types.d.ts +126 -0
  73. package/dist/env.d.ts +102 -0
  74. package/dist/functions/define-function.d.ts +55 -0
  75. package/dist/functions/function-loader.d.ts +18 -0
  76. package/dist/functions/function-routes.d.ts +10 -0
  77. package/dist/functions/index.d.ts +5 -0
  78. package/dist/history/history-routes.d.ts +23 -0
  79. package/dist/history/index.d.ts +1 -0
  80. package/dist/index.d.ts +38 -0
  81. package/dist/index.es.js +18458 -0
  82. package/dist/index.es.js.map +1 -0
  83. package/dist/index.umd.js +48745 -0
  84. package/dist/index.umd.js.map +1 -0
  85. package/dist/init/docs.d.ts +4 -0
  86. package/dist/init/health.d.ts +2 -0
  87. package/dist/init/middlewares.d.ts +10 -0
  88. package/dist/init/shutdown.d.ts +65 -0
  89. package/dist/init/storage.d.ts +5 -0
  90. package/dist/init.d.ts +375 -0
  91. package/dist/jwt-BwIn8xmk.js +4200 -0
  92. package/dist/jwt-BwIn8xmk.js.map +1 -0
  93. package/dist/logger-BYU66ENZ.js +94 -0
  94. package/dist/logger-BYU66ENZ.js.map +1 -0
  95. package/dist/ms-DnYXB-Wd.js +162 -0
  96. package/dist/ms-DnYXB-Wd.js.map +1 -0
  97. package/dist/openapi-generator-Z9oYWLf_.js +586 -0
  98. package/dist/openapi-generator-Z9oYWLf_.js.map +1 -0
  99. package/dist/schema-editor-routes-D3ef8zu1.js +219 -0
  100. package/dist/schema-editor-routes-D3ef8zu1.js.map +1 -0
  101. package/dist/serve-spa.d.ts +36 -0
  102. package/dist/services/driver-registry.d.ts +78 -0
  103. package/dist/services/routed-realtime-service.d.ts +43 -0
  104. package/dist/services/webhook-service.d.ts +29 -0
  105. package/dist/singleton.d.ts +51 -0
  106. package/dist/src-B4OLmNVa.js +437 -0
  107. package/dist/src-B4OLmNVa.js.map +1 -0
  108. package/dist/src-B9tjYmqP.js +24598 -0
  109. package/dist/src-B9tjYmqP.js.map +1 -0
  110. package/dist/storage/GCSStorageController.d.ts +43 -0
  111. package/dist/storage/LocalStorageController.d.ts +46 -0
  112. package/dist/storage/S3StorageController.d.ts +40 -0
  113. package/dist/storage/image-transform.d.ts +50 -0
  114. package/dist/storage/index.d.ts +31 -0
  115. package/dist/storage/routes.d.ts +70 -0
  116. package/dist/storage/storage-registry.d.ts +78 -0
  117. package/dist/storage/tus-handler.d.ts +53 -0
  118. package/dist/storage/types.d.ts +128 -0
  119. package/dist/types/index.d.ts +11 -0
  120. package/dist/utils/dev-port.d.ts +45 -0
  121. package/dist/utils/dynamic-import.d.ts +25 -0
  122. package/dist/utils/logger.d.ts +31 -0
  123. package/dist/utils/logging.d.ts +9 -0
  124. package/dist/utils/request-id.d.ts +4 -0
  125. package/dist/utils/request-logger.d.ts +19 -0
  126. package/dist/utils/sql.d.ts +27 -0
  127. package/package.json +115 -0
@@ -0,0 +1,437 @@
1
+ import { createRequire as __createRequire } from "module";
2
+ import "process";
3
+ __createRequire(import.meta.url);
4
+ //#region ../types/src/errors.ts
5
+ /**
6
+ * The single error type thrown across the entire Rebase client surface —
7
+ * HTTP data/control-plane calls, realtime/WebSocket operations, and
8
+ * client-side logic errors (e.g. an unknown collection accessor). A `catch`
9
+ * block only ever needs to check for this one class:
10
+ *
11
+ * ```ts
12
+ * import { RebaseApiError } from "@rebasepro/client"; // re-exported
13
+ *
14
+ * try {
15
+ * await client.data.products.update(id, { price: 9 });
16
+ * } catch (e) {
17
+ * if (e instanceof RebaseApiError) {
18
+ * if (e.status === 404) { ... } // HTTP failures carry a status
19
+ * console.error(e.code, e.details);
20
+ * }
21
+ * }
22
+ * ```
23
+ *
24
+ * `status` is present for HTTP failures and `undefined` otherwise, so its
25
+ * presence distinguishes transport-level errors from realtime/logic errors.
26
+ *
27
+ * @group Errors
28
+ */
29
+ var RebaseApiError = class extends Error {
30
+ /** HTTP status code, or `undefined` for non-HTTP errors. */
31
+ status;
32
+ /** Stable machine-readable error code, when the server supplied one. */
33
+ code;
34
+ /** Structured error payload from the server, when present. */
35
+ details;
36
+ constructor(message, init = {}) {
37
+ super(message);
38
+ this.name = "RebaseApiError";
39
+ this.status = init.status;
40
+ this.code = init.code;
41
+ this.details = init.details;
42
+ if (init.cause !== void 0) this.cause = init.cause;
43
+ }
44
+ };
45
+ /**
46
+ * Client-side logic error — raised before any request is made (e.g. accessing
47
+ * an unknown collection accessor when a typed dictionary is configured).
48
+ *
49
+ * A subclass of {@link RebaseApiError} (with no `status`), so a single
50
+ * `catch (e) { if (e instanceof RebaseApiError) ... }` handles it too.
51
+ *
52
+ * @group Errors
53
+ */
54
+ var RebaseClientError = class extends RebaseApiError {
55
+ constructor(message) {
56
+ super(message);
57
+ this.name = "RebaseClientError";
58
+ }
59
+ };
60
+ //#endregion
61
+ //#region ../types/src/types/entities.ts
62
+ /**
63
+ * Class used to create a reference to a entity in a different path.
64
+ *
65
+ * @example
66
+ * // Simple reference (most common case - single driver, single db)
67
+ * new EntityReference({ id: "123", path: "users" })
68
+ *
69
+ * // Reference to a different driver (e.g., Firestore)
70
+ * new EntityReference({ id: "123", path: "analytics", driver: "firestore" })
71
+ *
72
+ * // Reference to a specific database within a driver
73
+ * new EntityReference({ id: "123", path: "orders", driver: "postgres", databaseId: "orders_db" })
74
+ */
75
+ var EntityReference = class {
76
+ __type = "reference";
77
+ /**
78
+ * ID of the entity
79
+ */
80
+ id;
81
+ /**
82
+ * A string representing the path of the referenced document (relative
83
+ * to the root of the database).
84
+ */
85
+ path;
86
+ /**
87
+ * Which driver (e.g., 'postgres', 'firestore').
88
+ * Defaults to "(default)" if not specified.
89
+ */
90
+ driver;
91
+ /**
92
+ * Which database within the driver.
93
+ * Defaults to "(default)" if not specified.
94
+ */
95
+ databaseId;
96
+ /**
97
+ * Create a reference to a entity.
98
+ *
99
+ * @example
100
+ * // Simple reference (most common case)
101
+ * new EntityReference({ id: "123", path: "users" })
102
+ *
103
+ * // With driver
104
+ * new EntityReference({ id: "123", path: "analytics", driver: "firestore" })
105
+ */
106
+ constructor(props) {
107
+ this.id = props.id;
108
+ this.path = props.path;
109
+ this.driver = props.driver;
110
+ this.databaseId = props.databaseId;
111
+ }
112
+ get pathWithId() {
113
+ return `${this.path}/${this.id}`;
114
+ }
115
+ /**
116
+ * Get the full path including driver and database prefixes if specified.
117
+ * For the common case (single driver, single db), this just returns pathWithId.
118
+ */
119
+ get fullPath() {
120
+ const parts = [];
121
+ if (this.driver && this.driver !== "(default)") parts.push(this.driver);
122
+ if (this.databaseId && this.databaseId !== "(default)") parts.push(this.databaseId);
123
+ if (parts.length > 0) return `${parts.join(":")}:::${this.path}/${this.id}`;
124
+ return this.pathWithId;
125
+ }
126
+ isEntityReference() {
127
+ return true;
128
+ }
129
+ };
130
+ /**
131
+ * Class used to create a reference to a entity in a different path
132
+ */
133
+ var EntityRelation = class {
134
+ __type = "relation";
135
+ /**
136
+ * ID of the entity
137
+ */
138
+ id;
139
+ /**
140
+ * A string representing the path of the referenced document (relative
141
+ * to the root of the database).
142
+ */
143
+ path;
144
+ /**
145
+ * Pre-fetched data payload to eliminate N+1 queries.
146
+ * When present, clients can use this directly instead of fetching.
147
+ */
148
+ data;
149
+ constructor(id, path, data) {
150
+ this.id = id;
151
+ this.path = path;
152
+ this.data = data;
153
+ }
154
+ get pathWithId() {
155
+ return `${this.path}/${this.id}`;
156
+ }
157
+ isEntityReference() {
158
+ return false;
159
+ }
160
+ isEntityRelation() {
161
+ return true;
162
+ }
163
+ };
164
+ var GeoPoint = class {
165
+ /**
166
+ * The latitude of this GeoPoint instance.
167
+ */
168
+ latitude;
169
+ /**
170
+ * The longitude of this GeoPoint instance.
171
+ */
172
+ longitude;
173
+ constructor(latitude, longitude) {
174
+ this.latitude = latitude;
175
+ this.longitude = longitude;
176
+ }
177
+ };
178
+ var Vector = class {
179
+ value;
180
+ constructor(value) {
181
+ this.value = value;
182
+ }
183
+ };
184
+ //#endregion
185
+ //#region ../types/src/types/filter-operators.ts
186
+ /** Maps canonical operators to their REST short-code equivalents. */
187
+ var CANONICAL_TO_REST = {
188
+ "==": "eq",
189
+ "!=": "neq",
190
+ ">": "gt",
191
+ ">=": "gte",
192
+ "<": "lt",
193
+ "<=": "lte",
194
+ "in": "in",
195
+ "not-in": "nin",
196
+ "array-contains": "cs",
197
+ "array-contains-any": "csa",
198
+ "like": "like",
199
+ "ilike": "ilike",
200
+ "not-like": "nlike",
201
+ "not-ilike": "nilike",
202
+ "is-null": "isnull",
203
+ "is-not-null": "notnull"
204
+ };
205
+ /** Maps REST short-code operators to their canonical equivalents. */
206
+ var REST_TO_CANONICAL = {
207
+ "eq": "==",
208
+ "neq": "!=",
209
+ "gt": ">",
210
+ "gte": ">=",
211
+ "lt": "<",
212
+ "lte": "<=",
213
+ "in": "in",
214
+ "nin": "not-in",
215
+ "cs": "array-contains",
216
+ "csa": "array-contains-any",
217
+ "like": "like",
218
+ "ilike": "ilike",
219
+ "nlike": "not-like",
220
+ "nilike": "not-ilike",
221
+ "isnull": "is-null",
222
+ "notnull": "is-not-null"
223
+ };
224
+ /**
225
+ * Operators that test for null/not-null and therefore ignore their value.
226
+ * Codecs normalize the value of these conditions to `null`.
227
+ */
228
+ var NULL_OPS = new Set(["is-null", "is-not-null"]);
229
+ /**
230
+ * Every canonical operator, in a stable order. Useful for engine capability
231
+ * declarations ({@link DataSourceCapabilities.filterOperators}) and for
232
+ * building operator subsets.
233
+ * @group Models
234
+ */
235
+ var ALL_WHERE_FILTER_OPS = [
236
+ "<",
237
+ "<=",
238
+ "==",
239
+ "!=",
240
+ ">=",
241
+ ">",
242
+ "in",
243
+ "not-in",
244
+ "array-contains",
245
+ "array-contains-any",
246
+ "like",
247
+ "ilike",
248
+ "not-like",
249
+ "not-ilike",
250
+ "is-null",
251
+ "is-not-null"
252
+ ];
253
+ /** All canonical operator strings for runtime validation. */
254
+ var CANONICAL_OPS = new Set(ALL_WHERE_FILTER_OPS);
255
+ /**
256
+ * Resolve any operator string (canonical or REST short-code) to its
257
+ * canonical `WhereFilterOp` form. Returns `undefined` for unknown operators.
258
+ *
259
+ * @example
260
+ * toCanonicalOp("==") // "=="
261
+ * toCanonicalOp("eq") // "=="
262
+ * toCanonicalOp("cs") // "array-contains"
263
+ * toCanonicalOp("xyz") // undefined
264
+ */
265
+ function toCanonicalOp(op) {
266
+ if (CANONICAL_OPS.has(op)) return op;
267
+ return REST_TO_CANONICAL[op];
268
+ }
269
+ //#endregion
270
+ //#region ../types/src/types/collections.ts
271
+ /**
272
+ * Type guard for PostgreSQL collections.
273
+ * Returns true if the collection uses the Postgres engine (or the default engine).
274
+ * @group Models
275
+ */
276
+ function isPostgresCollectionConfig(collection) {
277
+ return !collection.engine || collection.engine === "postgres";
278
+ }
279
+ /**
280
+ * Type guard for Firebase / Firestore collections.
281
+ * @group Models
282
+ */
283
+ function isFirebaseCollectionConfig(collection) {
284
+ return collection.engine === "firestore";
285
+ }
286
+ /**
287
+ * Type guard for MongoDB collections.
288
+ * @group Models
289
+ */
290
+ function isMongoDBCollectionConfig(collection) {
291
+ return collection.engine === "mongodb";
292
+ }
293
+ /**
294
+ * Returns the data path for a collection.
295
+ * For Firestore or MongoDB collections with a `path`, returns that value;
296
+ * otherwise falls back to `slug`.
297
+ */
298
+ function getCollectionDataPath(collection) {
299
+ if (isFirebaseCollectionConfig(collection) && collection.path) return collection.path;
300
+ if (isMongoDBCollectionConfig(collection) && collection.path) return collection.path;
301
+ return collection.slug;
302
+ }
303
+ /**
304
+ * Reads a collection's driver-declared subcollections thunk (the `subcollections`
305
+ * field) independent of engine identity, so engine-agnostic code doesn't have to
306
+ * type-guard against a specific driver. Returns `undefined` when the collection
307
+ * declares none.
308
+ *
309
+ * Pair with `getDataSourceCapabilities(engine).supportsSubcollections` to decide
310
+ * whether the engine honours subcollections at all before reading them.
311
+ * @group Models
312
+ */
313
+ function getDeclaredSubcollections(collection) {
314
+ return collection.subcollections;
315
+ }
316
+ //#endregion
317
+ //#region ../types/src/types/backend.ts
318
+ /**
319
+ * Type guard: does this admin support SQL operations?
320
+ * @group Admin
321
+ */
322
+ function isSQLAdmin(admin) {
323
+ return !!admin && typeof admin.executeSql === "function";
324
+ }
325
+ //#endregion
326
+ //#region ../types/src/types/data_source.ts
327
+ /**
328
+ * The default data-source key, used when a collection does not name a
329
+ * `dataSource`. Shared by the frontend router and the backend driver
330
+ * registry so both agree on "the default database".
331
+ * @group Models
332
+ */
333
+ var DEFAULT_DATA_SOURCE_KEY = "(default)";
334
+ /** @group Models */
335
+ var POSTGRES_CAPABILITIES = {
336
+ key: "postgres",
337
+ label: "PostgreSQL",
338
+ supportsRelations: true,
339
+ supportsSubcollections: false,
340
+ supportsRLS: true,
341
+ supportsReferences: false,
342
+ supportsColumnTypes: true,
343
+ supportsRealtime: true,
344
+ filterOperators: ALL_WHERE_FILTER_OPS,
345
+ supportsSQLAdmin: true,
346
+ supportsDocumentAdmin: false,
347
+ supportsSchemaAdmin: true
348
+ };
349
+ /** @group Models */
350
+ var FIREBASE_CAPABILITIES = {
351
+ key: "firestore",
352
+ label: "Firebase / Firestore",
353
+ supportsRelations: false,
354
+ supportsSubcollections: true,
355
+ supportsRLS: false,
356
+ supportsReferences: true,
357
+ supportsColumnTypes: false,
358
+ supportsRealtime: true,
359
+ filterOperators: ALL_WHERE_FILTER_OPS.filter((op) => op !== "like" && op !== "ilike" && op !== "not-like" && op !== "not-ilike"),
360
+ supportsSQLAdmin: false,
361
+ supportsDocumentAdmin: false,
362
+ supportsSchemaAdmin: false
363
+ };
364
+ /** @group Models */
365
+ var MONGODB_CAPABILITIES = {
366
+ key: "mongodb",
367
+ label: "MongoDB",
368
+ supportsRelations: false,
369
+ supportsSubcollections: true,
370
+ supportsRLS: false,
371
+ supportsReferences: true,
372
+ supportsColumnTypes: false,
373
+ supportsRealtime: false,
374
+ filterOperators: ALL_WHERE_FILTER_OPS,
375
+ supportsSQLAdmin: false,
376
+ supportsDocumentAdmin: true,
377
+ supportsSchemaAdmin: true
378
+ };
379
+ /**
380
+ * Fallback capabilities when the driver is unknown.
381
+ * Enables everything so nothing is hidden unexpectedly.
382
+ * @group Models
383
+ */
384
+ var DEFAULT_CAPABILITIES = {
385
+ key: "(default)",
386
+ label: "Default",
387
+ supportsRelations: true,
388
+ supportsSubcollections: true,
389
+ supportsRLS: true,
390
+ supportsReferences: true,
391
+ supportsColumnTypes: true,
392
+ supportsRealtime: true,
393
+ filterOperators: ALL_WHERE_FILTER_OPS,
394
+ supportsSQLAdmin: true,
395
+ supportsDocumentAdmin: true,
396
+ supportsSchemaAdmin: true
397
+ };
398
+ var CAPABILITIES_REGISTRY = {
399
+ postgres: POSTGRES_CAPABILITIES,
400
+ firestore: FIREBASE_CAPABILITIES,
401
+ mongodb: MONGODB_CAPABILITIES,
402
+ "(default)": DEFAULT_CAPABILITIES
403
+ };
404
+ /**
405
+ * Look up capabilities for a given engine key.
406
+ * If `engine` is undefined or not found, returns `DEFAULT_CAPABILITIES`.
407
+ * @group Models
408
+ */
409
+ function getDataSourceCapabilities(engine) {
410
+ if (!engine) return POSTGRES_CAPABILITIES;
411
+ return CAPABILITIES_REGISTRY[engine] ?? DEFAULT_CAPABILITIES;
412
+ }
413
+ //#endregion
414
+ //#region ../types/src/types/storage_source.ts
415
+ /**
416
+ * Describes a named storage backend — a place files live.
417
+ *
418
+ * Declared once and shared front + back: the frontend uses it to decide
419
+ * transport (HTTP proxy vs direct SDK), the backend uses the same `key`
420
+ * to resolve a StorageController, and collection properties reference
421
+ * a definition by its `key` via `StorageConfig.storageSource`.
422
+ *
423
+ * This mirrors the {@link DataSourceDefinition} pattern used for databases.
424
+ *
425
+ * @group Models
426
+ */
427
+ /**
428
+ * The default storage source key, used when a property does not specify
429
+ * a `storageSource`. Shared by the frontend and backend registries so
430
+ * both agree on "the default storage backend".
431
+ * @group Models
432
+ */
433
+ var DEFAULT_STORAGE_SOURCE_KEY = "(default)";
434
+ //#endregion
435
+ export { RebaseClientError as _, getCollectionDataPath as a, CANONICAL_TO_REST as c, toCanonicalOp as d, EntityReference as f, RebaseApiError as g, Vector as h, isSQLAdmin as i, NULL_OPS as l, GeoPoint as m, DEFAULT_DATA_SOURCE_KEY as n, getDeclaredSubcollections as o, EntityRelation as p, getDataSourceCapabilities as r, isPostgresCollectionConfig as s, DEFAULT_STORAGE_SOURCE_KEY as t, REST_TO_CANONICAL as u };
436
+
437
+ //# sourceMappingURL=src-B4OLmNVa.js.map