@proseql/core 0.1.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/LICENSE +21 -0
- package/dist/errors/crud-errors.d.ts +98 -0
- package/dist/errors/crud-errors.d.ts.map +1 -0
- package/dist/errors/crud-errors.js +23 -0
- package/dist/errors/crud-errors.js.map +1 -0
- package/dist/errors/index.d.ts +16 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +12 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/errors/migration-errors.d.ts +22 -0
- package/dist/errors/migration-errors.d.ts.map +1 -0
- package/dist/errors/migration-errors.js +14 -0
- package/dist/errors/migration-errors.js.map +1 -0
- package/dist/errors/plugin-errors.d.ts +15 -0
- package/dist/errors/plugin-errors.d.ts.map +1 -0
- package/dist/errors/plugin-errors.js +11 -0
- package/dist/errors/plugin-errors.js.map +1 -0
- package/dist/errors/query-errors.d.ts +31 -0
- package/dist/errors/query-errors.d.ts.map +1 -0
- package/dist/errors/query-errors.js +11 -0
- package/dist/errors/query-errors.js.map +1 -0
- package/dist/errors/storage-errors.d.ts +30 -0
- package/dist/errors/storage-errors.d.ts.map +1 -0
- package/dist/errors/storage-errors.js +11 -0
- package/dist/errors/storage-errors.js.map +1 -0
- package/dist/factories/crud-factory-with-relationships.d.ts +28 -0
- package/dist/factories/crud-factory-with-relationships.d.ts.map +1 -0
- package/dist/factories/crud-factory-with-relationships.js +8 -0
- package/dist/factories/crud-factory-with-relationships.js.map +1 -0
- package/dist/factories/crud-factory.d.ts +25 -0
- package/dist/factories/crud-factory.d.ts.map +1 -0
- package/dist/factories/crud-factory.js +8 -0
- package/dist/factories/crud-factory.js.map +1 -0
- package/dist/factories/database-effect.d.ts +241 -0
- package/dist/factories/database-effect.d.ts.map +1 -0
- package/dist/factories/database-effect.js +859 -0
- package/dist/factories/database-effect.js.map +1 -0
- package/dist/hooks/hook-runner.d.ts +60 -0
- package/dist/hooks/hook-runner.d.ts.map +1 -0
- package/dist/hooks/hook-runner.js +107 -0
- package/dist/hooks/hook-runner.js.map +1 -0
- package/dist/index.d.ts +84 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +110 -0
- package/dist/index.js.map +1 -0
- package/dist/indexes/index-lookup.d.ts +33 -0
- package/dist/indexes/index-lookup.d.ts.map +1 -0
- package/dist/indexes/index-lookup.js +180 -0
- package/dist/indexes/index-lookup.js.map +1 -0
- package/dist/indexes/index-manager.d.ts +118 -0
- package/dist/indexes/index-manager.d.ts.map +1 -0
- package/dist/indexes/index-manager.js +345 -0
- package/dist/indexes/index-manager.js.map +1 -0
- package/dist/indexes/search-index.d.ts +179 -0
- package/dist/indexes/search-index.d.ts.map +1 -0
- package/dist/indexes/search-index.js +405 -0
- package/dist/indexes/search-index.js.map +1 -0
- package/dist/migrations/migration-runner.d.ts +70 -0
- package/dist/migrations/migration-runner.d.ts.map +1 -0
- package/dist/migrations/migration-runner.js +271 -0
- package/dist/migrations/migration-runner.js.map +1 -0
- package/dist/migrations/migration-types.d.ts +63 -0
- package/dist/migrations/migration-types.d.ts.map +1 -0
- package/dist/migrations/migration-types.js +5 -0
- package/dist/migrations/migration-types.js.map +1 -0
- package/dist/operations/crud/create-with-relationships.d.ts +44 -0
- package/dist/operations/crud/create-with-relationships.d.ts.map +1 -0
- package/dist/operations/crud/create-with-relationships.js +483 -0
- package/dist/operations/crud/create-with-relationships.js.map +1 -0
- package/dist/operations/crud/create.d.ts +48 -0
- package/dist/operations/crud/create.d.ts.map +1 -0
- package/dist/operations/crud/create.js +333 -0
- package/dist/operations/crud/create.js.map +1 -0
- package/dist/operations/crud/delete-with-relationships.d.ts +63 -0
- package/dist/operations/crud/delete-with-relationships.d.ts.map +1 -0
- package/dist/operations/crud/delete-with-relationships.js +395 -0
- package/dist/operations/crud/delete-with-relationships.js.map +1 -0
- package/dist/operations/crud/delete.d.ts +58 -0
- package/dist/operations/crud/delete.d.ts.map +1 -0
- package/dist/operations/crud/delete.js +267 -0
- package/dist/operations/crud/delete.js.map +1 -0
- package/dist/operations/crud/unique-check.d.ts +114 -0
- package/dist/operations/crud/unique-check.d.ts.map +1 -0
- package/dist/operations/crud/unique-check.js +383 -0
- package/dist/operations/crud/unique-check.js.map +1 -0
- package/dist/operations/crud/update-with-relationships.d.ts +45 -0
- package/dist/operations/crud/update-with-relationships.d.ts.map +1 -0
- package/dist/operations/crud/update-with-relationships.js +516 -0
- package/dist/operations/crud/update-with-relationships.js.map +1 -0
- package/dist/operations/crud/update.d.ts +91 -0
- package/dist/operations/crud/update.d.ts.map +1 -0
- package/dist/operations/crud/update.js +505 -0
- package/dist/operations/crud/update.js.map +1 -0
- package/dist/operations/crud/upsert.d.ts +52 -0
- package/dist/operations/crud/upsert.d.ts.map +1 -0
- package/dist/operations/crud/upsert.js +386 -0
- package/dist/operations/crud/upsert.js.map +1 -0
- package/dist/operations/query/aggregate.d.ts +30 -0
- package/dist/operations/query/aggregate.d.ts.map +1 -0
- package/dist/operations/query/aggregate.js +227 -0
- package/dist/operations/query/aggregate.js.map +1 -0
- package/dist/operations/query/cursor-stream.d.ts +18 -0
- package/dist/operations/query/cursor-stream.d.ts.map +1 -0
- package/dist/operations/query/cursor-stream.js +199 -0
- package/dist/operations/query/cursor-stream.js.map +1 -0
- package/dist/operations/query/filter-stream.d.ts +12 -0
- package/dist/operations/query/filter-stream.d.ts.map +1 -0
- package/dist/operations/query/filter-stream.js +167 -0
- package/dist/operations/query/filter-stream.js.map +1 -0
- package/dist/operations/query/filter.d.ts +13 -0
- package/dist/operations/query/filter.d.ts.map +1 -0
- package/dist/operations/query/filter.js +267 -0
- package/dist/operations/query/filter.js.map +1 -0
- package/dist/operations/query/paginate-stream.d.ts +11 -0
- package/dist/operations/query/paginate-stream.d.ts.map +1 -0
- package/dist/operations/query/paginate-stream.js +22 -0
- package/dist/operations/query/paginate-stream.js.map +1 -0
- package/dist/operations/query/query-helpers.d.ts +14 -0
- package/dist/operations/query/query-helpers.d.ts.map +1 -0
- package/dist/operations/query/query-helpers.js +22 -0
- package/dist/operations/query/query-helpers.js.map +1 -0
- package/dist/operations/query/resolve-computed.d.ts +142 -0
- package/dist/operations/query/resolve-computed.d.ts.map +1 -0
- package/dist/operations/query/resolve-computed.js +197 -0
- package/dist/operations/query/resolve-computed.js.map +1 -0
- package/dist/operations/query/search.d.ts +110 -0
- package/dist/operations/query/search.d.ts.map +1 -0
- package/dist/operations/query/search.js +188 -0
- package/dist/operations/query/search.js.map +1 -0
- package/dist/operations/query/select-stream.d.ts +27 -0
- package/dist/operations/query/select-stream.d.ts.map +1 -0
- package/dist/operations/query/select-stream.js +88 -0
- package/dist/operations/query/select-stream.js.map +1 -0
- package/dist/operations/query/select.d.ts +54 -0
- package/dist/operations/query/select.d.ts.map +1 -0
- package/dist/operations/query/select.js +159 -0
- package/dist/operations/query/select.js.map +1 -0
- package/dist/operations/query/sort-stream.d.ts +46 -0
- package/dist/operations/query/sort-stream.d.ts.map +1 -0
- package/dist/operations/query/sort-stream.js +158 -0
- package/dist/operations/query/sort-stream.js.map +1 -0
- package/dist/operations/query/sort.d.ts +9 -0
- package/dist/operations/query/sort.d.ts.map +1 -0
- package/dist/operations/query/sort.js +58 -0
- package/dist/operations/query/sort.js.map +1 -0
- package/dist/operations/relationships/populate-stream.d.ts +29 -0
- package/dist/operations/relationships/populate-stream.d.ts.map +1 -0
- package/dist/operations/relationships/populate-stream.js +159 -0
- package/dist/operations/relationships/populate-stream.js.map +1 -0
- package/dist/operations/relationships/populate.d.ts +15 -0
- package/dist/operations/relationships/populate.d.ts.map +1 -0
- package/dist/operations/relationships/populate.js +228 -0
- package/dist/operations/relationships/populate.js.map +1 -0
- package/dist/plugins/plugin-hooks.d.ts +25 -0
- package/dist/plugins/plugin-hooks.d.ts.map +1 -0
- package/dist/plugins/plugin-hooks.js +64 -0
- package/dist/plugins/plugin-hooks.js.map +1 -0
- package/dist/plugins/plugin-registry.d.ts +26 -0
- package/dist/plugins/plugin-registry.d.ts.map +1 -0
- package/dist/plugins/plugin-registry.js +150 -0
- package/dist/plugins/plugin-registry.js.map +1 -0
- package/dist/plugins/plugin-types.d.ts +95 -0
- package/dist/plugins/plugin-types.d.ts.map +1 -0
- package/dist/plugins/plugin-types.js +6 -0
- package/dist/plugins/plugin-types.js.map +1 -0
- package/dist/plugins/plugin-validation.d.ts +49 -0
- package/dist/plugins/plugin-validation.d.ts.map +1 -0
- package/dist/plugins/plugin-validation.js +295 -0
- package/dist/plugins/plugin-validation.js.map +1 -0
- package/dist/reactive/change-event.d.ts +44 -0
- package/dist/reactive/change-event.d.ts.map +1 -0
- package/dist/reactive/change-event.js +49 -0
- package/dist/reactive/change-event.js.map +1 -0
- package/dist/reactive/change-pubsub.d.ts +32 -0
- package/dist/reactive/change-pubsub.d.ts.map +1 -0
- package/dist/reactive/change-pubsub.js +31 -0
- package/dist/reactive/change-pubsub.js.map +1 -0
- package/dist/reactive/evaluate-query.d.ts +62 -0
- package/dist/reactive/evaluate-query.d.ts.map +1 -0
- package/dist/reactive/evaluate-query.js +57 -0
- package/dist/reactive/evaluate-query.js.map +1 -0
- package/dist/reactive/watch-by-id.d.ts +53 -0
- package/dist/reactive/watch-by-id.d.ts.map +1 -0
- package/dist/reactive/watch-by-id.js +55 -0
- package/dist/reactive/watch-by-id.js.map +1 -0
- package/dist/reactive/watch.d.ts +78 -0
- package/dist/reactive/watch.d.ts.map +1 -0
- package/dist/reactive/watch.js +133 -0
- package/dist/reactive/watch.js.map +1 -0
- package/dist/serializers/codecs/hjson.d.ts +33 -0
- package/dist/serializers/codecs/hjson.d.ts.map +1 -0
- package/dist/serializers/codecs/hjson.js +40 -0
- package/dist/serializers/codecs/hjson.js.map +1 -0
- package/dist/serializers/codecs/json.d.ts +22 -0
- package/dist/serializers/codecs/json.d.ts.map +1 -0
- package/dist/serializers/codecs/json.js +28 -0
- package/dist/serializers/codecs/json.js.map +1 -0
- package/dist/serializers/codecs/json5.d.ts +26 -0
- package/dist/serializers/codecs/json5.d.ts.map +1 -0
- package/dist/serializers/codecs/json5.js +33 -0
- package/dist/serializers/codecs/json5.js.map +1 -0
- package/dist/serializers/codecs/jsonc.d.ts +29 -0
- package/dist/serializers/codecs/jsonc.d.ts.map +1 -0
- package/dist/serializers/codecs/jsonc.js +38 -0
- package/dist/serializers/codecs/jsonc.js.map +1 -0
- package/dist/serializers/codecs/jsonl.d.ts +17 -0
- package/dist/serializers/codecs/jsonl.d.ts.map +1 -0
- package/dist/serializers/codecs/jsonl.js +31 -0
- package/dist/serializers/codecs/jsonl.js.map +1 -0
- package/dist/serializers/codecs/prose.d.ts +419 -0
- package/dist/serializers/codecs/prose.d.ts.map +1 -0
- package/dist/serializers/codecs/prose.js +1060 -0
- package/dist/serializers/codecs/prose.js.map +1 -0
- package/dist/serializers/codecs/toml.d.ts +23 -0
- package/dist/serializers/codecs/toml.d.ts.map +1 -0
- package/dist/serializers/codecs/toml.js +66 -0
- package/dist/serializers/codecs/toml.js.map +1 -0
- package/dist/serializers/codecs/toon.d.ts +20 -0
- package/dist/serializers/codecs/toon.d.ts.map +1 -0
- package/dist/serializers/codecs/toon.js +33 -0
- package/dist/serializers/codecs/toon.js.map +1 -0
- package/dist/serializers/codecs/yaml.d.ts +24 -0
- package/dist/serializers/codecs/yaml.d.ts.map +1 -0
- package/dist/serializers/codecs/yaml.js +31 -0
- package/dist/serializers/codecs/yaml.js.map +1 -0
- package/dist/serializers/format-codec.d.ts +53 -0
- package/dist/serializers/format-codec.d.ts.map +1 -0
- package/dist/serializers/format-codec.js +148 -0
- package/dist/serializers/format-codec.js.map +1 -0
- package/dist/serializers/presets.d.ts +48 -0
- package/dist/serializers/presets.d.ts.map +1 -0
- package/dist/serializers/presets.js +72 -0
- package/dist/serializers/presets.js.map +1 -0
- package/dist/serializers/serializer-service.d.ts +11 -0
- package/dist/serializers/serializer-service.d.ts.map +1 -0
- package/dist/serializers/serializer-service.js +4 -0
- package/dist/serializers/serializer-service.js.map +1 -0
- package/dist/state/collection-state.d.ts +19 -0
- package/dist/state/collection-state.d.ts.map +1 -0
- package/dist/state/collection-state.js +15 -0
- package/dist/state/collection-state.js.map +1 -0
- package/dist/state/state-operations.d.ts +38 -0
- package/dist/state/state-operations.d.ts.map +1 -0
- package/dist/state/state-operations.js +65 -0
- package/dist/state/state-operations.js.map +1 -0
- package/dist/storage/in-memory-adapter-layer.d.ts +16 -0
- package/dist/storage/in-memory-adapter-layer.d.ts.map +1 -0
- package/dist/storage/in-memory-adapter-layer.js +81 -0
- package/dist/storage/in-memory-adapter-layer.js.map +1 -0
- package/dist/storage/persistence-effect.d.ts +244 -0
- package/dist/storage/persistence-effect.d.ts.map +1 -0
- package/dist/storage/persistence-effect.js +551 -0
- package/dist/storage/persistence-effect.js.map +1 -0
- package/dist/storage/storage-service.d.ts +22 -0
- package/dist/storage/storage-service.d.ts.map +1 -0
- package/dist/storage/storage-service.js +4 -0
- package/dist/storage/storage-service.js.map +1 -0
- package/dist/storage/transforms.d.ts +183 -0
- package/dist/storage/transforms.d.ts.map +1 -0
- package/dist/storage/transforms.js +263 -0
- package/dist/storage/transforms.js.map +1 -0
- package/dist/transactions/transaction.d.ts +87 -0
- package/dist/transactions/transaction.d.ts.map +1 -0
- package/dist/transactions/transaction.js +240 -0
- package/dist/transactions/transaction.js.map +1 -0
- package/dist/types/aggregate-types.d.ts +73 -0
- package/dist/types/aggregate-types.d.ts.map +1 -0
- package/dist/types/aggregate-types.js +14 -0
- package/dist/types/aggregate-types.js.map +1 -0
- package/dist/types/computed-types.d.ts +71 -0
- package/dist/types/computed-types.d.ts.map +1 -0
- package/dist/types/computed-types.js +8 -0
- package/dist/types/computed-types.js.map +1 -0
- package/dist/types/crud-relationship-types.d.ts +180 -0
- package/dist/types/crud-relationship-types.d.ts.map +1 -0
- package/dist/types/crud-relationship-types.js +17 -0
- package/dist/types/crud-relationship-types.js.map +1 -0
- package/dist/types/crud-types.d.ts +343 -0
- package/dist/types/crud-types.d.ts.map +1 -0
- package/dist/types/crud-types.js +43 -0
- package/dist/types/crud-types.js.map +1 -0
- package/dist/types/cursor-types.d.ts +52 -0
- package/dist/types/cursor-types.d.ts.map +1 -0
- package/dist/types/cursor-types.js +2 -0
- package/dist/types/cursor-types.js.map +1 -0
- package/dist/types/database-config-types.d.ts +196 -0
- package/dist/types/database-config-types.d.ts.map +1 -0
- package/dist/types/database-config-types.js +11 -0
- package/dist/types/database-config-types.js.map +1 -0
- package/dist/types/hook-types.d.ts +158 -0
- package/dist/types/hook-types.d.ts.map +1 -0
- package/dist/types/hook-types.js +6 -0
- package/dist/types/hook-types.js.map +1 -0
- package/dist/types/index-types.d.ts +42 -0
- package/dist/types/index-types.d.ts.map +1 -0
- package/dist/types/index-types.js +8 -0
- package/dist/types/index-types.js.map +1 -0
- package/dist/types/operators.d.ts +5 -0
- package/dist/types/operators.d.ts.map +1 -0
- package/dist/types/operators.js +297 -0
- package/dist/types/operators.js.map +1 -0
- package/dist/types/query-overloads.d.ts +54 -0
- package/dist/types/query-overloads.d.ts.map +1 -0
- package/dist/types/query-overloads.js +3 -0
- package/dist/types/query-overloads.js.map +1 -0
- package/dist/types/reactive-types.d.ts +75 -0
- package/dist/types/reactive-types.d.ts.map +1 -0
- package/dist/types/reactive-types.js +7 -0
- package/dist/types/reactive-types.js.map +1 -0
- package/dist/types/schema-types.d.ts +56 -0
- package/dist/types/schema-types.d.ts.map +1 -0
- package/dist/types/schema-types.js +8 -0
- package/dist/types/schema-types.js.map +1 -0
- package/dist/types/search-types.d.ts +82 -0
- package/dist/types/search-types.d.ts.map +1 -0
- package/dist/types/search-types.js +110 -0
- package/dist/types/search-types.js.map +1 -0
- package/dist/types/types.d.ts +286 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/types.js +2 -0
- package/dist/types/types.js.map +1 -0
- package/dist/utils/id-generator.d.ts +97 -0
- package/dist/utils/id-generator.d.ts.map +1 -0
- package/dist/utils/id-generator.js +247 -0
- package/dist/utils/id-generator.js.map +1 -0
- package/dist/utils/nested-path.d.ts +56 -0
- package/dist/utils/nested-path.d.ts.map +1 -0
- package/dist/utils/nested-path.js +119 -0
- package/dist/utils/nested-path.js.map +1 -0
- package/dist/utils/path.d.ts +16 -0
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/path.js +24 -0
- package/dist/utils/path.js.map +1 -0
- package/dist/validators/foreign-key.d.ts +49 -0
- package/dist/validators/foreign-key.d.ts.map +1 -0
- package/dist/validators/foreign-key.js +153 -0
- package/dist/validators/foreign-key.js.map +1 -0
- package/dist/validators/schema-validator.d.ts +19 -0
- package/dist/validators/schema-validator.d.ts.map +1 -0
- package/dist/validators/schema-validator.js +34 -0
- package/dist/validators/schema-validator.js.map +1 -0
- package/package.json +57 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Simon W. Jackson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
declare const NotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
2
|
+
readonly _tag: "NotFoundError";
|
|
3
|
+
} & Readonly<A>;
|
|
4
|
+
export declare class NotFoundError extends NotFoundError_base<{
|
|
5
|
+
readonly collection: string;
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly message: string;
|
|
8
|
+
}> {
|
|
9
|
+
}
|
|
10
|
+
declare const DuplicateKeyError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
11
|
+
readonly _tag: "DuplicateKeyError";
|
|
12
|
+
} & Readonly<A>;
|
|
13
|
+
export declare class DuplicateKeyError extends DuplicateKeyError_base<{
|
|
14
|
+
readonly collection: string;
|
|
15
|
+
readonly field: string;
|
|
16
|
+
readonly value: string;
|
|
17
|
+
readonly existingId: string;
|
|
18
|
+
readonly message: string;
|
|
19
|
+
}> {
|
|
20
|
+
}
|
|
21
|
+
declare const ForeignKeyError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
22
|
+
readonly _tag: "ForeignKeyError";
|
|
23
|
+
} & Readonly<A>;
|
|
24
|
+
export declare class ForeignKeyError extends ForeignKeyError_base<{
|
|
25
|
+
readonly collection: string;
|
|
26
|
+
readonly field: string;
|
|
27
|
+
readonly value: string;
|
|
28
|
+
readonly targetCollection: string;
|
|
29
|
+
readonly message: string;
|
|
30
|
+
}> {
|
|
31
|
+
}
|
|
32
|
+
declare const ValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
33
|
+
readonly _tag: "ValidationError";
|
|
34
|
+
} & Readonly<A>;
|
|
35
|
+
export declare class ValidationError extends ValidationError_base<{
|
|
36
|
+
readonly message: string;
|
|
37
|
+
readonly issues: ReadonlyArray<{
|
|
38
|
+
readonly field: string;
|
|
39
|
+
readonly message: string;
|
|
40
|
+
readonly value?: unknown;
|
|
41
|
+
readonly expected?: string;
|
|
42
|
+
readonly received?: string;
|
|
43
|
+
}>;
|
|
44
|
+
}> {
|
|
45
|
+
}
|
|
46
|
+
declare const UniqueConstraintError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
47
|
+
readonly _tag: "UniqueConstraintError";
|
|
48
|
+
} & Readonly<A>;
|
|
49
|
+
export declare class UniqueConstraintError extends UniqueConstraintError_base<{
|
|
50
|
+
readonly collection: string;
|
|
51
|
+
readonly constraint: string;
|
|
52
|
+
readonly fields: ReadonlyArray<string>;
|
|
53
|
+
readonly values: Readonly<Record<string, unknown>>;
|
|
54
|
+
readonly existingId: string;
|
|
55
|
+
readonly message: string;
|
|
56
|
+
}> {
|
|
57
|
+
}
|
|
58
|
+
declare const ConcurrencyError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
59
|
+
readonly _tag: "ConcurrencyError";
|
|
60
|
+
} & Readonly<A>;
|
|
61
|
+
export declare class ConcurrencyError extends ConcurrencyError_base<{
|
|
62
|
+
readonly collection: string;
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly message: string;
|
|
65
|
+
}> {
|
|
66
|
+
}
|
|
67
|
+
declare const OperationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
68
|
+
readonly _tag: "OperationError";
|
|
69
|
+
} & Readonly<A>;
|
|
70
|
+
export declare class OperationError extends OperationError_base<{
|
|
71
|
+
readonly operation: string;
|
|
72
|
+
readonly reason: string;
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}> {
|
|
75
|
+
}
|
|
76
|
+
declare const TransactionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
77
|
+
readonly _tag: "TransactionError";
|
|
78
|
+
} & Readonly<A>;
|
|
79
|
+
export declare class TransactionError extends TransactionError_base<{
|
|
80
|
+
readonly operation: "begin" | "commit" | "rollback";
|
|
81
|
+
readonly reason: string;
|
|
82
|
+
readonly message: string;
|
|
83
|
+
}> {
|
|
84
|
+
}
|
|
85
|
+
declare const HookError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
86
|
+
readonly _tag: "HookError";
|
|
87
|
+
} & Readonly<A>;
|
|
88
|
+
export declare class HookError extends HookError_base<{
|
|
89
|
+
readonly hook: string;
|
|
90
|
+
readonly collection: string;
|
|
91
|
+
readonly operation: "create" | "update" | "delete";
|
|
92
|
+
readonly reason: string;
|
|
93
|
+
readonly message: string;
|
|
94
|
+
}> {
|
|
95
|
+
}
|
|
96
|
+
export type CrudError = NotFoundError | DuplicateKeyError | ForeignKeyError | ValidationError | UniqueConstraintError | ConcurrencyError | OperationError | TransactionError | HookError;
|
|
97
|
+
export {};
|
|
98
|
+
//# sourceMapp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AAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG;AAML,MAAM,MAAM,SAAS,GAClB,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,eAAe,GACf,qBAAqB,GACrB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Data } from "effect";
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Effect TaggedError CRUD Error Types
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class NotFoundError extends Data.TaggedError("NotFoundError") {
|
|
6
|
+
}
|
|
7
|
+
export class DuplicateKeyError extends Data.TaggedError("DuplicateKeyError") {
|
|
8
|
+
}
|
|
9
|
+
export class ForeignKeyError extends Data.TaggedError("ForeignKeyError") {
|
|
10
|
+
}
|
|
11
|
+
export class ValidationError extends Data.TaggedError("ValidationError") {
|
|
12
|
+
}
|
|
13
|
+
export class UniqueConstraintError extends Data.TaggedError("UniqueConstraintError") {
|
|
14
|
+
}
|
|
15
|
+
export class ConcurrencyError extends Data.TaggedError("ConcurrencyError") {
|
|
16
|
+
}
|
|
17
|
+
export class OperationError extends Data.TaggedError("OperationError") {
|
|
18
|
+
}
|
|
19
|
+
export class TransactionError extends Data.TaggedError("TransactionError") {
|
|
20
|
+
}
|
|
21
|
+
export class HookError extends Data.TaggedError("HookError") {
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=crud-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-errors.js","sourceRoot":"","sources":["../../src/errors/crud-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+EAA+E;AAC/E,sCAAsC;AACtC,+EAA+E;AAE/E,MAAM,OAAO,aAAc,SAAQ,IAAI,CAAC,WAAW,CAAC,eAAe,CAIjE;CAAG;AAEL,MAAM,OAAO,iBAAkB,SAAQ,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAMzE;CAAG;AAEL,MAAM,OAAO,eAAgB,SAAQ,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAMrE;CAAG;AAEL,MAAM,OAAO,eAAgB,SAAQ,IAAI,CAAC,WAAW,CAAC,iBAAiB,CASrE;CAAG;AAEL,MAAM,OAAO,qBAAsB,SAAQ,IAAI,CAAC,WAAW,CAC1D,uBAAuB,CAQtB;CAAG;AAEL,MAAM,OAAO,gBAAiB,SAAQ,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAIvE;CAAG;AAEL,MAAM,OAAO,cAAe,SAAQ,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAInE;CAAG;AAEL,MAAM,OAAO,gBAAiB,SAAQ,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAIvE;CAAG;AAEL,MAAM,OAAO,SAAU,SAAQ,IAAI,CAAC,WAAW,CAAC,WAAW,CAMzD;CAAG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type { CrudError } from "./crud-errors.js";
|
|
2
|
+
export { ConcurrencyError, DuplicateKeyError, ForeignKeyError, NotFoundError, OperationError, TransactionError, UniqueConstraintError, ValidationError, } from "./crud-errors.js";
|
|
3
|
+
export type { QueryError } from "./query-errors.js";
|
|
4
|
+
export { CollectionNotFoundError, DanglingReferenceError, PopulationError, } from "./query-errors.js";
|
|
5
|
+
export type { PersistenceError } from "./storage-errors.js";
|
|
6
|
+
export { SerializationError, StorageError, UnsupportedFormatError, } from "./storage-errors.js";
|
|
7
|
+
export type { MigrationErrors } from "./migration-errors.js";
|
|
8
|
+
export { MigrationError } from "./migration-errors.js";
|
|
9
|
+
export { PluginError } from "./plugin-errors.js";
|
|
10
|
+
import type { CrudError } from "./crud-errors.js";
|
|
11
|
+
import type { MigrationErrors } from "./migration-errors.js";
|
|
12
|
+
import type { PluginError } from "./plugin-errors.js";
|
|
13
|
+
import type { QueryError } from "./query-errors.js";
|
|
14
|
+
import type { PersistenceError } from "./storage-errors.js";
|
|
15
|
+
export type DatabaseError = CrudError | QueryError | PersistenceError | MigrationErrors | PluginError;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,GACf,MAAM,kBAAkB,CAAC;AAM1B,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACN,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,GACf,MAAM,mBAAmB,CAAC;AAM3B,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EACN,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,GACtB,MAAM,qBAAqB,CAAC;AAM7B,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,UAAU,GACV,gBAAgB,GAChB,eAAe,GACf,WAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// CRUD Errors (re-exported from crud-errors.ts)
|
|
3
|
+
// ============================================================================
|
|
4
|
+
export { ConcurrencyError, DuplicateKeyError, ForeignKeyError, NotFoundError, OperationError, TransactionError, UniqueConstraintError, ValidationError, } from "./crud-errors.js";
|
|
5
|
+
export { CollectionNotFoundError, DanglingReferenceError, PopulationError, } from "./query-errors.js";
|
|
6
|
+
export { SerializationError, StorageError, UnsupportedFormatError, } from "./storage-errors.js";
|
|
7
|
+
export { MigrationError } from "./migration-errors.js";
|
|
8
|
+
// ============================================================================
|
|
9
|
+
// Plugin Errors (re-exported from plugin-errors.ts)
|
|
10
|
+
// ============================================================================
|
|
11
|
+
export { PluginError } from "./plugin-errors.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,gDAAgD;AAChD,+EAA+E;AAG/E,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,GACf,MAAM,kBAAkB,CAAC;AAO1B,OAAO,EACN,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,GACf,MAAM,mBAAmB,CAAC;AAO3B,OAAO,EACN,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,GACtB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,+EAA+E;AAC/E,oDAAoD;AACpD,+EAA+E;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const MigrationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
2
|
+
readonly _tag: "MigrationError";
|
|
3
|
+
} & Readonly<A>;
|
|
4
|
+
/**
|
|
5
|
+
* Error thrown when a schema migration fails.
|
|
6
|
+
*
|
|
7
|
+
* The `step` field indicates where the failure occurred:
|
|
8
|
+
* - `step >= 0`: The transform at that index in the migration chain failed
|
|
9
|
+
* - `step === -1`: Post-migration schema validation failed
|
|
10
|
+
*/
|
|
11
|
+
export declare class MigrationError extends MigrationError_base<{
|
|
12
|
+
readonly collection: string;
|
|
13
|
+
readonly fromVersion: number;
|
|
14
|
+
readonly toVersion: number;
|
|
15
|
+
readonly step: number;
|
|
16
|
+
readonly reason: string;
|
|
17
|
+
readonly message: string;
|
|
18
|
+
}> {
|
|
19
|
+
}
|
|
20
|
+
export type MigrationErrors = MigrationError;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=migration-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migration-errors.d.ts","sourceRoot":"","sources":["../../src/errors/migration-errors.ts"],"names":[],"mappings":";;;AAMA;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,oBAAmC;IACtE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG;AAML,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Data } from "effect";
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Migration Errors
|
|
4
|
+
// ============================================================================
|
|
5
|
+
/**
|
|
6
|
+
* Error thrown when a schema migration fails.
|
|
7
|
+
*
|
|
8
|
+
* The `step` field indicates where the failure occurred:
|
|
9
|
+
* - `step >= 0`: The transform at that index in the migration chain failed
|
|
10
|
+
* - `step === -1`: Post-migration schema validation failed
|
|
11
|
+
*/
|
|
12
|
+
export class MigrationError extends Data.TaggedError("MigrationError") {
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=migration-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migration-errors.js","sourceRoot":"","sources":["../../src/errors/migration-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E;;;;;;GAMG;AACH,MAAM,OAAO,cAAe,SAAQ,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAOnE;CAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const PluginError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
2
|
+
readonly _tag: "PluginError";
|
|
3
|
+
} & Readonly<A>;
|
|
4
|
+
/**
|
|
5
|
+
* Error thrown when a plugin fails validation or causes a conflict.
|
|
6
|
+
* Used for init-time plugin configuration problems.
|
|
7
|
+
*/
|
|
8
|
+
export declare class PluginError extends PluginError_base<{
|
|
9
|
+
readonly plugin: string;
|
|
10
|
+
readonly reason: string;
|
|
11
|
+
readonly message: string;
|
|
12
|
+
}> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=plugin-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-errors.d.ts","sourceRoot":"","sources":["../../src/errors/plugin-errors.ts"],"names":[],"mappings":";;;AAMA;;;GAGG;AACH,qBAAa,WAAY,SAAQ,iBAAgC;IAChE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Data } from "effect";
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Plugin System Errors
|
|
4
|
+
// ============================================================================
|
|
5
|
+
/**
|
|
6
|
+
* Error thrown when a plugin fails validation or causes a conflict.
|
|
7
|
+
* Used for init-time plugin configuration problems.
|
|
8
|
+
*/
|
|
9
|
+
export class PluginError extends Data.TaggedError("PluginError") {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=plugin-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-errors.js","sourceRoot":"","sources":["../../src/errors/plugin-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E;;;GAGG;AACH,MAAM,OAAO,WAAY,SAAQ,IAAI,CAAC,WAAW,CAAC,aAAa,CAI7D;CAAG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const DanglingReferenceError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
2
|
+
readonly _tag: "DanglingReferenceError";
|
|
3
|
+
} & Readonly<A>;
|
|
4
|
+
export declare class DanglingReferenceError extends DanglingReferenceError_base<{
|
|
5
|
+
readonly collection: string;
|
|
6
|
+
readonly field: string;
|
|
7
|
+
readonly targetId: string;
|
|
8
|
+
readonly message: string;
|
|
9
|
+
}> {
|
|
10
|
+
}
|
|
11
|
+
declare const CollectionNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
12
|
+
readonly _tag: "CollectionNotFoundError";
|
|
13
|
+
} & Readonly<A>;
|
|
14
|
+
export declare class CollectionNotFoundError extends CollectionNotFoundError_base<{
|
|
15
|
+
readonly collection: string;
|
|
16
|
+
readonly message: string;
|
|
17
|
+
}> {
|
|
18
|
+
}
|
|
19
|
+
declare const PopulationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
20
|
+
readonly _tag: "PopulationError";
|
|
21
|
+
} & Readonly<A>;
|
|
22
|
+
export declare class PopulationError extends PopulationError_base<{
|
|
23
|
+
readonly collection: string;
|
|
24
|
+
readonly relationship: string;
|
|
25
|
+
readonly message: string;
|
|
26
|
+
readonly cause?: unknown;
|
|
27
|
+
}> {
|
|
28
|
+
}
|
|
29
|
+
export type QueryError = DanglingReferenceError | CollectionNotFoundError | PopulationError;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=query-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-errors.d.ts","sourceRoot":"","sources":["../../src/errors/query-errors.ts"],"names":[],"mappings":";;;AAMA,qBAAa,sBAAuB,SAAQ,4BAE1C;IACD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG;;;;AAEL,qBAAa,uBAAwB,SAAQ,6BAE3C;IACD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG;;;;AAEL,qBAAa,eAAgB,SAAQ,qBAAoC;IACxE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;CAAG;AAML,MAAM,MAAM,UAAU,GACnB,sBAAsB,GACtB,uBAAuB,GACvB,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Data } from "effect";
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Effect TaggedError Query Error Types
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class DanglingReferenceError extends Data.TaggedError("DanglingReferenceError") {
|
|
6
|
+
}
|
|
7
|
+
export class CollectionNotFoundError extends Data.TaggedError("CollectionNotFoundError") {
|
|
8
|
+
}
|
|
9
|
+
export class PopulationError extends Data.TaggedError("PopulationError") {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=query-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-errors.js","sourceRoot":"","sources":["../../src/errors/query-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+EAA+E;AAC/E,uCAAuC;AACvC,+EAA+E;AAE/E,MAAM,OAAO,sBAAuB,SAAQ,IAAI,CAAC,WAAW,CAC3D,wBAAwB,CAMvB;CAAG;AAEL,MAAM,OAAO,uBAAwB,SAAQ,IAAI,CAAC,WAAW,CAC5D,yBAAyB,CAIxB;CAAG;AAEL,MAAM,OAAO,eAAgB,SAAQ,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAKrE;CAAG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const StorageError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
2
|
+
readonly _tag: "StorageError";
|
|
3
|
+
} & Readonly<A>;
|
|
4
|
+
export declare class StorageError extends StorageError_base<{
|
|
5
|
+
readonly path: string;
|
|
6
|
+
readonly operation: "read" | "write" | "watch" | "delete";
|
|
7
|
+
readonly message: string;
|
|
8
|
+
readonly cause?: unknown;
|
|
9
|
+
}> {
|
|
10
|
+
}
|
|
11
|
+
declare const SerializationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
12
|
+
readonly _tag: "SerializationError";
|
|
13
|
+
} & Readonly<A>;
|
|
14
|
+
export declare class SerializationError extends SerializationError_base<{
|
|
15
|
+
readonly format: string;
|
|
16
|
+
readonly message: string;
|
|
17
|
+
readonly cause?: unknown;
|
|
18
|
+
}> {
|
|
19
|
+
}
|
|
20
|
+
declare const UnsupportedFormatError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
21
|
+
readonly _tag: "UnsupportedFormatError";
|
|
22
|
+
} & Readonly<A>;
|
|
23
|
+
export declare class UnsupportedFormatError extends UnsupportedFormatError_base<{
|
|
24
|
+
readonly format: string;
|
|
25
|
+
readonly message: string;
|
|
26
|
+
}> {
|
|
27
|
+
}
|
|
28
|
+
export type PersistenceError = StorageError | SerializationError | UnsupportedFormatError;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=storage-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-errors.d.ts","sourceRoot":"","sources":["../../src/errors/storage-errors.ts"],"names":[],"mappings":";;;AAMA,qBAAa,YAAa,SAAQ,kBAAiC;IAClE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;CAAG;;;;AAEL,qBAAa,kBAAmB,SAAQ,wBAAuC;IAC9E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;CAAG;;;;AAEL,qBAAa,sBAAuB,SAAQ,4BAE1C;IACD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG;AAML,MAAM,MAAM,gBAAgB,GACzB,YAAY,GACZ,kBAAkB,GAClB,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Data } from "effect";
|
|
2
|
+
// ============================================================================
|
|
3
|
+
// Effect TaggedError Storage Error Types
|
|
4
|
+
// ============================================================================
|
|
5
|
+
export class StorageError extends Data.TaggedError("StorageError") {
|
|
6
|
+
}
|
|
7
|
+
export class SerializationError extends Data.TaggedError("SerializationError") {
|
|
8
|
+
}
|
|
9
|
+
export class UnsupportedFormatError extends Data.TaggedError("UnsupportedFormatError") {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=storage-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-errors.js","sourceRoot":"","sources":["../../src/errors/storage-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+EAA+E;AAC/E,yCAAyC;AACzC,+EAA+E;AAE/E,MAAM,OAAO,YAAa,SAAQ,IAAI,CAAC,WAAW,CAAC,cAAc,CAK/D;CAAG;AAEL,MAAM,OAAO,kBAAmB,SAAQ,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAI3E;CAAG;AAEL,MAAM,OAAO,sBAAuB,SAAQ,IAAI,CAAC,WAAW,CAC3D,wBAAwB,CAIvB;CAAG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extended CRUD type definitions with relationship support.
|
|
3
|
+
*
|
|
4
|
+
* All methods return RunnableEffect (Effect with .runPromise convenience)
|
|
5
|
+
* instead of the legacy Promise<Result<T, E>>.
|
|
6
|
+
*/
|
|
7
|
+
import type { ForeignKeyError, NotFoundError, OperationError, ValidationError } from "../errors/crud-errors.js";
|
|
8
|
+
import type { CreateWithRelationshipsInput, DeleteWithRelationshipsOptions, DeleteWithRelationshipsResult, UpdateWithRelationshipsInput } from "../types/crud-relationship-types.js";
|
|
9
|
+
import type { MinimalEntity } from "../types/crud-types.js";
|
|
10
|
+
import type { RelationshipDef } from "../types/types.js";
|
|
11
|
+
import type { CrudMethods } from "./crud-factory.js";
|
|
12
|
+
import type { RunnableEffect } from "./database-effect.js";
|
|
13
|
+
export interface CrudMethodsWithRelationships<T extends MinimalEntity, TRelations extends Record<string, RelationshipDef<unknown, "ref" | "inverse", string>> = Record<string, RelationshipDef<unknown, "ref" | "inverse", string>>> extends CrudMethods<T> {
|
|
14
|
+
readonly createWithRelationships: (input: CreateWithRelationshipsInput<T, TRelations>) => RunnableEffect<T, ValidationError | ForeignKeyError | OperationError>;
|
|
15
|
+
readonly updateWithRelationships: (id: string, input: UpdateWithRelationshipsInput<T, TRelations>) => RunnableEffect<T, ValidationError | NotFoundError | ForeignKeyError | OperationError>;
|
|
16
|
+
readonly deleteWithRelationships: (id: string, options?: DeleteWithRelationshipsOptions<T, TRelations>) => RunnableEffect<DeleteWithRelationshipsResult<T>, NotFoundError | ValidationError | OperationError>;
|
|
17
|
+
readonly deleteManyWithRelationships: (predicate: (entity: T) => boolean, options?: DeleteWithRelationshipsOptions<T, TRelations> & {
|
|
18
|
+
readonly limit?: number;
|
|
19
|
+
}) => RunnableEffect<{
|
|
20
|
+
readonly count: number;
|
|
21
|
+
readonly deleted: ReadonlyArray<T>;
|
|
22
|
+
readonly cascaded?: Record<string, {
|
|
23
|
+
readonly count: number;
|
|
24
|
+
readonly ids: ReadonlyArray<string>;
|
|
25
|
+
}>;
|
|
26
|
+
}, ValidationError | OperationError>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=crud-factory-with-relationships.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-factory-with-relationships.d.ts","sourceRoot":"","sources":["../../src/factories/crud-factory-with-relationships.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACX,eAAe,EACf,aAAa,EACb,cAAc,EACd,eAAe,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAM3D,MAAM,WAAW,4BAA4B,CAC5C,CAAC,SAAS,aAAa,EACvB,UAAU,SAAS,MAAM,CACxB,MAAM,EACN,eAAe,CAAC,OAAO,EAAE,KAAK,GAAG,SAAS,EAAE,MAAM,CAAC,CACnD,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,OAAO,EAAE,KAAK,GAAG,SAAS,EAAE,MAAM,CAAC,CAAC,CACtE,SAAQ,WAAW,CAAC,CAAC,CAAC;IACvB,QAAQ,CAAC,uBAAuB,EAAE,CACjC,KAAK,EAAE,4BAA4B,CAAC,CAAC,EAAE,UAAU,CAAC,KAC9C,cAAc,CAAC,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,cAAc,CAAC,CAAC;IAE3E,QAAQ,CAAC,uBAAuB,EAAE,CACjC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,4BAA4B,CAAC,CAAC,EAAE,UAAU,CAAC,KAC9C,cAAc,CAClB,CAAC,EACD,eAAe,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,CAClE,CAAC;IAEF,QAAQ,CAAC,uBAAuB,EAAE,CACjC,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,8BAA8B,CAAC,CAAC,EAAE,UAAU,CAAC,KACnD,cAAc,CAClB,6BAA6B,CAAC,CAAC,CAAC,EAChC,aAAa,GAAG,eAAe,GAAG,cAAc,CAChD,CAAC;IAEF,QAAQ,CAAC,2BAA2B,EAAE,CACrC,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,EACjC,OAAO,CAAC,EAAE,8BAA8B,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;QACzD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;KACxB,KACG,cAAc,CAClB;QACC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACnC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CACzB,MAAM,EACN;YAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;SAAE,CAC/D,CAAC;KACF,EACD,eAAe,GAAG,cAAc,CAChC,CAAC;CACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extended CRUD type definitions with relationship support.
|
|
3
|
+
*
|
|
4
|
+
* All methods return RunnableEffect (Effect with .runPromise convenience)
|
|
5
|
+
* instead of the legacy Promise<Result<T, E>>.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=crud-factory-with-relationships.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-factory-with-relationships.js","sourceRoot":"","sources":["../../src/factories/crud-factory-with-relationships.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for CRUD methods with full type safety.
|
|
3
|
+
*
|
|
4
|
+
* All methods return RunnableEffect (Effect with .runPromise convenience)
|
|
5
|
+
* instead of the legacy Promise<Result<T, E>>.
|
|
6
|
+
*/
|
|
7
|
+
import type { DuplicateKeyError, ForeignKeyError, NotFoundError, OperationError, ValidationError } from "../errors/crud-errors.js";
|
|
8
|
+
import type { CreateInput, CreateManyOptions, CreateManyResult, DeleteManyResult, MinimalEntity, UpdateManyResult, UpdateWithOperators, UpsertInput, UpsertManyResult, UpsertResult } from "../types/crud-types.js";
|
|
9
|
+
import type { RunnableEffect } from "./database-effect.js";
|
|
10
|
+
export interface CrudMethods<T extends MinimalEntity> {
|
|
11
|
+
readonly create: (input: CreateInput<T>) => RunnableEffect<T, ValidationError | DuplicateKeyError | ForeignKeyError>;
|
|
12
|
+
readonly createMany: (inputs: ReadonlyArray<CreateInput<T>>, options?: CreateManyOptions) => RunnableEffect<CreateManyResult<T>, ValidationError | DuplicateKeyError | ForeignKeyError>;
|
|
13
|
+
readonly update: (id: string, updates: UpdateWithOperators<T>) => RunnableEffect<T, ValidationError | NotFoundError | ForeignKeyError>;
|
|
14
|
+
readonly updateMany: (predicate: (entity: T) => boolean, updates: UpdateWithOperators<T>) => RunnableEffect<UpdateManyResult<T>, ValidationError | ForeignKeyError>;
|
|
15
|
+
readonly delete: (id: string, options?: {
|
|
16
|
+
readonly soft?: boolean;
|
|
17
|
+
}) => RunnableEffect<T, NotFoundError | OperationError | ForeignKeyError>;
|
|
18
|
+
readonly deleteMany: (predicate: (entity: T) => boolean, options?: {
|
|
19
|
+
readonly soft?: boolean;
|
|
20
|
+
readonly limit?: number;
|
|
21
|
+
}) => RunnableEffect<DeleteManyResult<T>, OperationError | ForeignKeyError>;
|
|
22
|
+
readonly upsert: (input: UpsertInput<T>) => RunnableEffect<UpsertResult<T>, ValidationError | ForeignKeyError>;
|
|
23
|
+
readonly upsertMany: (inputs: ReadonlyArray<UpsertInput<T>>) => RunnableEffect<UpsertManyResult<T>, ValidationError | ForeignKeyError>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=crud-factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-factory.d.ts","sourceRoot":"","sources":["../../src/factories/crud-factory.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACX,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,eAAe,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACX,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAM3D,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,aAAa;IACnD,QAAQ,CAAC,MAAM,EAAE,CAChB,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KACjB,cAAc,CAAC,CAAC,EAAE,eAAe,GAAG,iBAAiB,GAAG,eAAe,CAAC,CAAC;IAE9E,QAAQ,CAAC,UAAU,EAAE,CACpB,MAAM,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACrC,OAAO,CAAC,EAAE,iBAAiB,KACvB,cAAc,CAClB,gBAAgB,CAAC,CAAC,CAAC,EACnB,eAAe,GAAG,iBAAiB,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