@composable-os/pack-equipment 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
@@ -23,8 +23,10 @@ declare const _default: import("@composable-os/sdk").Extension<{
23
23
  readonly titleField: "name";
24
24
  readonly owner: "keeper";
25
25
  readonly description: string;
26
- readonly navigation: "main";
27
- readonly navigationOrder: 70;
26
+ readonly place: {
27
+ readonly key: "equipment";
28
+ readonly order: 70;
29
+ };
28
30
  readonly fields: {
29
31
  readonly name: {
30
32
  readonly type: "text";
@@ -201,8 +203,10 @@ declare const _default: import("@composable-os/sdk").Extension<{
201
203
  readonly suffix: "fault";
202
204
  };
203
205
  readonly description: string;
204
- readonly navigation: "main";
205
- readonly navigationOrder: 71;
206
+ readonly place: {
207
+ readonly key: "equipment";
208
+ readonly order: 71;
209
+ };
206
210
  readonly fields: {
207
211
  readonly title: {
208
212
  readonly type: "text";
@@ -342,6 +346,7 @@ declare const _default: import("@composable-os/sdk").Extension<{
342
346
  readonly itemFaults: {
343
347
  readonly label: "Faults";
344
348
  readonly on: "equipment.item";
349
+ readonly tab: "faults";
345
350
  readonly view: {
346
351
  readonly type: "table";
347
352
  readonly object: "equipment.fault";
package/dist/index.js CHANGED
@@ -81,8 +81,7 @@ export default defineExtension({
81
81
  description: "One thing the business owns and looks after: a machine, a rack, a tool, a van. In " +
82
82
  "service, out of service (why, since when) or retired. Its tag is the code on its " +
83
83
  "sticker, unique in the register.",
84
- navigation: "main",
85
- navigationOrder: 70,
84
+ place: { key: "equipment", order: 70 },
86
85
  fields: {
87
86
  name: { type: "text", label: "Name", required: true },
88
87
  category: {
@@ -225,8 +224,7 @@ export default defineExtension({
225
224
  titleDefault: { from: ["item"], suffix: "fault" },
226
225
  description: "A report that something is wrong with an item: what is wrong and how bad. Reported by " +
227
226
  "staff, then acknowledged and closed as fixed, not a fault or a duplicate by a manager.",
228
- navigation: "main",
229
- navigationOrder: 71,
227
+ place: { key: "equipment", order: 71 },
230
228
  fields: {
231
229
  title: { type: "text", label: "Title" },
232
230
  // The item the report is about: set by the report tools, never re-pointed (a safety risk
@@ -346,6 +344,7 @@ export default defineExtension({
346
344
  itemFaults: {
347
345
  label: "Faults",
348
346
  on: ITEM,
347
+ tab: "faults",
349
348
  view: {
350
349
  type: "table",
351
350
  object: FAULT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composable-os/pack-equipment",
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": "A register of your equipment, with tags, suppliers, costs and warranties, faults reported from the floor, and machines taken out of service in one tap and put back by a manager."
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
  }