@headroom-cms/admin-api 0.1.1 → 0.1.3

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/dist/index.d.cts CHANGED
@@ -336,6 +336,8 @@ type BlockType = components["schemas"]["BlockType"] & {
336
336
  type ContentItem = components["schemas"]["ContentMetadata"] & {
337
337
  coverMediaId?: string;
338
338
  relationships?: Record<string, ContentRef[]>;
339
+ scheduledAt?: number;
340
+ scheduledFailed?: boolean;
339
341
  };
340
342
  type ContentDetail = components["schemas"]["ContentDetail"];
341
343
  type DraftContent = components["schemas"]["DraftContent"] & {
@@ -456,7 +458,7 @@ interface ContentListParams {
456
458
  q?: string;
457
459
  search?: "prefix" | "full";
458
460
  tag?: string;
459
- status?: "draft" | "published" | "changed" | "unpublished";
461
+ status?: "draft" | "published" | "changed" | "unpublished" | "scheduled";
460
462
  sort?: string;
461
463
  relatedTo?: string;
462
464
  limit?: number;
package/dist/index.d.ts CHANGED
@@ -336,6 +336,8 @@ type BlockType = components["schemas"]["BlockType"] & {
336
336
  type ContentItem = components["schemas"]["ContentMetadata"] & {
337
337
  coverMediaId?: string;
338
338
  relationships?: Record<string, ContentRef[]>;
339
+ scheduledAt?: number;
340
+ scheduledFailed?: boolean;
339
341
  };
340
342
  type ContentDetail = components["schemas"]["ContentDetail"];
341
343
  type DraftContent = components["schemas"]["DraftContent"] & {
@@ -456,7 +458,7 @@ interface ContentListParams {
456
458
  q?: string;
457
459
  search?: "prefix" | "full";
458
460
  tag?: string;
459
- status?: "draft" | "published" | "changed" | "unpublished";
461
+ status?: "draft" | "published" | "changed" | "unpublished" | "scheduled";
460
462
  sort?: string;
461
463
  relatedTo?: string;
462
464
  limit?: number;
package/dist/node.d.cts CHANGED
@@ -327,6 +327,8 @@ type BlockType = components["schemas"]["BlockType"] & {
327
327
  type ContentItem = components["schemas"]["ContentMetadata"] & {
328
328
  coverMediaId?: string;
329
329
  relationships?: Record<string, ContentRef[]>;
330
+ scheduledAt?: number;
331
+ scheduledFailed?: boolean;
330
332
  };
331
333
  type ContentDetail = components["schemas"]["ContentDetail"];
332
334
  type SaveDraftResult = components["schemas"]["SaveDraftResult"];
@@ -441,7 +443,7 @@ interface ContentListParams {
441
443
  q?: string;
442
444
  search?: "prefix" | "full";
443
445
  tag?: string;
444
- status?: "draft" | "published" | "changed" | "unpublished";
446
+ status?: "draft" | "published" | "changed" | "unpublished" | "scheduled";
445
447
  sort?: string;
446
448
  relatedTo?: string;
447
449
  limit?: number;
package/dist/node.d.ts CHANGED
@@ -327,6 +327,8 @@ type BlockType = components["schemas"]["BlockType"] & {
327
327
  type ContentItem = components["schemas"]["ContentMetadata"] & {
328
328
  coverMediaId?: string;
329
329
  relationships?: Record<string, ContentRef[]>;
330
+ scheduledAt?: number;
331
+ scheduledFailed?: boolean;
330
332
  };
331
333
  type ContentDetail = components["schemas"]["ContentDetail"];
332
334
  type SaveDraftResult = components["schemas"]["SaveDraftResult"];
@@ -441,7 +443,7 @@ interface ContentListParams {
441
443
  q?: string;
442
444
  search?: "prefix" | "full";
443
445
  tag?: string;
444
- status?: "draft" | "published" | "changed" | "unpublished";
446
+ status?: "draft" | "published" | "changed" | "unpublished" | "scheduled";
445
447
  sort?: string;
446
448
  relatedTo?: string;
447
449
  limit?: number;
package/dist/seed.d.cts CHANGED
@@ -312,6 +312,8 @@ type FieldDefinition = components["schemas"]["FieldDef"];
312
312
  type ContentItem = components["schemas"]["ContentMetadata"] & {
313
313
  coverMediaId?: string;
314
314
  relationships?: Record<string, ContentRef[]>;
315
+ scheduledAt?: number;
316
+ scheduledFailed?: boolean;
315
317
  };
316
318
  type SaveDraftResult = components["schemas"]["SaveDraftResult"];
317
319
  type ApiKeyItem = components["schemas"]["APIKeyMetadata"];
package/dist/seed.d.ts CHANGED
@@ -312,6 +312,8 @@ type FieldDefinition = components["schemas"]["FieldDef"];
312
312
  type ContentItem = components["schemas"]["ContentMetadata"] & {
313
313
  coverMediaId?: string;
314
314
  relationships?: Record<string, ContentRef[]>;
315
+ scheduledAt?: number;
316
+ scheduledFailed?: boolean;
315
317
  };
316
318
  type SaveDraftResult = components["schemas"]["SaveDraftResult"];
317
319
  type ApiKeyItem = components["schemas"]["APIKeyMetadata"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@headroom-cms/admin-api",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {