@buildinternet/releases-api-types 0.48.0 → 0.49.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/package.json +2 -2
- package/src/schemas/related.ts +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buildinternet/releases-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"description": "Wire protocol — request/response types for the Releases registry API. Shared by web, workers, and clients.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@buildinternet/releases-core": "^0.
|
|
20
|
+
"@buildinternet/releases-core": "^0.29.0",
|
|
21
21
|
"zod": "^4.4.3"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
package/src/schemas/related.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { ImportanceScoreSchema } from "./shared.js";
|
|
2
|
+
import { AppStoreSourceInfoSchema, ImportanceScoreSchema } from "./shared.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Anchor scope for related-* lookups. `org` filters the Vectorize query by
|
|
@@ -24,6 +24,15 @@ export const RelatedReleaseSourceSchema = z.object({
|
|
|
24
24
|
orgSlug: z.string().nullable(),
|
|
25
25
|
orgName: z.string().nullable(),
|
|
26
26
|
orgAvatarUrl: z.string().nullable(),
|
|
27
|
+
/**
|
|
28
|
+
* App Store platform + icon, present only for `appstore` sources (resolved
|
|
29
|
+
* server-side, same block the org/product/ticker read paths already carry).
|
|
30
|
+
* Its presence is the signal the related rail uses to render the lean
|
|
31
|
+
* mobile-app card (app icon + "iOS/macOS" cue) instead of the standard
|
|
32
|
+
* headline/thumbnail. Additive/optional for mid-deploy pin tolerance.
|
|
33
|
+
* #mobile-app-release-cards
|
|
34
|
+
*/
|
|
35
|
+
appStore: AppStoreSourceInfoSchema.optional(),
|
|
27
36
|
});
|
|
28
37
|
|
|
29
38
|
/**
|