@acmekit/index 2.13.1 → 2.13.3

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.
@@ -1,2 +1,6 @@
1
- export declare const defaultSchema: string;
1
+ /**
2
+ * Default schema for index module. Commerce types (Product, Price, SalesChannel) removed.
3
+ * Extend with your own schema as needed.
4
+ */
5
+ export declare const defaultSchema = "\n";
2
6
  //# sourceMappingURL=default-schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-schema.d.ts","sourceRoot":"","sources":["../../src/utils/default-schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAmCzB,CAAA"}
1
+ {"version":3,"file":"default-schema.d.ts","sourceRoot":"","sources":["../../src/utils/default-schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,aAAa,OACzB,CAAA"}
@@ -1,41 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultSchema = void 0;
4
- const utils_1 = require("@acmekit/utils");
4
+ /**
5
+ * Default schema for index module. Commerce types (Product, Price, SalesChannel) removed.
6
+ * Extend with your own schema as needed.
7
+ */
5
8
  exports.defaultSchema = `
6
- type Product @Listeners(values: ["${utils_1.Modules.PRODUCT}.product.created", "${utils_1.Modules.PRODUCT}.product.updated", "${utils_1.Modules.PRODUCT}.product.deleted"]) {
7
- id: ID
8
- title: String
9
- handle: String
10
- status: String
11
- type_id: String
12
- collection_id: String
13
- is_giftcard: Boolean
14
- external_id: String
15
- created_at: DateTime
16
- updated_at: DateTime
17
-
18
- variants: [ProductVariant]
19
- sales_channels: [SalesChannel]
20
- }
21
-
22
- type ProductVariant @Listeners(values: ["${utils_1.Modules.PRODUCT}.product-variant.created", "${utils_1.Modules.PRODUCT}.product-variant.updated", "${utils_1.Modules.PRODUCT}.product-variant.deleted"]) {
23
- id: ID
24
- product_id: String
25
- sku: String
26
-
27
- prices: [Price]
28
- }
29
-
30
- type Price @Listeners(values: ["${utils_1.Modules.PRICING}.price.created", "${utils_1.Modules.PRICING}.price.updated", "${utils_1.Modules.PRICING}.price.deleted"]) {
31
- id: ID
32
- amount: Float
33
- currency_code: String
34
- }
35
-
36
- type SalesChannel @Listeners(values: ["${utils_1.Modules.SALES_CHANNEL}.sales-channel.created", "${utils_1.Modules.SALES_CHANNEL}.sales-channel.updated", "${utils_1.Modules.SALES_CHANNEL}.sales-channel.deleted"]) {
37
- id: ID
38
- is_disabled: Boolean
39
- }
40
9
  `;
41
10
  //# sourceMappingURL=default-schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-schema.js","sourceRoot":"","sources":["../../src/utils/default-schema.ts"],"names":[],"mappings":";;;AAAA,0CAAwC;AAE3B,QAAA,aAAa,GAAG;sCACS,eAAO,CAAC,OAAO,uBAAuB,eAAO,CAAC,OAAO,uBAAuB,eAAO,CAAC,OAAO;;;;;;;;;;;;;;;;6CAgBpF,eAAO,CAAC,OAAO,+BAA+B,eAAO,CAAC,OAAO,+BAA+B,eAAO,CAAC,OAAO;;;;;;;;oCAQpH,eAAO,CAAC,OAAO,qBAAqB,eAAO,CAAC,OAAO,qBAAqB,eAAO,CAAC,OAAO;;;;;;2CAMhF,eAAO,CAAC,aAAa,6BAA6B,eAAO,CAAC,aAAa,6BAA6B,eAAO,CAAC,aAAa;;;;CAInK,CAAA"}
1
+ {"version":3,"file":"default-schema.js","sourceRoot":"","sources":["../../src/utils/default-schema.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,aAAa,GAAG;CAC5B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acmekit/index",
3
- "version": "2.13.1",
3
+ "version": "2.13.3",
4
4
  "description": "AcmeKit Index module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,10 +36,10 @@
36
36
  "orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true acmekit-mikro-orm cache:clear"
37
37
  },
38
38
  "devDependencies": {
39
- "@acmekit/framework": "2.13.1",
40
- "@acmekit/test-utils": "2.13.1"
39
+ "@acmekit/framework": "2.13.3",
40
+ "@acmekit/test-utils": "2.13.3"
41
41
  },
42
42
  "peerDependencies": {
43
- "@acmekit/framework": "2.13.1"
43
+ "@acmekit/framework": "2.13.3"
44
44
  }
45
45
  }