prisma-arktype 2.5.0 → 2.5.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -6
  2. package/package.json +19 -10
package/dist/index.js CHANGED
@@ -409,9 +409,7 @@ function processInclude(models) {
409
409
  Object.freeze(processedInclude);
410
410
  }
411
411
  function stringifyInclude(model) {
412
- const { hidden } = extractAnnotations(
413
- model.documentation
414
- );
412
+ const { hidden } = extractAnnotations(model.documentation);
415
413
  if (hidden) {
416
414
  return;
417
415
  }
@@ -445,9 +443,7 @@ function processOrderBy(models) {
445
443
  Object.freeze(processedOrderBy);
446
444
  }
447
445
  function stringifyOrderBy(model) {
448
- const { hidden } = extractAnnotations(
449
- model.documentation
450
- );
446
+ const { hidden } = extractAnnotations(model.documentation);
451
447
  if (hidden) {
452
448
  return;
453
449
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma-arktype",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Generate ArkType schemas from your Prisma schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -8,39 +8,48 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "import": "./dist/index.js",
11
- "types": "./dist/index.d.ts"
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
12
13
  },
13
14
  "./runtime/filters": {
14
15
  "import": "./dist/runtime/filters.js",
15
- "types": "./dist/runtime/filters.d.ts"
16
+ "types": "./dist/runtime/filters.d.ts",
17
+ "default": "./dist/runtime/filters.js"
16
18
  },
17
19
  "./runtime/buffer": {
18
20
  "import": "./dist/runtime/buffer.js",
19
- "types": "./dist/runtime/buffer.d.ts"
21
+ "types": "./dist/runtime/buffer.d.ts",
22
+ "default": "./dist/runtime/buffer.js"
20
23
  },
21
24
  "./runtime/uint8array": {
22
25
  "import": "./dist/runtime/uint8array.js",
23
- "types": "./dist/runtime/uint8array.d.ts"
26
+ "types": "./dist/runtime/uint8array.d.ts",
27
+ "default": "./dist/runtime/uint8array.js"
24
28
  },
25
29
  "./runtime/arrayFilters": {
26
30
  "import": "./dist/runtime/arrayFilters.js",
27
- "types": "./dist/runtime/arrayFilters.d.ts"
31
+ "types": "./dist/runtime/arrayFilters.d.ts",
32
+ "default": "./dist/runtime/arrayFilters.js"
28
33
  },
29
34
  "./runtime/stringFilter": {
30
35
  "import": "./dist/runtime/stringFilter.js",
31
- "types": "./dist/runtime/stringFilter.d.ts"
36
+ "types": "./dist/runtime/stringFilter.d.ts",
37
+ "default": "./dist/runtime/stringFilter.js"
32
38
  },
33
39
  "./runtime/numberFilter": {
34
40
  "import": "./dist/runtime/numberFilter.js",
35
- "types": "./dist/runtime/numberFilter.d.ts"
41
+ "types": "./dist/runtime/numberFilter.d.ts",
42
+ "default": "./dist/runtime/numberFilter.js"
36
43
  },
37
44
  "./runtime/enumFilter": {
38
45
  "import": "./dist/runtime/enumFilter.js",
39
- "types": "./dist/runtime/enumFilter.d.ts"
46
+ "types": "./dist/runtime/enumFilter.d.ts",
47
+ "default": "./dist/runtime/enumFilter.js"
40
48
  },
41
49
  "./runtime/booleanFilter": {
42
50
  "import": "./dist/runtime/booleanFilter.js",
43
- "types": "./dist/runtime/booleanFilter.d.ts"
51
+ "types": "./dist/runtime/booleanFilter.d.ts",
52
+ "default": "./dist/runtime/booleanFilter.js"
44
53
  }
45
54
  },
46
55
  "bin": {