@composable-os/pack-offers 0.1.0-beta.18 → 0.1.0-beta.19

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.
package/dist/index.d.ts CHANGED
@@ -15,8 +15,10 @@ declare const _default: import("@composable-os/sdk").Extension<{
15
15
  readonly icon: "percent";
16
16
  readonly titleField: "name";
17
17
  readonly description: string;
18
- readonly navigation: "main";
19
- readonly navigationOrder: 30;
18
+ readonly place: {
19
+ readonly key: "payments";
20
+ readonly order: 30;
21
+ };
20
22
  readonly fields: {
21
23
  readonly name: {
22
24
  readonly type: "text";
@@ -359,6 +361,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
359
361
  readonly discountCodes: {
360
362
  readonly label: "Single-use codes";
361
363
  readonly on: "offers.discount";
364
+ readonly tab: "singleUseCodes";
362
365
  readonly view: {
363
366
  readonly type: "table";
364
367
  readonly object: "offers.code";
package/dist/index.js CHANGED
@@ -48,8 +48,7 @@ export default defineExtension({
48
48
  description: "Money off: a percentage, an amount or a set price, on what it covers, for whom, when " +
49
49
  "and how often. Applied by a promo code or by itself (a member's price). Made as a draft " +
50
50
  "and made live by a person.",
51
- navigation: "main",
52
- navigationOrder: 30,
51
+ place: { key: "payments", order: 30 },
53
52
  fields: {
54
53
  name: {
55
54
  type: "text",
@@ -292,6 +291,7 @@ export default defineExtension({
292
291
  discountCodes: {
293
292
  label: "Single-use codes",
294
293
  on: "offers.discount",
294
+ tab: "singleUseCodes",
295
295
  view: {
296
296
  type: "table",
297
297
  object: "offers.code",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composable-os/pack-offers",
3
- "version": "0.1.0-beta.18",
3
+ "version": "0.1.0-beta.19",
4
4
  "license": "FSL-1.1-ALv2",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,6 +28,6 @@
28
28
  "description": "Promo codes for a campaign, single-use codes for a newsletter, and members' prices that apply by themselves, with dates, limits and a person making each one live."
29
29
  },
30
30
  "dependencies": {
31
- "@composable-os/sdk": "0.1.0-beta.18"
31
+ "@composable-os/sdk": "0.1.0-beta.19"
32
32
  }
33
33
  }