@buildinternet/releases-api-types 0.13.0 → 0.14.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 +1 -1
- package/src/api-types.ts +0 -24
- package/src/schemas/shared.ts +0 -6
package/package.json
CHANGED
package/src/api-types.ts
CHANGED
|
@@ -219,12 +219,6 @@ export interface ReleaseDetail {
|
|
|
219
219
|
titleGenerated?: string | null;
|
|
220
220
|
/** AI-generated smart-brevity headline (#852, renamed in #860). Same fallback as `titleGenerated`. */
|
|
221
221
|
titleShort?: string | null;
|
|
222
|
-
/** @deprecated Use `summary`. Kept as an alias populated with the same value. */
|
|
223
|
-
contentSummary: string | null;
|
|
224
|
-
/** @deprecated Use `titleGenerated`. Kept as an alias populated with the same value. */
|
|
225
|
-
contentTitle?: string | null;
|
|
226
|
-
/** @deprecated Use `titleShort`. Kept as an alias populated with the same value. */
|
|
227
|
-
contentTitleShort?: string | null;
|
|
228
222
|
url: string | null;
|
|
229
223
|
media: MediaItem[];
|
|
230
224
|
publishedAt: string | null;
|
|
@@ -354,12 +348,6 @@ export interface SearchReleaseHit {
|
|
|
354
348
|
titleGenerated?: string | null;
|
|
355
349
|
/** AI-generated smart-brevity headline (#852, renamed in #860). Same caveat as titleGenerated. */
|
|
356
350
|
titleShort?: string | null;
|
|
357
|
-
/** @deprecated Use `titleGenerated`. Kept as an alias populated with the same value. */
|
|
358
|
-
contentTitle?: string | null;
|
|
359
|
-
/** @deprecated Use `titleShort`. Kept as an alias populated with the same value. */
|
|
360
|
-
contentTitleShort?: string | null;
|
|
361
|
-
/** @deprecated Use `summary`. Kept as an alias populated with the same value. */
|
|
362
|
-
contentSummary?: string;
|
|
363
351
|
/**
|
|
364
352
|
* Full release body, media URLs hydrated through the MEDIA_ORIGIN proxy.
|
|
365
353
|
* Present so the web can render the same markdown + thumbnail treatment
|
|
@@ -817,12 +805,6 @@ export interface ReleaseWithSource {
|
|
|
817
805
|
titleGenerated?: string | null;
|
|
818
806
|
/** AI-generated smart-brevity headline (#852, renamed in #860). */
|
|
819
807
|
titleShort?: string | null;
|
|
820
|
-
/** @deprecated Use `summary`. Kept as an alias populated with the same value. */
|
|
821
|
-
contentSummary: string | null;
|
|
822
|
-
/** @deprecated Use `titleGenerated`. Kept as an alias populated with the same value. */
|
|
823
|
-
contentTitle?: string | null;
|
|
824
|
-
/** @deprecated Use `titleShort`. Kept as an alias populated with the same value. */
|
|
825
|
-
contentTitleShort?: string | null;
|
|
826
808
|
url: string | null;
|
|
827
809
|
contentHash: string | null;
|
|
828
810
|
metadata: string | null;
|
|
@@ -847,12 +829,6 @@ export interface LatestRelease {
|
|
|
847
829
|
titleGenerated?: string | null;
|
|
848
830
|
/** AI-generated smart-brevity headline (#852, renamed in #860). */
|
|
849
831
|
titleShort?: string | null;
|
|
850
|
-
/** @deprecated Use `summary`. Kept as an alias populated with the same value. */
|
|
851
|
-
contentSummary: string | null;
|
|
852
|
-
/** @deprecated Use `titleGenerated`. Kept as an alias populated with the same value. */
|
|
853
|
-
contentTitle?: string | null;
|
|
854
|
-
/** @deprecated Use `titleShort`. Kept as an alias populated with the same value. */
|
|
855
|
-
contentTitleShort?: string | null;
|
|
856
832
|
media: MediaItem[];
|
|
857
833
|
}
|
|
858
834
|
|
package/src/schemas/shared.ts
CHANGED
|
@@ -63,12 +63,6 @@ export const ReleaseItemSchema = z.object({
|
|
|
63
63
|
// `.optional()` for the same mid-deploy / pinned-worker reason as `type`.
|
|
64
64
|
titleGenerated: z.string().nullable().optional(),
|
|
65
65
|
titleShort: z.string().nullable().optional(),
|
|
66
|
-
/** @deprecated Use `titleGenerated`. Kept as an alias populated with the same value. */
|
|
67
|
-
contentTitle: z.string().nullable().optional(),
|
|
68
|
-
/** @deprecated Use `titleShort`. Kept as an alias populated with the same value. */
|
|
69
|
-
contentTitleShort: z.string().nullable().optional(),
|
|
70
|
-
/** @deprecated Use `summary`. Kept as an alias populated with the same value. */
|
|
71
|
-
contentSummary: z.string().nullable().optional(),
|
|
72
66
|
});
|
|
73
67
|
|
|
74
68
|
export const ReleaseSummaryItemSchema = z.object({
|