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

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 +46 -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.280",
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
@@ -2501,6 +2524,10 @@ export interface BatchStatus {
2501
2524
  | number
2502
2525
  | boolean
2503
2526
  | null;
2527
+ /**
2528
+ * ID of the facility being processed (for single-facility-scrape jobs)
2529
+ */
2530
+ facilityId?: string | null;
2504
2531
  /**
2505
2532
  * ID of the API user who initiated the batch
2506
2533
  */
@@ -2509,6 +2536,18 @@ export interface BatchStatus {
2509
2536
  * Username of the API user who initiated the batch
2510
2537
  */
2511
2538
  userUsername?: string | null;
2539
+ /**
2540
+ * Full result data from smart scraper jobs (summary, updateResults/createResults)
2541
+ */
2542
+ scrapeResult?:
2543
+ | {
2544
+ [k: string]: unknown;
2545
+ }
2546
+ | unknown[]
2547
+ | string
2548
+ | number
2549
+ | boolean
2550
+ | null;
2512
2551
  updatedAt: string;
2513
2552
  createdAt: string;
2514
2553
  }
@@ -3838,6 +3877,10 @@ export interface TenantsSelect<T extends boolean = true> {
3838
3877
  };
3839
3878
  socialMedia?: T | SocialMediaSelect<T>;
3840
3879
  storageDefender?: T;
3880
+ legacyWebsiteUrl?: T;
3881
+ scrapeFacilityContent?: T;
3882
+ scrapeBlogContent?: T;
3883
+ scrapeMarketContent?: T;
3841
3884
  createdBy?: T;
3842
3885
  updatedBy?: T;
3843
3886
  updatedAt?: T;
@@ -3946,8 +3989,10 @@ export interface BatchStatusesSelect<T extends boolean = true> {
3946
3989
  createdItems?: T;
3947
3990
  updatedItems?: T;
3948
3991
  errors?: T;
3992
+ facilityId?: T;
3949
3993
  userId?: T;
3950
3994
  userUsername?: T;
3995
+ scrapeResult?: T;
3951
3996
  updatedAt?: T;
3952
3997
  createdAt?: T;
3953
3998
  }