@rebasepro/types 0.10.1-canary.bc2a92e → 0.10.1-canary.ff9ccd6
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/index.es.js +12 -0
- package/dist/index.es.js.map +1 -1
- package/dist/types/admin_block.d.ts +8 -26
- package/dist/types/collections.d.ts +0 -18
- package/dist/types/properties.d.ts +10 -155
- package/package.json +3 -3
- package/src/types/admin_block.ts +8 -26
- package/src/types/collections.ts +0 -18
- package/src/types/properties.ts +9 -167
package/dist/index.es.js
CHANGED
|
@@ -266,6 +266,18 @@ function toCanonicalOp(op) {
|
|
|
266
266
|
//#endregion
|
|
267
267
|
//#region src/types/admin_block.ts
|
|
268
268
|
/**
|
|
269
|
+
* The keys of a collection's admin block, as data.
|
|
270
|
+
*
|
|
271
|
+
* There is no *type* for the block in this package any more, and that is the point:
|
|
272
|
+
* `admin` is not declared on `BaseCollectionConfig` or on any property here, so a
|
|
273
|
+
* BaaS install cannot even write one. `@rebasepro/admin-types` adds the field back by
|
|
274
|
+
* declaration merging, which is why installing it is what makes the admin surface
|
|
275
|
+
* appear.
|
|
276
|
+
*
|
|
277
|
+
* The *list* still has to live here, because three runtime consumers need it and two
|
|
278
|
+
* of them are core — see below.
|
|
279
|
+
*/
|
|
280
|
+
/**
|
|
269
281
|
* Every key that belongs inside a collection's `admin` block, as data.
|
|
270
282
|
*
|
|
271
283
|
* The type that describes these fields is `AdminCollectionOptions` in
|