@venizia/ignis-filter 0.2.0-20 → 0.2.0-22

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.md CHANGED
@@ -72,7 +72,6 @@ Ignis uses the following open-source libraries. We are grateful to the authors a
72
72
 
73
73
  | Library | License | Description |
74
74
  |---------|---------|-------------|
75
- | [Lodash](https://github.com/lodash/lodash) | MIT | Utility library |
76
75
  | [reflect-metadata](https://github.com/rbuckton/reflect-metadata) | Apache-2.0 | Metadata reflection API |
77
76
 
78
77
  ### Documentation Dependencies
package/README.md CHANGED
@@ -4,10 +4,9 @@ The engine-neutral query filter vocabulary shared across IGNIS: the filter shape
4
4
  and the sort direction constants.
5
5
 
6
6
  It is **isomorphic by construction**. The package resolves to no node builtin and no server-only
7
- peer, so the same filter language describes a query against a Postgres repository on the server and
8
- against a WASM database in a browser worker. A guard test bundles the barrel for `target: 'browser'`
9
- and fails if anything outside `@venizia/ignis-inversion`, `lodash` and `reflect-metadata` enters the
10
- graph.
7
+ peer - its built barrel imports `@venizia/ignis-inversion` and nothing else - so the same filter
8
+ language describes a query against a Postgres repository on the server and against a WASM database in
9
+ a browser worker.
11
10
 
12
11
  ## Install
13
12
 
@@ -1,3 +1,3 @@
1
- export * from './operators';
2
- export * from './types';
1
+ export * from './operators.js';
2
+ export * from './types.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export * from './operators';
2
- export * from './types';
1
+ export * from './operators.js';
2
+ export * from './types.js';
3
3
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from './common';
1
+ export * from './common/index.js';
2
2
  //# sourceMappingURL=index.d.ts.map
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './common';
1
+ export * from './common/index.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": false
4
+ }
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { TSchemaDecorator } from './common';
2
+ import type { TSchemaDecorator } from './common/index.js';
3
3
  export declare const buildQuerySchemas: (opts?: {
4
4
  decorate?: TSchemaDecorator;
5
5
  }) => {
@@ -1,2 +1,2 @@
1
- export * from './types';
1
+ export * from './types.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from './types';
1
+ export * from './types.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- export * from './builder';
2
- export * from './common';
1
+ export * from './builder.js';
2
+ export * from './common/index.js';
3
3
  /** Ready-to-use schemas with no documentation metadata attached - the browser case, and the reason most consumers never touch `buildQuerySchemas` directly. */
4
4
  export declare const FieldsSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>, import("zod").ZodArray<import("zod").ZodString>]>>, FilterSchema: import("zod").ZodOptional<import("zod").ZodUnion<readonly [any, import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<any, string>>, any>]>>, InclusionSchema: any, LimitSchema: import("zod").ZodOptional<import("zod").ZodNumber>, OffsetSchema: import("zod").ZodOptional<import("zod").ZodNumber>, OrderBySchema: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>, SkipSchema: import("zod").ZodOptional<import("zod").ZodNumber>, WhereSchema: import("zod").ZodUnion<readonly [import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>, import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<any, string>>, import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>>]>;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- import { buildQuerySchemas } from './builder';
2
- export * from './builder';
3
- export * from './common';
1
+ import { buildQuerySchemas } from './builder.js';
2
+ export * from './builder.js';
3
+ export * from './common/index.js';
4
4
  /** Ready-to-use schemas with no documentation metadata attached - the browser case, and the reason most consumers never touch `buildQuerySchemas` directly. */
5
5
  export const { FieldsSchema, FilterSchema, InclusionSchema, LimitSchema, OffsetSchema, OrderBySchema, SkipSchema, WhereSchema, } = buildQuerySchemas();
6
6
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venizia/ignis-filter",
3
- "version": "0.2.0-20",
3
+ "version": "0.2.0-22",
4
4
  "description": "Engine-neutral query filter vocabulary for TypeScript: the `{ where, order, limit, offset, skip, fields, include }` shape, comparison/pattern/null/array/logical operators, and sort direction constants. Isomorphic by construction - no node builtins and no server-only peer, so the same filter language serves a server repository and a browser data layer.",
5
5
  "keywords": [
6
6
  "browser",
@@ -79,12 +79,12 @@
79
79
  "prepublishOnly": "bun run rebuild"
80
80
  },
81
81
  "dependencies": {
82
- "@venizia/ignis-inversion": "^0.2.0-20",
82
+ "@venizia/ignis-inversion": "^0.2.0-23",
83
83
  "zod": "^4.5.4"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@types/bun": "^1.4.1",
87
- "@venizia/dev-configs": "^0.2.0-13",
87
+ "@venizia/dev-configs": "^0.2.0-15",
88
88
  "eslint": "^10.10.0",
89
89
  "prettier": "^3.9.6",
90
90
  "tsc-alias": "^1.9.4",