@glidevvr/storage-payload-types-pkg 1.0.278 → 1.0.279

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/payload-types.ts +41 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.278",
3
+ "version": "1.0.279",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -519,6 +519,22 @@ export interface Tenant {
519
519
  * Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
520
520
  */
521
521
  storageDefender?: boolean | null;
522
+ /**
523
+ * The URL of the legacy website to scrape content from. Used for both facility and blog scraping.
524
+ */
525
+ legacyWebsiteUrl?: string | null;
526
+ /**
527
+ * When checked, facility content (images, descriptions, features) will be scraped from the legacy website. Requires an SE API Key and facilities to be imported first.
528
+ */
529
+ scrapeFacilityContent?: boolean | null;
530
+ /**
531
+ * When checked, blog posts will be scraped from the legacy website and created in the Posts collection.
532
+ */
533
+ scrapeBlogContent?: boolean | null;
534
+ /**
535
+ * When checked, market pages (state & city) will be discovered from the legacy website sitemap and matched to existing Payload markets for review before scraping.
536
+ */
537
+ scrapeMarketContent?: boolean | null;
522
538
  createdBy?: string | null;
523
539
  updatedBy?: string | null;
524
540
  updatedAt: string;
@@ -2455,7 +2471,14 @@ export interface BatchStatus {
2455
2471
  /**
2456
2472
  * The type of items being processed in this batch
2457
2473
  */
2458
- type: 'posts' | 'facilities';
2474
+ type:
2475
+ | 'posts'
2476
+ | 'facilities'
2477
+ | 'smart-facility-scrape'
2478
+ | 'smart-blog-scrape'
2479
+ | 'smart-market-scrape'
2480
+ | 'market-scrape-and-post'
2481
+ | 'single-facility-scrape';
2459
2482
  status: 'pending' | 'processing' | 'completed' | 'failed';
2460
2483
  /**
2461
2484
  * Total number of items in the batch
@@ -2509,6 +2532,18 @@ export interface BatchStatus {
2509
2532
  * Username of the API user who initiated the batch
2510
2533
  */
2511
2534
  userUsername?: string | null;
2535
+ /**
2536
+ * Full result data from smart scraper jobs (summary, updateResults/createResults)
2537
+ */
2538
+ scrapeResult?:
2539
+ | {
2540
+ [k: string]: unknown;
2541
+ }
2542
+ | unknown[]
2543
+ | string
2544
+ | number
2545
+ | boolean
2546
+ | null;
2512
2547
  updatedAt: string;
2513
2548
  createdAt: string;
2514
2549
  }
@@ -3838,6 +3873,10 @@ export interface TenantsSelect<T extends boolean = true> {
3838
3873
  };
3839
3874
  socialMedia?: T | SocialMediaSelect<T>;
3840
3875
  storageDefender?: T;
3876
+ legacyWebsiteUrl?: T;
3877
+ scrapeFacilityContent?: T;
3878
+ scrapeBlogContent?: T;
3879
+ scrapeMarketContent?: T;
3841
3880
  createdBy?: T;
3842
3881
  updatedBy?: T;
3843
3882
  updatedAt?: T;
@@ -3948,6 +3987,7 @@ export interface BatchStatusesSelect<T extends boolean = true> {
3948
3987
  errors?: T;
3949
3988
  userId?: T;
3950
3989
  userUsername?: T;
3990
+ scrapeResult?: T;
3951
3991
  updatedAt?: T;
3952
3992
  createdAt?: T;
3953
3993
  }