@medusajs/types 2.21.2-snapshot-20260928075521 → 2.21.2

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.
@@ -3,8 +3,9 @@ import { SearchOptions, SearchQuery } from "../../../search";
3
3
  * A query run against one of the store's search indexes by `POST /store/search`.
4
4
  *
5
5
  * It is the Search Module's own `SearchQuery`, minus what the endpoint owns:
6
- * `context` shapes the hydration, and `provider_options` reaches straight into
7
- * the engine's own API.
6
+ * `context` shapes a hydration the endpoint never runs, and `provider_options`
7
+ * reaches straight into the engine's own API. `fields` can only select fields
8
+ * the index can return.
8
9
  */
9
10
  export type StoreSearchQuery = Omit<SearchQuery, "context" | "search_options"> & {
10
11
  search_options?: Omit<SearchOptions, "provider_options">;
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/search/store/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,WAAW,EACX,SAAS,GAAG,gBAAgB,CAC7B,GAAG;IACF,cAAc,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAA;CACzD,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAAE,GAAG,gBAAgB,CAAA"}
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/search/store/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE5D;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,WAAW,EACX,SAAS,GAAG,gBAAgB,CAC7B,GAAG;IACF,cAAc,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAA;CACzD,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAAE,GAAG,gBAAgB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { SearchResult } from "../../../search";
2
2
  /**
3
- * Each hit carries the matching document under `document`: the index' own fields,
4
- * or the hydrated entity when the query asked for fields the index doesn't hold.
3
+ * Each hit carries the matching document under `document`: the fields the query
4
+ * selected, or every field the index can return.
5
5
  * `metadata.count` is whatever the engine reported, which most of them only
6
6
  * estimate.
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "2.21.2-snapshot-20260928075521",
3
+ "version": "2.21.2",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "bignumber.js": "^9.1.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@medusajs/deps": "2.21.2-snapshot-20260928075521"
41
+ "@medusajs/deps": "2.21.2"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "ioredis": "^5.4.1",