@glidevvr/storage-payload-types-pkg 1.0.277 → 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 +46 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.277",
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;
@@ -683,6 +699,10 @@ export interface Facility {
683
699
  * Select multiple features related to this facility.
684
700
  */
685
701
  facilityFeatures?: (string | FacilityFeature)[] | null;
702
+ /**
703
+ * Select up to 3 features to highlight on the facility page. Only shown for Layout 2.
704
+ */
705
+ featuredFacilityFeatures?: (string | FacilityFeature)[] | null;
686
706
  facilityPaymentSystem?: ('default' | 'none' | 'storage_essentials') | null;
687
707
  /**
688
708
  * The first image selected is displayed on market pages. For best results, use images with a 16:9 aspect ratio that are at least 1477x831 pixels wide.
@@ -2451,7 +2471,14 @@ export interface BatchStatus {
2451
2471
  /**
2452
2472
  * The type of items being processed in this batch
2453
2473
  */
2454
- 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';
2455
2482
  status: 'pending' | 'processing' | 'completed' | 'failed';
2456
2483
  /**
2457
2484
  * Total number of items in the batch
@@ -2505,6 +2532,18 @@ export interface BatchStatus {
2505
2532
  * Username of the API user who initiated the batch
2506
2533
  */
2507
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;
2508
2547
  updatedAt: string;
2509
2548
  createdAt: string;
2510
2549
  }
@@ -3167,6 +3206,7 @@ export interface FacilitiesSelect<T extends boolean = true> {
3167
3206
  googlePlaceId?: T;
3168
3207
  brandSelection?: T;
3169
3208
  facilityFeatures?: T;
3209
+ featuredFacilityFeatures?: T;
3170
3210
  facilityPaymentSystem?: T;
3171
3211
  gallery?: T;
3172
3212
  contentTabs?: T | ContentTabsSelect<T>;
@@ -3833,6 +3873,10 @@ export interface TenantsSelect<T extends boolean = true> {
3833
3873
  };
3834
3874
  socialMedia?: T | SocialMediaSelect<T>;
3835
3875
  storageDefender?: T;
3876
+ legacyWebsiteUrl?: T;
3877
+ scrapeFacilityContent?: T;
3878
+ scrapeBlogContent?: T;
3879
+ scrapeMarketContent?: T;
3836
3880
  createdBy?: T;
3837
3881
  updatedBy?: T;
3838
3882
  updatedAt?: T;
@@ -3943,6 +3987,7 @@ export interface BatchStatusesSelect<T extends boolean = true> {
3943
3987
  errors?: T;
3944
3988
  userId?: T;
3945
3989
  userUsername?: T;
3990
+ scrapeResult?: T;
3946
3991
  updatedAt?: T;
3947
3992
  createdAt?: T;
3948
3993
  }