@crvouga/mockingbird-service-wholescripts 0.1.0 → 1.0.0
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/CHANGELOG.md +16 -0
- package/README.md +11 -11
- package/dist/{chunk-XXM4NA4F.js → chunk-DXX432IY.js} +2 -2
- package/dist/{chunk-ARWCVRNR.js → chunk-WGRFFBW4.js} +8 -8
- package/dist/{chunk-ARWCVRNR.js.map → chunk-WGRFFBW4.js.map} +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +8 -3
- /package/dist/{chunk-XXM4NA4F.js.map → chunk-DXX432IY.js.map} +0 -0
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -635,14 +635,14 @@ type Catalog = {
|
|
|
635
635
|
medPaxPills: MedPaxPill[];
|
|
636
636
|
privateLabelCartons: PrivateLabelCarton[];
|
|
637
637
|
};
|
|
638
|
-
/** The MedPax box SKU
|
|
638
|
+
/** The MedPax box SKU the supplement scheduler orders every pack under (`acme_blend_sku` in its config). */
|
|
639
639
|
declare const MEDPAX_BOX_SKU = "000000000200095263";
|
|
640
640
|
/**
|
|
641
641
|
* The catalog every namespace starts with. The rows are the ones our consumers' own tests use
|
|
642
|
-
* (`
|
|
642
|
+
* (the consumer app's `wholescripts-service.test.ts`: Test Product 1/2,
|
|
643
643
|
* Vitamin D3, Vitamin D Complex, Calcium, Protein Powder, PL001, PLC001), with the fixture's
|
|
644
|
-
* repeated `medPaxSku`s made unique, plus the
|
|
645
|
-
*
|
|
644
|
+
* repeated `medPaxSku`s made unique, plus the scheduler's MedPax box and `medPaxDetails` rows the
|
|
645
|
+
* scheduler's catalog sync reads. `Protein Powder` is out of stock (`instockonly` drops it).
|
|
646
646
|
*/
|
|
647
647
|
declare const DEFAULT_CATALOG: Catalog;
|
|
648
648
|
|
package/dist/index.js
CHANGED
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-wholescripts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Stateful mock of the Wholescripts supplement fulfilment API: product and private-label catalogs, order submit, status polling and cancel, with admin status transitions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
"layer": "service",
|
|
53
53
|
"category": "pharmacy",
|
|
54
54
|
"displayName": "Wholescripts",
|
|
55
|
+
"vendor": {
|
|
56
|
+
"website": "https://www.wholescripts.com",
|
|
57
|
+
"docs": "https://www.wholescripts.com/api",
|
|
58
|
+
"description": "Wholescripts is a practitioner supplement dispensary that fulfils professional-grade and private-label supplement orders."
|
|
59
|
+
},
|
|
55
60
|
"status": "wip",
|
|
56
61
|
"playground": {
|
|
57
62
|
"basicAuth": "mockingbird:mockingbird"
|
|
@@ -70,7 +75,7 @@
|
|
|
70
75
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
71
76
|
},
|
|
72
77
|
"dependencies": {
|
|
73
|
-
"@crvouga/mockingbird-service-sqlite": "0.
|
|
78
|
+
"@crvouga/mockingbird-service-sqlite": "1.0.0",
|
|
74
79
|
"hono": "4.11.9"
|
|
75
80
|
},
|
|
76
81
|
"devDependencies": {
|
|
@@ -78,7 +83,7 @@
|
|
|
78
83
|
"@crvouga/mockingbird-testing": "0.1.0",
|
|
79
84
|
"@crvouga/mockingbird-service-sqlite": "0.0.0-development",
|
|
80
85
|
"@crvouga/mockingbird-parity": "0.0.0-development",
|
|
81
|
-
"@crvouga/mockingbird-
|
|
86
|
+
"@crvouga/mockingbird-credentials": "0.0.0-development",
|
|
82
87
|
"@crvouga/mockingbird-openapi-codegen": "0.1.0",
|
|
83
88
|
"@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
|
|
84
89
|
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
File without changes
|