@kosdev-code/kos-dispense-sdk 0.1.0-next.748 → 0.1.0-next.780

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.
Files changed (2) hide show
  1. package/.kos.json +134 -0
  2. package/package.json +6 -6
package/.kos.json ADDED
@@ -0,0 +1,134 @@
1
+ {
2
+ "name": "kos-dispense-sdk",
3
+ "type": "kos.model",
4
+ "version": "0.1.0",
5
+ "models": {
6
+ "device-assembly": {
7
+ "name": "device-assembly",
8
+ "type": "device-assembly-model",
9
+ "singleton": true,
10
+ "factory": "DeviceAssembly",
11
+ "purpose": "Singleton hydration root for the device's physical assembly — entry point exposing boards, holders, nozzles, pumps and their live paths."
12
+ },
13
+ "assembly": {
14
+ "name": "assembly",
15
+ "type": "assembly-model",
16
+ "singleton": true,
17
+ "factory": "Assembly",
18
+ "purpose": "The configured assembly tree (beverages, ingredients, nozzles) read from the device; resolves data-driven dispense paths."
19
+ },
20
+ "availability": {
21
+ "name": "availability",
22
+ "type": "availability-model",
23
+ "singleton": false,
24
+ "container": false,
25
+ "factory": "Availability",
26
+ "purpose": "Availability / out-of-stock state for a dispensable item."
27
+ },
28
+ "board": {
29
+ "name": "board",
30
+ "type": "board-model",
31
+ "singleton": false,
32
+ "container": false,
33
+ "factory": "Board",
34
+ "managedBy": [
35
+ "board-container"
36
+ ],
37
+ "purpose": "A control board in the assembly; tracks linked/unlinked state."
38
+ },
39
+ "board-container": {
40
+ "name": "board-container",
41
+ "type": "board-container-model",
42
+ "singleton": true,
43
+ "container": true,
44
+ "factory": "BoardContainer",
45
+ "purpose": "Manages the set of boards in the assembly."
46
+ },
47
+ "holder": {
48
+ "name": "holder",
49
+ "type": "holder-model",
50
+ "singleton": false,
51
+ "container": false,
52
+ "factory": "Holder",
53
+ "managedBy": [
54
+ "holder-container"
55
+ ],
56
+ "purpose": "An ingredient holder (slot) in the assembly and what it holds."
57
+ },
58
+ "holder-container": {
59
+ "name": "holder-container",
60
+ "type": "holder-container-model",
61
+ "singleton": true,
62
+ "container": true,
63
+ "factory": "HolderContainer",
64
+ "purpose": "Manages the set of holders in the assembly."
65
+ },
66
+ "ingredient": {
67
+ "name": "ingredient",
68
+ "type": "ingredient-model",
69
+ "singleton": false,
70
+ "container": false,
71
+ "factory": "Ingredient",
72
+ "managedBy": [
73
+ "ingredient-container"
74
+ ],
75
+ "purpose": "An ingredient and its level/availability tracking."
76
+ },
77
+ "ingredient-container": {
78
+ "name": "ingredient-container",
79
+ "type": "ingredient-container-model",
80
+ "singleton": true,
81
+ "container": true,
82
+ "factory": "IngredientContainer",
83
+ "purpose": "Manages the set of ingredients in the assembly."
84
+ },
85
+ "nozzle": {
86
+ "name": "nozzle",
87
+ "type": "nozzle-model",
88
+ "singleton": false,
89
+ "container": false,
90
+ "factory": "Nozzle",
91
+ "purpose": "A dispense nozzle; reads its paths/names from the device-assembly payload and constructs pour/select calls (data-driven endpoints, not static)."
92
+ },
93
+ "pump": {
94
+ "name": "pump",
95
+ "type": "pump-model",
96
+ "singleton": false,
97
+ "factory": "Pump",
98
+ "managedBy": [
99
+ "pump-container"
100
+ ],
101
+ "purpose": "A pump in the assembly and its run state."
102
+ },
103
+ "pump-container": {
104
+ "name": "pump-container",
105
+ "type": "pump-container-model",
106
+ "singleton": true,
107
+ "container": true,
108
+ "factory": "PumpContainer",
109
+ "purpose": "Manages the set of pumps in the assembly."
110
+ },
111
+ "generic-pour": {
112
+ "name": "generic-pour",
113
+ "type": "generic-pour-model",
114
+ "singleton": false,
115
+ "factory": "GenericPour",
116
+ "purpose": "Drives a generic pour operation and tracks its progress."
117
+ }
118
+ },
119
+ "generator": {
120
+ "projectType": [
121
+ "model",
122
+ "ui",
123
+ "model-component"
124
+ ],
125
+ "defaults": {
126
+ "model": {
127
+ "folder": "models/models"
128
+ },
129
+ "components": {
130
+ "folder": "ui"
131
+ }
132
+ }
133
+ }
134
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosdev-code/kos-dispense-sdk",
3
- "version": "0.1.0-next.748",
3
+ "version": "0.1.0-next.780",
4
4
  "type": "module",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",
@@ -14,7 +14,7 @@
14
14
  "**/*.d.ts",
15
15
  "**/*.d.cts",
16
16
  "**/*.d.ts.map",
17
- "kos-models.json"
17
+ ".kos.json"
18
18
  ],
19
19
  "exports": {
20
20
  ".": {
@@ -35,18 +35,18 @@
35
35
  "./package.json": "./package.json"
36
36
  },
37
37
  "dependencies": {
38
- "@kosdev-code/kos-api-levels": "0.1.0-next.748",
39
- "@kosdev-code/kos-ui-sdk": "0.1.0-next.748"
38
+ "@kosdev-code/kos-api-levels": "0.1.0-next.780",
39
+ "@kosdev-code/kos-ui-sdk": "0.1.0-next.780"
40
40
  },
41
41
  "peerDependencies": {
42
- "@kosdev-code/kos-ui-plugin": "0.1.0-next.748"
42
+ "@kosdev-code/kos-ui-plugin": "0.1.0-next.780"
43
43
  },
44
44
  "publishConfig": {
45
45
  "registry": "https://registry.npmjs.org/"
46
46
  },
47
47
  "kos": {
48
48
  "build": {
49
- "gitHash": "3f015fb7956b043998e8d001afb0419c5efee21d"
49
+ "gitHash": "ffc8c46f451578435cf6ca06e1b5fe6c5e48a453"
50
50
  }
51
51
  }
52
52
  }