@shipstatic/types 2.17.0-beta.8 → 2.17.0-beta.9
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 +14 -0
- package/package.json +1 -1
- package/src/index.ts +14 -0
package/dist/index.d.ts
CHANGED
|
@@ -1853,6 +1853,20 @@ export interface Plan {
|
|
|
1853
1853
|
* nothing (a plan sold by conversation publishes no numbers).
|
|
1854
1854
|
*/
|
|
1855
1855
|
readonly caps: Caps | null;
|
|
1856
|
+
/**
|
|
1857
|
+
* Why this row cannot be ordered right now — the closed door's own sentence,
|
|
1858
|
+
* verbatim — or absent when the way is open. A menu lists what can be
|
|
1859
|
+
* ordered, and a row that is sold but not yet orderable (its door is closed:
|
|
1860
|
+
* checkout unbuilt, a feature unfinished) SAYS SO on the menu instead of
|
|
1861
|
+
* only at the order.
|
|
1862
|
+
*
|
|
1863
|
+
* Clients branch on PRESENCE and render the sentence unchanged — they know
|
|
1864
|
+
* *that* the row is closed, never *which* door or *when it lifts*; the
|
|
1865
|
+
* vocabulary of doors stays server-side. The same rule the refusal follows:
|
|
1866
|
+
* `POST /billing/change` onto a closed row answers 400 with
|
|
1867
|
+
* `details.closed`, and its `message` is this sentence.
|
|
1868
|
+
*/
|
|
1869
|
+
readonly closed?: string;
|
|
1856
1870
|
}
|
|
1857
1871
|
/**
|
|
1858
1872
|
* Response for `GET /plans` — the whole public menu, in display order.
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2714,6 +2714,20 @@ export interface Plan {
|
|
|
2714
2714
|
* nothing (a plan sold by conversation publishes no numbers).
|
|
2715
2715
|
*/
|
|
2716
2716
|
readonly caps: Caps | null;
|
|
2717
|
+
/**
|
|
2718
|
+
* Why this row cannot be ordered right now — the closed door's own sentence,
|
|
2719
|
+
* verbatim — or absent when the way is open. A menu lists what can be
|
|
2720
|
+
* ordered, and a row that is sold but not yet orderable (its door is closed:
|
|
2721
|
+
* checkout unbuilt, a feature unfinished) SAYS SO on the menu instead of
|
|
2722
|
+
* only at the order.
|
|
2723
|
+
*
|
|
2724
|
+
* Clients branch on PRESENCE and render the sentence unchanged — they know
|
|
2725
|
+
* *that* the row is closed, never *which* door or *when it lifts*; the
|
|
2726
|
+
* vocabulary of doors stays server-side. The same rule the refusal follows:
|
|
2727
|
+
* `POST /billing/change` onto a closed row answers 400 with
|
|
2728
|
+
* `details.closed`, and its `message` is this sentence.
|
|
2729
|
+
*/
|
|
2730
|
+
readonly closed?: string;
|
|
2717
2731
|
}
|
|
2718
2732
|
|
|
2719
2733
|
/**
|