@rebasepro/common 0.16.0 → 0.16.1-canary.g2d1aec8
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionCallbacks, CollectionConfig } from "@rebasepro/types";
|
|
2
|
-
import { DataSourceRegistry } from "../data/resolveDataSource";
|
|
2
|
+
import { DataSourceRegistry } from "../data/resolveDataSource.js";
|
|
3
3
|
export declare class CollectionRegistry {
|
|
4
4
|
/**
|
|
5
5
|
* Declared data sources, used during normalization to resolve each
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./CollectionRegistry";
|
|
2
|
-
export * from "./default-collections";
|
|
1
|
+
export * from "./CollectionRegistry.js";
|
|
2
|
+
export * from "./default-collections.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from "./util";
|
|
2
|
-
export * from "./collections";
|
|
3
|
-
export * from "./data/buildRebaseData";
|
|
4
|
-
export * from "./data/buildRoutedRebaseData";
|
|
5
|
-
export * from "./data/resolveDataSource";
|
|
6
|
-
export * from "./data/query_builder";
|
|
7
|
-
export * from "./data/paginate";
|
|
8
|
-
export * from "./data/filter-conditions";
|
|
9
|
-
export * from "./data/filter-dialect";
|
|
10
|
-
export * from "./data/sort-dialect";
|
|
11
|
-
export * from "./table-classification";
|
|
1
|
+
export * from "./util/index.js";
|
|
2
|
+
export * from "./collections/index.js";
|
|
3
|
+
export * from "./data/buildRebaseData.js";
|
|
4
|
+
export * from "./data/buildRoutedRebaseData.js";
|
|
5
|
+
export * from "./data/resolveDataSource.js";
|
|
6
|
+
export * from "./data/query_builder.js";
|
|
7
|
+
export * from "./data/paginate.js";
|
|
8
|
+
export * from "./data/filter-conditions.js";
|
|
9
|
+
export * from "./data/filter-dialect.js";
|
|
10
|
+
export * from "./data/sort-dialect.js";
|
|
11
|
+
export * from "./table-classification.js";
|
package/dist/util/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from "./collections";
|
|
2
|
-
export * from "./common";
|
|
3
|
-
export * from "./entities";
|
|
4
|
-
export * from "./identity";
|
|
5
|
-
export * from "./email";
|
|
6
|
-
export * from "./enums";
|
|
7
|
-
export * from "./paths";
|
|
8
|
-
export * from "./resolutions";
|
|
9
|
-
export * from "./policy";
|
|
10
|
-
export * from "./permissions";
|
|
11
|
-
export * from "./builders";
|
|
12
|
-
export * from "./storage";
|
|
13
|
-
export * from "./callbacks";
|
|
14
|
-
export * from "./relations";
|
|
15
|
-
export * from "./resolve-relation";
|
|
16
|
-
export * from "./auth-default-policies";
|
|
17
|
-
export * from "./junction-policies";
|
|
18
|
-
export * from "./conditions";
|
|
19
|
-
export * from "./pg-column-to-property";
|
|
20
|
-
export * from "./string-column-length";
|
|
21
|
-
export * from "./internal-tables";
|
|
1
|
+
export * from "./collections.js";
|
|
2
|
+
export * from "./common.js";
|
|
3
|
+
export * from "./entities.js";
|
|
4
|
+
export * from "./identity.js";
|
|
5
|
+
export * from "./email.js";
|
|
6
|
+
export * from "./enums.js";
|
|
7
|
+
export * from "./paths.js";
|
|
8
|
+
export * from "./resolutions.js";
|
|
9
|
+
export * from "./policy/index.js";
|
|
10
|
+
export * from "./permissions.js";
|
|
11
|
+
export * from "./builders.js";
|
|
12
|
+
export * from "./storage.js";
|
|
13
|
+
export * from "./callbacks.js";
|
|
14
|
+
export * from "./relations.js";
|
|
15
|
+
export * from "./resolve-relation.js";
|
|
16
|
+
export * from "./auth-default-policies.js";
|
|
17
|
+
export * from "./junction-policies.js";
|
|
18
|
+
export * from "./conditions.js";
|
|
19
|
+
export * from "./pg-column-to-property.js";
|
|
20
|
+
export * from "./string-column-length.js";
|
|
21
|
+
export * from "./internal-tables.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./securityRuleToConditions";
|
|
2
|
-
export * from "./sqlToPolicy";
|
|
3
|
-
export * from "./policyToPostgres";
|
|
4
|
-
export * from "./evaluatePolicy";
|
|
1
|
+
export * from "./securityRuleToConditions.js";
|
|
2
|
+
export * from "./sqlToPolicy.js";
|
|
3
|
+
export * from "./policyToPostgres.js";
|
|
4
|
+
export * from "./evaluatePolicy.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/common",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.1-canary.g2d1aec8",
|
|
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/
|
|
44
|
-
"@rebasepro/
|
|
43
|
+
"@rebasepro/types": "0.16.1-canary.g2d1aec8",
|
|
44
|
+
"@rebasepro/utils": "0.16.1-canary.g2d1aec8"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@jest/globals": "^30.4.1",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
"scripts": {
|
|
100
100
|
"watch": "vite build --watch",
|
|
101
|
-
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
|
|
101
|
+
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
|
|
102
102
|
"test:lint": "eslint \"src/**\" --quiet",
|
|
103
103
|
"test": "jest --passWithNoTests",
|
|
104
104
|
"clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f",
|