Skip to content

Commit d558859

Browse files
committed
chore(spec): regenerate the references, authorable surface and strictness counts on the merged tree
Claude-Session: https://claude.ai/code/session_01ADHkmPi3pqv7Vkx4kymD87 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 078a91b commit d558859

3 files changed

Lines changed: 33 additions & 3 deletions

File tree

‎content/docs/references/api/package-lifecycle.mdx‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ change that serves it drops the marker: the `nav` arm of
5757
## TypeScript Usage
5858

5959
```typescript
60-
import { DiscardPackageDraftsResponseSchema, DuplicatePackageResponseSchema, EnsureCustomizationPackageRequestSchema, EnsureCustomizationPackageResponseSchema, GetPackageCustomizationsRequestSchema, GetPackageCustomizationsResponseSchema, ImportUnmanagedPackageRequestSchema, ImportUnmanagedPackageResponseSchema, ListPackageCommitsResponseSchema, PackageExportManifestSchema, PackagePublishResultSchema, ReassignOrphanedMetadataResponseSchema, RevertPackageCommitResponseSchema, RollbackToPackageCommitResponseSchema } from '@objectstack/spec/api';
61-
import type { DiscardPackageDraftsResponse, DuplicatePackageResponse, EnsureCustomizationPackageRequest, EnsureCustomizationPackageResponse, GetPackageCustomizationsRequest, GetPackageCustomizationsResponse, ImportUnmanagedPackageRequest, ImportUnmanagedPackageResponse, ListPackageCommitsResponse, PackageExportManifest, PackagePublishResult, ReassignOrphanedMetadataResponse, RevertPackageCommitResponse, RollbackToPackageCommitResponse } from '@objectstack/spec/api';
60+
import { DiscardPackageDraftsResponseSchema, DuplicatePackageResponseSchema, EnsureCustomizationPackageRequestSchema, EnsureCustomizationPackageResponseSchema, GetPackageCustomizationsRequestSchema, GetPackageCustomizationsResponseSchema, ImportUnmanagedPackageRequestSchema, ImportUnmanagedPackageResponseSchema, ListPackageCommitsResponseSchema, PackageExportBundleSchema, PackageExportManifestSchema, PackagePublishResultSchema, ReassignOrphanedMetadataResponseSchema, RevertPackageCommitResponseSchema, RollbackToPackageCommitResponseSchema } from '@objectstack/spec/api';
61+
import type { DiscardPackageDraftsResponse, DuplicatePackageResponse, EnsureCustomizationPackageRequest, EnsureCustomizationPackageResponse, GetPackageCustomizationsRequest, GetPackageCustomizationsResponse, ImportUnmanagedPackageRequest, ImportUnmanagedPackageResponse, ListPackageCommitsResponse, PackageExportBundle, PackageExportManifest, PackagePublishResult, ReassignOrphanedMetadataResponse, RevertPackageCommitResponse, RollbackToPackageCommitResponse } from '@objectstack/spec/api';
6262

6363
// Validate data
6464
const result = DiscardPackageDraftsResponseSchema.parse(data);
@@ -313,6 +313,29 @@ A field or flow another package contributes to one of the base's objects.
313313
| **createdAt** | `string` | optional | When the commit was made (ISO-8601 string), when recorded. |
314314

315315

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. |
327+
328+
### Nested Shape: `PackageExportBundle.packages[number]`
329+
330+
| Property | Type | Required | Description |
331+
| :--- | :--- | :--- | :--- |
332+
| **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. |
337+
338+
316339
---
317340

318341
## PackageExportManifest

‎docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ hand-patch a number here** — fix the code or the verdict and regenerate.
1919

2020
| Dir | Sites |
2121
|---|---|
22-
| `api/` | 488 |
22+
| `api/` | 490 |

‎packages/spec/authorable-surface/api.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
"api/AuthFeaturesConfig:passkeys [RETIRED]",
216216
"api/AuthFeaturesConfig:phoneNumber",
217217
"api/AuthFeaturesConfig:phoneNumberOtp",
218+
"api/AuthFeaturesConfig:sso",
218219
"api/AuthFeaturesConfig:ssoEnforced",
219220
"api/AuthFeaturesConfig:turnstileSiteKey",
220221
"api/AuthFeaturesConfig:twoFactor",
@@ -1300,6 +1301,7 @@
13001301
"api/OperatorMapping:odata",
13011302
"api/OperatorMapping:operator",
13021303
"api/OperatorMapping:rest",
1304+
"api/PackageExportBundle:packages",
13031305
"api/PackageExportManifest:id",
13041306
"api/PackageExportManifest:label",
13051307
"api/PackageExportManifest:name",
@@ -1424,6 +1426,8 @@
14241426
"api/PublishPackageDraftsResponse:success",
14251427
"api/PublishPackageDraftsResponse:unhiddenApps",
14261428
"api/PublishPackageDraftsResponse:unhideError",
1429+
"api/PushDeliveryData:notificationId",
1430+
"api/PushDeliveryData:route",
14271431
"api/QueryAdapterConfig:odata",
14281432
"api/QueryAdapterConfig:operatorMappings",
14291433
"api/QueryAdapterConfig:rest",
@@ -1522,10 +1526,13 @@
15221526
"api/RecordPageTimelineRequest:discussion",
15231527
"api/RecordPageTimelineRequest:fieldChanges",
15241528
"api/RefreshTokenRequest:refreshToken",
1529+
"api/RegisterDeviceRequest:appId",
15251530
"api/RegisterDeviceRequest:deviceId",
1531+
"api/RegisterDeviceRequest:locale",
15261532
"api/RegisterDeviceRequest:name",
15271533
"api/RegisterDeviceRequest:platform",
15281534
"api/RegisterDeviceRequest:token",
1535+
"api/RegisterDeviceRequest:vendor",
15291536
"api/RegisterDeviceResponse:deviceId",
15301537
"api/RegisterDeviceResponse:success",
15311538
"api/RegisterRequest:email",

0 commit comments

Comments
 (0)