load resources from starter kit and introduce srcDir configuration
This commit is contained in:
1 parent
73c917fdce
commit
3dbb256ddf
35 files changed
+177
-123
No files matched your search
@@ -11,7 +11,6 @@ import { toCamelCase, upperCaseFirst } from "@medusajs/utils"
|
||||
export function formatRegistrationName(path: string): string {
|
||||
const parsed = parse(path)
|
||||
const parsedDir = parse(parsed.dir)
|
||||
const rawname = parsed.name
|
||||
let directoryNamespace = parsedDir.name
|
||||
|
||||
if (directoryNamespace.startsWith("__")) {
|
||||
|
||||
@@ -90,7 +90,6 @@ export function prepareListQuery<T extends RequestQueryFields, TEntity>(
|
||||
}
|
||||
})
|
||||
|
||||
const allAllowedFields = new Set(allowedFields) // In case there is no allowedFields, allow all fields
|
||||
const notAllowedFields: string[] = []
|
||||
|
||||
if (allowedFields.length) {
|
||||
|
||||
Reference in new issue
Block a user