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 d558859
Browse filesBrowse the repository at this point in the historyBrowse files
const result =DiscardPackageDraftsResponseSchema.parse(data);
@@ -313,6 +313,29 @@ A field or flow another package contributes to one of the base's objects.
313
313
|**createdAt**|`string`| optional | When the commit was made (ISO-8601 string), when recorded. |
314
314
315
315
316
+
---
317
+
318
+
## PackageExportBundle
319
+
320
+
[PLANNED — not yet served] Whole-deployment export: every installed package the deployment's own code does not register (registry `source` other than `code`), as installable packages in dependency order. Carries no credential value and no enabled state. Declared ahead of its producer (ADR-0049): no runtime serves `GET /packages/export` yet. The server half of the whole-deployment package export mounts it, together with a future CLI command that calls it; until then this is the contract that door must answer, not a read a client can make.
321
+
322
+
### Properties
323
+
324
+
| Property | Type | Required | Description |
325
+
| :--- | :--- | :--- | :--- |
326
+
|**packages**|`({ id: string; name: string; version: string; label?: string; … } & Record<string, any>)[]`| ✅ | Every package whose registry row's `source` is not `code` (the marketplace and authored packages, a `.custom` pair among them), enabled or not, each once and each as `GET /packages/:id/export` answers it, dependencies first: an entry comes after every entry its package's `manifest.dependencies` names, so a `.custom` pair comes after its base. Install the entries in this order; never re-sort them. No entry carries an enabled state, so every entry installs enabled. Empty when every package of the deployment is registered by its own code. |
|**id**|`string`| ✅ | The exported package's id. |
333
+
|**name**|`string`| ✅ | The exported package's machine name. |
334
+
|**version**|`string`| ✅ | The exported package's version. |
335
+
|**label**|`string`| optional | Display label, when the package declares one. |
336
+
|**withheldMaps**|`{ type: 'connector'; name: string; path: Enum<'providerConfig.headers' \| 'providerConfig.defaultHeaders' \| …> }[]`| optional |[PLANNED — not yet served] Declared ahead of its producer (ADR-0049): no export writes this list yet and no install door reads it yet. Every map the export withheld WHOLE because a served read never carries it: a connector's header and environment-variable maps. The item is written with that map absent, so once served an import reads this list to tell an incomplete map from one the package never had, and names each one for an operator to re-enter. Positions only: no header or variable name is listed. Absence says nothing about what was withheld when the exporter predates this key; from an exporter that writes it, absence means nothing was withheld. |
0 commit comments