docs: add Query documentation (#9079)

- Replace remote query documentation with new Query documentation
- Add redirect from old remote query to new query documentation
- Update remote query usages across docs to use new query usage.
This commit is contained in:
Shahed Nasser
2024-09-10 15:31:47 +03:00
committed by GitHub
parent 1d8dd54014
commit e9b5f76f9a
31 changed files with 437 additions and 635 deletions

View File

@@ -56,7 +56,7 @@ moduleIntegrationTestRunner<HelloModuleService>({
expect(message).toEqual("Hello, World!")
})
})
}
},
})
```

View File

@@ -35,7 +35,7 @@ moduleIntegrationTestRunner<HelloModuleService>({
resolve: "./modules/hello",
testSuite: ({ service }) => {
// TODO write tests
}
},
})
```
@@ -88,7 +88,7 @@ import HelloModuleService from "../service"
moduleIntegrationTestRunner<HelloModuleService>({
moduleOptions: {
apiKey: "123"
apiKey: "123",
},
// ...
})
@@ -108,7 +108,7 @@ import HelloModuleService from "../service"
import { model } from "@medusajs/utils"
const DummyModel = model.define("dummy_model", {
id: model.id().primaryKey()
id: model.id().primaryKey(),
})
moduleIntegrationTestRunner<HelloModuleService>({