@form-engine-ts/storage 6.0.0 → 6.2.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/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/types.d.cts +16 -0
- package/dist/types.d.ts +16 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { paginateWithFilter } from './pagination.cjs';
|
|
2
|
+
export { StorageFilterPushdownContract, TenantIsolationOptions } from './types.cjs';
|
|
2
3
|
export { CursorPagingOptions, PaginatedResult, StorageCursor, StorageFilterCriteria, SubmissionCursorPayload, TextAnswerCursorPayload, decodeStorageSubmissionCursor, decodeStorageTextAnswerCursor, encodeStorageSubmissionCursor, encodeStorageTextAnswerCursor } from '@form-engine-ts/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { paginateWithFilter } from './pagination.js';
|
|
2
|
+
export { StorageFilterPushdownContract, TenantIsolationOptions } from './types.js';
|
|
2
3
|
export { CursorPagingOptions, PaginatedResult, StorageCursor, StorageFilterCriteria, SubmissionCursorPayload, TextAnswerCursorPayload, decodeStorageSubmissionCursor, decodeStorageTextAnswerCursor, encodeStorageSubmissionCursor, encodeStorageTextAnswerCursor } from '@form-engine-ts/core';
|
package/dist/types.d.cts
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
+
import { StorageFilterCriteria } from '@form-engine-ts/core';
|
|
1
2
|
export { CursorPagingOptions, PaginatedResult, StorageCursor, StorageFilterCriteria, SubmissionCursorPayload, TextAnswerCursorPayload } from '@form-engine-ts/core';
|
|
3
|
+
|
|
4
|
+
interface StorageFilterPushdownContract {
|
|
5
|
+
readonly supportedMetadataFields: readonly string[];
|
|
6
|
+
readonly canPushdown: (criteria: StorageFilterCriteria) => boolean;
|
|
7
|
+
readonly compileFilterQuery: (criteria: StorageFilterCriteria) => {
|
|
8
|
+
readonly query: unknown;
|
|
9
|
+
readonly postFilterRequired: boolean;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
interface TenantIsolationOptions {
|
|
13
|
+
readonly tenantIdProperty?: string;
|
|
14
|
+
readonly enforceIsolation?: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type { StorageFilterPushdownContract, TenantIsolationOptions };
|
package/dist/types.d.ts
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
+
import { StorageFilterCriteria } from '@form-engine-ts/core';
|
|
1
2
|
export { CursorPagingOptions, PaginatedResult, StorageCursor, StorageFilterCriteria, SubmissionCursorPayload, TextAnswerCursorPayload } from '@form-engine-ts/core';
|
|
3
|
+
|
|
4
|
+
interface StorageFilterPushdownContract {
|
|
5
|
+
readonly supportedMetadataFields: readonly string[];
|
|
6
|
+
readonly canPushdown: (criteria: StorageFilterCriteria) => boolean;
|
|
7
|
+
readonly compileFilterQuery: (criteria: StorageFilterCriteria) => {
|
|
8
|
+
readonly query: unknown;
|
|
9
|
+
readonly postFilterRequired: boolean;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
interface TenantIsolationOptions {
|
|
13
|
+
readonly tenantIdProperty?: string;
|
|
14
|
+
readonly enforceIsolation?: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type { StorageFilterPushdownContract, TenantIsolationOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@form-engine-ts/storage",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"url": "git+https://github.com/nitta-a/form-engine-ts.git"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@form-engine-ts/core": "6.
|
|
40
|
+
"@form-engine-ts/core": "6.2.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsup src/index.ts src/types.ts src/pagination.ts --format esm,cjs --dts --clean --external @form-engine-ts/core",
|