Shahed Nasser
6a2a105cf8
fix(oas): support additional props, fix circular references patch, and other fixes ( #9213 )
...
* chore(oas): support additional props, fix circular references patch, and other fixes
* fix description
* description fixes
2024-09-20 17:22:19 +03:00
Adrien de Peretti
3084008fc9
feat(index): Provide a similar API to Query ( #9193 )
...
**What**
Align the index engine API to be similar to the Query API
## Example
```ts
// Benefit from the same level of typing like the remote query
const { data, metadata } = await indexEngine.query<'product'>({
fields: [
"product.*",
"product.variants.*",
"product.variants.prices.*",
],
filters: {
product: {
variants: {
prices: {
amount: { $gt: 50 },
},
},
},
},
pagination: {
order: {
product: {
variants: {
prices: {
amount: "DESC",
},
},
},
},
},
})
```
2024-09-20 10:02:42 +00:00
Carlos R. L. Rodrigues
1215a7c094
chore(orchestrator): remote joiner using entitymap ( #9205 )
2024-09-20 05:30:08 -03:00
github-actions[bot]
2cb9322ef5
chore(docs): Generated References (automated) ( #9206 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-09-20 09:25:55 +02:00
Shahed Nasser
426c39c04b
chore(oas): [14/n] improve OAS schemas ( #9202 )
...
* chore(oas): [14/n] improve OAS schemas
* fix description of required_quantity
2024-09-19 18:52:46 +02:00
Shahed Nasser
d6ce0688db
chore(oas): [10/n] improve oas schemas ( #9167 )
...
* chore(oas): [10/n] improve oas schemas
* fix validation error
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-09-19 18:51:55 +02:00
Shahed Nasser
230a16ac5c
fix(types): fixes to HTTP types ( #9189 )
...
* fix(types): fixes to HTTP types
* more fixes
* remove incorrect fields for tax regions
2024-09-19 18:35:53 +02:00
Frane Polić
07f25de153
fix(dashboard): open edit variant modal in current context ( #9203 )
2024-09-19 18:33:55 +02:00
Shahed Nasser
4923a6e823
chore(oas): [12/n] improve oas schemas ( #9200 )
...
- improve OAS schemas [12/n]
- Support ignoring properties in type if it has the `@ignore` jsdoc tag.
2024-09-19 14:25:16 +00:00
Shahed Nasser
89928dfdf3
chore(oas): [11/n] improve oas schemas ( #9188 )
...
Improve OAS schemas [11/n]
2024-09-19 14:24:54 +00:00
Shahed Nasser
8dd72acee2
docs: add an examples list documentation ( #9194 )
2024-09-19 16:09:29 +02:00
Shahed Nasser
db73e9b972
docs: fix link in sidebar for modules test example ( #9195 )
2024-09-19 16:08:36 +02:00
Shahed Nasser
bf4335f2a6
docs: improvements and fixes to API route docs ( #9197 )
...
General improvements and fixes to docs around API routes
2024-09-19 14:08:23 +00:00
Adrien de Peretti
270a9a1770
fix(medusa-test-utils): get port should a deps for now ( #9198 )
2024-09-19 14:44:16 +02:00
github-actions[bot]
a00c2ddb31
chore(docs): Generated References ( #9187 )
...
Generated the following references:
- `modules`
2024-09-19 12:20:02 +00:00
Frane Polić
61fd4832d1
feat(dashboard): manage inventory placeholder ( #9190 )
...
**What**
- add placeholder on variant details when inventor is not managed
---

---
CLOSES CC-127
2024-09-19 10:59:04 +00:00
Adrien de Peretti
58167b5dfa
feat(index): Index module foundation ( #9095 )
...
**What**
Index module foundation
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-09-18 19:04:04 +00:00
Carlos R. L. Rodrigues
3cfcd075ae
chore(link-modules): fulfillment order fieldAlias ( #9185 )
2024-09-18 14:21:43 -03:00
Oli Juhl
cbf52ee4d7
chore: Add stale bot ( #9184 )
2024-09-18 19:17:12 +02:00
Adrien de Peretti
a734184538
chore(): Handle medusa service base methods events ( #9179 )
...
* chore(): Handle medusa service base methods events
* cleanup
* cleanup
* fix import
* fix decorator order
* fixes
* apply default event emition
* fix binding
* fix binding
* align tests with new event emition
2024-09-18 17:57:00 +02:00
Adrien de Peretti
81d3ae01c7
chore: Cleanup manager decorator usage ( #9181 )
2024-09-18 14:16:20 +02:00
Carlos R. L. Rodrigues
adbeb9cc1d
fix(workflow-engine-*): pass container to flow ( #9180 )
2024-09-18 08:44:11 -03:00
github-actions[bot]
1c4d3f32cb
chore(docs): Updated API Reference (v2) ( #9174 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-09-18 11:30:02 +00:00
Adrien de Peretti
a227d73e4f
fix(workflow-sdk): Use the correct event group ID from the flow metadata ( #9177 )
2024-09-18 12:52:21 +02:00
Shahed Nasser
0c3e3ea88a
docs: customization chapter exploration ( #9078 )
...
Adds a new customizations chapter with realistic example while maintaining the linear learning journey.
Preview: https://docs-v2-git-docs-customizations-chapter-medusajs.vercel.app/v2/customization
2024-09-18 08:45:29 +00:00
github-actions[bot]
56ee4d6aad
chore(docs): Updated API Reference (v2) ( #9148 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-09-18 07:13:51 +00:00
github-actions[bot]
a63f6910d0
chore(docs): Generated References (automated) ( #9169 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-09-18 08:07:01 +02:00
Frane Polić
26700821a2
feat(dashboard): rework create variant flow ( #9132 )
...
**What**
- new Create variant flow which allows for pricing and inventory creation as well
---
https://github.com/user-attachments/assets/75ddcf5a-0f73-40ca-b474-2189c5e2e297
---
CLOSES CC-345
2024-09-17 17:46:23 +00:00
Shahed Nasser
d2c48228df
chore(oas): [9/n] improve oas schemas ( #9166 )
2024-09-17 19:27:28 +02:00
Shahed Nasser
b5ffed6973
chore(oas): [7/n] improve oas schemas ( #9162 )
2024-09-17 19:27:20 +02:00
Shahed Nasser
78eaed70e5
chore(oas): [8/n] improve oas schemas ( #9163 )
...
Improve OAS schemas [8/n]
2024-09-17 17:26:41 +00:00
Shahed Nasser
cda5bbac78
docs: added documentation on instrumentation ( #9160 )
...
Added new documentation chapter on instrumentation and observability
2024-09-17 17:22:16 +00:00
Adrien de Peretti
c6795dfc47
feat(modules-sdk): Parse filters based on loaded modules graph ( #9158 )
2024-09-17 14:20:04 -03:00
Harminder Virk
812b80b6a3
fix: migrate old links tables before performing a sync ( #9164 )
2024-09-17 19:20:35 +05:30
Harminder Virk
261588f6b8
fix: import open telemetry dependencies lazily ( #9161 )
2024-09-17 16:28:28 +05:30
Harminder Virk
a872c76b85
refactor: rename remoteQuery to query and db instrumentation flag ( #9159 )
2024-09-17 14:09:02 +05:30
Riqwan Thamir
987d007ba8
fix(core-flows): fixes case where inventory attempts delete when input is empty ( #9156 )
...
what:
- when an empty array is passed to the workflow, it attempts to delete all inventory locations. This PR adds a conditional to prevent it from happening.
RESOLVES CC-477
Fixes https://github.com/medusajs/medusa/issues/9154
2024-09-17 08:04:48 +00:00
github-actions[bot]
175ca30f4f
chore(docs): Generated References ( #9153 )
...
Generated the following references:
- `api_key`
- `auth`
- `auth_provider`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `customer_models`
- `dml`
- `file`
- `fulfillment`
- `fulfillment_provider`
- `inventory_next`
- `modules`
- `modules_sdk`
- `notification`
- `order`
- `order_models`
- `payment`
- `payment_provider`
- `pricing`
- `product`
- `product_models`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `tax_provider`
- `types`
- `user`
- `utils`
- `workflows`
2024-09-17 07:17:55 +00:00
Harminder Virk
653a4bff71
feat: add tracing to workflow steps ( #9140 )
2024-09-17 11:35:38 +05:30
Riqwan Thamir
aa0928d437
feat(dashboard,types): added inbound shipping placeholder + shipping summary details ( #9150 )
...
what:
- shipping summary
<img width="1018" alt="Screenshot 2024-09-16 at 18 05 37" src="https://github.com/user-attachments/assets/d7e3d73c-bf11-42e5-90fb-03069437e96c ">
- No Shipping options placeholder
<img width="781" alt="Screenshot 2024-09-16 at 18 06 11" src="https://github.com/user-attachments/assets/05ed682a-97cd-4e66-9af1-f1e77d3d47cb ">
2024-09-16 20:50:41 +00:00
Carlos R. L. Rodrigues
d6ff526820
fix(link-modules): table name ( #9151 )
...
FIXES: FRMW-2706
2024-09-16 19:08:42 +00:00
Shahed Nasser
cb79a5dbff
docs-util: fixes for circular references, PAK in examples, namespaces ( #9091 )
...
- Fix circular references in generated OAS comments by cloning objects
- Add publishable API key in the header of store cURL examples + change the admin authentication header to use bearer tokens.
- Add plugin to generate namespaces from the `@customNamespace` tag in TSDocs, this was available before but was removed.
- Other fixes related to re-using schemas, overwritten descriptions, and smaller fixes
2024-09-16 17:55:05 +00:00
Shahed Nasser
05c88268d3
oas: update authorization header in cURL examples ( #9100 )
2024-09-16 20:42:06 +03:00
Shahed Nasser
8d3fb7fb2b
docs: use require instead of import in medusa-config.js ( #9102 )
...
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-09-16 19:34:00 +02:00
Shahed Nasser
58f06be44d
docs: update docs across projects following publishable API key change in store routes ( #9098 )
...
* docs: update docs across projects following publishable API key change in store routes
* rename env variable
* move subscribe route out of store
2024-09-16 16:42:08 +03:00
Carlos R. L. Rodrigues
ef8dc4087e
feat: run nested async workflows ( #9119 )
2024-09-16 13:06:45 +00:00
Shahed Nasser
0bcdcccbe2
docs: update query usage across docs ( #9120 )
...
WIP
2024-09-16 12:46:26 +00:00
Shahed Nasser
35ffaf73d7
docs: update store cURL examples in OAS ( #9099 )
2024-09-16 15:37:11 +03:00
Shahed Nasser
8584031041
docs: replace ModuleRegistrationName with Modules ( #9142 )
2024-09-16 15:30:03 +03:00
Carlos R. L. Rodrigues
8829f89402
chore: query graph api ( #9125 )
...
CLOSES: FRMW-2704
**What**
Re-structure the Query graph API as well as introduce dynamic typing from schemas on the filters and better handling of relation treatment for fields/filters inference
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-09-16 11:32:44 +00:00