@rebasepro/common 0.16.1-canary.gef08a6e → 0.17.0
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/collections/default-collections.d.ts +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/util/pg-column-to-property.d.ts +1 -1
- package/package.json +4 -4
- package/src/collections/default-collections.ts +1 -1
- package/src/util/pg-column-to-property.ts +1 -1
|
@@ -6,7 +6,7 @@ import type { PostgresProperties, Relation, SecurityRule, TableMetadata } from "
|
|
|
6
6
|
* Deliberately not `Partial<AdminCollection>`, which is what this returned
|
|
7
7
|
* while it lived in `@rebasepro/studio`. `propertiesOrder` is the only admin
|
|
8
8
|
* key it produces, and naming the admin view model for one field would put
|
|
9
|
-
* `@rebasepro/
|
|
9
|
+
* `@rebasepro/cms-types` on the dependency path of a package the backend
|
|
10
10
|
* loads.
|
|
11
11
|
*/
|
|
12
12
|
export interface IntrospectedCollection {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/common",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"description": "Rebase shared core — collection registry, data driver adapter and fluent query builder. No React dependency.",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/rebaseco"
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"fast-equals": "6.0.2",
|
|
42
42
|
"json-logic-js": "^2.0.5",
|
|
43
|
-
"@rebasepro/types": "0.
|
|
44
|
-
"@rebasepro/utils": "0.
|
|
43
|
+
"@rebasepro/types": "0.17.0",
|
|
44
|
+
"@rebasepro/utils": "0.17.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@jest/globals": "^30.4.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"testEnvironment": "node",
|
|
91
91
|
"moduleNameMapper": {
|
|
92
92
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
|
|
93
|
-
"^@rebasepro/
|
|
93
|
+
"^@rebasepro/cms-types$": "<rootDir>/../cms-types/src/index.ts",
|
|
94
94
|
"^@rebasepro/client$": "<rootDir>/../client/src/index.ts",
|
|
95
95
|
"^@rebasepro/types$": "<rootDir>/../types/src/index.ts",
|
|
96
96
|
"^@rebasepro/utils$": "<rootDir>/../utils/src/index.ts"
|
|
@@ -8,7 +8,7 @@ import { defineCollection } from "../util/builders";
|
|
|
8
8
|
* override by defining their own collection with `slug: "users"`.
|
|
9
9
|
*
|
|
10
10
|
* Schema only — no `admin` block. This package is on the backend's dependency path,
|
|
11
|
-
* where that field does not exist: `@rebasepro/
|
|
11
|
+
* where that field does not exist: `@rebasepro/cms-types` adds it by declaration
|
|
12
12
|
* merging, and a BaaS install never installs that. The scaffolded
|
|
13
13
|
* `config/collections/users.ts` carries the presentation for projects that want this
|
|
14
14
|
* collection in their panel, which is also where it is editable.
|
|
@@ -20,7 +20,7 @@ import { firstFreeKey, prettifyIdentifier, toWireKey } from "@rebasepro/utils";
|
|
|
20
20
|
* Deliberately not `Partial<AdminCollection>`, which is what this returned
|
|
21
21
|
* while it lived in `@rebasepro/studio`. `propertiesOrder` is the only admin
|
|
22
22
|
* key it produces, and naming the admin view model for one field would put
|
|
23
|
-
* `@rebasepro/
|
|
23
|
+
* `@rebasepro/cms-types` on the dependency path of a package the backend
|
|
24
24
|
* loads.
|
|
25
25
|
*/
|
|
26
26
|
export interface IntrospectedCollection {
|