@aiminaabeejs/link-modules 0.0.10 → 0.0.11
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.
|
@@ -20,7 +20,7 @@ exports.StoreCustomer = {
|
|
|
20
20
|
primaryKeys: ["id", "store_id", "customer_id"],
|
|
21
21
|
relationships: [
|
|
22
22
|
{
|
|
23
|
-
serviceName:
|
|
23
|
+
serviceName: utils_1.Modules.STORE, // Fixed: Use Modules.STORE instead of "store"
|
|
24
24
|
entity: "Store",
|
|
25
25
|
primaryKey: "id",
|
|
26
26
|
foreignKey: "store_id",
|
|
@@ -45,7 +45,7 @@ exports.StoreCustomer = {
|
|
|
45
45
|
extends: [
|
|
46
46
|
// This creates the "customers" relationship on Store
|
|
47
47
|
{
|
|
48
|
-
serviceName:
|
|
48
|
+
serviceName: utils_1.Modules.STORE, // Fixed: Use Modules.STORE instead of "store"
|
|
49
49
|
entity: "Store",
|
|
50
50
|
fieldAlias: {
|
|
51
51
|
customers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-customer.js","sourceRoot":"","sources":["../../src/definitions/store-customer.ts"],"names":[],"mappings":";;;AACA,yDAA8D;AAEjD,QAAA,aAAa,GAAuB;IAC/C,WAAW,EAAE,aAAK,CAAC,aAAa;IAChC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,gBAAgB;QAC3B,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,gBAAgB;SACvB;QACD;YACE,IAAI,EAAE,iBAAiB;SACxB;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,aAAa,CAAC;IAC9C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"store-customer.js","sourceRoot":"","sources":["../../src/definitions/store-customer.ts"],"names":[],"mappings":";;;AACA,yDAA8D;AAEjD,QAAA,aAAa,GAAuB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