@glidevvr/storage-payload-types-pkg 1.0.174 → 1.0.176

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 +142 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.174",
3
+ "version": "1.0.176",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -336,10 +336,6 @@ export interface Tenant {
336
336
  * The Browser key is responsible for client side communications with the Google APIs, and should be restricted by domain.
337
337
  */
338
338
  googleApiBrowserKey?: string | null;
339
- /**
340
- * The Server key is responsible for server side communcations with the Google APIs, and may be restricted by IP address.
341
- */
342
- googleApiServerKey?: string | null;
343
339
  /**
344
340
  * The Cloudfront Distribution ID is used to invalidate the Cloudfront distribution when a new version of the website is deployed.
345
341
  */
@@ -373,6 +369,122 @@ export interface Tenant {
373
369
  neutralLightColor?: string | null;
374
370
  neutralDarkColor?: string | null;
375
371
  bodyFontSize?: string | null;
372
+ leftButton?: {
373
+ /**
374
+ * When checked, uses facility/company phone number automatically
375
+ */
376
+ useDefault?: boolean | null;
377
+ /**
378
+ * When checked, the left button will not be displayed
379
+ */
380
+ hideButton?: boolean | null;
381
+ type?: ('reference' | 'custom') | null;
382
+ newTab?: boolean | null;
383
+ reference?:
384
+ | ({
385
+ relationTo: 'pages';
386
+ value: string | Page;
387
+ } | null)
388
+ | ({
389
+ relationTo: 'posts';
390
+ value: string | Post;
391
+ } | null)
392
+ | ({
393
+ relationTo: 'facilities';
394
+ value: string | Facility;
395
+ } | null)
396
+ | ({
397
+ relationTo: 'markets';
398
+ value: string | Market;
399
+ } | null)
400
+ | ({
401
+ relationTo: 'categories';
402
+ value: string | Category;
403
+ } | null);
404
+ url?: string | null;
405
+ label?: string | null;
406
+ /**
407
+ * Choose how the link should be rendered.
408
+ */
409
+ appearance?:
410
+ | (
411
+ | 'default'
412
+ | 'primary'
413
+ | 'primary-light'
414
+ | 'outline-primary'
415
+ | 'secondary'
416
+ | 'secondary-light'
417
+ | 'outline-secondary'
418
+ | 'destructive'
419
+ | 'link'
420
+ | 'white'
421
+ | 'ghost'
422
+ | 'gray'
423
+ )
424
+ | null;
425
+ /**
426
+ * Choose how the link should be aligned.
427
+ */
428
+ alignment?: ('left' | 'center' | 'right') | null;
429
+ };
430
+ rightButton?: {
431
+ /**
432
+ * When checked, uses default Pay Online button with payment system logic
433
+ */
434
+ useDefault?: boolean | null;
435
+ /**
436
+ * When checked, the right button will not be displayed
437
+ */
438
+ hideButton?: boolean | null;
439
+ type?: ('reference' | 'custom') | null;
440
+ newTab?: boolean | null;
441
+ reference?:
442
+ | ({
443
+ relationTo: 'pages';
444
+ value: string | Page;
445
+ } | null)
446
+ | ({
447
+ relationTo: 'posts';
448
+ value: string | Post;
449
+ } | null)
450
+ | ({
451
+ relationTo: 'facilities';
452
+ value: string | Facility;
453
+ } | null)
454
+ | ({
455
+ relationTo: 'markets';
456
+ value: string | Market;
457
+ } | null)
458
+ | ({
459
+ relationTo: 'categories';
460
+ value: string | Category;
461
+ } | null);
462
+ url?: string | null;
463
+ label?: string | null;
464
+ /**
465
+ * Choose how the link should be rendered.
466
+ */
467
+ appearance?:
468
+ | (
469
+ | 'default'
470
+ | 'primary'
471
+ | 'primary-light'
472
+ | 'outline-primary'
473
+ | 'secondary'
474
+ | 'secondary-light'
475
+ | 'outline-secondary'
476
+ | 'destructive'
477
+ | 'link'
478
+ | 'white'
479
+ | 'ghost'
480
+ | 'gray'
481
+ )
482
+ | null;
483
+ /**
484
+ * Choose how the link should be aligned.
485
+ */
486
+ alignment?: ('left' | 'center' | 'right') | null;
487
+ };
376
488
  socialMedia?: SocialMedia;
377
489
  /**
378
490
  * Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
@@ -2955,7 +3067,6 @@ export interface TenantsSelect<T extends boolean = true> {
2955
3067
  seCompanyId?: T;
2956
3068
  seApiKey?: T;
2957
3069
  googleApiBrowserKey?: T;
2958
- googleApiServerKey?: T;
2959
3070
  cloudfrontDistributionId?: T;
2960
3071
  domain?: T;
2961
3072
  gtmId?: T;
@@ -2968,6 +3079,32 @@ export interface TenantsSelect<T extends boolean = true> {
2968
3079
  neutralLightColor?: T;
2969
3080
  neutralDarkColor?: T;
2970
3081
  bodyFontSize?: T;
3082
+ leftButton?:
3083
+ | T
3084
+ | {
3085
+ useDefault?: T;
3086
+ hideButton?: T;
3087
+ type?: T;
3088
+ newTab?: T;
3089
+ reference?: T;
3090
+ url?: T;
3091
+ label?: T;
3092
+ appearance?: T;
3093
+ alignment?: T;
3094
+ };
3095
+ rightButton?:
3096
+ | T
3097
+ | {
3098
+ useDefault?: T;
3099
+ hideButton?: T;
3100
+ type?: T;
3101
+ newTab?: T;
3102
+ reference?: T;
3103
+ url?: T;
3104
+ label?: T;
3105
+ appearance?: T;
3106
+ alignment?: T;
3107
+ };
2971
3108
  socialMedia?: T | SocialMediaSelect<T>;
2972
3109
  storageDefender?: T;
2973
3110
  createdBy?: T;