@coffer-org/plugin-home 1.1.0 → 1.2.2

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
@@ -1,3 +1,2 @@
1
1
  declare const _default: import("@coffer-org/sdk/plugin").PluginManifest;
2
2
  export default _default;
3
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineVault } from '@coffer-org/sdk/vault';
2
2
  import { definePlugin } from '@coffer-org/sdk/plugin';
3
- import meterReading from './meter_reading/index.js';
4
- import room from './room/index.js';
5
- import material from './material/index.js';
3
+ import meterReading from "./meter_reading/index.js";
4
+ import room from "./room/index.js";
5
+ import material from "./material/index.js";
6
6
  export default definePlugin({
7
7
  id: 'home',
8
8
  version: '1.0.0',
@@ -14,4 +14,3 @@ export default definePlugin({
14
14
  },
15
15
  ],
16
16
  });
17
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: import("@coffer-org/sdk/module").ModuleDef;
2
2
  export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import { defineModule } from '@coffer-org/sdk/module';
2
2
  import { field } from '@coffer-org/sdk/fields';
3
- /** Категорії матеріалів. Плоский список (без extends). */
4
3
  const MATERIAL_TYPES = [
5
4
  { value: 'paint', title: 'home.material.options.type.paint' },
6
5
  { value: 'primer', title: 'home.material.options.type.primer' },
@@ -21,7 +20,6 @@ const MATERIAL_TYPES = [
21
20
  { value: 'plumbing', title: 'home.material.options.type.plumbing' },
22
21
  { value: 'other', title: 'home.material.options.type.other' },
23
22
  ];
24
- /** Одиниці кількості: мікс об'єм/вага/площа/штуки. Лейбли — наявні core.units.*. */
25
23
  const QUANTITY_UNITS = [
26
24
  { value: 'l', label: 'core.units.l' },
27
25
  { value: 'kg', label: 'core.units.kg' },
@@ -33,7 +31,7 @@ export default defineModule({
33
31
  vault: 'home',
34
32
  label: 'home.material.label',
35
33
  icon: 'lucide:paint-roller',
36
- claude: `Матеріал/фарба, використані в ремонті. Один запис = конкретний продукт (напр. "Dulux Easycare, RAL 9010"). name — назва, type — категорія, brand — виробник, color/color_code — колір і код колеру. rooms — relation на home/room (де використано, може бути кілька). price/quantity/store/bought_date/link — дані купівлі. photo/rating/notes — фото та враження. НЕ зберігає журнал/хронологію робітлише каталог "що куплено і де стоїть".`,
34
+ claude: `A material/paint used in renovation. One record = a specific product (e.g. "Dulux Easycare, RAL 9010"). name — name, type — category, brand — manufacturer, color/color_code — color and tint code. rooms — relation to home/room (where used, can be several). price/quantity/store/bought_date/link — purchase data. photo/rating/notes — photos and impressions. Does NOT store a work log/timeline only a catalog of "what was bought and where it is used".`,
37
35
  views: {
38
36
  inline: ['name', 'color'],
39
37
  table: ['name', 'type', 'color', 'brand', 'rooms'],
@@ -44,14 +42,13 @@ export default defineModule({
44
42
  fields: [
45
43
  field.string({ key: 'name', label: 'core.fields.name', required: true }),
46
44
  field.select({ key: 'type', label: 'core.fields.type', options: MATERIAL_TYPES }),
47
- field.string({ key: 'brand', label: 'home.material.fields.brand', config: { max: 120 } }),
45
+ field.string({ key: 'brand', label: 'home.material.fields.brand', rules: { max: 120 } }),
48
46
  field.color({ key: 'color', label: 'home.material.fields.color' }),
49
- field.string({ key: 'color_code', label: 'home.material.fields.color_code', config: { max: 60 } }),
47
+ field.string({ key: 'color_code', label: 'home.material.fields.color_code', rules: { max: 60 } }),
50
48
  field.relation({
51
49
  key: 'rooms',
52
50
  label: 'home.material.fields.rooms',
53
- vault: 'home',
54
- module: 'room',
51
+ options: { vault: 'home', module: 'room' },
55
52
  multiple: true,
56
53
  }),
57
54
  ],
@@ -59,15 +56,15 @@ export default defineModule({
59
56
  field.group({
60
57
  label: 'home.material.group.purchase',
61
58
  fields: [
62
- field.measured({ key: 'price', label: 'home.material.fields.price', options: 'currency', config: { min: 0 } }),
59
+ field.measured({ key: 'price', label: 'home.material.fields.price', options: 'currency', rules: { min: 0 } }),
63
60
  field.measured({
64
61
  key: 'quantity',
65
62
  label: 'home.material.fields.quantity',
66
63
  options: QUANTITY_UNITS,
67
- config: { min: 0 },
64
+ rules: { min: 0 },
68
65
  }),
69
- field.string({ key: 'store', label: 'home.material.fields.store', config: { max: 120 } }),
70
- field.date({ key: 'bought_date', label: 'home.material.fields.bought_date', max: 'today' }),
66
+ field.string({ key: 'store', label: 'home.material.fields.store', rules: { max: 120 } }),
67
+ field.date({ key: 'bought_date', label: 'home.material.fields.bought_date', rules: { max: 'today' } }),
71
68
  field.url({ key: 'link', label: 'home.material.fields.link' }),
72
69
  ],
73
70
  }),
@@ -75,10 +72,9 @@ export default defineModule({
75
72
  label: 'home.material.group.media',
76
73
  fields: [
77
74
  field.image({ key: 'photo', label: 'home.material.fields.photo', multiple: true }),
78
- field.rating({ key: 'rating', label: 'home.material.fields.rating', max: 5 }),
75
+ field.rating({ key: 'rating', label: 'home.material.fields.rating', rules: { max: 5 } }),
79
76
  field.markdown({ key: 'notes', label: 'home.material.fields.notes' }),
80
77
  ],
81
78
  }),
82
79
  ],
83
80
  });
84
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: import("@coffer-org/sdk/module").ModuleDef;
2
2
  export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -5,10 +5,10 @@ export default defineModule({
5
5
  vault: 'home',
6
6
  label: 'home.meter_reading.label',
7
7
  icon: 'lucide:gauge',
8
- claude: `Зняття показників комунальних лічильників за дату. name — період зняття, напр. "2026-05".
9
- date — дата зняття. cold_water/hot_water — показники лічильників води (м³).
10
- electricity — показник лічильника електрики (кВт·год). gas — показник лічильника газу (м³).
11
- Зберігаються СИРІ кумулятивні показники, не споживання (різниця похідне обчислення).`,
8
+ claude: `Utility meter readings for a date. name — reading period, e.g. "2026-05".
9
+ date — reading date. cold_water/hot_water — water meter readings ().
10
+ electricity — electricity meter reading (kWh). gas — gas meter reading ().
11
+ Stores RAW cumulative readings, not consumption (the difference is a derived calculation).`,
12
12
  views: {
13
13
  inline: ['date'],
14
14
  table: ['date', 'cold_water', 'hot_water', 'electricity', 'gas'],
@@ -18,14 +18,12 @@ electricity — показник лічильника електрики (кВт
18
18
  key: 'date',
19
19
  label: 'home.meter_reading.fields.date',
20
20
  required: true,
21
- min: '2000-01-01',
22
- max: 'today',
21
+ rules: { min: '2000-01-01', max: 'today' },
23
22
  }),
24
- field.real({ key: 'cold_water', label: 'home.meter_reading.fields.cold_water', config: { min: 0 } }),
25
- field.real({ key: 'hot_water', label: 'home.meter_reading.fields.hot_water', config: { min: 0 } }),
26
- field.real({ key: 'electricity', label: 'home.meter_reading.fields.electricity', config: { min: 0 } }),
27
- field.real({ key: 'gas', label: 'home.meter_reading.fields.gas', config: { min: 0 } }),
28
- field.text({ key: 'note', label: 'home.meter_reading.fields.note', max: 500 }),
23
+ field.real({ key: 'cold_water', label: 'home.meter_reading.fields.cold_water', rules: { min: 0 } }),
24
+ field.real({ key: 'hot_water', label: 'home.meter_reading.fields.hot_water', rules: { min: 0 } }),
25
+ field.real({ key: 'electricity', label: 'home.meter_reading.fields.electricity', rules: { min: 0 } }),
26
+ field.real({ key: 'gas', label: 'home.meter_reading.fields.gas', rules: { min: 0 } }),
27
+ field.text({ key: 'note', label: 'home.meter_reading.fields.note', rules: { max: 500 } }),
29
28
  ],
30
29
  });
31
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: import("@coffer-org/sdk/module").ModuleDef;
2
2
  export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -5,15 +5,14 @@ export default defineModule({
5
5
  vault: 'home',
6
6
  label: 'home.room.label',
7
7
  icon: 'lucide:door-open',
8
- claude: `Кімната/приміщення квартири. name — назва (Спальня, Кухня). area — площа (м²). Це довідник місць: ціль для relation із material (де використано матеріал). Самих матеріалів не зберігає.`,
8
+ claude: `A room/space in the apartment. name — name (Bedroom, Kitchen). area — area (). This is a reference list of places: a target for relations from material (where a material was used). Does not store the materials themselves.`,
9
9
  views: {
10
10
  inline: ['name'],
11
11
  table: ['name', 'area'],
12
12
  },
13
13
  fields: [
14
14
  field.title({ key: 'name', label: 'core.fields.name', required: true }),
15
- field.measured({ key: 'area', label: 'home.room.fields.area', options: 'area', config: { min: 0 } }),
16
- field.text({ key: 'note', label: 'home.room.fields.note', max: 500 }),
15
+ field.measured({ key: 'area', label: 'home.room.fields.area', options: 'area', rules: { min: 0 } }),
16
+ field.text({ key: 'note', label: 'home.room.fields.note', rules: { max: 500 } }),
17
17
  ],
18
18
  });
19
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ import type { PluginHooks } from '@coffer-org/server/plugin-hooks';
2
+ export declare const serverHooks: PluginHooks;
@@ -0,0 +1,65 @@
1
+ import { fileURLToPath } from 'node:url';
2
+ import { localPost } from '@coffer-org/server/local-api';
3
+ import { seedAsset } from '@coffer-org/server/uploads';
4
+ const asset = (rel) => fileURLToPath(new URL(`../../seed/assets/${rel}`, import.meta.url));
5
+ export const serverHooks = {
6
+ seed: [
7
+ {
8
+ name: 'demo-materials',
9
+ run: async () => {
10
+ const photo = seedAsset(asset('material.svg'));
11
+ await localPost('home', 'material', {
12
+ name: 'Dulux Easycare Paint RAL 9010',
13
+ type: 'paint',
14
+ brand: 'Dulux',
15
+ color: '#ffffff',
16
+ color_code: 'RAL 9010',
17
+ price: { value: 1290, unit: 'USD' },
18
+ quantity: { value: 5, unit: 'l' },
19
+ store: 'Home Center',
20
+ bought_date: '2026-03-12',
21
+ link: 'https://homecenter.example/',
22
+ photo: [photo],
23
+ rating: 5,
24
+ notes: 'Matte, washable, covers well in two coats. For the living room ceiling and walls.',
25
+ });
26
+ await localPost('home', 'material', {
27
+ name: 'Quick-Step Eligna Laminate, Light Oak',
28
+ type: 'laminate',
29
+ brand: 'Quick-Step',
30
+ color: '#c9a06a',
31
+ color_code: 'EL3573',
32
+ price: { value: 549, unit: 'USD' },
33
+ quantity: { value: 24, unit: 'm2' },
34
+ store: 'BuildMart',
35
+ bought_date: '2026-02-28',
36
+ link: 'https://www.quick-step.com/',
37
+ photo: [photo],
38
+ rating: 4,
39
+ notes: 'Wear class 32, 4V bevel. Bought with a ~10% spare for cut-offs.',
40
+ });
41
+ await localPost('home', 'material', {
42
+ name: 'Cersanit Calacatta Tile',
43
+ type: 'tile',
44
+ brand: 'Cersanit',
45
+ color: '#eceae6',
46
+ color_code: 'CAL-60',
47
+ price: { value: 389, unit: 'USD' },
48
+ quantity: { value: 12, unit: 'm2' },
49
+ store: 'HomeStyle',
50
+ bought_date: '2026-04-05',
51
+ link: 'https://homestyle.example/',
52
+ photo: [photo],
53
+ rating: 5,
54
+ notes: 'Rectified porcelain stoneware 60×60, matte surface. For the bathroom.',
55
+ });
56
+ },
57
+ },
58
+ ],
59
+ agent: {
60
+ instructions: 'Vault home — renovation materials (material), meter readings (meter_reading), rooms (room). ' +
61
+ 'material: price/quantity {value,unit}, link (URL), rooms. meter_reading: date + cold_water/hot_water/' +
62
+ 'electricity/gas — cumulative readings; consumption over a period = difference between adjacent dates.' +
63
+ ' New meter readings — create_record meter_reading (do NOT edit old ones); used up a material — update material.quantity via update_record.',
64
+ },
65
+ };
package/package.json CHANGED
@@ -1,14 +1,22 @@
1
1
  {
2
2
  "name": "@coffer-org/plugin-home",
3
- "version": "1.1.0",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
+ "engines": {
6
+ "node": ">=24"
7
+ },
5
8
  "files": [
6
- "dist"
9
+ "dist",
10
+ "seed"
7
11
  ],
8
12
  "exports": {
9
13
  ".": {
10
14
  "types": "./dist/index.d.ts",
11
15
  "default": "./dist/index.js"
16
+ },
17
+ "./runtime": {
18
+ "types": "./dist/runtime/index.d.ts",
19
+ "default": "./dist/runtime/index.js"
12
20
  }
13
21
  },
14
22
  "scripts": {
@@ -17,6 +25,7 @@
17
25
  "postpack": "node ../../scripts/swap-exports.mjs src"
18
26
  },
19
27
  "dependencies": {
20
- "@coffer-org/sdk": "^1.1.0"
28
+ "@coffer-org/sdk": "^1.2.2",
29
+ "@coffer-org/server": "^1.2.2"
21
30
  }
22
31
  }
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160" role="img" aria-label="demo material">
2
+ <rect width="160" height="160" rx="16" fill="#fef3c7"/>
3
+ <rect x="40" y="36" width="80" height="88" rx="8" fill="#f59e0b"/>
4
+ <rect x="56" y="20" width="48" height="24" rx="6" fill="#b45309"/>
5
+ <rect x="56" y="60" width="48" height="20" rx="4" fill="#fffbeb"/>
6
+ </svg>
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAMA,wBAUG"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAE3C,eAAe,YAAY,CAAC;IAC1B,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,OAAO;IAChB,SAAS,EAAE,EAAE;IACb,MAAM,EAAE;QACN;YACE,IAAI,EAAE,WAAW,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;YAClF,OAAO,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,QAAQ,CAAC;SACxC;KACF;CACF,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/material/index.ts"],"names":[],"mappings":";AAiCA,wBAoDG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":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KAAK,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,4BAA4B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;gBAClF,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,6BAA6B,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;gBAC7E,KAAK,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,4BAA4B,EAAE,CAAC;aACtE;SACF,CAAC;KACH;CACF,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/meter_reading/index.ts"],"names":[],"mappings":";AAGA,wBA2BG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/meter_reading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,eAAe,YAAY,CAAC;IAC1B,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,0BAA0B;IACjC,IAAI,EAAE,cAAc;IACpB,MAAM,EAAE;;;uFAG6E;IACrF,KAAK,EAAE;QACL,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,KAAK,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,CAAC;KACjE;IACD,MAAM,EAAE;QACN,KAAK,CAAC,IAAI,CAAC;YACT,GAAG,EAAE,MAAM;YACX,KAAK,EAAE,gCAAgC;YACvC,QAAQ,EAAE,IAAI;YACd,GAAG,EAAE,YAAY;YACjB,GAAG,EAAE,OAAO;SACb,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,sCAAsC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACpG,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,qCAAqC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QAClG,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,uCAAuC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACtG,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,+BAA+B,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACtF,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,gCAAgC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;KAC/E;CACF,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/room/index.ts"],"names":[],"mappings":";AAGA,wBAeG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/room/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,eAAe,YAAY,CAAC;IAC1B,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,iBAAiB;IACxB,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,0LAA0L;IAClM,KAAK,EAAE;QACL,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KACxB;IACD,MAAM,EAAE;QACN,KAAK,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QACvE,KAAK,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACpG,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;KACtE;CACF,CAAC,CAAC"}