@kosdev-code/kos-dispense-sdk 0.1.0-dev.5796 → 0.1.0-dev.5798
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/index.cjs.map +1 -1
- package/index.js.map +1 -1
- package/kos-models.json +1 -1
- package/package.json +5 -5
package/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport {\n createExtensionSchema,\n createViewAwareTransform,\n defineExtensionPoint,\n extensionPointId,\n validateWithSchema,\n type ValidationContext,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport {\n createExtensionSchema,\n createViewAwareTransform,\n defineExtensionPoint,\n extensionPointId,\n validateWithSchema,\n type ValidationContext,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/api-archaeology-report.md, produced by the archaeology scanner.\nregisterApiLevels({ \"kos-dispense-sdk\": 16 });\n\nexport * from \"./extensions\";\nexport * from \"./models\";\nexport { kosModels as DispenserModels } from \"./models\";\nexport * from \"./models/models/generic-pour\";\nexport * from \"./ui\";\n"],"names":["ControlPourSchema","createExtensionSchema","EXTENSION_ID","extensionPointId","ControlPourExtension","defineExtensionPoint","data","context","validateWithSchema","createViewAwareTransform","EXTENSION_POINT_CONTROL_POUR","registerApiLevels"],"mappings":"2ZAYA,MAAMA,EAAoBC,EAAAA,sBAAsB,CAAA,EAAI,CAAE,SAAU,GAAO,EAKjEC,EAAeC,EAAAA,iBAAiB,MAAO,UAAW,MAAM,EAQjDC,EAAuBC,EAAAA,qBAGlC,CACA,GAAIH,EACJ,gBAAiB,cACjB,YAAa,eACb,YACE,8EACF,QAAS,GACT,WAAY,GAEZ,OAAQF,EACR,SAAU,CACR,WAAY,uBACZ,SAAU,WACV,KAAM,CAAC,OAAQ,UAAW,UAAU,CAAA,EAGtC,SAAU,CAACM,EAA6BC,IAA+B,CAErEC,qBAAmBR,EAAmBM,EAAMC,CAAO,CACrD,EAEA,UAAWE,EAAAA,yBAAA,CACb,CAAC,EAGYC,EAA+BR,EChD5CS,EAAAA,kBAAkB,CAAE,mBAAoB,GAAI"}
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport {\n createExtensionSchema,\n createViewAwareTransform,\n defineExtensionPoint,\n extensionPointId,\n validateWithSchema,\n type ValidationContext,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../packages/sdk/kos-dispense-sdk/src/extensions/control-pour-extension.ts","../../../../packages/sdk/kos-dispense-sdk/src/index.ts"],"sourcesContent":["// eslint-disable-next-line @nx/enforce-module-boundaries\nimport {\n createExtensionSchema,\n createViewAwareTransform,\n defineExtensionPoint,\n extensionPointId,\n validateWithSchema,\n type ValidationContext,\n} from \"@kosdev-code/kos-ui-plugin/utilities\";\nimport { z } from \"zod\";\n\n// Define the Zod schema for Control Pour contributions\nconst ControlPourSchema = createExtensionSchema({}, { rankable: false });\n\n// Define the control pour types locally\ntype ControlPourDefinition = z.infer<typeof ControlPourSchema>;\n\nconst EXTENSION_ID = extensionPointId(\"cui\", \"control\", \"pour\");\n\n/**\n * Control Pour extension point for beverage dispensing interfaces\n *\n * Allows plugin developers to contribute controlled pour functionality\n * to CUI applications that register this extension point.\n */\nexport const ControlPourExtension = defineExtensionPoint<\n ControlPourDefinition,\n ControlPourDefinition\n>({\n id: EXTENSION_ID,\n contributionKey: \"controlPour\",\n displayName: \"Control Pour\",\n description:\n \"Extension point for controlled pour plugin configurations with view support\",\n hasView: true,\n isRankable: false,\n\n schema: ControlPourSchema,\n metadata: {\n exportName: \"ControlPourExtension\",\n category: \"Dispense\",\n tags: [\"pour\", \"control\", \"beverage\"],\n },\n\n validate: (data: ControlPourDefinition, context: ValidationContext) => {\n // Use Zod validation\n validateWithSchema(ControlPourSchema, data, context);\n },\n\n transform: createViewAwareTransform<ControlPourDefinition>(),\n});\n\n// Export constants for backward compatibility\nexport const EXTENSION_POINT_CONTROL_POUR = EXTENSION_ID;\nexport type { ControlPourDefinition };\n","import { registerApiLevels } from \"@kosdev-code/kos-api-levels\";\n\n// Registers the package-level API integer for this SDK.\n// The per-service catalog (which services changed and why) lives in\n// kos-api-levels/generated/api-archaeology-report.md, produced by the archaeology scanner.\nregisterApiLevels({ \"kos-dispense-sdk\": 16 });\n\nexport * from \"./extensions\";\nexport * from \"./models\";\nexport { kosModels as DispenserModels } from \"./models\";\nexport * from \"./models/models/generic-pour\";\nexport * from \"./ui\";\n"],"names":["ControlPourSchema","createExtensionSchema","EXTENSION_ID","extensionPointId","ControlPourExtension","defineExtensionPoint","data","context","validateWithSchema","createViewAwareTransform","EXTENSION_POINT_CONTROL_POUR","registerApiLevels"],"mappings":";;;;;;;;AAYA,MAAMA,IAAoBC,EAAsB,CAAA,GAAI,EAAE,UAAU,IAAO,GAKjEC,IAAeC,EAAiB,OAAO,WAAW,MAAM,GAQjDC,IAAuBC,EAGlC;AAAA,EACA,IAAIH;AAAA,EACJ,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,aACE;AAAA,EACF,SAAS;AAAA,EACT,YAAY;AAAA,EAEZ,QAAQF;AAAA,EACR,UAAU;AAAA,IACR,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAAA;AAAA,EAGtC,UAAU,CAACM,GAA6BC,MAA+B;AAErE,IAAAC,EAAmBR,GAAmBM,GAAMC,CAAO;AAAA,EACrD;AAAA,EAEA,WAAWE,EAAA;AACb,CAAC,GAGYC,IAA+BR;AChD5CS,EAAkB,EAAE,oBAAoB,IAAI;"}
|
package/kos-models.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosdev-code/kos-dispense-sdk",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.5798",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"./package.json": "./package.json"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@kosdev-code/kos-api-levels": "0.1.0-dev.
|
|
27
|
-
"@kosdev-code/kos-ui-sdk": "0.1.0-dev.
|
|
26
|
+
"@kosdev-code/kos-api-levels": "0.1.0-dev.5798",
|
|
27
|
+
"@kosdev-code/kos-ui-sdk": "0.1.0-dev.5798"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@kosdev-code/kos-ui-plugin": "0.1.0-dev.
|
|
30
|
+
"@kosdev-code/kos-ui-plugin": "0.1.0-dev.5798"
|
|
31
31
|
},
|
|
32
32
|
"kosModels": "./kos-models.json",
|
|
33
33
|
"publishConfig": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"kos": {
|
|
37
37
|
"build": {
|
|
38
|
-
"gitHash": "
|
|
38
|
+
"gitHash": "8e28bd6d4f07d359e1cf15abc68245326da8f44e"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|