You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 60b846e
Browse filesBrowse the repository at this point in the historyBrowse files
feat(ui): a home-currency amount shows the rate and document date it was converted at
9
+
10
+
Clause-②: yes (widening)
11
+
Metadata-protocol: none
12
+
13
+
A `record`-mode amount that declares `currencyConfig.homeAmount` (ADR-0144 D5) has its home field filled by the server when the record is saved. That home field now draws as a read-only amount in the organization's home currency, with the line "Converted at RATE on DATE" taken from the record's own rate and document-date fields, or "In the home currency (rate 1)" when the amount was already in the home currency. This holds on the record page and on authored form sections (the record dialog, the drawer and an inline `ObjectForm`), where it used to be a disabled number box with no currency symbol. A form laid out automatically still leaves readonly fields out, the home field included.
14
+
15
+
`@object-ui/i18n` adds `homeAmountSourceOf`, `withHomeAmountSource`, `readHomeAmountSource`, `HOME_AMOUNT_SOURCE_KEY` and the `HomeAmountSource` type, plus two locale keys in every pack: `fields.currencyHome.convertedAt` and `fields.currencyHome.homeCurrency`. `@object-ui/fields` exports `HomeAmountHint`.
16
+
17
+
The Studio field editor gains the three `homeAmount` pickers under `record` mode (home amount field, document date, rate field), listing only the fields the spec accepts for each. Re-picking an amount's currency code field no longer deletes its `homeAmount`.
feat(objectql): the package upgrade plan lists, as advice, each `.custom` override that hides a change of the upgrade, and each override already stale
9
+
10
+
Clause-②: yes (widening)
11
+
Metadata-protocol: none
12
+
13
+
Who sees it: whoever previews a base package upgrade before it runs — `os package install … --dry-run` (the install-local door's `dryRun: true`) and a hosted upgrade preview that reads the `manifest` service's `planUpgrade`.
14
+
15
+
The plan's environment reading gains an advisory class, `environment.overrides` (ADR-0146 D2, as amended): for every base package the upgrade replaces, each item of its paired `<base>.custom` package that the reads serve over a base item (the protocol's served-override list) is read against the installed and the incoming version of the base.
16
+
17
+
-`hidesChange`: the base's item differs between the two versions (`change: 'changed'`), the new version no longer ships it (`'removed'`), or now ships it (`'added'`). The override keeps being served, so it hides that change.
18
+
-`stale`: the override's `basedOn` is not the installed base version.
19
+
20
+
Each finding names the type, the name, the bundle member where the type has one, `basedOn`, the installed and the incoming base version, and the next step in Studio: open the item, compare, re-base it, or restore the package original. Advice only: nothing is refused on it, no confirmation token covers it, and nothing is merged or rebased; the upgrade installs exactly as before. `null` means the overrides could not be read (no protocol service, or the read failed), never "none". `os package install --dry-run` prints both lists after the schema plan.
21
+
22
+
The `overrides.basedOn` description (`@objectstack/spec`, and the generated reference pages) and the published declarations of `@objectstack/metadata-protocol` (`judgeOverrideWrite`'s JSDoc) no longer say no upgrade diff reads it: it never gates, and the upgrade plan reads it as advice.
feat(service-datasource): the Studio connection form offers Oracle and SQL Server, federation only
8
+
9
+
Clause-②: yes (widening)
10
+
Metadata-protocol: none
11
+
12
+
`GET /api/v1/datasources/drivers` now lists `oracle` (Oracle Database) and `mssql` (SQL Server). Each entry's connection fields are projected from the driver's config contract in `@objectstack/spec`, like every other entry, and its words are served in every language on the platform locale table.
13
+
14
+
Both drivers serve federation only (ADR-0015 §4.6), so their entries carry a new key, `federationOnly: true`, read from the spec's `FEDERATION_ONLY_DRIVER_IDS`. The key is absent on every other entry; a client that does not read it sees two more entries and nothing else changed.
15
+
16
+
The New datasource dialog reads that key from the catalog: for Oracle and SQL Server its Schema mode select offers External and Validate only, never Managed (the spec refuses a managed datasource naming either), and one sentence under it says why. A Managed choice made on another driver moves to External when one of them is chosen. As with PostgreSQL and MySQL, the database client (`oracledb`, `tedious`) is an optional install next to the server. A SQL Server datasource whose `tedious` is missing is now refused with the install of `tedious` as its remedy, like the other clients; it used to be told to rebuild the workspace.
Copy file name to clipboardExpand all lines: content/docs/api/metadata-api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ D2, D11). A `PUT` naming no package onto an item one installed read-only package
102
102
`hotcrm` ships is refused `403 NOT_OVERRIDABLE`; for a type an override applies to,
103
103
the sentence names the route: save it with `?package=hotcrm.custom`, the body
104
104
declaring `overrides: { package: 'hotcrm', basedOn: '3.2.0' }` (`basedOn` is the
105
-
`manifest.version` of `hotcrm` it was taken from, recorded and never judged). Only the pair declares an override: an item of any other
105
+
`manifest.version` of `hotcrm` it was taken from, recorded and never a gate; an upgrade of `hotcrm` lists, as advice, each override whose `basedOn` is not the installed version or whose base item the upgrade changes). Only the pair declares an override: an item of any other
106
106
package that depends on `hotcrm` and bears a `hotcrm` item's name is refused at save
107
107
and publish, and its fix is a new name. A permission set, position or capability is
108
108
never overridden: a permission set or position is copied under a new name, and a
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
192
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
192
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
@@ -253,7 +253,7 @@ const result = AutomationApiErrorCode.parse(data);
253
253
| Property | Type | Required | Description |
254
254
| :--- | :--- | :--- | :--- |
255
255
|**package**|`string`| ✅ | The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "`<base>`.custom" package declares an override. |
256
-
|**basedOn**|`string`| ✅ | Recorded, never judged: the base package's `manifest.version` this override was taken from (e.g. "3.2.0"), not a history version of the item. No door compares it with the installed base, no upgrade diff is produced from it, and nothing is refused on it; it tells a person re-basing the override where it started (ADR-0146 D2). |
256
+
|**basedOn**|`string`| ✅ | Recorded, never a gate: the base package's `manifest.version` this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose `basedOn`is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended). |
257
257
258
258
259
259
---
@@ -318,7 +318,7 @@ const result = AutomationApiErrorCode.parse(data);
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
321
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
321
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
322
322
323
323
324
324
---
@@ -868,7 +868,7 @@ const result = AutomationApiErrorCode.parse(data);
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
871
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
871
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
872
872
873
873
874
874
---
@@ -1178,7 +1178,7 @@ const result = AutomationApiErrorCode.parse(data);
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
1181
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
1181
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
1182
1182
1183
1183
1184
1184
---
@@ -1243,7 +1243,7 @@ const result = AutomationApiErrorCode.parse(data);
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
1246
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
1246
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
109
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
109
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
53
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
53
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
54
54
55
55
### Nested Shape: `Flow.variables[number]`
56
56
@@ -114,7 +114,7 @@ const result = FlowSchema.parse(data);
114
114
| Property | Type | Required | Description |
115
115
| :--- | :--- | :--- | :--- |
116
116
|**package**|`string`| ✅ | The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "`<base>`.custom" package declares an override. |
117
-
|**basedOn**|`string`| ✅ | Recorded, never judged: the base package's `manifest.version` this override was taken from (e.g. "3.2.0"), not a history version of the item. No door compares it with the installed base, no upgrade diff is produced from it, and nothing is refused on it; it tells a person re-basing the override where it started (ADR-0146 D2). |
117
+
|**basedOn**|`string`| ✅ | Recorded, never a gate: the base package's `manifest.version` this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose `basedOn`is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended). |
118
118
119
119
120
120
---
@@ -275,7 +275,7 @@ const result = FlowSchema.parse(data);
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
278
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
278
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
60
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
60
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
61
61
62
62
### Nested Shape: `Mapping.fieldMapping[number]`
63
63
@@ -83,7 +83,7 @@ const result = ImportFieldMappingSchema.parse(data);
83
83
| Property | Type | Required | Description |
84
84
| :--- | :--- | :--- | :--- |
85
85
|**package**|`string`| ✅ | The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "`<base>`.custom" package declares an override. |
86
-
|**basedOn**|`string`| ✅ | Recorded, never judged: the base package's `manifest.version` this override was taken from (e.g. "3.2.0"), not a history version of the item. No door compares it with the installed base, no upgrade diff is produced from it, and nothing is refused on it; it tells a person re-basing the override where it started (ADR-0146 D2). |
86
+
|**basedOn**|`string`| ✅ | Recorded, never a gate: the base package's `manifest.version` this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose `basedOn`is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended). |
|**_lockDocsUrl**|`string`| optional | Optional documentation link surfaced next to _lockReason. |
532
-
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never judged. |
532
+
|**overrides**|`{ package: string; basedOn: string }`| optional | Override declaration (ADR-0146 D2): `{ package, basedOn }` — this item of "`<base>`.custom" replaces the base package's same-named item whole. `basedOn` is recorded and never gates; a base's upgrade plan reads it only as advice. |
0 commit comments